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
-
- Posts: 71
- Joined: 2017-09-17 11:30
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.
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.
- None1975
- 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
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
Debian Wiki | DontBreakDebian, My config files on github
-
- Posts: 154
- Joined: 2019-04-29 01:17
- Been thanked: 2 times
Re: Trying to install network-manager
There ya go the generic answer for everything even when it doesn't pertain to the problem.None1975 wrote:Hello. Please, post the contents ofCode: Select all
/etc/apt/sources.list
-
- 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
apt-cache policy would be more revealing
imo, wicd works better
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
- sunrat
- 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
Sources could explain exactly what the problem is, although apt policy would show all the sources not just those in the sources.list file.theblueplll wrote:There ya go the generic answer for everything even when it doesn't pertain to the problem.None1975 wrote:Hello. Please, post the contents ofCode: Select all
/etc/apt/sources.list
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ” Remember to BACKUP!
Those who have lost data
...and those who have not lost data YET ” Remember to BACKUP!
-
- Posts: 162
- Joined: 2016-01-10 16:58
Re: Trying to install network-manager
#163
Yes 'apt-policy' gives more info, and generally,
Indicates something is wrong with the sources.list file. Or some of the packages installed.
Usually that error message, also includes one that suggests:
and
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/
Yes 'apt-policy' gives more info, and generally,
Code: Select all
E: Unable to correct problems, you have held broken packages.
Usually that error message, also includes one that suggests:
Code: Select all
# apt update --fix-missing
Code: Select all
# apt install -f
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.
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"
-
- Posts: 71
- Joined: 2017-09-17 11:30
Re: Trying to install network-manager
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
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
Re: Trying to install network-manager
First of all, your sources.list is totally corrupted.
Example, these lines:and so on.....
1 - save your corrupted sources.list
2 - create /etc/apt/sources.list with this only to start
and check this
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
1 - save your corrupted sources.list
Code: Select all
mv /etc/apt/sources.list /etc/apt/sources.list.bad
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
#
Code: Select all
apt-get update
apt-get install -f
apt-get install network-manager