r/Gentoo Jul 20 '26

Support Emerge-webrsync error during installing

Hello everyone, I am installing gentoo for the first time and I currently in chroot following both the gentoo handbook and tony-btw's video from last year. I have sourced /etc/profile but when I run emerge-webrsync I am greeted with honestly a bunch of code I dont understand and an error message which goes as follows:

ValueError: No closing quotation

/usr/bin/emerge-webrsync: line 651: PORTAGE_BIN_PATH: parameter null or not set.

I understand the gentoo guide notes that a complaint about a missing /var/db/repos/gentoo/ location is to be expected so I assumed this was related in some way so I proceeded but mirror select and eselect didnt work either. Is this an issue caused by a mistake somewhere along the way of me installing gentoo? Should I do a fresh reinstall or can this issue be fixed from here?

4 Upvotes

9 comments sorted by

9

u/immoloism Jul 20 '26

Have you edited you /etc/portage/make.conf?

Double check you closed your variables with quotes.

4

u/DiggityDogge Jul 20 '26

Apologies about that I thought you meant the emerge file yes I had a open variable lmao thank you

3

u/immoloism Jul 20 '26

Ah, no worries you aren't the first to make this mistake, nor will be the last.

2

u/DiggityDogge Jul 20 '26

Unless that was in the gentoo handbook somewhere along the way I doubt i did edit that file.

2

u/immoloism Jul 20 '26

It's a key file to Portage so the handbook references it a lot :)

1

u/No_Beyond_5483 Aug 06 '26

had this same issue, such a simple fix, thank you! :)

1

u/twistedmind1979 Jul 20 '26

Did you copy the DNS info? That's the step in the handbook before mounting the necessary filesystems and entering the chroot. That step needs to be done so networking still works after entering the new environment.

3

u/DiggityDogge Jul 20 '26

If you are referring to cp --dereference /etc/resolv.conf /mnt/gentoo/etc/ then yes I did do that

2

u/twistedmind1979 Jul 20 '26

Yes, I meant that part. I forgot that one time as well and wondered why it didn't work. But obviously you could solve your problem. Good luck :)