LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   how to perform a safe upgrade in debian? (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-perform-a-safe-upgrade-in-debian-796791/)

bbmak 03-20-2010 11:03 PM

how to perform a safe upgrade in debian?
 
I am using debian 5.04 + LXDE. In the past, I sometime encounter problems such as the distro broken after performed a full apt dist-upgrade or upgrade. Now, I am more conservative, I am using apt safe-upgrade.

I want to know are there anyway to do a better safe upgrade for debian without breaking the distro?

evo2 03-21-2010 12:53 AM

Quote:

Originally Posted by bbmak (Post 3906196)
I want to know are there anyway to do a better safe upgrade for debian without breaking the distro?

Yes. You should be using aptitude, not apt-get.

What exactly is being "broken"?

In general the major cause of failed upgrades in Debian (talking about stable here, not testing or sid) is that poor quality, unoffical packages have been installed on the system.

Cheers,

Evo2.

lupusarcanus 03-21-2010 09:52 AM

Hello bbmak,

If you are concerned for stability, ensure that repositories you are using are the stable ones.

You can safely tell Debian to ignore specific packages.
http://www.debian.org/doc/manuals/ap....en.html#s-pin

This thread might be of particular interest to you.


All times are GMT -5. The time now is 05:08 AM.