Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Noticed during installation: /var/db/repos is empty [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
jody
l33t
l33t


Joined: 16 Oct 2007
Posts: 668
Location: Switzerland

PostPosted: Thu Feb 08, 2024 5:43 pm    Post subject: Noticed during installation: /var/db/repos is empty [SOLVED] Reply with quote

I am currently installing gentoo on a new laptop, following the installation handbook.
I used stage3-i686-openrc-20240205T200142Z.tar.xz.
After chrooting, i did
Code:

mkdir /efi
mount /dev/nvme0n1p1 /efi
mkdir --parents /etc/portage/repos.conf
cp /usr/share/portage/config/repos.conf /etc/portage/repos.conf/gentoo.conf

When i now wanted to do the first emerge command, i got am error message
Code:
~ # emerge --ask --verbose --oneshot app-portage/mirrorselect
!!! Section 'gentoo' in repos.conf has location attribute set to nonexistent directory: '/var/db/repos/gentoo'
!!! Invalid Repository Location (not a dir): '/var/db/repos/gentoo'


!!! /etc/portage/make.profile is not a symlink and will probably prevent most merges.
!!! It should point into a profile within /var/db/repos/gentoo/profiles/
!!! (You can safely ignore this message when syncing. It's harmless.)


!!! Your current profile is invalid. If you have just changed your profile
!!! configuration, you should revert back to the previous configuration.
!!! Allowed actions are limited to --help, --info, --search, --sync, and
!!! --version.

Indeed, /var/db/repos is empty, in particular there is no subdirectory gentoo there.

How i can i get the gentoo subtree into /var/db/repos ?


Last edited by jody on Fri Feb 09, 2024 9:48 am; edited 1 time in total
Back to top
View user's profile Send private message
acidbreez
n00b
n00b


Joined: 05 Dec 2006
Posts: 24

PostPosted: Thu Feb 08, 2024 9:42 pm    Post subject: Reply with quote

did you run before trying to emerge the new package?

Code:
emerge-webrsync
Back to top
View user's profile Send private message
jody
l33t
l33t


Joined: 16 Oct 2007
Posts: 668
Location: Switzerland

PostPosted: Fri Feb 09, 2024 9:48 am    Post subject: Reply with quote

Ooops - i think i had overlooked that command.
After doing it i could proceed with the installation, thanks!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
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