3

I get the following error when trying to upgrade:

The following packages have unmet dependencies :
 linux-image -extra- 3.16.0-73 -generic : Depends : linux-image- 3.16.0-73 -generic but it is not installed
 linux-image -extra- 3.16.0-76 -generic : Depends : linux-image- 3.16.0-76 -generic but it is not is not installed
 linux-image -generic- lts - Utopic : Depends : linux-image- 3.16.0-76 -generic but it is not installed
E : Unmet dependencies . Try to use -f .

The Problem is, if I do apt-get -f install I get an error that there is not enough disk space. And I checked it... in /boot there is no space left.

So I googled and everyone says, that I need to uninstall old kernel versions to get more space.

However, I can't uninstall them, because then I get the same error as when I try to upgrade my system.

It seems like I have a really big problem here. Does anyone know how to solve this?

Thanks.

4
  • Try using aptitude. You may then try satisfying dependencies at least partially. That kind of distribution upgrade needs usually three rounds of upgrades, not all of them at once. Jun 30, 2016 at 12:12
  • wow, sudo aptitude -f install fixed it for me. Thanks! Jun 30, 2016 at 12:21
  • IMPORTANT: Aptitude resolver will try very hard to satisfy dependencies in non-interactive mode, may thus be time-consuming. Jun 30, 2016 at 12:23
  • @ErkinAlpGüney if you don't mind, you could write an answer with the solution that worked for him.
    – nixpower
    Jun 30, 2016 at 12:44

1 Answer 1

2

Try aptitude in either interactive mode ( sudo aptitude ) or non-interactive mode ( sudo aptitude -f install followed by sudo aptitude dist-upgrade ).

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .