You are not logged in.
Errors during installation of hplip . . .
This also affects colord, sane-utils, hplip
Setting up avahi-daemon (0.7-4+b1) ...
adduser: No UID/GID pair is available in the range 100-999 (FIRST_SYS_UID - LAST_SYS_UID).
adduser: The user `avahi' was not created.
dpkg: error processing package avahi-daemon (--configure):
installed avahi-daemon package post-installation script subprocess returned error exit status 1
dpkg: dependency problems prevent configuration of libnss-mdns:amd64:
libnss-mdns:amd64 depends on avahi-daemon (>= 0.6.16-1); however:
Package avahi-daemon is not configured yet.
dpkg: error processing package libnss-mdns:amd64 (--configure):
dependency problems - leaving unconfigured
Processing triggers for systemd (241-7~deb10u4) ...
Processing triggers for man-db (2.8.5-2) ...
Processing triggers for dbus (1.12.20-0+deb10u1) ...
Processing triggers for libc-bin (2.28-10) ...
Errors were encountered while processing:
avahi-daemon
libnss-mdns:amd64
E: Sub-process /usr/bin/dpkg returned an error code (1)
Offline
Output of...
apt-cache policy avahi-daemon
?
I don't care what you do at home. Would you care to explain?
Offline
avahi-daemon:
Installed: 0.7-4+b1
Candidate: 0.7-4+b1
Version table:
*** 0.7-4+b1 500
500 https://deb.debian.org/debian buster/main amd64 Packages
100 /var/lib/dpkg/status
Offline
Errors during installation of hplip . . .
This also affects colord, sane-utils, hplipSetting up avahi-daemon (0.7-4+b1) ...
So, this is a BL Lithium box? Newly installed? No errors in /var/log/installer/status?
You get error when running "apt install xxx"?
Everything worked ok before. You have installed som programs ok. You have run BL-welcom? But those three does not work?
Did you look in /var/log/apt/?
You can try to debug the error or test reinstall. If new to linux and an new installation that is not mission-critical, it's maybe better to test reinstall?
// Regards rbh
Please read before requesting help: "Guide to getting help", "Introduction to the Bunsenlabs Lithium Desktop" and other help topics under "Help & Resources" on the BunsenLabs menu
Offline
sleekmason wrote:Errors during installation of hplip . . .
This also affects colord, sane-utils, hplipSetting up avahi-daemon (0.7-4+b1) ...
So, this is a BL Lithium box? Newly installed? No errors in /var/log/installer/status?
You get error when running "apt install xxx"?Everything worked ok before. You have installed som programs ok. You have run BL-welcom? But those three does not work?
Did you look in /var/log/apt/?
You can try to debug the error or test reinstall. If new to linux and an new installation that is not mission-critical, it's maybe better to test reinstall?
Yes, BL Lithium, newly installed . . . with a few added packages for development, but no removal other than Compton, and no additional sources other than those already present.
No errors other than the avahi-daemon bit. Everything else has worked well. No other issues.
Yes, I can reinstall with no issue if need be. It looked like a dependency problem to me.
I am sure I have done something to mess it up:) Don't think it's ever really been something else in these situations. No worries:)
Offline
rbh wrote:Did you look in /var/log/apt/?
It looked like a dependency problem to me.
One big problem is that the installprocess could not create new user avahi. Check passwordfile for user avahi and hplip.
$ less /etc/passwd
Are they listed?
Probably not. Try to remove program with all configurations:
$ sudo apt --autoremove purge hplip avahi* colord
Note, this will not remove presonal configs created in ~/.config and ~/.cache, any files and hidden files in 'Home' need to be manually removed.
You might get errors with uninstalling and info that your package database is in an inconsistent state...
If you can uninstall, try to reinstall programs.
Else, consider total reinstallation.
Edit for clarity by hhh
Last edited by hhh (2020-08-09 18:49:25)
// Regards rbh
Please read before requesting help: "Guide to getting help", "Introduction to the Bunsenlabs Lithium Desktop" and other help topics under "Help & Resources" on the BunsenLabs menu
Offline
Package avahi-daemon is not configured yet.
You can try and configure/reconfigure avahi-daemon with dpkg. Reinstalling avahi-daemon might reconfigure automatically.
Make sure the avahi-daemon service is running and enabled at startup.
systemctl start avahi-daemon.service
systemctl enable avahi-daemon.service
Last edited by PackRat (2020-08-09 18:51:22)
You must unlearn what you have learned.
-- yoda
Offline
BTW, I have always removed avahi-daemon from my linux setups and in twelve years it's never been a problem to do so. Is there no workaround for this issue?
I don't care what you do at home. Would you care to explain?
Offline
BTW, I have always removed avahi-daemon from my linux setups and in twelve years it's never been a problem to do so. Is there no workaround for this issue?
Thought about that:)
Just reinstalled for simplicity.
I just really need to get things set up properly before tinkering with anything else/extra.
Offline
BTW, I have always removed avahi-daemon from my linux setups and in twelve years it's never been a problem to do so.
And I only disable it.
Is there no workaround for this issue?
It is possible to run
$ sudo apt-get install --no-install-recommends hplip
and avahi-daemon wont be installed. It is not needed, if you ain't depended on zeroconf, UPnP and similar technics..
Last edited by rbh (2020-08-09 19:25:13)
// Regards rbh
Please read before requesting help: "Guide to getting help", "Introduction to the Bunsenlabs Lithium Desktop" and other help topics under "Help & Resources" on the BunsenLabs menu
Offline