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.

On my Ubuntu 14.04, for almost every second package I want to install I get an error:

sudo apt-get install 1

Depends: 2 but it is not going to be installed.

then I try

sudo apt-get install 2

get an error

Depends: 2 but it is not going to be installed.

and so on until finally

sudo apt-get install n

succeeds for some n. Then I can install n-1, ..., 1. Although I could make a script that would "solve" the problem for me, is there any better way to solve it? Note, I tried sudo apt-get install -f without any success. I do not have any broken packages either as sudo apt-get check did not report any errors.

share|improve this question

Your Answer

 
discard

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

Browse other questions tagged or ask your own question.