Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
adding scanner group "lp" does not exist
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
Linubie
Guru
Guru


Joined: 11 Jun 2004
Posts: 383

PostPosted: Fri Oct 11, 2024 1:12 pm    Post subject: adding scanner group "lp" does not exist Reply with quote

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
View user's profile Send private message
kgdrenefort
Guru
Guru


Joined: 19 Sep 2023
Posts: 314
Location: Somewhere in the 77

PostPosted: Fri Oct 11, 2024 2:17 pm    Post subject: Reply with quote

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
View user's profile Send private message
Linubie
Guru
Guru


Joined: 11 Jun 2004
Posts: 383

PostPosted: Fri Oct 11, 2024 6:08 pm    Post subject: Reply with quote

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
View user's profile Send private message
flexibeast
Guru
Guru


Joined: 04 Apr 2022
Posts: 473
Location: Naarm/Melbourne, Australia

PostPosted: Fri Oct 11, 2024 10:36 pm    Post subject: Reply with quote

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
View user's profile Send private message
Linubie
Guru
Guru


Joined: 11 Jun 2004
Posts: 383

PostPosted: Sat Oct 12, 2024 9:19 am    Post subject: Reply with quote

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
View user's profile Send private message
user
Apprentice
Apprentice


Joined: 08 Feb 2004
Posts: 212

PostPosted: Sat Oct 12, 2024 2:34 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum