apt-get dist-upgrade broken going from Dapper to Edgy?
by Jeremy Jones
Although it is very difficult to diagnose problems from blog and forum
posts (hence the analysis below is probably wrong, incomplete and
unhelpful) I think a large number of problems fall into the following
* Using apt-get dist-upgrade rather than upgrade-manager
- Could this be reduced by emphaising on the release notes, on
ubuntu.com and in the support channels, the correct way to upgrade?
- Could apt be patched to give clearer warnings that dist upgrading
could break your system, and recommend that the user run upgrade
manager instead. In fact, just run update-manager when the user tries
this, whilst siulanousy taking their pony away from them
The replies in the rest of the thread never refuted that using upgrade-manager (I assume he's meaning update-manager) is the "right" way to upgrade. However, at least one person replied back and stated what I was thinking, namely that it's absurd to officially discourage (or prevent!) Ubuntu users from upgrading their systems by `apt-get dist-upgrade`. I'm still digging around to see if update-manager is the official means of upgrading a system.
If some of the pain that I experienced is because of doing a dist-upgrade rather than update-manager, then someone needs to do a better job of making the community aware of how they should be upgrading their systems. I didn't run Automatix or Easyubuntu. I didn't have Beryl/Compiz installed and definitely didn't have the Beryl repositories in sources.list. And I didn't have any binary video drivers installed which I had downloaded from the vendor. These are some of the other factors contributing to a painful upgrade, so it must just be my use of "apt-get dist-upgrade". This was a pretty vanilla install I was upgrading from. I would have expected it to go smoother.
If you are upgrading from Dapper to Edgy, beware. I've read way too many tales of pain and woe from the above referenced Slashdot article to discount possible problems with this upgrade. You may want to try running update-manager with a "-c" flag (checks if a new distribution release is available). Actually, first backup your data. Then update. Or just install from scratch.
I had some problems upgrading, but nothing that wasn't easily resolved. I followed the instructions below (from http://kubuntu.org/announcements/6.10-release.php). I don't know if having kubuntu vs. plain ubuntu installed makes a difference, but everything seems to work fine for me now. Before, my sound didn't work, but after the upgrade I NOW HAVE SOUND! :-D
The Ubuntu Forums are littered with horror stories as well. I think I'll hold off for a while.
Mine went blooey in a big way. Dist-upgrading from Dapper to Edgy totally horked my LVM- it just plain ate it, orphaning several partitions in the process. Thanks Canonical, for reminding me of the importance of backups!
I've had similar issues upgrading myself. In the end, I ended up downloading an issue, and reinstalling the new version.
|The release notes at http://www.ubuntu.com/download/releasenotes/610 specifically state that you may upgrade with apt-get dist-upgrade.|
|I used the upgrade manager as per the release notes and had no problems.|
|I knew it! I had wondered about this when I had upgraded with no problems (using the update manager) and then heard loads of people complaining about the upgrade, but all of them had used apt-get. This is a significant problem that _does_ need to be addressed, although I think that, as a desktop-oriented distro, update-manager should be regarded as the default upgrade method (and you shouldn't need to run it from the command line, BTW)|
I upgraded from Breezy to Edgy (well, someone has to do things slightly different). It wasn't totally pain free, and I did have to do a dpkg --force-all at one point, but it definately all works now, although apt seems a little confused over some packages not being needed.
|I'm using xubuntu, and saw on this page http://www.xubuntu.com/get that using the update manager can cause problems. So I followed it's recommendation of using apt-get. During the upgrade, my screen saver came on, and when I tried to enter my password, it no longer remembered it. I finally rebooted, and now X won't load. It still doesn't remember me, so I can't log in from the console. I think installing from scratch is definitely the best option. Other have evidently had the identical problem (See https://launchpad.net/distros/ubuntu/+source/update-manager/+bug/68027).|
|It seems to me it all depends as to what you have installed. I used update-manager and am still trying to get my repositories clean. I am by no means a linux newbie, but I have been very impressed with Ubuntu as I can be a user and not a sysadmin. I am very disappointed because I have been really talking ubuntu up. And don't want to spend hours or days of unproductively fixing my repository issues after an upgrade.|