gdebi dependencies cache broken

Asked by Daniel Brumbaugh-Keeney

It seems gdebi is working with a broken package cache. I've been running Ubuntu for 2+ years without difficulty, but for unknown reasons, gdebi stopped working. It always reports "unable to resolve dependency", with the dependency already having been installed. Synaptic surprisingly seems to work fine.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu gdebi Edit question
Assignee:
No assignee Edit question
Solved by:
Daniel Brumbaugh-Keeney
Solved:
Last query:
Last reply:
Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#1

Please be sure your system is fully updated/upgraded with no pending packages.

Open a Terminal from the menu Applications → Accessories → Terminal and type:
(when the system ask you a password give your user password, you will not see nothing when you type it, then press enter)

sudo dpkg --configure -a
sudo apt-get -f install
sudo apt-get --fix-missing install
sudo apt-get clean
sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade
sudo apt-get clean
sudo apt-get autoremove

sudo apt-get update
sudo apt-get --purge remove gdebi
sudo aptitude install gdebi

Hope this helps

Revision history for this message
Daniel Brumbaugh-Keeney (db-keen) said :
#2

My mistake, apparently it was not a problem of the package cache at all. Rather, gdebi was reporting 'dependency not satisfiable' meaning I didn't have a new enough version, not that I didn't have the package at all. I haven't upgraded to Intrepid Ibex, and was trying install packages designed for it. I wish gdebi would have been explicit that it was a version issue. Sorry for your trouble.