Unix & Linux Asked by Parampreet Rai on December 22, 2021
I had recently installed kali from parrot.
After Successful installation. I run
sudo apt-get update
sudo apt upgrade
Now I am unable to install any package. It shows me error:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
gsettings-desktop-schemas : Breaks: mutter (< 3.31.4) but 3.30.2-7 is to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
When I try to run sudo apt full-upgrade
, Another error:
libc6-dev : Breaks: libgcc-8-dev (< 8.4.0-2~) but 8.3.0-6 is to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
This is my /etc/apt/sources.list:
http://http.kali.org/kali kali-last-snapshot main non-free contrib
And, ”apt-cache policy mutter”:
mutter:
Installed: 3.30.2-7
Candidate: 3.36.4-1
Version table:
3.36.4-1 500
500 http://http.kali.org/kali kali-rolling/main amd64 Packages
*** 3.30.2-7 100
100 /var/lib/dpkg/status
Please Help.
Is anything extra I had to Post?
I encountered the same problem and solved it by
/var/lib/dpkg/status
apt update && apt install -f
Answered by Festus Gichohi on December 22, 2021
sudo apt install gcc-8-base mutter libmpx2
Answered by Nak JKro on December 22, 2021
Open the log file in /var/log/apt/term.log
in a text editor.
Scroll down to the most recent log entries near the end of term.log.
Locate any "broken" packages and remove them with sudo apt remove package-name
.
You can get a list of actual held packages with:
dpkg --get-selections | grep hold
Try to run sudo apt update && sudo apt upgrade
again.
Remove packages that were automatically installed to satisfy dependencies for other packages and are now no longer needed as dependencies changed or the package(s) needing them were removed in the meantime.
sudo apt autoremove
Answered by karel on December 22, 2021
Get help from others!
Recent Questions
Recent Answers
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP