On 2020.01.09 16:03, Corbin wrote:
This is the error :
>>>> Fetching (18 of 1361) sys-apps/baselayout-2.6-r1::gentoo
> bash: /usr/portage/distfiles/.__portage_test_write__: Permission
denied
> rm: cannot remove '/usr/portage/distfiles/.__portage_test_write__':
Permission denied
> bash: /usr/portage/distfiles/.__portage_test_write__: Permission
denied
> rm: cannot remove '/usr/portage/distfiles/.__portage_test_write__':
Permission denied
>>>> Downloading 'http://distfiles.gentoo.org/distfiles/layout.conf'
>
/usr/portage/distfiles/.layout.conf.distfiles.gentoo.org.__download__:
Permission denied
> No digest file available and download failed.
>
> !!! Couldn't download '.layout.conf.distfiles.gentoo.org'. Aborting.
>>>> Downloading
'http://distfiles.gentoo.org/distfiles/baselayout-2.6.tar.bz2'
> /usr/portage/distfiles/baselayout-2.6.tar.bz2.__download__:
Permission denied
>>>> Downloading
'https://gitweb.gentoo.org/proj/baselayout.git/snapshot/baselayout-2.6.tar.bz2'
> /usr/portage/distfiles/baselayout-2.6.tar.bz2.__download__:
Permission denied
> !!! Couldn't download 'baselayout-2.6.tar.bz2'. Aborting.
> * Fetch failed for 'sys-apps/baselayout-2.6-r1'
Permission Problems? How do I fix this?
( Got this error while trying to do the 'emerge --oneshot portage'
before updating. )
Corbin
Were you trying this as root or as your normal user? What are the
permissions on /usr, /usr/portage, and /usr/portage/distfiles?