Monday, October 22, 2007

Updated Aptitude in Gutsy Gibbon (Ubuntu 7.10)

I use aptitude from the command line to update my system and to install packages. I have been running Ubuntu 7.10 throughout the beta-testing. I have noticed an error message every time I used "sudo aptitude update":

W: The "upgrade" command is deprecated; use "safe-upgrade" instead

I finally discovered that this is due to some changes made to the new version of Aptitude shipped with Ubuntu 7.10. The change is described in the man-pages for aptitude in Ubuntu 7.10.

The "upgrade" action/option is now called "safe-upgrade", and the old "dist-upgrade" is now "full-upgrade". Something to keep in mind if you encounter the error message.

No comments: