Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Trying to install network-manager

If none of the specific sub-forums seem right for your thread, ask here.
Post Reply
Message
Author
NewToLinux
Posts: 71
Joined: 2017-09-17 11:30

Trying to install network-manager

#1 Post by NewToLinux »

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.

User avatar
None1975
df -h | participant
df -h | participant
Posts: 1404
Joined: 2015-11-29 18:23
Location: Russia, Kaliningrad
Has thanked: 46 times
Been thanked: 70 times

Re: Trying to install network-manager

#2 Post by None1975 »

Hello. Please, post the contents of

Code: Select all

/etc/apt/sources.list
OS: Debian 12.4 Bookworm / DE: Enlightenment
Debian Wiki | DontBreakDebian, My config files on github

theblueplll
Posts: 154
Joined: 2019-04-29 01:17
Been thanked: 2 times

Re: Trying to install network-manager

#3 Post by theblueplll »

None1975 wrote:Hello. Please, post the contents of

Code: Select all

/etc/apt/sources.list
There ya go the generic answer for everything even when it doesn't pertain to the problem.

CwF
Global Moderator
Global Moderator
Posts: 2684
Joined: 2018-06-20 15:16
Location: Colorado
Has thanked: 41 times
Been thanked: 196 times

Re: Trying to install network-manager

#4 Post by CwF »

apt-cache policy would be more revealing
imo, wicd works better

Code: Select all

dom0@computer:~/Desktop$  apt-cache policy network-manager
network-manager:
  Installed: (none)
  Candidate: 1.6.2-3+deb9u2
  Version table:
     1.6.2-3+deb9u2 500
        500 http://ftp.us.debian.org/debian stretch/main amd64 Packages
dom0@computer:~/Desktop$  apt-cache policy wicd*
wicd-gtk:
  Installed: 1.7.4+tb2-5~deb9u1
  Candidate: 1.7.4+tb2-5~deb9u1
  Version table:
 *** 1.7.4+tb2-5~deb9u1 500
        500 http://ftp.us.debian.org/debian stretch/main amd64 Packages
        100 /var/lib/dpkg/status
wicd-client:
  Installed: (none)
  Candidate: (none)
  Version table:
wicd-curses:
  Installed: 1.7.4+tb2-5~deb9u1
  Candidate: 1.7.4+tb2-5~deb9u1
  Version table:
 *** 1.7.4+tb2-5~deb9u1 500
        500 http://ftp.us.debian.org/debian stretch/main amd64 Packages
        100 /var/lib/dpkg/status
wicd:
  Installed: 1.7.4+tb2-5~deb9u1
  Candidate: 1.7.4+tb2-5~deb9u1
  Version table:
 *** 1.7.4+tb2-5~deb9u1 500
        500 http://ftp.us.debian.org/debian stretch/main amd64 Packages
        100 /var/lib/dpkg/status
wicd-cli:
  Installed: 1.7.4+tb2-5~deb9u1
  Candidate: 1.7.4+tb2-5~deb9u1
  Version table:
 *** 1.7.4+tb2-5~deb9u1 500
        500 http://ftp.us.debian.org/debian stretch/main amd64 Packages
        100 /var/lib/dpkg/status
wicd-daemon:
  Installed: 1.7.4+tb2-5~deb9u1
  Candidate: 1.7.4+tb2-5~deb9u1
  Version table:
 *** 1.7.4+tb2-5~deb9u1 500
        500 http://ftp.us.debian.org/debian stretch/main amd64 Packages
        100 /var/lib/dpkg/status

User avatar
sunrat
Administrator
Administrator
Posts: 6477
Joined: 2006-08-29 09:12
Location: Melbourne, Australia
Has thanked: 118 times
Been thanked: 474 times

Re: Trying to install network-manager

#5 Post by sunrat »

theblueplll wrote:
None1975 wrote:Hello. Please, post the contents of

Code: Select all

/etc/apt/sources.list
There ya go the generic answer for everything even when it doesn't pertain to the problem.
Sources could explain exactly what the problem is, although apt policy would show all the sources not just those in the sources.list file.
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!

jibberjabber
Posts: 162
Joined: 2016-01-10 16:58

Re: Trying to install network-manager

#6 Post by jibberjabber »

#163
Yes 'apt-policy' gives more info, and generally,

Code: Select all

E: Unable to correct problems, you have held broken packages. 
Indicates something is wrong with the sources.list file. Or some of the packages installed.
Usually that error message, also includes one that suggests:

Code: Select all

# apt update --fix-missing 
and

Code: Select all

# apt install -f 
Sometimes works, but it would be better to show the 'apt-policy' output, and/or also the /etc/apt/sources.list , if that is not correct, you will have problems fixing those packages.

Also, maybe of interest:
https://raphaelhertzog.com/2011/02/21/d ... tall-them/
written by HelpBot#8453
Alias jibberjabber
I am sorry, my english is not that good, and I sometimes have other problems,so my response might not be perfect.
N5RLX > "Jibber jabber ,all day and all night, jibber jabber jibber jabber"

NewToLinux
Posts: 71
Joined: 2017-09-17 11:30

Re: Trying to install network-manager

#7 Post by NewToLinux »

Thanks to everyone for their contributions.

Here is what I get :-

% 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

L_V
Posts: 1477
Joined: 2007-03-19 09:04
Been thanked: 11 times

Re: Trying to install network-manager

#8 Post by L_V »

First of all, your sources.list is totally corrupted.
Example, these lines:

Code: Select all

http://ftp.uk.debian.org/debian/ jessie-updates main contrib non-free 
non-free #deb http://packages.linuxmint.com debian import
and so on.....

1 - save your corrupted sources.list

Code: Select all

mv /etc/apt/sources.list /etc/apt/sources.list.bad
2 - create /etc/apt/sources.list with this only to start

Code: Select all

deb http://ftp.uk.debian.org/debian/ jessie main non-free contrib
deb http://deb.debian.org/debian-security/ jessie/updates main contrib non-free
#
and check this

Code: Select all

apt-get update
apt-get install -f
apt-get install network-manager

Post Reply