
Update debian install#
I upgraded just now and there were quite a few packages to be removed by aptitude dist-upgrade, so I ran through the ones I thought were important (many lib's will have different names) at Debian packages, and I only found a few that will need re-installing.Ĭaution! If you (by mistake) use the apt command "upgrade" after changing your sources file, and actually you are intending to upgrade to another release, apt will not actually upgrade to the new release but will only update your installed packages from the new release -and you will get an irreparable mix of packages from different releases.įor example, if you are stable and you do an upgrade with packages from testing, you will get a mixed install of both stable and testing - and then trying to dist-upgrade, you will have hundreds of packages held back, unable to install because of countless dependency problems. Next, try the aptitude way, as it will offer perhaps a better solution - removing some but not so many packages, which can be reinstalled later on (if they are needed or exist in the release - note that some packages are obsoleted and replaced with ones of different names). but if APT is asking you to remove like about half of your system, because of breakages, then you had better think wisely. You could try the apt dist-upgrade way first, and see if its all plain-sailing or not. (to put the result into a text file in home) Sudo aptitude -simulate full-upgrade > ~/upgrade.txt

this command replaces "aptitude dist-upgrade" - it will present solutions to conflicts, and ask confirmation before downloading Then boot into recovery mode and run dist-upgrade Sudo apt update & sudo apt -download-only dist-upgrade You could first download all the packages needed for the upgrade with
Update debian drivers#
If it does remove that line or change it.Īnd that can be simulated first with the -s optionīut it is probably much better to do this booted into recovery mode so that many daemons and drivers are not loaded.


change all "wheezy" to "jessie", or "stable" to "testing"Ĭheck your apt.conf file isn't pointing to your current release, for example it might say, If you want to keep your debian system up to date with security patches (released as updated packages) make sure you have these lines in your /etc/apt/sources.listĭeb wheezy-updates main contrib non-freeĭeb-src wheezy-updates main contrib non-freeĭeb wheezy/updates main contrib non-freeĭeb-src wheezy/updates main contrib non-freeĪnd run the first line above to update package lists and upgrade packagesįirst change your sources list to point to the release you want to upgrade to, e.g.
Update debian full#
If your sources list is correct (on the debian release you are following) you can run this for a real full upgrade (with -s option to simulate if you like) (if following debian stable there may be only a few new releases and only ones with security patches)īut the safest way to upgrade, that will handle any dependency problems, would be to use:
