Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved]my layman do not work - Symbolic link does not exist
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
buptwugh
Tux's lil' helper
Tux's lil' helper


Joined: 16 Jan 2012
Posts: 92
Location: Beijing,China

PostPosted: Thu Jul 18, 2013 6:54 am    Post subject: [solved]my layman do not work - Symbolic link does not exist Reply with quote

Hi, all

When I use layman -L to list all overlay, I got some error message.
Code:

nextzone bin # layman -L
usage: layman [options] requirement_or_url ...
   or: layman --help

error: option -L not recognized


Using layman --help to get help message.
Code:

nextzone bin # layman --help

Global options:
  --verbose (-v)  run verbosely (default)
  --quiet (-q)    run quietly (turns verbosity off)
  --dry-run (-n)  don't actually do anything
  --help (-h)     show detailed help message
  --no-user-cfg   ignore pydistutils.cfg in your home directory

Options for 'easy_install' command:
  --prefix                       installation prefix
  --zip-ok (-z)                  install package as a zipfile
  --multi-version (-m)           make apps have to require() a version
  --upgrade (-U)                 force upgrade (searches PyPI for latest
                                 versions)
  --install-dir (-d)             install package to DIR
  --script-dir (-s)              install scripts to DIR
  --exclude-scripts (-x)         Don't install scripts
  --always-copy (-a)             Copy all needed packages to install dir
  --index-url (-i)               base URL of Python Package Index
  --find-links (-f)              additional URL(s) to search for packages
  --delete-conflicting (-D)      no longer needed; don't use this
  --ignore-conflicts-at-my-risk  no longer needed; don't use this
  --build-directory (-b)         download/extract/build in DIR; keep the
                                 results
  --optimize (-O)                also compile with optimization: -O1 for
                                 "python -O", -O2 for "python -OO", and -O0 to
                                 disable [default: -O0]
  --record                       filename in which to record list of installed
                                 files
  --always-unzip (-Z)            don't install as a zipfile, no matter what
  --site-dirs (-S)               list of directories where .pth files work
  --editable (-e)                Install specified packages in editable form
  --no-deps (-N)                 don't install dependencies
  --allow-hosts (-H)             pattern(s) that hostnames must match
  --local-snapshots-ok (-l)      allow building eggs from local checkouts
  --version                      print version information and exit
  --no-find-links                Don't load find-links defined in packages
                                 being installed
  --user                         install in user site-package
                                 '/root/.local/lib64/python2.7/site-packages'

usage: layman [options] requirement_or_url ...
   or: layman --help

It seems this message is not belong to layman,

Thank you for your time... 8O


Last edited by buptwugh on Fri Aug 16, 2013 10:49 am; edited 3 times in total
Back to top
View user's profile Send private message
dol-sen
Developer
Developer


Joined: 30 Jun 2002
Posts: 2503
Location: Richmond, BC, Canada

PostPosted: Thu Jul 18, 2013 7:15 am    Post subject: Reply with quote

Something is obviously broken. You might need to check your filesystem for problems.

Then re-emerge layman and re-test.
_________________
Brian
Porthole, the Portage GUI frontend irc@freenode: #gentoo-guis, #porthole, Blog
layman, gentoolkit, CoreBuilder, esearch...
Back to top
View user's profile Send private message
buptwugh
Tux's lil' helper
Tux's lil' helper


Joined: 16 Jan 2012
Posts: 92
Location: Beijing,China

PostPosted: Thu Jul 18, 2013 8:48 am    Post subject: Reply with quote

dol-sen wrote:
Something is obviously broken. You might need to check your filesystem for problems.

Then re-emerge layman and re-test.


How to check my filessystem, I have re-merge layman, and it do not work!
Back to top
View user's profile Send private message
dol-sen
Developer
Developer


Joined: 30 Jun 2002
Posts: 2503
Location: Richmond, BC, Canada

PostPosted: Thu Jul 18, 2013 1:29 pm    Post subject: Reply with quote

Pleas post the output of emerge --info app-portage/layman
_________________
Brian
Porthole, the Portage GUI frontend irc@freenode: #gentoo-guis, #porthole, Blog
layman, gentoolkit, CoreBuilder, esearch...
Back to top
View user's profile Send private message
buptwugh
Tux's lil' helper
Tux's lil' helper


Joined: 16 Jan 2012
Posts: 92
Location: Beijing,China

PostPosted: Fri Jul 19, 2013 10:18 am    Post subject: Reply with quote

dol-sen wrote:
Pleas post the output of emerge --info app-portage/layman


Here is the message.
Code:

nextzone ~ #  emerge --info app-portage/layman
Portage 2.1.12.2 (default/linux/amd64/13.0/desktop, gcc-4.6.3, glibc-2.15-r3, 3.8.13-gentoo x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-3.8.13-gentoo-x86_64-Intel-R-_Core-TM-_i5_CPU_M_430_@_2.27GHz-with-gentoo-2.2
KiB Mem:     3910476 total,   2965012 free
KiB Swap:    2097148 total,   2097148 free
Timestamp of tree: Sat, 13 Jul 2013 03:15:01 +0000
ld GNU ld (GNU Binutils) 2.23.1
app-shells/bash:          4.2_p45
dev-java/java-config:     2.1.12-r1
dev-lang/python:          2.7.5, 3.2.5-r1
dev-util/cmake:           2.8.10.2-r2
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6, 1.12.6
sys-devel/binutils:       2.23.1
sys-devel/gcc:            4.6.3
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.7 (virtual/os-headers)
sys-libs/glibc:           2.15-r3
Repositories: gentoo sabayon x-my_ebuilds
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.4/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cli-php5.4/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://mirrors.xmu.edu.cn/gentoo"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/sabayon /var/lib/layman/my_ebuilds"
SYNC="rsync://mirrors.xmu.edu.cn/gentoo-portage"
USE="X Xaw3d a52 aac acl acpi alsa amd64 bash-completion bcmath berkdb bluetooth branding bzip2 cairo cdda cdr cjk cli consolekit cracklib crypt cscope ctype cups curl cxx dbus djvu dri dts dvd dvdr emboss encode exif fam ffmpeg firefox flac fontconfig fortran ftp gdbm gif gpm gstreamer gtk gzip hddtemp iconv imap imlib ios ipod ipv6 javascript jpeg latex lcms ldap libass libcaca libnotify lm_sensors lua lzma mad mmap mmx mng modules mp3 mp4 mpeg mtp mudflap multilib mute ncurses nls nptl ogg opengl openmp pam pango pcre pdf plasma png policykit posix ppds pulseaudio python qt3support qt4 readline sdl session smp sockets socks5 sound spell sse sse2 ssl startup-notification svg tcpd threads tiff truetype udev udisks unicode upower usb vcd vim-syntax vorbis win32codecs wxwidgets x264 xcb xft xml xv xvid zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-4" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby19 ruby18" USERLAND="GNU" VIDEO_CARDS="nouveau" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

=================================================================
                        Package Settings
=================================================================

app-portage/layman-2.0.0 was built with the following:
USE="git subversion -bazaar -cvs -darcs -mercurial -test" PYTHON_TARGETS="python2_7 -python2_6"

nextzone ~ #



Thank you dol-sen.
Back to top
View user's profile Send private message
mgorny
Developer
Developer


Joined: 27 Apr 2007
Posts: 44

PostPosted: Fri Jul 19, 2013 1:51 pm    Post subject: Reply with quote

Code:
emerge -1v python-exec


and don't use pip/easy_install if you don't want your system broken.
Back to top
View user's profile Send private message
buptwugh
Tux's lil' helper
Tux's lil' helper


Joined: 16 Jan 2012
Posts: 92
Location: Beijing,China

PostPosted: Fri Jul 19, 2013 11:40 pm    Post subject: Reply with quote

mgorny wrote:
Code:
emerge -1v python-exec


and don't use pip/easy_install if you don't want your system broken.


Thank you mgorny, after emerge -1 python-exec I can use layman now. But I have use pip/easy_install to install many packages, should I remove the packages install by pip/easy_install?
Back to top
View user's profile Send private message
Killerchronic
Tux's lil' helper
Tux's lil' helper


Joined: 24 Apr 2007
Posts: 80
Location: UK

PostPosted: Thu Aug 08, 2013 9:23 pm    Post subject: Reply with quote

Musicbrainz uses pip as part of the install, also another piece of software i need uses cymysql and thats installed by pip aswell.

Whats the correct procedure to not use pip in those cases?
Back to top
View user's profile Send private message
mgorny
Developer
Developer


Joined: 27 Apr 2007
Posts: 44

PostPosted: Fri Aug 09, 2013 9:07 am    Post subject: Reply with quote

Preferably, install them using your user (in your homedir):

Code:
pip install --user ...


Then it won't collide with package manager, and it should work out-of-the-box for your user.
Back to top
View user's profile Send private message
buptwugh
Tux's lil' helper
Tux's lil' helper


Joined: 16 Jan 2012
Posts: 92
Location: Beijing,China

PostPosted: Fri Aug 16, 2013 10:39 am    Post subject: Reply with quote

mgorny wrote:
Preferably, install them using your user (in your homedir):

Code:
pip install --user ...


Then it won't collide with package manager, and it should work out-of-the-box for your user.


I can use the layman, But there is another problem.

When I emerge layman, there is some notice message
Code:

>>> Installing (1 of 1) app-portage/layman-2.0.0
 * QA Notice: Symbolic link /usr/bin/layman-updater points to /usr/bin/python-exec which does not exist.
 * QA Notice: Symbolic link /usr/bin/layman points to /usr/bin/python-exec which does not exist.
 * Running layman-updater...
/var/tmp/portage/app-portage/layman-2.0.0/temp/environment: line 2916: //usr/bin/layman-updater: No such file or directory
 *


I lose some symbolic link, After emerging layman I can not find layman-updater and layman command, there is only
Code:

nextzone ~ # layman-
layman-python2.7          layman-updater-python2.7

I do not know why. Re-merging layman can not solve the problem.

Thank you for your time....
Back to top
View user's profile Send private message
buptwugh
Tux's lil' helper
Tux's lil' helper


Joined: 16 Jan 2012
Posts: 92
Location: Beijing,China

PostPosted: Fri Aug 16, 2013 10:51 am    Post subject: Reply with quote

Just because I don not have the python-exec file
I emerge -C python-exec
Then emerge it by "emerge -1 python-exec", I get the python-exec file, then all thing all right.
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