Hello,
When I run "apt-get install package " I get this error message:
The following packages have unmet dependencies:
systemd : Depends: libsystemd0 (= 215-17+deb8u5) but 215-17+deb8u13 is to be installed
systemd-sysv : Depends: systemd (= 215-17+deb8u7) but 215-17+deb8u5 is to be installed
I tried "apt-get -f install", "sudo apt-get clean", "sudo dpkg --configure -a", and "sudo apt-get autoremove" and yet another issue appears:
dpkg: error processing package udev (--configure):
subprocess installed post-installation script returned error exit status 1
Since it is a production server, what would be the best approach to solve this issue?
Version: Debian GNU/Linux 8.11 (jessie)
Thank you!
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
Dependency issues: cannot install anything
Re: Dependency issues: cannot install anything
What exactly is package ?AlexS8 wrote: When I run "apt-get install package " I get this error message:
The following packages have unmet dependencies:
systemd : Depends: libsystemd0 (= 215-17+deb8u5) but 215-17+deb8u13 is to be installed
systemd-sysv : Depends: systemd (= 215-17+deb8u7) but 215-17+deb8u5 is to be installed
Version: Debian GNU/Linux 8.11 (jessie)
Post your sources.list
- dilberts_left_nut
- Administrator
- Posts: 5347
- Joined: 2009-10-05 07:54
- Location: enzed
- Has thanked: 13 times
- Been thanked: 66 times
Re: Dependency issues: cannot install anything
How did this start?
Post the relevant /var/log/apt/history
Post the relevant /var/log/apt/history
AdrianTM wrote:There's no hacker in my grandma...
Re: Dependency issues: cannot install anything
dont tell the boss and run!!!AlexS8 wrote:Hello,
When I run "apt-get install package " I get this error message:
The following packages have unmet dependencies:
systemd : Depends: libsystemd0 (= 215-17+deb8u5) but 215-17+deb8u13 is to be installed
systemd-sysv : Depends: systemd (= 215-17+deb8u7) but 215-17+deb8u5 is to be installed
I tried "apt-get -f install", "sudo apt-get clean", "sudo dpkg --configure -a", and "sudo apt-get autoremove" and yet another issue appears:
dpkg: error processing package udev (--configure):
subprocess installed post-installation script returned error exit status 1
Since it is a production server, what would be the best approach to solve this issue?
Version: Debian GNU/Linux 8.11 (jessie)
Thank you!
You can try:
sudo aptitude versions packake (to query available versions for package)
and then install the one you wish:
sudo aptitude install packake=version
Aptitude will show you several different paths to follow that might fix the dependecy issues..you just need to pick the propely one that fix it in a logical way..
Sometimes aptitudes neither cant do it and you have to download specific versions from debian.packages.com.. install them with dpkg and the apply apt force.
like this.:
1- sudo dpkg -i package1_v1.deb package2_v1.deb package3_v1.deb
and then
2- sudo apt-get install -f (to make apt fix it)
Im not an expert but I always fix it like that. Aptitude can help ou a lot.. anyways try to think first what youve changed or installed in order to choose an estrategy to procced.. bad idea mess with a server production
I recommend you all to use btrfs filesytem, in order to work with system snapshots so that you can rollback anywhere, anytime with just a reboot and forgert messing the system for ever
bester69 wrote:STOP 2030 globalists demons, keep the fight for humanity freedom against NWO...
Re: Dependency issues: cannot install anything
Hello,
Thank you for the replies! Here are the requested info:
1. The package that I wanted to install is "zabbix-agent", but I get the same result when I try to install anything (for example net-tools)
2. My source .list
#
# deb cdrom:[Debian GNU/Linux 8.6.0 _Jessie_ - Official amd64 NETINST Binary-1 20160917-14:20]/ jessie main
#deb cdrom:[Debian GNU/Linux 8.6.0 _Jessie_ - Official amd64 NETINST Binary-1 20160917-14:20]/ jessie main
deb http://ftp.belnet.be/debian/ jessie main
deb-src http://ftp.belnet.be/debian/ jessie main
deb http://security.debian.org/ jessie/updates main
deb-src http://security.debian.org/ jessie/updates main
# jessie-updates, previously known as 'volatile'
deb http://ftp.belnet.be/debian/ jessie-updates main
deb-src http://ftp.belnet.be/debian/ jessie-updates main
3. Post the relevant /var/log/apt/history
I think this may have created the issue - I saw a log about this command:
Commandline: apt-get install sudo
Upgrade: sudo:amd64 (1.8.10p3-1+deb8u3, 1.8.10p3-1+deb8u7)
4.sudo aptitude versions packake
It does not return anything
5.dont tell the boss and run!!! --> priceless
Let me know if you need more info
Thank you for the replies! Here are the requested info:
1. The package that I wanted to install is "zabbix-agent", but I get the same result when I try to install anything (for example net-tools)
2. My source .list
#
# deb cdrom:[Debian GNU/Linux 8.6.0 _Jessie_ - Official amd64 NETINST Binary-1 20160917-14:20]/ jessie main
#deb cdrom:[Debian GNU/Linux 8.6.0 _Jessie_ - Official amd64 NETINST Binary-1 20160917-14:20]/ jessie main
deb http://ftp.belnet.be/debian/ jessie main
deb-src http://ftp.belnet.be/debian/ jessie main
deb http://security.debian.org/ jessie/updates main
deb-src http://security.debian.org/ jessie/updates main
# jessie-updates, previously known as 'volatile'
deb http://ftp.belnet.be/debian/ jessie-updates main
deb-src http://ftp.belnet.be/debian/ jessie-updates main
3. Post the relevant /var/log/apt/history
I think this may have created the issue - I saw a log about this command:
Commandline: apt-get install sudo
Upgrade: sudo:amd64 (1.8.10p3-1+deb8u3, 1.8.10p3-1+deb8u7)
4.sudo aptitude versions packake
It does not return anything
5.dont tell the boss and run!!! --> priceless
Let me know if you need more info
Re: Dependency issues: cannot install anything
update for sudo aptitude versions package - my bad, I mistyped it:
yet, not sure which one would solve the dependency issue with systemd & libsystemd0
yet, not sure which one would solve the dependency issue with systemd & libsystemd0
Re: Dependency issues: cannot install anything
Extra Update - maybe these can help too
# sudo dpkg-query -l (for relevant queries)
ii libpam-systemd:amd64 215-17+deb8u5
ii libsystemd0:amd64 215-17+deb8u13
ii libudev1:amd64 215-17+deb8u13
ii systemd 215-17+deb8u5
ii systemd-sysv 215-17+deb8u7
iF udev 215-17+deb8u13
# apt-cache policy systemd libsystemd0 systemd-sysv libpam-systemd libudev1 udev
systemd:
Installed: 215-17+deb8u5
Candidate: 215-17+deb8u13
libsystemd0:
Installed: 215-17+deb8u13
Candidate: 215-17+deb8u13
systemd-sysv:
Installed: 215-17+deb8u7
Candidate: 215-17+deb8u13
libpam-systemd:
Installed: 215-17+deb8u5
Candidate: 215-17+deb8u13
libudev1:
Installed: 215-17+deb8u13
Candidate: 215-17+deb8u13
udev:
Installed: 215-17+deb8u13
Candidate: 215-17+deb8u13
# sudo dpkg-query -l (for relevant queries)
ii libpam-systemd:amd64 215-17+deb8u5
ii libsystemd0:amd64 215-17+deb8u13
ii libudev1:amd64 215-17+deb8u13
ii systemd 215-17+deb8u5
ii systemd-sysv 215-17+deb8u7
iF udev 215-17+deb8u13
# apt-cache policy systemd libsystemd0 systemd-sysv libpam-systemd libudev1 udev
systemd:
Installed: 215-17+deb8u5
Candidate: 215-17+deb8u13
libsystemd0:
Installed: 215-17+deb8u13
Candidate: 215-17+deb8u13
systemd-sysv:
Installed: 215-17+deb8u7
Candidate: 215-17+deb8u13
libpam-systemd:
Installed: 215-17+deb8u5
Candidate: 215-17+deb8u13
libudev1:
Installed: 215-17+deb8u13
Candidate: 215-17+deb8u13
udev:
Installed: 215-17+deb8u13
Candidate: 215-17+deb8u13
- sunrat
- Administrator
- Posts: 6495
- Joined: 2006-08-29 09:12
- Location: Melbourne, Australia
- Has thanked: 118 times
- Been thanked: 476 times
Re: Dependency issues: cannot install anything
Debian Jessie repos have been archived so you will need to change your sources if you wish to continue to use Jessie. It would be far preferable to update to Buster.
https://www.debian.org/distrib/archive
https://lists.debian.org/debian-devel-a ... 00006.html
https://www.debian.org/distrib/archive
https://lists.debian.org/debian-devel-a ... 00006.html
“ 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!
Re: Dependency issues: cannot install anything
There appears to be some unofficial Extended Long Term Support available for jessie but I very much doubt that zabbix-agent could be installed.
First back up the system, and then upgrade to Debian 9 "stretch" and, as sunrat comments, it will then be preferable to upgrade to Buster, since you can't leapfrog over stretch.
First back up the system, and then upgrade to Debian 9 "stretch" and, as sunrat comments, it will then be preferable to upgrade to Buster, since you can't leapfrog over stretch.
DebianStable
Code: Select all
$ vrms
No non-free or contrib packages installed on debian! rms would be proud.