View previous topic :: View next topic |
Author |
Message |
Linubie Guru
Joined: 11 Jun 2004 Posts: 382
|
Posted: Fri Oct 11, 2024 1:12 pm Post subject: adding scanner group "lp" does not exist |
|
|
Hello!
I followed the wiki to make my scanner run
https://wiki.gentoo.org/wiki/SANE
adding the user to group lp:
Code: | gpasswd -a darfwas lp
gpasswd: group 'lp' does not exist in /etc/group |
adding the user to the groups usb and scanner works flawlessly
Cups is installed as well
Code: | [ebuild R ] net-print/cups-2.4.10-r1::gentoo USE="X acl dbus pam systemd usb -debug -kerberos -openssl (-selinux) -static-libs -test -xinetd -zeroconf" ABI_X86="(64) -32 (-x32)" 0 KiB |
as root:
Code: | scanimage -L
device `pixma:04A91912_4ACEB1' is a CANON CanoScan LiDE 400 multi-function peripheral |
as user:
Code: | scanimage -L
No scanners were identified. If you were expecting something different,
check that the scanner is plugged in, turned on and detected by the
sane-find-scanner tool (if appropriate). Please read the documentation
which came with this software (README, FAQ, manpages). |
For all processes running on user level that tries to find and add the scanner running on KDE. The system is asking for root password but finds nothing.
As a sidenote I did a fresh gentoo install but the old installation was able to operate the scanner.
Thank you. _________________ Mircosoft software is like having sex with a stranger, you always have to be careful not to get infected with something... |
|
Back to top |
|
|
kgdrenefort Guru
Joined: 19 Sep 2023 Posts: 312 Location: Somewhere in the 77
|
Posted: Fri Oct 11, 2024 2:17 pm Post subject: |
|
|
Hello,
did you noticed that «lp» groups does not exist in your system as showed by first quote ?
I guess something is missing.
Don't know why, maybe you installed cups or media-gfx/xsane after this ?
Regards,
GASPARD DE RENEFORT Kévin _________________ Traduction wiki, pour praticiper.
Custom logos/biz card/website. |
|
Back to top |
|
|
Linubie Guru
Joined: 11 Jun 2004 Posts: 382
|
Posted: Fri Oct 11, 2024 6:08 pm Post subject: |
|
|
Yes I get the messages qouted
Quote: |
adding the user to group lp:
Code: |
gpasswd -a darfwas lp
gpasswd: group 'lp' does not exist in /etc/group |
|
Can I add the group lp manually some way? _________________ Mircosoft software is like having sex with a stranger, you always have to be careful not to get infected with something... |
|
Back to top |
|
|
flexibeast Guru
Joined: 04 Apr 2022 Posts: 457 Location: Naarm/Melbourne, Australia
|
Posted: Fri Oct 11, 2024 10:36 pm Post subject: |
|
|
Linubie wrote: | Can I add the group lp manually some way? |
Is the `acct-group/lp` package already installed? If not, it should be. If it is, you could try re-installing it to hopefully re-create the group. (But there'd still be the issue of why the `lp` group didn't exist with that package installed.) _________________ https://wiki.gentoo.org/wiki/User:Flexibeast |
|
Back to top |
|
|
Linubie Guru
Joined: 11 Jun 2004 Posts: 382
|
Posted: Sat Oct 12, 2024 9:19 am Post subject: |
|
|
Yes it was, reinstalling didn't changed anything
Code: |
emerge -av acct-group/lp
These are the packages that would be merged, in order:
Calculating dependencies... done!
Dependency resolution took 2.09 s (backtrack: 0/20).
[ebuild R ] acct-group/lp-0-r3::gentoo 0 KiB
|
Code: | gpasswd -a darfwas lp
gpasswd: group 'lp' does not exist in /etc/group |
_________________ Mircosoft software is like having sex with a stranger, you always have to be careful not to get infected with something... |
|
Back to top |
|
|
user Apprentice
Joined: 08 Feb 2004 Posts: 211
|
Posted: Sat Oct 12, 2024 2:34 pm Post subject: |
|
|
Linubie wrote: | Yes it was, reinstalling didn't changed anything
Code: |
emerge -av acct-group/lp
These are the packages that would be merged, in order:
Calculating dependencies... done!
Dependency resolution took 2.09 s (backtrack: 0/20).
[ebuild R ] acct-group/lp-0-r3::gentoo 0 KiB
|
Code: | gpasswd -a darfwas lp
gpasswd: group 'lp' does not exist in /etc/group |
|
mhh, not reproducible here:
Code: | # grep lp: /etc/group
# emerge -1 acct-group/lp
# grep lp: /etc/group
lp:x:7:lp
#
|
Was /etc/group touched after acct-group/lp reinstall? |
|
Back to top |
|
|
|