1 |
>>> I've hit a bug that won't let me start an xfce4 session. I think it |
2 |
>>> was caused by upgrading glibc, and it is pretty well described in this |
3 |
>>> nearly 4-year-old bug: |
4 |
>>> |
5 |
>>> http://bugs.gentoo.org/125909 |
6 |
>>> |
7 |
>>> The solution is presented as: |
8 |
>>> |
9 |
>>> qlist -o $(qlist -ICv) | scanelf -Bs__guard -qf - -F%F#s | xargs qfile |
10 |
>>> |
11 |
>>> but I get: |
12 |
>>> |
13 |
>>> qlist: invalid option -- 'l' |
14 |
>>> qlist: invalid option -- '[' |
15 |
>>> |
16 |
>>> Removing the -l fixes the first invalid option, but I don't know how |
17 |
>>> to fix the second. Does anyone know how to rewrite this command so it |
18 |
>>> will work? |
19 |
>> |
20 |
>> |
21 |
>> I can't see how you can get those errors, unless you have a broken qlist that |
22 |
>> is outputing something dodgy from the "qlist -ICv" |
23 |
>> |
24 |
>> If it persists, copy-paste your input and the output from your terminal into a |
25 |
>> mail. Or run |
26 |
>> |
27 |
>> qlist -o $(qlist -ICv) | less |
28 |
>> |
29 |
>> and examine that closely for errors |
30 |
> |
31 |
> I was making a transcription error before, but after correcting it, it |
32 |
> still doesn't work: |
33 |
> |
34 |
> # qlist -o $(qlist -ICv) | scanelf -Bs__guard -qf - -F%F#s | xargs qfile |
35 |
> Usage: qfile <opts> <filename> : list all pkgs owning files |
36 |
> |
37 |
> Options: -[ef:m:oRx:vqChV] |
38 |
> -e, --exact * Exact match |
39 |
> -f, --from <arg> * Read arguments from file <arg> ("-" for stdin) |
40 |
> -m, --max-args <arg> * Treat from file arguments by groups of <arg> |
41 |
> (defaults to 5000) |
42 |
> -o, --orphans * List orphan files |
43 |
> -R, --root-prefix * Assume arguments are already prefixed by $ROOT |
44 |
> -x, --exclude <arg> * Don't look in package <arg> |
45 |
> -v, --verbose * Make a lot of noise |
46 |
> -q, --quiet * Tighter output; suppress warnings |
47 |
> -C, --nocolor * Don't output color |
48 |
> -h, --help * Print this help and exit |
49 |
> -V, --version * Print version and exit |
50 |
> |
51 |
> Does anyone know what might be wrong? |
52 |
> |
53 |
> - Grant |
54 |
|
55 |
I think the problem above is that -I isn't a current option of qfile, |
56 |
but removing it produces the error I originally posted about: |
57 |
|
58 |
qlist: invalid option -- '[' |
59 |
|
60 |
- Grant |