You are not logged in.
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
Try this first:
useradd -s /bin/false lpAlso curious as to why you're using debian packages on arch...
Last edited by Minsc (2012-07-17 15:28:23)
Offline
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
Do:
useradd -s /bin/false -g lp lpOffline
Mant thanks, now i'm able to install the drivers.
But doesn't work anyway.
Btw thanks ![]()
#551378
Sky is the limit.
Offline
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
Yes, thanks.
No the cups don't work ![]()
#551378
Sky is the limit.
Offline