FAQ - Upgrades

Can you use apt-get dist-upgrade to upgrade from x to y

For upgrades across minor versions (for example, upgrading from 3.0 to 3.2), you can use the apt-get dist-upgrade command to upgrade. The same is not true for upgrades across major versions (for example, upgrading from 2.2 to 3.0). Here's why:

"The apt-get dist-upgrade command does not work well in the RPM world. Apt comes from the Debian Linux distribution. The .deb (Debian's version of .rpm) files include information about software package priorities (e.g. package X is really important, and should never be un-installed). This prioritization information is critical for the upgrade process, but this information does not exist in the RPM format. There is a hack in apt-for-rpm to get around this issue (/etc/apt/rpmpriorities), but... it's a hack."

Retrieved from "http://wiki.clarkconnect.com/docs/FAQ_-_Upgrades"

This page has been accessed 156 times. This page was last modified on 31 January 2005, at 18:02.