| View previous topic :: View next topic |
| Author |
Message |
Amfabeta Tux's lil' helper


Joined: 12 Aug 2005 Posts: 133 Location: Finland
|
Posted: Sat Aug 04, 2007 8:54 am Post subject: [Errno 13] Permission denied [SOLVED] |
|
|
| Code: | [Errno 13] Permission denied:
/usr/bin/wget -t 5 -T 60 --passive-ftp -O /usr/portage/distfiles/portage-2.1.3.3.patch.bz2 ftp://ftp.rez-gif.supelec.fr/pub/Linux/distrib/gentoo/distfiles/portage-2.1.3.3.patch.bz2
>>> Downloading 'ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo/distfiles/portage-2.1.3.3.patch.bz2'
[Errno 13] Permission denied:
/usr/bin/wget -t 5 -T 60 --passive-ftp -O /usr/portage/distfiles/portage-2.1.3.3.patch.bz2 ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo/distfiles/portage-2.1.3.3.patch.bz2
>>> Downloading 'http://ftp.gentoo.or.kr/distfiles/portage-2.1.3.3.patch.bz2'
[Errno 13] Permission denied:
/usr/bin/wget -t 5 -T 60 --passive-ftp -O /usr/portage/distfiles/portage-2.1.3.3.patch.bz2 http://ftp.gentoo.or.kr/distfiles/portage-2.1.3.3.patch.bz2
>>> Downloading 'http://dev.gentoo.org/~zmedico/portage/archives/portage-2.1.3.3.patch.bz2'
[Errno 13] Permission denied:
/usr/bin/wget -t 5 -T 60 --passive-ftp -O /usr/portage/distfiles/portage-2.1.3.3.patch.bz2 http://dev.gentoo.org/~zmedico/portage/archives/portage-2.1.3.3.patch.bz2
!!! Couldn't download 'portage-2.1.3.3.patch.bz2'. Aborting.
* Fetch failed for 'sys-apps/portage-2.1.3.3'
* Messages for package sys-apps/portage-2.1.3.3:
* Fetch failed for 'sys-apps/portage-2.1.3.3'
|
Can someone help me to solve this problem? I have no idea where it came from since my system has been stable for months. I haven't had any hard crashes. Looks like there could be filesystem errors or some kind of permission problems. Sync works fine but I can't emerge anything. I'm using reiserfs as filesystem. Thanks in advance. _________________ Socially retarded since 1986.
Last edited by Amfabeta on Tue Sep 18, 2007 5:19 pm; edited 1 time in total |
|
| Back to top |
|
 |
didymos Advocate


Joined: 10 Oct 2005 Posts: 4798 Location: California
|
Posted: Sat Aug 04, 2007 9:08 am Post subject: |
|
|
Well, have you checked the filesystem for errors? Only way to know if it has any. _________________ Thomas S. Howard |
|
| Back to top |
|
 |
Amfabeta Tux's lil' helper


Joined: 12 Aug 2005 Posts: 133 Location: Finland
|
Posted: Sat Aug 04, 2007 9:25 am Post subject: |
|
|
I forced fsck on reboot and it says that filesystem is clean. Is this reliable way to check consistency? _________________ Socially retarded since 1986. |
|
| Back to top |
|
 |
didymos Advocate


Joined: 10 Oct 2005 Posts: 4798 Location: California
|
Posted: Sat Aug 04, 2007 9:45 am Post subject: |
|
|
It should be reliable. Have the permissions on /usr/portage/distfiles changed? The only other thing that comes to mind are the userpriv,usersandbox,and userfetch features. I'm not sure if they require you to change the permissions on /usr/portage/distfiles or not, much less if you're using them in make.conf. Actually, I'm not even sure what permissions are being denied. Seems like it may be coming from the mirror end of things, in which case rsync might be broken. _________________ Thomas S. Howard |
|
| Back to top |
|
 |
depu n00b

Joined: 05 Dec 2006 Posts: 63
|
Posted: Sun Aug 05, 2007 6:46 am Post subject: |
|
|
what version portage are you running??
i seem to be getting the same problem on portage 2.1.3.3, it doesnt download anything but manages to compile fine..
downgraded to stable portage or rc9 to getting it working again |
|
| Back to top |
|
 |
Amfabeta Tux's lil' helper


Joined: 12 Aug 2005 Posts: 133 Location: Finland
|
Posted: Sun Aug 05, 2007 2:02 pm Post subject: |
|
|
Permissions for /usr/portage/distfiles are same as always. Nothing changed. I also don't use features that you mentioned. I'm currently using portage 2.1.3.2 and compiling seems to work just fine. It just doesn't download anything. I'll try to downgrade portage and see what happens. _________________ Socially retarded since 1986. |
|
| Back to top |
|
 |
Amfabeta Tux's lil' helper


Joined: 12 Aug 2005 Posts: 133 Location: Finland
|
Posted: Sun Aug 05, 2007 3:25 pm Post subject: |
|
|
I tried different versions but it didn't solve the problem. At least I can always use wget and download everything in /usr/portage/distfiles manually since compiling works fine.  _________________ Socially retarded since 1986. |
|
| Back to top |
|
 |
codarin Apprentice


Joined: 29 Apr 2004 Posts: 179 Location: Udine
|
Posted: Sat Aug 25, 2007 3:13 pm Post subject: solution to permission denied from wget |
|
|
Hi,
to solve premission denied put a:
FEATURES="-userfetch"
in your /etc/make.conf
userfetch is now enabled by default.
Regards _________________ ---------------------------------------------------------------------------------
Acer TM803 - Centrino 1.6 GHZ - AtiRadeon9000 - 1.25GB RAM
CFLAGS="-O2 -march=pentium3 -pipe ........" |
|
| Back to top |
|
 |
Amfabeta Tux's lil' helper


Joined: 12 Aug 2005 Posts: 133 Location: Finland
|
Posted: Tue Sep 18, 2007 4:06 pm Post subject: |
|
|
Thank you codarin! It did solve my problem! I've been away for a while and thought that there's no solution for this. You made my day! Thanks. _________________ Socially retarded since 1986. |
|
| Back to top |
|
 |
chaonis n00b

Joined: 05 Apr 2005 Posts: 36
|
Posted: Wed Jan 02, 2008 10:15 pm Post subject: emerge [Errno 13] Permission denied problem. [SOLVED] |
|
|
I have no idea what is going on. There must be a simple solution for it, at least I hope.
After the new year count down, I came back and try to do a system update. emerge --sync worked fine. But when I was trying to update individual packages, I got [Errno 13] error:
| Code: | # emerge -DNu gnupg
Calculating dependencies... done!
>>> Verifying ebuild Manifests...
>>> Emerging (1 of 8) media-libs/freetype-2.3.5-r2 to /
>>> Downloading 'http://distfiles.gentoo.org/distfiles/freetype-2.3.5.tar.bz2'
[Errno 13] Permission denied:
/usr/bin/wget -t 5 -T 60 --passive-ftp -O /usr/portage/distfiles/freetype-2.3.5.tar.bz2 http://distfiles.gentoo.org/distfiles/freetype-2.3.5.tar.bz2
>>> Downloading 'http://kent.dl.sourceforge.net/sourceforge/freetype/freetype-2.3.5.tar.bz2'
[Errno 13] Permission denied:
/usr/bin/wget -t 5 -T 60 --passive-ftp -O /usr/portage/distfiles/freetype-2.3.5.tar.bz2 http://kent.dl.sourceforge.net/sourceforge/freetype/freetype-2.3.5.tar.bz2
!!! Couldn't download 'freetype-2.3.5.tar.bz2'. Aborting.
* Fetch failed for 'media-libs/freetype-2.3.5-r2'
* Messages for package media-libs/freetype-2.3.5-r2:
* Fetch failed for 'media-libs/freetype-2.3.5-r2'
|
It worked if I tried to download each package with:
| Code: | # /usr/bin/wget -t 5 -T 60 --passive-ftp -O /usr/portage/distfiles/freetype-2.3.5.tar.bz2 http://kent.dl.sourceforge.net/sourceforge/freetype/freetype-2.3.5.tar.bz2
# emerge -DNu freetype |
and then emerge.
But it is plain PITA to do each package manually. Any idea? any solutions?
Thanks
Last edited by chaonis on Wed Jan 02, 2008 11:03 pm; edited 1 time in total |
|
| Back to top |
|
 |
eyoung100 Guru


Joined: 23 Jan 2004 Posts: 478
|
|
| Back to top |
|
 |
chaonis n00b

Joined: 05 Apr 2005 Posts: 36
|
Posted: Wed Jan 02, 2008 11:02 pm Post subject: |
|
|
That works. Thanks for the info, eyong100.
for the others, more info: http://linuxreviews.org/man/make.conf/
I actually picked up a new feature: "parallel-fetch" which works quite well. |
|
| Back to top |
|
 |
bahkyp Tux's lil' helper


Joined: 19 Jul 2002 Posts: 86 Location: Sydney Australia
|
Posted: Fri Jun 18, 2010 11:33 am Post subject: |
|
|
| eyoung100 wrote: | Try adding:
| Code: |
FEATURES="-userfetch"
|
to /etc/make.conf
Marked as a duplicate and merged into appropriate topic. |
Was also a problem with for me. Default for make.conf does not include this in stage3-armv5tel-20100521.
was getting a | Code: | >>> Downloading 'ftp://128.111.24.43/pub/mirrors/linux/gentoo/distfiles/autogen-5.10.1.tar.gz'
--2010-06-19 07:11:55-- ftp://128.111.24.43/pub/mirrors/linux/gentoo/distfiles/autogen-5.10.1.tar.gz
=> `/usr/portage/distfiles/autogen-5.10.1.tar.gz'
Connecting to 128.111.24.43:21... failed: Permission denied.
Retrying.
| everytime I tried. _________________ I'm so small, I can fit under the door.
I was here yesterday, this is a recording. |
|
| Back to top |
|
 |
|