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.

I was trying to upgrade my system from 10.10 to 11.04.

The following packages have unmet dependencies:  
 plymouth : Depends: libdrm-nouveau1a (>= 2.4.23) but it is not installed  
            Depends: libplymouth2 (= 0.8.2-2ubuntu22) but 0.8.2-2ubuntu5.1 is installed  
 plymouth-label : Depends: libplymouth2 (= 0.8.2-2ubuntu23) but 0.8.2-2ubuntu5.1 is   installed  
                  Depends: plymouth (= 0.8.2-2ubuntu23) but 0.8.2-2ubuntu22 is installed  
 plymouth-x11 : Depends: plymouth (= 0.8.2-2ubuntu5.1) but 0.8.2-2ubuntu22 is installed  
E: Unmet dependencies. Try using -f.  

When i do apt-get -f install, I get the same errors alongwith two more lines:

E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.  
E: Unable to correct dependencies

Now, I am unable to install, remove or upgrade or do anything. How do I solve this, atleast how do i force enable my system to install, remove stuff.

MORE: I have also tried dpkg configure and also tried to purge remove plymouth for starters. But nothing works.

Update: Also, I have tried removing all the ppas which included xorg-edgers which probably has caused some issues. But not having/having that ppa in sources.list.d changes nothing.

share|improve this question
add comment

1 Answer

up vote 0 down vote accepted

I solved this issue. The problem was that I had moved the ppa files from /etc/apt/sources.list.d/ and the missing dependency was changed by one of the ppas.

So moving back the ppa was one thing.

After that, I realized that the ppa was commented and was not picking up. So I removed the comment from .list file and it is working fine now.

share|improve this answer
    
I think you should mark the question as answered then. –  Alexandre Jan 25 '12 at 19:01
    
It allows to mark it answered after 2 days. Will mark it then. –  zm1 Jan 26 '12 at 11:26
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.