public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Grant <emailgrant@gmail.com>
To: Gentoo mailing list <gentoo-user@lists.gentoo.org>
Subject: Re: [gentoo-user] Can you rewrite this 1996 qfile command?
Date: Mon, 18 Jan 2010 07:04:54 -0800	[thread overview]
Message-ID: <49bf44f11001180704x6e4bbfam9a28d100d6b731a9@mail.gmail.com> (raw)
In-Reply-To: <201001180849.16433.alan.mckinnon@gmail.com>

>> I've hit a bug that won't let me start an xfce4 session.  I think it
>> was caused by upgrading glibc, and it is pretty well described in this
>> nearly 4-year-old bug:
>>
>> http://bugs.gentoo.org/125909
>>
>> The solution is presented as:
>>
>> qlist -o $(qlist -ICv) | scanelf -Bs__guard -qf -  -F%F#s | xargs qfile
>>
>> but I get:
>>
>> qlist: invalid option -- 'l'
>> qlist: invalid option -- '['
>>
>> Removing the -l fixes the first invalid option, but I don't know how
>> to fix the second.  Does anyone know how to rewrite this command so it
>> will work?
>
>
> I can't see how you can get those errors, unless you have a broken qlist that
> is outputing something dodgy from the "qlist -ICv"
>
> If it persists, copy-paste your input and the output from your terminal into a
> mail. Or run
>
> qlist -o $(qlist -ICv) | less
>
> and examine that closely for errors

I was making a transcription error before, but after correcting it, it
still doesn't work:

# qlist -o $(qlist -ICv) | scanelf -Bs__guard -qf -  -F%F#s | xargs qfile
Usage: qfile <opts> <filename> : list all pkgs owning files

Options: -[ef:m:oRx:vqChV]
  -e, --exact          * Exact match
  -f, --from     <arg> * Read arguments from file <arg> ("-" for stdin)
  -m, --max-args <arg> * Treat from file arguments by groups of <arg>
(defaults to 5000)
  -o, --orphans        * List orphan files
  -R, --root-prefix    * Assume arguments are already prefixed by $ROOT
  -x, --exclude  <arg> * Don't look in package <arg>
  -v, --verbose        * Make a lot of noise
  -q, --quiet          * Tighter output; suppress warnings
  -C, --nocolor        * Don't output color
  -h, --help           * Print this help and exit
  -V, --version        * Print version and exit

Does anyone know what might be wrong?

- Grant



  reply	other threads:[~2010-01-18 15:05 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-18  3:59 [gentoo-user] Can you rewrite this 1996 qfile command? Grant
2010-01-18  6:49 ` Alan McKinnon
2010-01-18 15:04   ` Grant [this message]
2010-01-18 15:12     ` Grant
2010-01-18 18:08       ` Alan McKinnon
2010-01-18 18:34     ` Arttu V.
2010-01-18 19:21       ` Grant
2010-01-19  0:29       ` Neil Bothwick

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=49bf44f11001180704x6e4bbfam9a28d100d6b731a9@mail.gmail.com \
    --to=emailgrant@gmail.com \
    --cc=gentoo-user@lists.gentoo.org \
    /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