Gentoo Archives: gentoo-user

From: Jack <ostroffjh@×××××××××××××××××.net>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Portage unable to write to /usr/portage
Date: Thu, 09 Jan 2020 21:15:56
Message-Id: PA6A5YQP.B25NASO6.NMIRBL2I@P53WGOXX.XDBEDX67.KQYKJ3QU
In Reply to: [gentoo-user] Portage unable to write to /usr/portage by Corbin
1 On 2020.01.09 16:03, Corbin wrote:
2 > This is the error :
3 >
4 > >>>> Fetching (18 of 1361) sys-apps/baselayout-2.6-r1::gentoo
5 > > bash: /usr/portage/distfiles/.__portage_test_write__: Permission
6 > denied
7 > > rm: cannot remove '/usr/portage/distfiles/.__portage_test_write__':
8 > Permission denied
9 > > bash: /usr/portage/distfiles/.__portage_test_write__: Permission
10 > denied
11 > > rm: cannot remove '/usr/portage/distfiles/.__portage_test_write__':
12 > Permission denied
13 > >>>> Downloading 'http://distfiles.gentoo.org/distfiles/layout.conf'
14 > >
15 > /usr/portage/distfiles/.layout.conf.distfiles.gentoo.org.__download__:
16 > Permission denied
17 > > No digest file available and download failed.
18 > >
19 > > !!! Couldn't download '.layout.conf.distfiles.gentoo.org'. Aborting.
20 > >>>> Downloading
21 > 'http://distfiles.gentoo.org/distfiles/baselayout-2.6.tar.bz2'
22 > > /usr/portage/distfiles/baselayout-2.6.tar.bz2.__download__:
23 > Permission denied
24 > >>>> Downloading
25 > 'https://gitweb.gentoo.org/proj/baselayout.git/snapshot/baselayout-2.6.tar.bz2'
26 > > /usr/portage/distfiles/baselayout-2.6.tar.bz2.__download__:
27 > Permission denied
28 > > !!! Couldn't download 'baselayout-2.6.tar.bz2'. Aborting.
29 > > * Fetch failed for 'sys-apps/baselayout-2.6-r1'
30 >
31 > Permission Problems? How do I fix this?
32 > ( Got this error while trying to do the 'emerge --oneshot portage'
33 > before updating. )
34 >
35 > Corbin
36 Were you trying this as root or as your normal user? What are the
37 permissions on /usr, /usr/portage, and /usr/portage/distfiles?

Replies

Subject Author
Re: [gentoo-user] Portage unable to write to /usr/portage Corbin <corbinbird@×××××××.net>