Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 111871 - emerge --sync fails to update cache: errno 13 permission denied
Summary: emerge --sync fails to update cache: errno 13 permission denied
Status: RESOLVED INVALID
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - External Interaction (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-08 06:13 UTC by Giorgos Akrivas
Modified: 2005-11-08 06:39 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Giorgos Akrivas 2005-11-08 06:13:27 UTC
When attempting to emerge --sync, I get messages about failed cache update  
    
I tried to unmerge xfce4, but the problem persists. I also tried to reemerge    
portage.    
    

Reproducible: Always
Steps to Reproduce:
1. emerge --sync 
2. 
3. 
 
Actual Results:  
...  
wrote 481 bytes  read 3024409 bytes  208613.10 bytes/sec  
total size is 104045041  speedup is 34.40  
  
>>> Updating Portage cache:   99%  
Failed cache update: xfce-extra/exo-0.3.0-r1 [Errno 13] Permission denied  
  
Failed cache update: xfce-extra/mousepad-0.2.2 [Errno 13] Permission denied  
  
Failed cache update: xfce-extra/xfcalendar-4.2.1 [Errno 13] Permission denied  
  
Failed cache update: xfce-extra/xfce4-appfinder-4.2.2 [Errno 13] Permission  
denied  
  
Failed cache update: xfce-extra/xfce4-battery-0.3.0 [Errno 13] Permission  
denied  
  
Failed cache update: xfce-extra/xfce4-icon-theme-4.2.1 [Errno 13] Permission  
denied  
  
Failed cache update: xfce-extra/xfce4-iconbox-4.2.2 [Errno 13] Permission  
denied  
  
Failed cache update: xfce-extra/xfce4-iconbox-4.2.1 [Errno 13] Permission  
denied  
  
Failed cache update: xfce-extra/xfce4-megahertz-0.1 [Errno 13] Permission  
denied  
  
Failed cache update: xfce-extra/xfce4-mixer-4.2.2-r1 [Errno 13] Permission  
denied  
  
Failed cache update: xfce-extra/xfce4-modemlights-0.1.1-r1 [Errno 13]  
Permission denied  
  
Failed cache update: xfce-extra/xfce4-mount-0.3-r1 [Errno 13] Permission denied  
  
Failed cache update: xfce-extra/xfce4-netload-0.3.2-r1 [Errno 13] Permission  
denied  
  
Failed cache update: xfce-extra/xfce4-panelmenu-0.3.1-r1 [Errno 13] Permission  
denied  
  
Failed cache update: xfce-extra/xfce4-quicklauncher-0.81-r1 [Errno 13]  
Permission denied  
  
Failed cache update: xfce-extra/xfce4-sensors-0.6.1-r1 [Errno 13] Permission  
denied  
  
Failed cache update: xfce-extra/xfce4-showdesktop-0.4.0-r2 [Errno 13]  
Permission denied  
  
Failed cache update: xfce-extra/xfce4-systemload-0.3.6-r1 [Errno 13] Permission  
denied  
  
Failed cache update: xfce-extra/xfce4-systray-4.2.1 [Errno 13] Permission  
denied  
  
Failed cache update: xfce-extra/xfce4-taskmanager-0.2.1 [Errno 13] Permission  
denied  
  
Failed cache update: xfce-extra/xfce4-toys-4.2.1 [Errno 13] Permission denied  
  
Failed cache update: xfce-extra/xfce4-toys-4.2.2 [Errno 13] Permission denied  
  
Failed cache update: xfce-extra/xfce4-trigger-launcher-4.2.2 [Errno 13]  
Permission denied  
  
Failed cache update: xfce-extra/xfce4-trigger-launcher-4.2.1 [Errno 13]  
Permission denied  
  
Failed cache update: xfce-extra/xfce4-xkb-0.3.2-r1 [Errno 13] Permission denied  
100%  
Failed cache update: xfce-extra/xfwm4-themes-4.2.1 [Errno 13] Permission denied  
  
 

Expected Results:  
sync as usual  

Portage 2.0.51.22-r3 (default-linux/amd64/2005.1, gcc-3.4.4, glibc-2.3.5-r2, 
2.6.13-gentoo-r5 x86_64) 
================================================================= 
System uname: 2.6.13-gentoo-r5 x86_64 AMD Athlon(tm) 64 Processor 3800+ 
Gentoo Base System version 1.6.13 
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) 
[disabled] 
ccache version 2.3 [enabled] 
dev-lang/python:     2.3.5-r2, 2.4.2 
sys-apps/sandbox:    1.2.12 
sys-devel/autoconf:  2.13, 2.59-r6 
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 
sys-devel/binutils:  2.15.92.0.2-r10 
sys-devel/libtool:   1.5.20 
virtual/os-headers:  2.6.11-r2 
ACCEPT_KEYWORDS="amd64" 
AUTOCLEAN="yes" 
CBUILD="x86_64-pc-linux-gnu" 
CFLAGS="-march=k8 -O2 -pipe" 
CHOST="x86_64-pc-linux-gnu" 
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib64/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d" 
CXXFLAGS="-march=k8 -O2 -pipe" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoconfig ccache distlocks sandbox sfperms strict" 
GENTOO_MIRRORS="ftp://ftp.ntua.gr/pub/linux/gentoo  
http://ftp.snt.utwente.nl/pub/os/linux/gentoo 
ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo http://gentoo.mirror.icd.hu/ 
ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo" 
LANG="en_US.utf8" 
LINGUAS="en el" 
MAKEOPTS="-j3" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="/usr/local/portage" 
SYNC="rsync://rsync.gentoo.org/gentoo-portage" 
USE="amd64 X a52 aalib alsa apache2 arts audiofile avi bash-completion berkdb 
bitmap-fonts bonobo bzip2 cdr crypt cups curl directfb divx4linux dts dv dvd 
dvdread eds emboss encode esd exif expat fam fame fbcon ffmpeg flac foomaticdb 
fortran gdbm ggi gif gimpprint gimprint glut gmp gnome gnutls gpm gstreamer gtk 
gtk2 gtkhtml guile hal idn imagemagick imlib ipv6 jack java jpeg junit kde 
kdeenablefinal lcms libcaca libwww lzw lzw-tiff mad matroska mhash mng mozilla 
mp3 mpeg mysql nas ncurses nls nptl nptlonly ogg oggvorbis openal opengl oss 
pam pcre pdflib perl pic png ppds python qt quicktime readline real recode 
samba sdl spell ssl subtitles symlink tcpd tetex theora tiff truetype 
truetype-fonts type1-fonts udev unicode usb userlocales vorbis xine xinerama 
xml xml2 xmms xpm xv xvid xvmc zlib linguas_en linguas_el userland_GNU 
kernel_linux elibc_glibc" 
Unset:  ASFLAGS, CTARGET, LC_ALL, LDFLAGS
Comment 1 lzap 2005-11-08 06:20:32 UTC
Please provide output of

# ls /usr/portage/xfce-extra -la
Comment 2 SpanKY gentoo-dev 2005-11-08 06:23:34 UTC
and try to run `rm -r /usr/portage/xfce-extra` ... see if `dmesg` has any
funny messages ... imo looks like file system corruption
Comment 3 Giorgos Akrivas 2005-11-08 06:27:52 UTC
ls /usr/portage/xfce-extra -la 
total 9 
drwxr-xr-x   44 portage portage 1448 Νοέ  8 12:36 . 
drwxr-xr-x  152 portage portage 4496 Νοέ  8 12:36 .. 
drwxr-xr-x    3 portage portage  312 Οκτ 10 18:36 exo 
-rw-r--r--    1 root    root     853 Οκτ  9 12:43 metadata.xml 
drwxr-xr-x    3 portage portage  280 Οκτ  6 20:06 mousepad 
drwxr-xr-x    3 portage portage  328 Οκτ 10 19:06 terminal 
drwxr-xr-x    3 portage portage  288 Οκτ  6 10:06 xfcalendar 
drwxr-xr-x    3 portage portage  304 Οκτ  6 10:06 xfce4-appfinder 
drwxr-xr-x    3 portage portage  256 Οκτ 18 18:06 xfce4-artwork 
drwxr-xr-x    3 portage portage  304 Οκτ  6 20:36 xfce4-battery 
drwxr-xr-x    3 root    root     264 Οκτ  6 11:06 xfce4-bglist-editor 
drwxr-xr-x    3 portage portage  256 Οκτ 18 18:36 xfce4-clipman 
drwxr-xr-x    3 portage portage  256 Οκτ  6 20:36 xfce4-cpugraph 
drwxr-xr-x    3 portage portage  256 Οκτ 18 18:36 xfce4-datetime 
drwxr-xr-x    3 portage portage  256 Οκτ  6 20:36 xfce4-diskperf 
drwxr-xr-x    3 portage portage  256 Οκτ  6 20:36 xfce4-fsguard 
drwxr-xr-x    3 portage portage  256 Οκτ  6 21:06 xfce4-genmon 
drwxr-xr-x    3 portage portage  304 Οκτ  6 10:06 xfce4-iconbox 
drwxr-xr-x    3 portage portage  304 Οκτ  6 10:06 xfce4-icon-theme 
drwxr-xr-x    3 root    root     256 Οκτ  6 21:06 xfce4-megahertz 
drwxr-xr-x    3 portage portage  208 Οκτ  6 21:36 xfce4-minicmd 
drwxr-xr-x    3 portage portage  288 Οκτ  6 10:06 xfce4-mixer 
drwxr-xr-x    3 root    root     264 Οκτ  6 11:06 xfce4-modemlights 
drwxr-xr-x    3 portage portage  248 Οκτ  6 21:06 xfce4-mount 
drwxr-xr-x    3 portage portage  400 Οκτ 18 18:36 xfce4-netload 
drwxr-xr-x    3 portage portage  352 Οκτ 18 18:36 xfce4-notes 
drwxr-xr-x    3 portage portage  304 Οκτ  6 21:06 xfce4-panelmenu 
drwxr-xr-x    3 portage portage  360 Οκτ  6 21:06 xfce4-quicklauncher 
drwxr-xr-x    3 portage portage  352 Οκτ  6 21:06 xfce4-sensors 
drwxr-xr-x    3 portage portage  272 Οκτ  6 21:06 xfce4-showdesktop 
drwxr-xr-x    3 portage portage  304 Οκτ  6 21:06 xfce4-systemload 
drwxr-xr-x    3 portage portage  304 Οκτ  6 10:06 xfce4-systray 
drwxr-xr-x    3 portage portage  256 Οκτ 18 18:36 xfce4-taskbar 
drwxr-xr-x    3 portage portage  360 Οκτ  6 21:06 xfce4-taskmanager 
drwxr-xr-x    3 portage portage  288 Οκτ  6 10:06 xfce4-toys 
drwxr-xr-x    3 portage portage  328 Οκτ  6 10:06 xfce4-trigger-launcher 
drwxr-xr-x    3 portage portage  256 Οκτ 18 18:36 xfce4-wavelan 
drwxr-xr-x    3 portage portage  400 Οκτ 18 18:36 xfce4-weather 
drwxr-xr-x    3 root    root     256 Οκτ  6 21:36 xfce4-websearch 
drwxr-xr-x    3 portage portage  256 Οκτ 18 18:36 xfce4-windowlist 
drwxr-xr-x    3 portage portage  256 Οκτ  6 11:06 xfce4-xkb 
drwxr-xr-x    3 portage portage  296 Οκτ  6 11:06 xfce4-xmms 
drwxr-xr-x    3 portage portage  272 Οκτ  6 21:36 xfce4-xmms-controller 
drwxr-xr-x    3 portage portage  360 Οκτ  6 22:06 xfmedia 
drwxr-xr-x    3 portage portage  304 Οκτ  6 10:06 xfwm4-themes 
 
Comment 4 Giorgos Akrivas 2005-11-08 06:39:35 UTC
SpanKY, dmesg does give lots of funny messages. I guess that my ReiserFS /usr 
filesystem is corrupted.  
 
Thank you all for your time. Also, you may ignore related submitted bug no 
111873.