You are not logged in.

#1 2016-12-25 23:20:46

WeeDram
Member
From: Vancouver, B.C., Canada
Registered: 2016-04-14
Posts: 91

[Solved] Cups Error "Failed to execute command"

I made a new installment of Arch on a USB. I've done several successfully already but came up with a problem on this one. When I start cups (applications>system>Manage Printing), I get this error message:

Failed to execute command "/usr/bin/xdg-open http://localhost:631/".
Failed to execute child process "/usr/bin/xdg-open" (No such file or directory)

The installation itself boots fine. I can connect to the internet with Firefox and I have installed a variety of other packages using pacman. I've done several of these and this is the first time this has happened so I am at a loss as to how to start diagnosing the problem.

Last edited by WeeDram (2016-12-26 22:47:20)

Offline

#2 2016-12-25 23:28:45

loqs
Member
Registered: 2014-03-06
Posts: 19,184

Re: [Solved] Cups Error "Failed to execute command"

$ pacman -Qo /usr/bin/xdg-open 
/usr/bin/xdg-open is owned by xdg-utils 1.1.1-4

Offline

#3 2016-12-26 22:46:37

WeeDram
Member
From: Vancouver, B.C., Canada
Registered: 2016-04-14
Posts: 91

Re: [Solved] Cups Error "Failed to execute command"

Thank you very much! A very useful example of a pacman command. I was able to determine that xdg-utils was installed on the Arch installations where cups worked but not on the installation where I got the error. I installed the utils on that installation and not only did it fix the cups problem but it seemed to have fixed an hplip problem, too.
Now I have to figure out how/when/where I did NOT install xdg-utils on that latest installation.
Thanks again for your help.

Offline

#4 2016-12-27 00:15:22

Shawn8901
Member
Registered: 2013-05-07
Posts: 38

Re: [Solved] Cups Error "Failed to execute command"

Hi,
you can check the packages which require xdg-utils. (https://www.archlinux.org/packages/extra/any/xdg-utils/)

If you install a package it can also be useful to check optional packages (cups has marked xdg-utils as optional dependency)

Offline

Board footer

Powered by FluxBB