Gentoo Archives: gentoo-user

From: alain.didierjean@××××.fr
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Crippled system
Date: Wed, 16 Apr 2008 13:09:22
Message-Id: 1208351355.4805fa7b05faa@imp.free.fr
In Reply to: Re: [gentoo-user] Crippled system by dirk.heinrichs.ext@nsn.com
1 Selon dirk.heinrichs.ext@×××.com:
2
3 > Am Mittwoch, den 16.04.2008, 00:57 -0400 schrieb ext Richard Marzan:
4 > > I had a circular dep problem with mktemp and coreutils and emerge -C'd
5 > > coreutils. Now I can't do anything significant just cd. how can i repair
6 > > this?
7 >
8 > Not tested: Boot a Gentoo LiveCD, create a coreutils binary package with
9 > quickpkg, mount your root fs, set ROOT environment variable to that
10 > mount point, install the binary package into your system.
11 >
12
13 Tested :-( :
14 Get 2008.0.beta1 Cd (K3B & ftp work on such a crippled system).
15 Boot on it. Mount system's / and /usr partitions and cp from CD's /bin and
16 /usr/bin to their equivalent on mounted partitions the following missig cmd:
17
18 basename, cat, chgrp, chmod, chown, chroot, cp, cut, date, dd, df, dirname, du,
19 echo, env, expr, false, groups, head, hostname, kill, ln, ls, mkdir, mkfifo,
20 mknod, mv, pwd, rm, rmdir, seq, sleep, sort, stat, stty, su, sync, tail, tr,
21 true, wc, yes on /mnt/gentoo/bin.
22
23
24 cksum, comm, csplit, dirclors, expand, factor, fmt, fold, fs, hostid, id,
25 install, join, link, logname, md5sum, nice, nl, nohup, od, pasteshred, shuf,
26 split, sum, tac, tee, test, tsort, uniq, unlink, uptime, users, whoami, who on
27 /mnt/.../usr/bin
28
29 Once done, reboot on the original system and you're back on business!
30 first thing to do :
31 emerge coreutils
32
33 This process at least worked for me on my amd64 system.
34 PS:
35 1- the list of cmd show why unmerging coreutils makes a mess
36 2- I'm not sure all above cmds are needed to emerge and compile. But I
37 considered faster to copy them all than iterating the boot-on-CD boot-on-system
38 process.
39
40 Have a great time!
41 --
42 gentoo-user@l.g.o mailing list