apt-get stuck after bad package
my apt-get is kinda stuck, i can't install any more packages. if i try something, it allways gives this as answer:
error: cannot get exclusive lock on /var/lib/rpm/Packages error: cannot open Packages index using db3 - Bewerking niet toegestaan (1) error: cannot open Packages database in /var/lib/rpm E: could not open RPM database (sorry, not completely shure how to translate the "Bewerking niet toegestaan", will be something like "access denied" in the English versions i guess) anyone knows how i can make clear to the program that i don't want it to install anymore? (i did a search on my pc, and it is nowhere to be found on it, tought that might help as well) :newbie: |
Quote:
|
It has been a while since I used a RPM based distro, but I would get those errors when I tried to use apt-get when yum or up2date were in use. The error you listed looks like one of those programs have a lock on the /var/lib/rpm/Packages directory. Try closing all instances of yum, up2date, or any other package updater that you have in use, then try again.
peace, JimBass |
have done both the things, still sais that it isn't good. Problem is, if i do what is asks me to do, it still doesn't work.
Code:
You might want to run `apt-get --fix-broken install' to correct these. The following packages have unmet dependencies: |
You could try removing the offending package:
Code:
apt-get remove flex-old#2.5.4a-alt1 Code:
apt-get -f install Code:
dpkg -r --force-all flex-old#2.5.4a-alt1 Code:
apt-get -f install |
All times are GMT -5. The time now is 06:00 AM. |