This is a discussion on how to update portage without internet access? within the Gentoo Linux Support forums, part of the Unix Operating Systems category; --> hi all, i installed gentoo in january this year on my box and i'm very happy with it. because ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| hi all, i installed gentoo in january this year on my box and i'm very happy with it. because i don't have internet access at home i still have portage dating january the 18th or about. is there an easy way to update portage without internet access?? when i need to install a new package i do a: emerge --fetchonly --pretend --verbose <packagename> and download the necessary files at work. that's no problem, but how to do that with portage? one idea would be to download the portage-snapshot and simply untar it on my box. would this be a propper way ?? don't want to kill anything on my box -- hot_rage |
| |||
| hot_rage wrote: > i installed gentoo in january this year on my box and i'm very happy > with it. because i don't have internet access at home i still have > portage dating january the 18th or about. > > is there an easy way to update portage without internet access?? > > when i need to install a new package i do a: > > emerge --fetchonly --pretend --verbose <packagename> > > and download the necessary files at work. that's no problem, but how > to do that with portage? > > one idea would be to download the portage-snapshot and simply untar it > on my box. > > would this be a propper way ?? don't want to kill anything on my box Taking a look at /usr/sbin/emerge-webrsync provides some hints to the proper procedure. This is what it basically does: 1. Download portage snapshot somewhere temporary. 2. Untar that snapshot (still in temporary location). 3. 'cd' to temporary portage. 4. Run sync: rsync -av --progress --stats --delete --delete-after \ --exclude='/distfiles' --exclude='/packages' --exclude='/local' . \ /usr/portage/ 5. 'rm' the temporary portage directory and the portage snapshot. 6. Run 'emerge metadata' Using rsync like this is preferred, as it will delete old files, while protecting non-portage stuff. 'emerge metadata' is also very important, as it will not only upgrade the portage cache (to make dependency calculations faster), but also do the package name/slot upgrades, which are vital to keeping a working Gentoo system. -- PeKaJe Reader, suppose you were an idiot. And suppose you were a member of Congress. But I repeat myself. -- Mark Twain |
| ||||
| Peter Jensen <usenet@pekajemaps.homeip.net> wrote in news:42aeda2a$0$167 $edfadb0f@dtext01.news.tele.dk: > Taking a look at /usr/sbin/emerge-webrsync provides some hints to the > proper procedure. This is what it basically does: > > 1. Download portage snapshot somewhere temporary. > 2. Untar that snapshot (still in temporary location). > 3. 'cd' to temporary portage. > 4. Run sync: rsync -av --progress --stats --delete --delete-after \ > --exclude='/distfiles' --exclude='/packages' --exclude='/local' . \ > /usr/portage/ > 5. 'rm' the temporary portage directory and the portage snapshot. > 6. Run 'emerge metadata' > > Using rsync like this is preferred, as it will delete old files, while > protecting non-portage stuff. 'emerge metadata' is also very important, > as it will not only upgrade the portage cache (to make dependency > calculations faster), but also do the package name/slot upgrades, which > are vital to keeping a working Gentoo system. > thank you peter for your answer. i will try this procedure as you told me. -- hot_rage |