Gentoo Archives: gentoo-laptop

From: Henri Magnin <henri.magnin@××××.net>
To: gentoo-laptop@l.g.o
Cc: spencerm@××××××××××.net, Pavel.Riha@××××××××.cz
Subject: Re: [gentoo-laptop] Basic??? problem to use Portage ?
Date: Wed, 03 Nov 2004 22:11:41
Message-Id: 20041103223900.51E95157922@hourri.hittite.isp.9tel.net
In Reply to: RE: [gentoo-laptop] Basic??? problem to use Portage ? by Spencer McGuire
1 Hi
2
3 The manipulation as explained by Spencer is Ok.
4 I certainly missed the "export PKGDIR=xxx" when reading the documentation.
5
6 I thought it was automatic, since there are (uncommented)
7 "PORTDIR=/usr/portage" and "PKGDIR=$(PORTDIR)/packages" statements in
8 /etc/make.globals.
9
10 Thanks a lot to both of you
11 Henri
12
13
14
15 Le Mercredi 3 Novembre 2004 21:4/9, vous avez écrit :
16 > You need to read on how to install GRP packages, here is how to do it:
17 > Code Listing 3: Mount the Packages CD
18 >
19 > (Put the Gentoo Packages CD in the CD tray)
20 > # mount /mnt/cdrom
21 >
22 >
23 >
24 > Now configure Portage to use /mnt/cdrom for its prebuilt packages:
25 >
26 > Code Listing 4: Configuring Portage to use /mnt/cdrom
27 >
28 > # ls /mnt/cdrom
29 >
30 > (If there is a /mnt/cdrom/packages directory:)
31 > # export PKGDIR="/mnt/cdrom/packages"
32 >
33 > (Otherwise:)
34 > # export PKGDIR="/mnt/cdrom"
35 >
36 > Now install the packages you want. The Packages CD contains several
37 > prebuilt binaries, for instance KDE:
38 >
39 > Code Listing 5: Installing KDE
40 >
41 > # emerge --usepkg kde
42 >
43 > You should now be able to use emerge --usepkg gnome instead of kde as shown
44 > above, and you can install any packages that are on the cdrom.
45 >
46 > -----Original Message-----
47 > From: Henri Magnin [mailto:henri.magnin@××××.net]
48 > Sent: Wednesday, November 03, 2004 1:25 PM
49 > To: gentoo-laptop@l.g.o
50 > Subject: [gentoo-laptop] Basic??? problem to use Portage ?
51 >
52 > Hi
53 >
54 > I successfully installed Gentoo on a recent ASUS laptop (the basic install,
55 > as described in the handbook).
56 >
57 > I cannot use the on-line features of Portage since I only have a slow modem
58 > at home.
59 > So, I used an universal boot CD, started from a stage 3 tarball (all this
60 > downloaded from my job office location).... But also expected to have a
61 > graphical environment (let's say Gnome, but I have the same kind of problem
62 > with Kde).
63 >
64 > Initially, I saw that issuing the "emerge gnome" command required to have
65 > some ebuilds which were not present on my PC.
66 >
67 > ...So, I downloaded an ISO image of the relevant "package CD" from my job
68 > (with a fast-speed connection). I burned the image as a CD, and installed
69 > its
70 > contents as follows :
71 > - I copied all files from the "All" subdirectory of the CD in my
72 > /usr/portage/distfiles folder (a lot of non-zero-length '.tbz2' files)
73 > - I did not deal with files in other sub-directories, since all these
74 > '.tbz2'
75 > files were zero-length
76 >
77 > The problem when I "emerge gnome" is that it tries to download the
78 > "gnome-mime-data-2.4.1.tar.bz2" file from many WWW locations, and fails (of
79 > course, I am not connected, and would like to install offline).
80 >
81 > ...This while, the file "gnome-mime-date-2.4.1.tbz2" is really (and with
82 > non-zero length) in my /usr/portage/distfiles folder !
83 >
84 > What did I do wrong ? Think I misunderstanded Portage, but where ?
85 >
86 > Thanks by advance
87 > Regards
88 > Henri
89
90 --
91 gentoo-laptop@g.o mailing list