Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Within the last couple of days, I have tried to install network-manager on a Debian Jessie system as follows :-
apt-get update
apt-get install network-manger
but it failed as follows :-
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:
network-manager : Depends: libpam-systemd but it is not installable
Depends: policykit-1
Recommends: ppp (>= 2.4.6) but it is not going to be installed
Recommends: dnsmasq-base but it is not going to be installed
Recommends: crda
Recommends: iputils-arping but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
Can anyone please help me to understand why I cannot
install network-manager.
The following packages have unmet dependencies:
network-manager : Depends: libpam-systemd but it is not installable
Depends: policykit-1
Recommends: ppp (>= 2.4.6) but it is not going to be installed
Recommends: dnsmasq-base but it is not going to be installed
Recommends: crda
Recommends: iputils-arping but it is not going to be installed
Do you have a bunch of packages that don't match? Have you held some packages back from updating.(I never use debain)
Can you install a previous version of network-manager?
I now think my Debian package database may possibly be slightly screwed up.
I have used Debian myself for many years and also had to deal with broken packages regularly. I do not know what exactly caused it but it usually happened after I tried to install/remove a lot of packages at once via Synaptic.
You can try the solutions suggested in this thread. It is in the Ubuntu subforum but since Ubuntu is based on Debian it should also be applicable in your case. Hope this helps.
Then try to install it. Once NEW packages are available they tend to remove the availability of the OLD packages from the servers. When running testing or sid or experimental, there are times when updates can be out of sync, but generally get corrected in a timely manner. When running stable, that shouldn't be an issue. Baring extras like backports, or a really slow connection to where new updates are available before you complete downloading the old updates. Having been on dialup, probably a decade longer than I should have been, I tend to download only, then update and download again.
BTW, jessie is quite OLD at this point. Stretch was the previous "stable", with buster being the current "stable" as of this month. Which probably puts jessie near 5 years and out of support???
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.