From: Charles Waldman <cgw@alum.mit.edu>
To: gentoo-user@lists.gentoo.org
Cc: jarausch@igpm.rwth-aachen.de, yks-uno@yandex.ru
Subject: Re: [gentoo-user] cups settup broken? - please help
Date: Tue, 14 May 2013 11:21:06 -0400 [thread overview]
Message-ID: <381310363.28742.1368544866915.JavaMail.help@alum.mit.edu> (raw)
[-- Attachment #1: Type: text/plain, Size: 1027 bytes --]
Hi - saw this thread about CUPS, I've seen the same problems since a recent upgrade, I don't think it's a permissions issue. The clue is in this error message:
"/etc/cups/${EPREFIX}/usr/libexec/cups/filter/commandtops" file not found
The string "${EPREFIX}" is appearing in that file name unexpanded; i.e. rather than treating EPREFIX as an environment variable, CUPS is actually looking for a directory literally called "/etc/cups/${EPREFIX}". This looks like an install-time bug. I will file a Gentoo bug report if it's not already filed. But, in the meanwhile, there's a very hackish workaround:
# cd /etc/cups
# ln -s / '${EPREFIX}' # quotes needed!
which will create a symlink
lrwxrwxrwx 1 root root 1 May 13 18:11 /etc/cups/${EPREFIX} -> /
After this, the path
"/etc/cups/${EPREFIX}/usr/libexec/cups/filter/commandtops"
will resolve to /usr/libexec/cups/filter/commandtops
and you should have a working CUPS again.
Just a workaround hack, not a nice solution!
Hope this helps,
- Charles
next reply other threads:[~2013-05-14 15:21 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-14 15:21 Charles Waldman [this message]
-- strict thread matches above, loose matches on Subject: below --
2013-05-14 9:05 [gentoo-user] cups settup broken? - please help Helmut Jarausch
2013-05-14 9:15 ` Yuri K. Shatroff
2013-05-14 9:42 ` Helmut Jarausch
2013-05-14 9:55 ` Yuri K. Shatroff
2013-05-14 10:00 ` Helmut Jarausch
2013-05-14 10:05 ` Alan McKinnon
2013-05-14 10:41 ` Yuri K. Shatroff
2013-05-14 10:01 ` Yuri K. Shatroff
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=381310363.28742.1368544866915.JavaMail.help@alum.mit.edu \
--to=cgw@alum.mit.edu \
--cc=gentoo-user@lists.gentoo.org \
--cc=jarausch@igpm.rwth-aachen.de \
--cc=yks-uno@yandex.ru \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox