0

Just about anything I try to install via the package manager gets the following:

root@opsview-appliance:/etc/apt/sources.list.d# apt-get install make
  Reading package lists... Done 
  Building dependency tree 
  Reading state information... Done 
  make is already the newest version. 
  You might want to run 'apt-get -f install' to correct these: 
  The following packages have unmet dependencies.  
    linux-image-virtual : Depends: linux-image-3.13.0-106-generic but it is not going to be installed 
  E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

Even when using -f its more of the same:

root@opsview-appliance:/etc/apt/sources.list.d# apt-get -f install make 
  Reading package lists... Done 
  Building dependency tree 
  Reading state information... Done 
  make is already the newest version. 
  You might want to run 'apt-get -f install' to correct these: 
  The following packages have unmet dependencies.  
    linux-image-virtual : Depends: linux-image-3.13.0-106-generic but it is not going to be installed 
  E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
Michael Mrozek
  • 123
  • 1
  • 8
JustAGuy
  • 147
  • 1
  • 1
  • 9
  • 1
    Did you try the suggestion ? `apt-get -f install` What is the output of this ? Did you add any repositories? – pLumo May 16 '17 at 11:56
  • 4
    Possible duplicate of [The following packages have unmet dependencies!](https://askubuntu.com/questions/563178/the-following-packages-have-unmet-dependencies) – jhilmer May 16 '17 at 11:56
  • Of course. did not work. Also came across that other thread. Nothing there worked either. – JustAGuy May 16 '17 at 11:56
  • and what about my other two questions? – pLumo May 16 '17 at 12:05
  • This is a packaged VM for opsview so it came with their repos (I didnt touch it). It used to work flawlessly. apt-get -f gives me the exact same results with linux-image-3.13.0-106-generic dependency. – JustAGuy May 16 '17 at 12:09
  • Have you run `sudo apt-get update` to update your package database? – jhilmer May 16 '17 at 12:14
  • I have and it did not work. – JustAGuy May 16 '17 at 12:50
  • Could you please [edit] your question to include the *full, verbatim* output of `sudo apt-get update && sudo apt-get install -f` like RoVo suggested? Thanks. – David Foerster May 18 '17 at 21:53

1 Answers1

1

Believe it or not this is what solved the problem:

apt-get install linux-image-3.13.0-106-generic

I should mention that I also had to extend the /boot partition as it didnt allow me to install anything without it.

JustAGuy
  • 147
  • 1
  • 1
  • 9
  • You've probably got old kernels installed that you no longer need and [can be removed](https://askubuntu.com/questions/2793/how-do-i-remove-old-kernel-versions-to-clean-up-the-boot-menu). – pbhj Oct 25 '17 at 21:37