You are not logged in.

#1 2012-07-17 13:52:00

Lilith
Member
From: Sardinia, Italy
Registered: 2012-04-16
Posts: 117

Permission problem while the install of printer's driver

Guys,

when i'm installing the driver (lpr and cupswrapper) of my brother, happening a thing.
Report the error:

[black@arch bin]$ sudo dpkg -i --force-all dcpj315wlpr-1.1.3-1.i386.debdpkg: warning: overriding problem because --force enabled:
package architecture (i386) does not match system (amd64)
(Reading database ... 30 files and directories currently installed.)
Preparing to replace dcpj315wlpr 1.1.3-1 (using dcpj315wlpr-1.1.3-1.i386.deb) ...
Unpacking replacement dcpj315wlpr ...
Setting up dcpj315wlpr (1.1.3-1) ...
chown: invalid user: 'lp'


How can i fix this last string: chown: invalid user: 'lp'    ?
I tried: sudo groupadd -f lp and also to edit with chown the permissions of file and of the folder.
With no results.

Some is able to help me, please?
Thanks.


#551378
Sky is the limit.

Offline

#2 2012-07-17 15:27:33

Minsc
Member
Registered: 2012-07-16
Posts: 95

Re: Permission problem while the install of printer's driver

Try this first:

useradd -s /bin/false lp

Also curious as to why you're using debian packages on arch...

Last edited by Minsc (2012-07-17 15:28:23)

Offline

#3 2012-07-17 18:38:50

Lilith
Member
From: Sardinia, Italy
Registered: 2012-04-16
Posts: 117

Re: Permission problem while the install of printer's driver

Your command tell me:
useradd: group lp exists - if you want to add this user to that group, use -g.

If i do: useradd -g /bin/false lp
tell me: useradd: group '/bin/false' does not exist


Because the help on this forum for my printer doesn't work, so i'm trying to follow the brother's instructions. On their site, there are only rpm and deb packages.
rpm make me another annoying problem, so i'm trying with deb.
Thanks anyway.


#551378
Sky is the limit.

Offline

#4 2012-07-17 19:13:57

Minsc
Member
Registered: 2012-07-16
Posts: 95

Re: Permission problem while the install of printer's driver

Do:

useradd -s /bin/false -g lp lp

Offline

#5 2012-07-17 21:22:39

Lilith
Member
From: Sardinia, Italy
Registered: 2012-04-16
Posts: 117

Re: Permission problem while the install of printer's driver

Mant thanks, now i'm able to install the drivers.
But doesn't work anyway.

Btw thanks smile


#551378
Sky is the limit.

Offline

#6 2012-07-17 21:45:09

lekaf974
Member
From: QUébec
Registered: 2012-07-14
Posts: 2

Re: Permission problem while the install of printer's driver

Hi,

Do

more /etc/group | grep `whoami`

If there's no line with 'lp' you have to add your user to the lp group, you can do

usermod -aG lp `whoami`

and you should have the answer on the wiki  https://wiki.archlinux.org/index.php/Cups

Last edited by lekaf974 (2012-07-17 21:55:59)


Linux way of life

Offline

#7 2012-07-21 10:49:56

Lilith
Member
From: Sardinia, Italy
Registered: 2012-04-16
Posts: 117

Re: Permission problem while the install of printer's driver

Yes, thanks.
No the cups don't work sad


#551378
Sky is the limit.

Offline

Board footer

Powered by FluxBB