Codelisting 8.4 is incorrect. on cdrom as well as online. srcerer of #gentoo-dev and myself, roger55 have gone through this section. the commands given on cdrom are: # cp -R /mnt/cdrom/distfiles /mnt/gentoo/usr/portage/distfiles # cp -a /mnt/cdrom/packages/* /mnt/gentoo/usr/portage/packages/ online: 15.8.2003 # cp -R /mnt/cdrom/distfiles/* /mnt/gentoo/usr/portage/distfiles/ # cp -a /mnt/cdrom/packages/* /mnt/gentoo/usr/portage/packages/ especially the "packages" command is wrong as it make GRP installs fail, as no /usr/portage/packages/All/ dir is created. hence all 'emerge -k appname' instructions lead to download/compilation. the correct commands are: distfiles: cp -R /mnt/cdrom/distfiles /mnt/gentoo/usr/portage/distfiles packages: cp -a /mnt/cdrom/packages /mnt/gentoo/usr/portage/packages If someone would please verify -as we have done already- that with these commands the following instructions ie. 'emerge -k sys-kernel/gentoo-sources' work without downloads. I'll attach a list of bugs I found related to this in the next entry. [Personally I went another *more elegant* way using 'mount --bind ' because I detest philosophical trailing/not trailing slashes :) ] Cheers roger55 Reproducible: Always Steps to Reproduce: Actual Results:
Related Bugs: http://bugs.gentoo.org/show_bug.cgi?id=26238 problems on GRP install from pentium4-1.4 release, missing files when emerging kernel http://bugs.gentoo.org/show_bug.cgi?id=26446 genkernel and other .tbz2 files on pentium3 1.4 final GRP CD are corrupt (possibly not ccorrupt, but not used) http://bugs.gentoo.org/show_bug.cgi?id=26618 packages/gentoo-sources-2.4.20-r5 not used
Created attachment 16121 [details, diff] patch for online docs according to requested changes If no one minds, I'll take this bug.
I'm confident that the current installation instructions are correct. I request to put this on hold untill a 100% failsafe solution is found. This patch is the 6th (sixth) that changes the GRP commands. I would prefer a command that doesn't fail because of a missing (or misplaced) trailing "/".
13:19 <@SwifT> roger55: euhm... on the installation, does /mnt/gentoo/usr/portage/packages/All already exist? 13:20 <@SwifT> 'cause that is something I didn't take into account when I simulated it 13:20 <+roger55> SwifT: no klasikahl: you have a go to apply this patch (reviewed and approved). In the future, make sure you add "docs-team@gentoo.org" to the Cc-list on the bug as requested by the documentation policy.
Committed to CVS. klasikahl, antifa: sorry I do this behind your backs, but the fix is rather important (as the current installation guides are wrong) and needed the fix asap. It couldn't wait any longer.
<roger55> there is another codelisting wrong as well :25.2 <roger55> the one for GRPs on 2nd cd
I just woke up so my brain hasn't fully started working yet, but how should 25.2 be? I am guessing: # mount /dev/cdrom /mnt/cdrom # cp -a /mnt/cdrom/packages/* /usr/portage/packages/ Should be: # mount /dev/cdrom /mnt/cdrom # cp -r /mnt/cdrom/packages/* /usr/portage/packages/All/ Yes?
<roger55> works, close because roger55 is paranoid :) <roger55> klasikahl: ^^ The original code listing works.
Ofcourse it works *cough* In that case, there already is a /usr/portage/packages/All so the command did what it should do. In the first command this was not the case...
*** Bug 26238 has been marked as a duplicate of this bug. ***