View previous topic :: View next topic |
Author |
Message |
abyss n00b
Joined: 10 Aug 2007 Posts: 6
|
Posted: Fri Feb 13, 2009 5:54 pm Post subject: emerge permission problem [ SOLVED ] |
|
|
Hi,
emerge is not able to fetch any package,
I have the following error:
Quote: | [Errno 13] Permission denied:
/bin/bash -c touch "/usr/portage/distfiles/.__portage_test_write__" 2>/dev/null ; rval=$? ; rm -f "/usr/portage/distfiles/.__portage_test_write__" ; exit $rval
|
But if I fetched the wanted package manually,
emerge installs it in spite of the error message
Any
See my emerge --info
Quote: |
$> emerge --info
Portage 2.1.6.4 (default/linux/amd64/2008.0, gcc-4.3.3, glibc-2.9_p20081201-r1, 2.6.28-gentoo-r1 x86_64)
=================================================================
System uname: Linux-2.6.28-gentoo-r1-x86_64-Dual_Core_AMD_Opteron-tm-_Processor_170-with-glibc2.2.5
Timestamp of tree: Fri, 13 Feb 2009 10:10:01 +0000
app-shells/bash: 3.2_p39
dev-java/java-config: 1.3.7-r1, 2.1.6-r1
dev-lang/python: 2.4.4-r14, 2.5.2-r7
dev-python/pycrypto: 2.0.1-r6
dev-util/cmake: 2.4.6-r1
sys-apps/baselayout: 2.0.0
sys-apps/openrc: 0.4.3-r1
sys-apps/sandbox: 1.2.18.1-r2
sys-devel/autoconf: 2.13, 2.63
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils: 2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool: 1.5.26
virtual/os-headers: 2.6.28-r1
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=opteron -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://91.121.124.139/gentoo-distfiles/ ftp://91.121.125.139/gentoo-distfiles/ ftp://gentoo.imj.fr/pub/gentoo/"
LDFLAGS="-Wl,-O1"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/vmware"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext 7zip X X509 Xaw3d a52 aac accessibility ace acl acpi alsa amd64 autoipd avahi bash-completion berkdb bluetooth bzip2 cdda cddb chroot cli colordiff cracklib crypt cups dbus device-mapper directfb divx encode fbcon flac fortran gdbm gif glitz glut gpm gstreamer gtk h323 hal iconv imlib imlib2 iproute2 ipv6 isdnlog jbig jpeg jpeg2k lame lapack laptop latex lcd lcms live lm_sensors lzo mad matroska mdnsresponder-compat midi mjpeg mmx mng mp2 mp3 mp3rtp mp4 mpeg mpeg2 mplayer mudflap multilib ncurses networkmanager nls nptl nptlonly nsplugin ogg openal opengl openmp pam pcre pdf perl php pmount png pppd python qt3 qt3support qt4 quicktime rar readline realmedia reflection reiserfs rle rpm samba sdl sdl-image sdl-sound sdlaudio session smp smpeg spl sse sse2 ssl startup-notification stream subversion svg svgz sysfs sysvipc t1lib tcpd tetex theora tiff truetype unicode upnp usb v4l v4l2 vcd vcdx vim vim-with-x vlm vnc vncviewer vorbis wav wavpack wma wmf wmp wxwindows x11vnc x264 x86emu xcb xcomposite xfce xinerama xml xorg xpm xprint xrandr xv zlib" ALSA_CARDS="via82xx mpu401" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="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 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
|
best regards.
Last edited by abyss on Mon Feb 16, 2009 5:23 pm; edited 1 time in total |
|
Back to top |
|
|
abyss n00b
Joined: 10 Aug 2007 Posts: 6
|
Posted: Sat Feb 14, 2009 1:12 am Post subject: |
|
|
Ok I found the solution.
First of all my mistake:
I have installed a program which came from a .deb package,
I ran a deb2targz and I did a tar xzf myfile.tar.gz -C /
BIG MISTAKE!
This has change my / permission,
I found the solution at http://bbs.archlinux.org/viewtopic.php?id=46762
and running a chmod 755 / as root
revert my system working fine. |
|
Back to top |
|
|
|
|
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
|
|