Gentoo Archives: gentoo-dev

From: Dominic Leland <domlau@××××.com>
To: gentoo-dev@g.o
Subject: [gentoo-dev] Portage newbie needs help
Date: Mon, 16 Apr 2001 20:36:59
Message-Id: 000c01c0c6e7$1a5b7400$0216a8c0@wgrd.wgsupport.com
1 Hi everyone,
2
3 I've been using Gentoo, off and on, since rc3 (I believe). When rc4-pre2 came out, I wanted to go head-first into it. Unfortunately, I always mess up my system with portage. Back then, when I would update portage, my pkgmerge would be broken. With almost no software installed (and not enough energy to compile everything from source) I would reinstall and ignore portage.
4
5 Back when I first tried this, I read a post here on gentoo-dev saying that the portage I was using was broken and would be fixed soon. I left Gentoo alone for a while. I wanted to wait for rc5 and give portage a little more time to develop.
6
7 With all of the documentation improvements and a few portage updates, I decided to try it again. I still have a broken portage/pkgmerge, but I did get a little further last time. Just to compare, I am going to list the steps I took this time:
8
9 1.Install Gentoo according to the Installation guide. FYI, in case you want to know, here's how my partitions are set up:
10 /dev/hda1 VFAT ~25GB Windows
11 /dev/hda2 VFAT ~25GB Windows (data)
12 /dev/hda3 reiserfs 150MB /boot
13 /dev/hda4 25GB extended
14 /dev/hda5 reiserfs 4GB /
15 /dev/hda6 swap 250MB
16
17 (I'm planning on following Daniel's article on LVM - I'm leaving a bunch of unallocated space after the swap)
18
19 2.Downloaded the latest (I think) rsync.
20 3.Rsync'ed the portage tree.
21 4.ebuild portage-x.y.z.ebuild merge -- This part suprisingly worked - it didn't last time.
22
23 Even though portage seemed to merge fine, it would always fail whenever I would go into any other directory and try to do an "ebuild package-x.y.z.ebuild merge." I kept getting a "package already installed - unmerge first" error (even on things I knew weren't installed like Gnome-1.4).
24
25 The document's next step, assuming ebuilding worked, was to unmerge the existing file, but since I had just started my /var/db/pkg tree, I wouldn't have entries for anything I was upgrading.
26
27 Since the last time I tried this seemed to break my pkgmerge, I tried to merge some packages off of CDROM. Nope. I keep getting errors (something like "index out of range").
28
29 I'm really anxious to get my system up and running and upgradable. I like how the newer portage is recursive. Any help from the portage adepts is much appreciated.
30
31 Thank you.
32
33 Dominic Leland