LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 07-18-2019, 09:31 AM   #1
debianlearner
Member
 
Registered: May 2019
Posts: 80
Blog Entries: 1

Rep: Reputation: Disabled
Trying to install network-manager


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.

Thanks.
 
Old 07-18-2019, 10:45 AM   #2
teckk
LQ Guru
 
Registered: Oct 2004
Distribution: Arch
Posts: 5,141
Blog Entries: 6

Rep: Reputation: 1828Reputation: 1828Reputation: 1828Reputation: 1828Reputation: 1828Reputation: 1828Reputation: 1828Reputation: 1828Reputation: 1828Reputation: 1828Reputation: 1828
Quote:
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?

Are you sure that you updated and not just updated the package list/database.
https://www.debian.org/doc/manuals/d...todate.en.html

That's what it looks like.
 
Old 07-19-2019, 08:21 AM   #3
debianlearner
Member
 
Registered: May 2019
Posts: 80

Original Poster
Blog Entries: 1

Rep: Reputation: Disabled
Trying to install network-manager

Thanks for your reply.

apt-get update
apt-get install <package-name>

is the standard way to install a package
contained in the Debian release currently used.

I now think my Debian package database may possibly be slightly screwed up.
 
Old 07-19-2019, 09:02 AM   #4
crts
Senior Member
 
Registered: Jan 2010
Posts: 2,020

Rep: Reputation: 757Reputation: 757Reputation: 757Reputation: 757Reputation: 757Reputation: 757Reputation: 757
Quote:
Originally Posted by debianlearner View Post
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.
 
Old 07-22-2019, 05:28 AM   #5
debianlearner
Member
 
Registered: May 2019
Posts: 80

Original Poster
Blog Entries: 1

Rep: Reputation: Disabled
Trying to install network manager

Thanks for your reply.

I have tried the following, if that helps :-

% cat /etc/apt/sources.list
deb http://ftp.us.debian.org/debian/ jessie main non-free contrib
deb-src http://ftp.us.debian.org/debian/ jessie main non-free contrib

deb http://security.debian.org/ jessie/updates main contrib non-free
deb-src http://security.debian.org/ jessie/updates main contrib non-free

# jessie-updates, previously known as 'volatile' #deb
http://ftp.uk.debian.org/debian/ jessie-updates main contrib non-free
#deb-src http://ftp.uk.debian.org/debian/ jessie-updates main contrib
non-free #deb http://packages.linuxmint.com debian import

# Jessie backports #deb http://httpredir.debian.org/debian jessie-backports
main contrib non-free


% apt-cache policy network-manager
network-manager:
Installed: (none)
Candidate: 0.9.10.0-7
Version table:
0.9.10.0-7 0
500 http://ftp.us.debian.org/debian/ jessie/main amd64 Packages
 
Old 07-22-2019, 09:41 AM   #6
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,365

Rep: Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591
did you run
Code:
apt-get upgrade
?
 
Old 07-23-2019, 04:27 AM   #7
debianlearner
Member
 
Registered: May 2019
Posts: 80

Original Poster
Blog Entries: 1

Rep: Reputation: Disabled
Trying to install network-manager

No, I just ran :-

apt-get update
apt-get install network-manager
 
Old 07-23-2019, 05:07 AM   #8
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 4,137
Blog Entries: 1

Rep: Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874
# apt-get update
# apt-get dist-upgrade

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.

# apt-get update
# apt-get -d dist-upgrade
# apt-get update
# apt-get -d dist-upgrade
# apt-get dist-upgrade

Just to make sure I have all the current stuff before I apply the updates. OLD habits.
 
Old 07-23-2019, 05:10 AM   #9
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 4,137
Blog Entries: 1

Rep: Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874
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???
 
Old 07-23-2019, 05:41 AM   #10
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,365

Rep: Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591
Quote:
Which probably puts jessie near 5 years and out of support???
Jessie support ends next year.
 
Old 07-26-2019, 08:45 AM   #11
debianlearner
Member
 
Registered: May 2019
Posts: 80

Original Poster
Blog Entries: 1

Rep: Reputation: Disabled
Trying to install network-manager

Thanks for all the contributions.

The only version of network-manager available for Jessie is network-manager (0.9.10.0-7).

I realise that Debian Jessie is oldoldstable and support ends completely next year.

I intend to update to Stretch a bit later this year.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] How do I switch the network manager from YAST back to the default network manager? skykooler SUSE / openSUSE 7 03-09-2010 06:28 PM
Debian 5.0 Network-Manager interfers with vnet0 bridging to eth0 for virt-manager coolphive Debian 5 05-29-2009 02:02 PM
Debian 5.0 Network-Manager interfers with vnet0 bridging to eth0 for virt-manager coolphive Linux - Newbie 2 05-28-2009 08:51 AM
newbie ask about Error adapt manager, i cant install any software from adept manager Bverly Linux - Software 2 10-31-2007 10:12 PM
[Gentoo file manager] Install RPM from the file manager? Coume Linux - Software 2 12-10-2003 02:21 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:57 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration