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
Installation broken; can't install or update
Installation broken; can't install or update
Hello,
When I try to update my Debian configuration, using “apt-get update”, I get this in the process:
dpkg: error processing package procps (--configure):
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of udev:
udev depends on procps; however:
Package procps is not configured yet.
dpkg: error processing package udev (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of systemd:
systemd depends on udev (>= 208-8); however:
Package udev is not configured yet.
dpkg: error processing package systemd (--configure):
dependency problems - leaving unconfigured
Processing triggers for libc-bin (2.19-18+deb8u10) ...
Errors were encountered while processing:
procps
udev
systemd
E: Sub-process /usr/bin/dpkg returned an error code (1)
I have searched on the Internet, but so far, no answer helped me. Also, please note I'm not an advanced Linux user.
I have the feeling my installation is completely broken and I have no other choice than reinstalling the OS (but I can't as it's a VPS; at least, I don't know how).
Any help welcome.
When I try to update my Debian configuration, using “apt-get update”, I get this in the process:
dpkg: error processing package procps (--configure):
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of udev:
udev depends on procps; however:
Package procps is not configured yet.
dpkg: error processing package udev (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of systemd:
systemd depends on udev (>= 208-8); however:
Package udev is not configured yet.
dpkg: error processing package systemd (--configure):
dependency problems - leaving unconfigured
Processing triggers for libc-bin (2.19-18+deb8u10) ...
Errors were encountered while processing:
procps
udev
systemd
E: Sub-process /usr/bin/dpkg returned an error code (1)
I have searched on the Internet, but so far, no answer helped me. Also, please note I'm not an advanced Linux user.
I have the feeling my installation is completely broken and I have no other choice than reinstalling the OS (but I can't as it's a VPS; at least, I don't know how).
Any help welcome.
- None1975
- df -h | participant
- Posts: 1404
- Joined: 2015-11-29 18:23
- Location: Russia, Kaliningrad
- Has thanked: 46 times
- Been thanked: 69 times
Re: Installation broken; can't install or update
Hello. Please post your here. I suspect it's a typical FrankenDebian.
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
Re: Installation broken; can't install or update
That's the first thing I'd check, bad pkg from a non-debian source?
Many pkgs use scripts during install/remove, and they store them and info about themselves in /var/lib/dpkg/info
Sometimes this info can be corrupted during unpacking, and lead to this kind of error. The file mentioned (procps.postinst) should be 3481 bytes, and it is a readable script, no foreign characters in it. Or maybe one of the other procps.* files may be corrupt. This seems to happen on sd-card installations more often. Usually removing the files manually and reinstalling the pkg clears it up.
Many pkgs use scripts during install/remove, and they store them and info about themselves in /var/lib/dpkg/info
Sometimes this info can be corrupted during unpacking, and lead to this kind of error. The file mentioned (procps.postinst) should be 3481 bytes, and it is a readable script, no foreign characters in it. Or maybe one of the other procps.* files may be corrupt. This seems to happen on sd-card installations more often. Usually removing the files manually and reinstalling the pkg clears it up.
Code: Select all
$ ls -l /var/lib/dpkg/info/procps.postinst
-rwxr-xr-x 1 root root 3481 May 17 2018 /var/lib/dpkg/info/procps.postinst
resigned by AI ChatGPT
Re: Installation broken; can't install or update
Ok, here's the content of the /etc/apt/sources.list list:
deb http://ftp.debian.org/debian jessie main contrib non-free
deb http://ftp.debian.org/debian jessie-updates main contrib non-free
deb http://security.debian.org jessie/updates main contrib non-free
deb http://debian.home-dn.net/sarge postfix-vda/
Thanks.
deb http://ftp.debian.org/debian jessie main contrib non-free
deb http://ftp.debian.org/debian jessie-updates main contrib non-free
deb http://security.debian.org jessie/updates main contrib non-free
deb http://debian.home-dn.net/sarge postfix-vda/
Thanks.
Re: Installation broken; can't install or update
Ok, the file I have has a different size:
root@<server>:~# ls -l /var/lib/dpkg/info/procps.postinst
-rwxr-xr-x 1 root root 3439 May 17 2018 /var/lib/dpkg/info/procps.postinst
However, it ends with “exit 0” and 3 blank lines, so it looks good to me (?).
Thanks.
root@<server>:~# ls -l /var/lib/dpkg/info/procps.postinst
-rwxr-xr-x 1 root root 3439 May 17 2018 /var/lib/dpkg/info/procps.postinst
However, it ends with “exit 0” and 3 blank lines, so it looks good to me (?).
Thanks.
- None1975
- df -h | participant
- Posts: 1404
- Joined: 2015-11-29 18:23
- Location: Russia, Kaliningrad
- Has thanked: 46 times
- Been thanked: 69 times
Re: Installation broken; can't install or update
That's the culprit. Debian Stable should not be combined with other releases. If you're trying to install software that isn't available in the current Debian Stable release, it's not a good idea to add repositories for other Debian releases. The problems might not happen right away, but the next time you install updates.Anic297 wrote:Ok, here's the content of the /etc/apt/sources.list list:
deb http://debian.home-dn.net/sarge postfix-vda/.
OS: Debian 12.4 Bookworm / DE: Enlightenment
Debian Wiki | DontBreakDebian, My config files on github
Debian Wiki | DontBreakDebian, My config files on github
Re: Installation broken; can't install or update
Ok, good to know.
So I should just remove that line?
Thank you.
So I should just remove that line?
Thank you.
- None1975
- df -h | participant
- Posts: 1404
- Joined: 2015-11-29 18:23
- Location: Russia, Kaliningrad
- Has thanked: 46 times
- Been thanked: 69 times
Re: Installation broken; can't install or update
You are welcome. It is not so easy. We do not know what packages were installed from http://debian.home-dn.net/sarge postfix-vda/., what dependencies for this packages were installed, and so on. I'm afraid that in this case, you have to completely reinstall your system. In my opinion, this would be the easiest option.Anic297 wrote:So I should just remove that line? Thank you.
OS: Debian 12.4 Bookworm / DE: Enlightenment
Debian Wiki | DontBreakDebian, My config files on github
Debian Wiki | DontBreakDebian, My config files on github
- stevepusser
- Posts: 12930
- Joined: 2009-10-06 05:53
- Has thanked: 41 times
- Been thanked: 72 times
Re: Installation broken; can't install or update
OP is mostly running Jessie instead of Stretch, so that might lead to the different postinst file size instead of the sarge repo.
MX Linux packager and developer
Re: Installation broken; can't install or update
To possibly find out what packages are installed from sarge
*might help
They might come up as
I have no experience with stable (desktop and servers)
Code: Select all
aptitude search ~i -F"%p# %v# %t#"
They might come up as
Code: Select all
sarge
<NULL>
<NULL>sarge
<NULL>now
Re: Installation broken; can't install or update
Thanks. Your code results in 1836 lines. I'm guessing it's a dead end…
Re: Installation broken; can't install or update
this is a shot in the dark so don't be too optimistic.
please post what happens when
as root
please post what happens when
as root
Code: Select all
dpkg -P systemd
dpkg --configure -a
In memory of Ian Ashley Murdock (1973 - 2015) founder of the Debian project.
Re: Installation broken; can't install or update
I apologize. In the meantime, I have already reinstalled my server; I should have answered here sooner. Thanks for your idea, though.