Bug 14638 - Couldn't find lpc command
Summary: Couldn't find lpc command
Status: RESOLVED OLD
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: i586 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Shlomi Fish
QA Contact:
URL:
Whiteboard: MGA5TOO
Keywords: Triaged
Depends on:
Blocks:
 
Reported: 2014-11-21 21:34 CET by Alex Loginov
Modified: 2020-02-11 12:36 CET (History)
2 users (show)

See Also:
Source RPM: cups
CVE:
Status comment:


Attachments

Description Alex Loginov 2014-11-21 21:34:45 CET
Description of problem: if run any:
/usr/bin/headalign.sh
/usr/bin/headclean.sh
/usr/bin/hidecartridges.sh
/usr/bin/showcartridges.sh
/usr/bin/lx.control.sh
from lxcontrol pkg in KDE, then you will see "Sorry, couldn't find lpc command."

Arch Linux has lpc in cups pkg, Alt Linux - in lprng pkg, OpenSuse - in cups-client pkg, Ubuntu - in cups-bsd.


Version-Release number of selected component (if applicable): lxcontrol-1.3-18.mga5.noarch.rpm


How reproducible: always


Steps to Reproduce:
1. install lxcontrol
2. run 
/usr/bin/headalign.sh
/usr/bin/headclean.sh
/usr/bin/hidecartridges.sh
/usr/bin/showcartridges.sh
/usr/bin/lx.control.sh


Reproducible: 

Steps to Reproduce:
Alex Loginov 2014-11-21 21:39:45 CET

Keywords: (none) => Triaged
Assignee: bugsquad => shlomif

Comment 1 Christiaan Welvaart 2014-11-22 04:38:08 CET
Try to run them as root...

Is that how these scripts are supposed to be used?

lpc is in /usr/sbin/ provided by cups-common and foomatic-db-engine

CC: (none) => cjw

Comment 2 Alex Loginov 2014-11-23 16:35:29 CET
> Try to run them as root...

I have no Lexmark for tests, but under root lpc was found.

lxcontrol should work under user, because of
Exec=/usr/bin/headalign.sh
Exec=/usr/bin/headclean.sh
Exec=/usr/bin/hidecartridges.sh
Exec=/usr/bin/showcartridges.sh
Exec=/usr/bin/lx.control.sh
in desktop files

ln -s /usr/sbin/lpc /usr/bin/lpc
is solution (to add symlink /usr/bin/lpc in cups pkg).
Comment 3 Shlomi Fish 2014-12-21 12:47:08 CET
Can I resolve this bug? What's the issue?

Status: NEW => ASSIGNED

Comment 4 Alex Loginov 2014-12-21 14:47:30 CET
Shlomi, to find place where to add symlink.
Comment 5 Shlomi Fish 2014-12-25 08:56:51 CET
(In reply to Alex Loginov from comment #4)
> Shlomi, to find place where to add symlink.

Why should lpc be under /usr/bin ? ISn't it good enough that it's under /usr/sbin ?
Comment 6 Alex Loginov 2014-12-25 09:31:28 CET
lxcontrol should work under user, because of
Exec=/usr/bin/headalign.sh
Exec=/usr/bin/headclean.sh
Exec=/usr/bin/hidecartridges.sh
Exec=/usr/bin/showcartridges.sh
Exec=/usr/bin/lx.control.sh
in desktop files
Samuel Verschelde 2015-05-31 19:24:12 CEST

Whiteboard: (none) => MGA5TOO

Comment 7 David GEIGER 2020-02-11 12:36:14 CET
Closing this bug as OLD after about 5 years!

Resolution: (none) => OLD
CC: (none) => geiger.david68210
Status: ASSIGNED => RESOLVED


Note You need to log in before you can comment on or make changes to this bug.