Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

When I try and upgrade I get packages that are kept back, when I use dist-upgrade they will be upgraded however I get this warning:

Current status: 5 updates [-1].
will@will-desktop:~$ sudo aptitude dist-upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Reading extended state information      
Initialising package states... Done
The following packages are BROKEN:
  libdrm-nouveau1 
The following NEW packages will be installed:
  libkms1{a} 
The following packages will be upgraded:
  libdrm-dev libdrm-intel1 libdrm-radeon1 libdrm2 
5 packages upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/245kB of archives. After unpacking 2,077kB will be freed.
The following packages have unmet dependencies:
  libdrm-nouveau1: Breaks: xserver-xorg-video-nouveau (< 1:0.0.16) but 1:0.0.15+git20100219+9b4118d-0ubuntu5 is installed.
The following actions will resolve these dependencies:

Remove the following packages:
xserver-xorg-video-all
xserver-xorg-video-nouveau

Score is 188

I don't know whether to upgrade or not, looks like it might break my video

share|improve this question
add comment

2 Answers

up vote 5 down vote accepted

I would not update. Especially if you currently have packages in a working condition. Never run a partial update or install packages kept-back. They are like so for a reason. Are you running Maverick BETA? If so that would explain it. You should wait for the packages to sort themselves out, and they will.

(I am actually taking a break writing a blog article that explains things like this right now, odd).

share|improve this answer
    
dist_upgrade should only be used in stable archives (i.e. a released version). In any kind of development release apt-get upgrade should be used instead because it prevents packages to be installed if there might be dependency problems. –  txwikinger Sep 24 '10 at 15:23
    
OK cheers. I'd be grateful if you link the blog post after writing, i would love to read it. –  Will Sep 24 '10 at 21:37
    
Did not have time to be as comprehensive as I wanted, however it is a quick read, hopefully helpful. vbrummond.blogspot.com/2010/09/… –  NightwishFan Sep 24 '10 at 21:56
add comment

performing:

sudo apt-get remove xserver-xorg-video-nouveau

will remove the dependency blockage and allow you to upgrade. You can reinstall the packages after the upgrade:

sudo apt-get install xserver-xorg-video-all

share|improve this answer
    
xserver-xorg-video-all is a meta-package, which will install all available video drivers. For re-installation, use the --reinstall switch: sudo apt-get --reinstall install xserver-xorg-video-nouveau –  Lekensteyn Feb 26 '11 at 20:42
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.