[SOLVED] How to fix broken packages?
Hello, thank you very much for looking at my topic!
whenever I try to add new programs I get this error:
"Could not apply changes! Fix broken packages first."
So I went to Package Manager>Edit>Fix broken packages but it seems to think none of em are broke. I also tried:
Code:
sudo apt-get -f install
And that didn't work either.
;_;
Re: How to fix broken packages?
Re: How to fix broken packages?
Which packages need to be fixed?
Re: How to fix broken packages?
try to download again the package.. uninstall and install again..
Re: How to fix broken packages?
Oedha, didn't work, same result as the other way around.
Eternal, no idea whatsoever.
Rybax, I can't install any packages...
Thanks for replying!
Re: How to fix broken packages?
what about sudo apt-get update
have you activated your repository ?
Re: How to fix broken packages?
Re: How to fix broken packages?
Is your internet connection working? And if so, please list your /etc/apt/sources.list file.
Re: How to fix broken packages?
Try
Code:
sudo apt-get update
to update your package list.
Then
Code:
sudo apt-get autoclean
to clean up any partial packages.
Then to clean up the apt cache.
Code:
sudo apt-get autoremove
will clean up any unneeded dependencies.
If while doing this you can identify the broken package this code will very forcefully remove it.
Code:
sudo dpkg --remove -force --force-remove-reinstreq package name
Change package name to the real name of course.
Re: How to fix broken packages?
To everybody that helped:
Thanks so much! I finally got it working. Couldn't do it without ya'll. =]