Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
linked to ../lib/python-exec/python-exec2
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
aditya3098
n00b
n00b


Joined: 05 Nov 2014
Posts: 19
Location: India

PostPosted: Thu Dec 18, 2014 5:12 am    Post subject: linked to ../lib/python-exec/python-exec2 Reply with quote

I was doing some stuff with pygments, and might have installed it through pip. Now I have a very screwed up system. I typed in emerge, and this popped out:
Code:

sage: /usr/bin/emerge [-l <lexer> | -g] [-F <filter>[:<options>]] [-f <formatter>]
          [-O <options>] [-P <option=value>] [-o <outfile>] [<infile>]

       /usr/bin/emerge -S <style> -f <formatter> [-a <arg>] [-O <options>] [-P <option=value>]
       /usr/bin/emerge -L [<which> ...]
       /usr/bin/emerge -N <filename>
       /usr/bin/emerge -H <type> <name>
       /usr/bin/emerge -h | -V

Highlight the input file and write the result to <outfile>.

If no input file is given, use stdin, if -o is not given, use stdout.

<lexer> is a lexer name (query all lexer names with -L). If -l is not
given, the lexer is guessed from the extension of the input file name
(this obviously doesn't work if the input is stdin).  If -g is passed,
attempt to guess the lexer from the file contents, or pass through as
plain text if this fails (this can work for stdin).

Likewise, <formatter> is a formatter name, and will be guessed from
the extension of the output file name. If no output file is given,
the terminal formatter will be used by default.

With the -O option, you can give the lexer and formatter a comma-
separated list of options, e.g. ``-O bg=light,python=cool``.

The -P option adds lexer and formatter options like the -O option, but
you can only give one option per -P. That way, the option value may
contain commas and equals signs, which it can't with -O, e.g.
``-P "heading=Pygments, the Python highlighter".

With the -F option, you can add filters to the token stream, you can
give options in the same way as for -O after a colon (note: there must
not be spaces around the colon).

The -O, -P and -F options can be given multiple times.

With the -S option, print out style definitions for style <style>
for formatter <formatter>. The argument given by -a is formatter
dependent.

The -L option lists lexers, formatters, styles or filters -- set
`which` to the thing you want to list (e.g. "styles"), or omit it to
list everything.

The -N option guesses and prints out a lexer name based solely on
the given filename. It does not take input or highlight anything.
If no specific lexer can be determined "text" is returned.

The -H option prints detailed help for the object <name> of type <type>,
where <type> is one of "lexer", "formatter" or "filter".

The -h option prints this help.
The -V option prints the package version.



I found https://forums.gentoo.org/viewtopic-p-7658924.html?sid=699b3ca4307fb56704b2530cbba2255e, but it doesn't have a proper solution. I re symlinked emerge, and then I did this:

Code:

0 10:38 ~ $ ls -l /usr/bin | grep -i exec2
lrwxrwxrwx   1 root     root           31 Dec 13 12:30 chardetect -> ../lib/python-exec/python-exec2
lrwxrwxrwx   1 root     root           31 Dec 16 19:22 cherryd -> ../lib/python-exec/python-exec2
lrwxrwxrwx   1 root     root           31 Dec 13 12:46 compton-convgen -> ../lib/python-exec/python-exec2
lrwxrwxrwx   1 root     root           31 Dec 13 12:29 depend-java-query -> ../lib/python-exec/python-exec2
lrwxrwxrwx   1 root     root           31 Dec 13 12:23 easy_install -> ../lib/python-exec/python-exec2
lrwxrwxrwx   1 root     root           31 Dec 18 10:27 ebuild -> ../lib/python-exec/python-exec2
lrwxrwxrwx   1 root     root           31 Dec 12 20:40 eclean -> ../lib/python-exec/python-exec2
lrwxrwxrwx   1 root     root           31 Dec 12 20:40 eclean-dist -> ../lib/python-exec/python-exec2
lrwxrwxrwx   1 root     root           31 Dec 12 20:40 eclean-pkg -> ../lib/python-exec/python-exec2
lrwxrwxrwx   1 root     root           31 Dec 18 10:27 egencache -> ../lib/python-exec/python-exec2
lrwxrwxrwx   1 root     root           31 Dec 18 10:27 emirrordist -> ../lib/python-exec/python-exec2
lrwxrwxrwx   1 root     root           31 Dec 12 20:40 enalyze -> ../lib/python-exec/python-exec2
lrwxrwxrwx   1 root     root           31 Dec 12 20:40 epkginfo -> ../lib/python-exec/python-exec2
lrwxrwxrwx   1 root     root           31 Dec 12 20:40 equery -> ../lib/python-exec/python-exec2
lrwxrwxrwx   1 root     root           31 Dec 12 20:40 eshowkw -> ../lib/python-exec/python-exec2
lrwxrwxrwx   1 root     root           31 Dec 13 12:29 f2py -> ../lib/python-exec/python-exec2
lrwxrwxrwx   1 root     root           31 Dec 13 12:23 gdbus-codegen -> ../lib/python-exec/python-exec2
lrwxrwxrwx   1 root     root           31 Nov 18 00:33 gitview -> ../lib/python-exec/python-exec2
lrwxrwxrwx   1 root     root           31 Dec 13 12:29 gjl -> ../lib/python-exec/python-exec2
lrwxrwxrwx   1 root     root           31 Dec 12 20:40 glsa-check -> ../lib/python-exec/python-exec2
lrwxrwxrwx   1 root     root           31 Nov  4 11:50 gsettings-schema-convert -> ../lib/python-exec/python-exec2
lrwxrwxrwx   1 root     root           31 Nov 18 06:14 hg -> ../lib/python-exec/python-exec2
lrwxrwxrwx   1 root     root           31 Nov 18 06:14 hg-ssh -> ../lib/python-exec/python-exec2
lrwxrwxrwx   1 root     root           31 Dec 13 12:29 java-config-2 -> ../lib/python-exec/python-exec2
lrwxrwxrwx   1 root     root           31 Nov  5 16:27 layman -> ../lib/python-exec/python-exec2
lrwxrwxrwx   1 root     root           31 Nov  5 16:27 layman-updater -> ../lib/python-exec/python-exec2
lrwxrwxrwx   1 root     root           31 Nov  8 20:30 mate-conf-import -> ../lib/python-exec/python-exec2
lrwxrwxrwx   1 root     root           31 Nov  9 15:24 mirrorselect -> ../lib/python-exec/python-exec2
lrwxrwxrwx   1 root     root           31 Nov 18 06:43 ndg_httpclient -> ../lib/python-exec/python-exec2
lrwxrwxrwx   1 root     root           31 Dec 16 19:17 pip -> ../lib/python-exec/python-exec2
lrwxrwxrwx   1 root     root           31 Dec 16 19:17 pip2 -> ../lib/python-exec/python-exec2
lrwxrwxrwx   1 root     root           31 Dec 16 19:17 pip2.7 -> ../lib/python-exec/python-exec2
lrwxrwxrwx   1 root     root           31 Dec 16 19:17 pip3 -> ../lib/python-exec/python-exec2
lrwxrwxrwx   1 root     root           31 Dec 16 19:17 pip3.3 -> ../lib/python-exec/python-exec2
lrwxrwxrwx   1 root     root           31 Dec 18 10:27 portageq -> ../lib/python-exec/python-exec2
lrwxrwxrwx   1 root     root           31 Dec 15 19:59 pygmentize -> ../lib/python-exec/python-exec2
lrwxrwxrwx   1 root     root           31 Nov 17 00:45 pygobject-codegen-2.0 -> ../lib/python-exec/python-exec2
lrwxrwxrwx   1 root     root           31 Dec 18 10:27 quickpkg -> ../lib/python-exec/python-exec2
lrwxrwxrwx   1 root     root           31 Dec 18 10:27 repoman -> ../lib/python-exec/python-exec2
lrwxrwxrwx   1 root     root           31 Dec 12 20:40 revdep-rebuild.py -> ../lib/python-exec/python-exec2
lrwxrwxrwx   1 root     root           31 Nov  8 13:12 xml2po -> ../lib/python-exec/python-exec2
0 10:41 ~ $


That can't be good, right? How do I revert the changes? I tried reemerging portage, but that still doesn't restore the symlinks, and some of those might not even be symlinks.
_________________
The day microsoft makes a product that doesn't suck, is the day they make a vacuum cleaner.
https://forums.gentoo.org/viewtopic-t-1002264.html systemd-kerneld is comming...(dramatic pause)...soon
Back to top
View user's profile Send private message
jburns
Veteran
Veteran


Joined: 18 Jan 2007
Posts: 1214
Location: Massachusetts USA

PostPosted: Thu Dec 18, 2014 6:13 am    Post subject: Reply with quote

Did you see this one Problem with emerge / python-exec
Back to top
View user's profile Send private message
aditya3098
n00b
n00b


Joined: 05 Nov 2014
Posts: 19
Location: India

PostPosted: Thu Dec 18, 2014 12:13 pm    Post subject: Reply with quote

That worked. Funny, it didn't show up in any of my google searches.
_________________
The day microsoft makes a product that doesn't suck, is the day they make a vacuum cleaner.
https://forums.gentoo.org/viewtopic-t-1002264.html systemd-kerneld is comming...(dramatic pause)...soon
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum