I am having dependency problems, whenever I do an apt-get install, I get this error message:
I already tried:
apt-get clean,update,upgrade,install -fdpkg --configure -a
What should I do now?
I am having dependency problems, whenever I do an apt-get install, I get this error message:
I already tried:
apt-get clean, update, upgrade, install -fdpkg --configure -aWhat should I do now?
http://ftp.de.debian.org/debian/ sid main is a repository for the Debian OS, not Ubuntu. You should not be using this repository. Here's what you can do:
sudo cp /etc/apt/sources.list /etc/apt/sources.list.bk
sources.list file.Open up /etc/apt/sources.list with your favorite editor, and delete everything, and repopulate it with the proper, default repositories. Here's how you'll get them:
sources.list file and save it.Run the following commands in order:
sudo apt-get clean sudo apt-get update sudo apt-get install -f sudo dpkg -a --configure sudo apt-get dist-upgrade
You'll probably get some errors along the way. apt-get install -f should try to fix most issues, but I suspect that it won't fix everything. dpkg will try to further configure the packages, although apt-get install -f should call it by default. The last command is to fully upgrade your system, including the linux kernel, which is what you're having problems with from the logs you posted. I suggest you, again, run these commands after everything is done:
sudo apt-get install -f sudo dpkg -a --configure
Try this command. It helped me.
apt remove package_name
and hit Enter
Then try to install whatever you want
I had similar issue all of a sudden when I try to install via apt-get or dkpg -i.
What did the trick for me is as was suggested in the output of the error message:
apt-get install -f
I presume, one of my recent installations failed and left my system in an unmet dependencies state. Running the above installed a few libraries, post which I was able to install my new software.