Sorry, I got your 1st reply after I'd posted this one..
Nick Rout wrote:
On Wed, 2004-06-02 at 22:28, InfoHelp wrote:Emerges weren't working with BIN_HOST="/mnt/cdrom", so I compared contents & copied over the difference, so I could forget about the CD thereafter. A few installs later, partition=53% full.
bzzzt.
have used cp -u
Rik, I am sorry but i find your messages a little cryptic. copying the packages to /usr/portage/packages does not install them, It simply puts them where portage expects to find them when you go to install them with emerge -k. And it clutters up your hard disk, so if you run short on space get rid of them! they are on the cd.
I couldn't work out how else to 'emerge from cd'.
the other method would be to mount the cd on /mnt/cdrom (or wherever you
choose) and then set PKGDIR=/mnt/cdrom in /etc/make.conf.
ahhh.. D'oh!
PKGDIR defaults to ${PORTDIR}/packages. PORTDIR defaults to
/usr/portage. So therefore the default PKGDIR is /usr/portage/packages.
I don't think I have tested that second method, and i assume portage
does not need write access to PKGDIR, or else it obviously won't work to
set it to /mnt/cdrom.
Assuming it is ok to set PKGDIR to /mnt/cdrom you could also do this on the command line:
PKGDIR=/mnt/cdrom emerge -k packagename
portage looks in a succession of places for its config:
1. system defaults (which you are NOT allowed to change), then
2, /etc/make.conf (which you are allowed to change, and can do so on a more or less permanent basis, ie if you want it to stick for more than a few times. this is where you stick your personal preferences like USE flags, mirror sites, etc., then
about to try online emerge..
wanting to get onto sync & emerge from web asap, to kill off the (absent) xscreensaver gnome fault.
3. command line, where you can override things that you might only want to do occasionally.
another handy hint: emerge info tells you what configuration portage
has. try it ;-)
then does portage/packages get updated again?
also, quanta package not there?.. emerge sets into compile mode, but fails at the end on kde_src_compile or some such, as detailed yesterday.
anyway, we're on a roll now. ..must figure out how to run x as user soon!..
cheers
rik
-- InfoHelp Services http://www.infohelp.co.nz/linux.html i686 2.4.20-8 RedHat Linux 9.0 - Gnome 2.2.0 - OpenOffice 1.0.2 - Mozilla Mail 1.2.1
