The package has been built for all the architectures which the present version in testing was built for. Installing the package into testing will not make the distribution more uninstallable. The package does not introduce new release critical bugs. Still, sometimes, especially when packages are being restructured, packages that are not quite releasable may get into the next-stable distribution. So, there may remain some of the fun of using a constantly evolving development distribution.
How to use Debian next-stable Testing First thing is to assess the current state of testing. Besides using these specific resources you can also use the general debian-user and debian-devel mailing lists, IRC channels debian or debian-next, and of course the debian bug tracker.
You may also have a look at the DebianDesktopHowTo. How to install Debian next-stable Testing The reliable way to install testing from scratch is to do a minimal installation with the stable installer, then upgrade from stable to testing see below. The following command will show any packages which have a status of Half-Installed or Failed-Config, and those with any error status.
You could also inspect the state of all packages on your system using aptitude or with commands such as. It is desirable to remove any holds before upgrading. If any package that is essential for the upgrade is on hold, the upgrade will fail.
Note that aptitude uses a different method for registering packages that are on hold than apt-get and dselect. You can identify packages on hold for aptitude with. If you want to check which packages you had on hold for apt-get , you should use.
If you changed and recompiled a package locally, and didn't rename it or put an epoch in the version, you must put it on hold to prevent it from being upgraded. If there is anything you need to fix, it is best to make sure your sources. This is a precaution to reduce the likelihood of conflicts.
If you have any non-Debian packages on your system, you should be aware that these may be removed during the upgrade because of conflicting dependencies. Such packages are most likely to cause problems during an upgrade as they may result in file conflicts [4]. Section 4. A release can often be referred to both by its codename e.
Referring to a release by its codename has the advantage that you will never be surprised by a new release and for this reason is the approach taken here. It does of course mean that you will have to watch out for release announcements yourself. If you use the status name instead, you will just see loads of updates for packages available as soon as a release has happened. When inspecting that mirror with a web browser or FTP program, you will notice that the main directories are organized like this:.
To use this mirror with apt , you add this line to your sources. To use this with apt , add this line to your sources.
Note that there must be no spaces between the words noauto,ro in the fourth field. The recommended way to upgrade from previous Debian releases is to use the package management tool apt-get. In previous releases, aptitude was recommended for this purpose, but recent versions of apt-get provide equivalent functionality and also have shown to more consistently give the desired upgrade results. There should not be any sources entries pointing to squeeze.
Then if a problem occurs, you will have a log of what happened, and if needed, can provide exact information in a bug report.
To start the recording, type:. If you have to rerun the typescript e. The typescript will also allow you to review information that has scrolled off-screen. After you have completed the upgrade, you can stop script by typing exit at the prompt.
If you have used the -t switch for script you can use the scriptreplay program to replay the whole session:. First the list of available packages for the new release needs to be fetched. This is done by executing:. You have to make sure before upgrading your system that you will have sufficient hard disk space when you start the full system upgrade described in Section 4.
After the download, you will probably need more space in other file system partitions in order to both install upgraded packages which might contain bigger binaries or more data and new packages that will be pulled in for the upgrade.
If your system does not have sufficient space you might end up with an incomplete upgrade that is difficult to recover from. Before executing the upgrade, you can see this estimate by running:. Running this command at the beginning of the upgrade process may give an error, for the reasons described in the next sections.
In that case you will need to wait until you've done the minimal system upgrade as in Section 4. If you do not have enough space for the upgrade, apt-get will warn you with a message like this:. Cleaning up the package cache by running apt-get clean will remove all previously downloaded package files.
Remove forgotten packages. If you have used aptitude or apt-get to manually install packages in squeeze it will have kept track of those packages you manually installed, and will be able to mark as redundant those packages pulled in by dependencies alone which are no longer needed due to a package being removed.
They will not mark for removal packages that you manually installed. To remove automatically installed packages that are no longer used, run:. You can also use deborphan , debfoster , or cruft to find redundant packages. Do not blindly remove the packages these tools present, especially if you are using aggressive non-default options that are prone to false positives.
It is highly recommended that you manually review the packages suggested for removal i. Remove packages that take up too much space and are not currently needed you can always reinstall them after the upgrade.
If you have popularity-contest installed, you can use popcon-largest-unused to list the packages you do not use that occupy the most space. You can find the packages that just take up the most disk space with dpigs available in the debian-goodies package or with wajig running wajig size.
They can also be found with aptitude. This will give you a handy list to work with. Remove translations and localization files from the system if they are not needed.
You can install the localepurge package and configure it so that only a few selected locales are kept in the system. Do not use an NFS mount as the network connection could be interrupted during the upgrade. You can create the temporary cache directory on whatever filesystem is mounted on your system. Do a minimal upgrade of the system see Section 4.
This will make it possible to upgrade the system partially, and allow you to clean the package cache before the full upgrade. Note that in order to safely remove packages, it is advisable to switch your sources. If your computer is currently running the configuration but does not have PAE, you will need to switch to the configuration instead. You can check whether your computer has PAE by running:. If it does not i. In some cases, doing the full upgrade as described below directly might remove large numbers of packages that you will want to keep.
We therefore recommend a two-part upgrade process: first a minimal upgrade to overcome these conflicts, then a full upgrade as described in Section 4. This has the effect of upgrading those packages which can be upgraded without requiring any other packages to be removed or installed. The minimal system upgrade can also be useful when the system is tight on space and a full upgrade cannot be run due to space constraints.
If the apt-listchanges package is installed, it will in its default configuration show important information about upgraded packages in a pager. Press q after reading to exit the pager and continue the upgrade.
Once you have taken the previous steps, you are now ready to continue with the main part of the upgrade. The upgrade process for some previous releases recommended the use of aptitude for the upgrade. This tool is not recommended for upgrades from squeeze to wheezy. This will perform a complete upgrade of the system, installing the newest available versions of all packages, and resolving all possible dependency changes between packages in different releases.
If necessary, it will install some new packages usually new library versions, or renamed packages , and remove any conflicting obsoleted packages. You might have to insert the same CD multiple times; this is due to inter-related packages that have been spread out over the CDs.
This can be resolved by either using aptitude to choose these packages for installation or by trying apt-get -f install package. Debian Squeeze 6. Squeeze is still used on many servers, so a group of Debian developers decided to provide security patches for a longer timespan for this release.
The following short guide explains how to enable the LTS repository and install the updates. Please note: The updates are only provided for the i and amd64 architectures.
The updates are then installed as usual with apt. This way, 1 your productive systems are not upgraded without you knowing what you're doing changing the release name in sources. Stack Overflow for Teams — Collaborate and share knowledge with a private group.
Create a free Team What is Teams? Collectives on Stack Overflow. Learn more. Debian - sources.
0コメント