Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 26653 - FIX for GRP instructions
Summary: FIX for GRP instructions
Status: RESOLVED FIXED
Alias: None
Product: [OLD] Docs-user
Classification: Unclassified
Component: Gentoo Linux x86 Installation Guide (show other bugs)
Hardware: All Linux
: High blocker (vote)
Assignee: Zack Gilburd (RETIRED)
URL:
Whiteboard:
Keywords:
: 26238 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-08-14 18:36 UTC by roger55 (RETIRED)
Modified: 2003-08-18 00:30 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
patch for online docs according to requested changes (gentoo-x86-install.patch,497 bytes, patch)
2003-08-14 19:34 UTC, Zack Gilburd (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description roger55 (RETIRED) gentoo-dev 2003-08-14 18:36:28 UTC
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:
Comment 1 roger55 (RETIRED) gentoo-dev 2003-08-14 18:51:56 UTC
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 
 
 
 
Comment 2 Zack Gilburd (RETIRED) gentoo-dev 2003-08-14 19:34:23 UTC
Created attachment 16121 [details, diff]
patch for online docs according to requested changes

If no one minds, I'll take this bug.
Comment 3 Sven Vermeulen (RETIRED) gentoo-dev 2003-08-15 04:07:29 UTC
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 "/".
Comment 4 Sven Vermeulen (RETIRED) gentoo-dev 2003-08-15 04:21:15 UTC
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.
Comment 5 Sven Vermeulen (RETIRED) gentoo-dev 2003-08-16 06:59:46 UTC
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.
Comment 6 Seemant Kulleen (RETIRED) gentoo-dev 2003-08-16 12:29:29 UTC
<roger55> there is another codelisting wrong as well :25.2
<roger55> the one for GRPs on 2nd cd
Comment 7 Zack Gilburd (RETIRED) gentoo-dev 2003-08-16 12:39:16 UTC
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?
Comment 8 Zack Gilburd (RETIRED) gentoo-dev 2003-08-16 13:31:24 UTC
<roger55> works, close because roger55 is paranoid :)
<roger55> klasikahl: ^^

The original code listing works.
Comment 9 Sven Vermeulen (RETIRED) gentoo-dev 2003-08-17 01:12:31 UTC
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...
Comment 10 Sven Vermeulen (RETIRED) gentoo-dev 2003-08-18 00:30:11 UTC
*** Bug 26238 has been marked as a duplicate of this bug. ***