You are not logged in.
Pages: 1
Thanks for that tip. Hopefully all will be well now.
The new version of elogind seems to have fixed the problem. Thanks to all who answered!
Update #3: I removed systemd-standalone-sysusers as well, which also removed cron and cron-daemon-common. Again, no effect on the error message.
I reinstalled cron and cron-daemon-common. They pulled systemd-standalone-sysusers back in.
Thanks for the quick reply. FWIW here's the full error message:
~> sudo apt upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... 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:
libelogind-compat : Conflicts: libsystemd0
E: Broken packages
The "apt upgrade" error persists even after "apt full-upgrade" succeeds, which is part of what confuses me. The other thing that confuses me is that libsystemd0 isn't installed, so can't conflict anything.
I tried "apt purge libsystemd0" in case there's something lurking, but the error remains.
Further update: I noticed that systemd-standalone-tmpfiles is in the autoremove list, so I removed it manually. Also no effect.
I've been running unstable for some time, so I'm kind of used to strange things happening occasionally. However, this one seems persistent.
"apt upgrade" gives me the following error:
The following packages have unmet dependencies:
libelogind-compat : Conflicts: libsystemd0
E: Broken packages
However, "apt full-upgrade" runs through without problems.
"dpkg -l libelogind-compat" says I have 252.9-2 installed:
ii libelogind-compat:amd64 252.9-2 amd64 user, seat and session management library compatibility
"dpkg -l libsystemd0" says it isn't installed:
un libsystemd0 <none> <none> (no description available)
If I uninstall libelogind-compat, apt also wants to remove a whole load of stuff, including most or all of xorg. Similar if I use "apt satisfy" with the "conflicts" message. So I won't do that.
Any ideas?
Update: "dpkg -l \*systemd\*" tells me that I have systemd-standalone-sysusers and systemd-standalone-tmpfiles installed. If I try to remove them, apt also wants to remove cron and cron-daemon-common, which I also don't want to do.
For what it's worth - just ran apt-update and noticed new versions of eudev and libeudev1 incoming. After upgrading them (and only them) PC boots with no problems.
Then did a full upgrade. Now cryptsetup is causing trouble, but that's a different matter.
I got the warning from dpkg too, and a few warnings about dependency problems during the upgrade.
I just solved a similar problem by downgrading eudev and libeudev from 3.2.14 to 3.2.12.
See this comment and those preceding it: https://dev1galaxy.org/viewtopic.php?pid=48499#p48499
I've found a solution or a workaround: downgraded to eudev_3.2.12-4+deb11u1_amd64.deb and libeudev1_3.2.12-4+deb11u1_amd64.deb
Removed my hacked list of modules from /etc/initramfs-tools/modules and ran update-initramfs -u
Now my system boots kernel 6.6.15 correctly. Keyboard and mouse both working. At some point I should tidy up /boot again and regenerate all the initrd.img files
So it might not be related to usrmerge after all.
What now? Should I report a bug against eudev?
The non-standard choices that I made earlier were:
* adding modprobe, lsmod & co as symlinks to kmod
* editing some shellscripts to add /usr/bin and /usr/sbin to the hard coded paths at the top
Anyway, FWIW the logs are here: https://experimental.thelancashireman.org/devuan-logs/
There's a description file (info.txt)
First inkling of a problem: https://bugs.devuan.org/cgi/bugreport.cgi?bug=828
That was before usrmerge was forced. Some scripts had hard-coded paths to /bin and /sbin, but the programs they use moved to /usr/bin and /usr/sbin
But the problem of hard-coded paths should go away after usrmerge, shouldn't it?
I can't get the dmesg output for the last known good case, but I can extract the information from syslog. It'll take a while though.
In the cases where the kernel doesn't find the root fs there's no dmesg and no log, of course.
I just tried transplanting the kernel files (config-, initrd.img-, System.map- and vmlinuz-6.5.0-4-amd) from my laptop. Also ceres, but not updated for a while. I never had 6.5.0-4 on my desktop so I wouldn't expect it to work properly (missing modules) but in fact it works almost as well as the setup with the forced modules in the initrd. With that in mind, I can switch back to a boot set from an earlier kernel (probably 6.1.xxx). I still have those kernels installed, but all the initrd files in /boot have been polluted by mkinitramfs. Fortunately I made a backup before I started fiddling :-)
One more "interesting" fact: my work laptop runs debian sid/unstable. A couple of updates ago it appeared to stop booting at the point where the text display switches from 80x25 to high-res. In fact, it didn't stop booting - it was the console that didn't work. An older kernel worked fine, so I uninstalled the generic kernel package and nailed the kernel version at 6.1.27-1. Now that I look at the fs more closely, it has been usrmerged - /bin, /sbin etc. are symlinks. So maybe my trouble there was an early indication of usrmerge trouble. I'm leaving the company at the end of March, so I won't do any more updates in case they break something.
An update at the weekend (unstable/ceres) forced a usrmerge. Since then the PC doesn't boot correctly. The error message says that if cannot find the root filesystem.
The immediate cause is that the kernel fails to load any modules. I forced that by adding a list of modules to /etc/initramfs-tools/modules - the list obtained from lsmod in the repair system. Now the PC boots. I get a gui login. Unfortunately X doesn't recognise the keyboard and mouse. I can log in by ssh from my laptop and see that there are no errors in Xorg.log.0, but also no information about loading X modules for HID.
My guess is that the problem is related to udev. Any ideas or comments?
Hi,
I recently updated from ascii to ceres (unstable)
After the full upgrade I got a warning message along the lines of:
"your ramdisk configuration doesn't contain any encrypted drives. Consider removing cryptsetup-initramfs to get rid of this message."
So I did that, and apt removed cryptsetup as well.
I don't have any encrypted disks on my laptop, but I do have encrypted filesystems (e.g. usb sticks, image files etc.) So I'd like to get rid of the warning but keep cryptsetup. Why does cryptsetup require cryptsetup-initramfs? The other way round would seem more logical.
Pages: 1