1 |
Thelma |
2 |
On 01/02/2018 11:41 AM, Jeremi Piotrowski wrote: |
3 |
> On Tue, Jan 02, 2018 at 11:14:24AM -0700, thelma@×××××××××××.com wrote: |
4 |
>> On 01/02/2018 11:01 AM, Mick wrote: |
5 |
>>> |
6 |
>>> This is a coincidence. Something *else* must have happened because untarring |
7 |
>>> the brother archives did not interfere in any way with your @system packages. |
8 |
>>> |
9 |
>>> Did you move to the 17.1 amd64 profile as per portage news item '2017-12-26- |
10 |
>>> experimental-amd64-17-1-profiles' and partly messed up the removal of the |
11 |
>>> symlink to /lib64? |
12 |
>> |
13 |
>> No, I did not touch any of that staff |
14 |
>> |
15 |
>> There should be al lot of packages in: /usr/lib |
16 |
>> but my dir is almost empty only one file left: |
17 |
>> |
18 |
>> -rwxr-xr-x 1 root root 53606 Sep 18 2008 libbrcomplpr2.so |
19 |
>> |
20 |
>> I think I have to bootstrap the system and start by unzipping untar the |
21 |
>> stage-3 file. |
22 |
>> How to untar it so to only replace missing files. |
23 |
>> |
24 |
>> -- |
25 |
>> Joseph |
26 |
> |
27 |
> Had the same happen to me when i created a kernel `make tar-pkg` and then |
28 |
> untarred it with `tar -C`. What happens is ./lib or ./usr/lib in the |
29 |
> tarball are directories, but on a normal gentoo amd64 system (not 17.1) |
30 |
> they are symlinks to lib64 and usr/lib64. The symlink gets removed, an |
31 |
> empty directory created and filled with the tarball contents and that's |
32 |
> what you have. |
33 |
> |
34 |
> Do |
35 |
> |
36 |
> # mv /usr/lib/* /usr/lib64/ |
37 |
> # rm -rf /usr/lib/ |
38 |
> # ln -s lib64 /usr/lib |
39 |
> |
40 |
> and your system should be back. |
41 |
> |
42 |
> Also, once you figure out what the problem is/was (empty /usr/lib), naturally |
43 |
> you'll google for 'tar don't overwrite symlinks' or something of the sort. |
44 |
> I'll save you the time: you want 'tar -h' when extracting. |
45 |
|
46 |
THANK YOU, you are correct the symlink was removed |
47 |
and the sequence you posted did the trick. |
48 |
|
49 |
# mv /usr/lib/* /usr/lib64/ |
50 |
# rm -rf /usr/lib/ |
51 |
# ln -s lib64 /usr/lib |
52 |
|
53 |
I think I'll go for brother diver from gentoo overlay. |
54 |
|
55 |
...{@} * {@} * {@} Happy New Year! |
56 |
{@} * {@} * {@} * {@} Wish you extra ordinary good luck! |
57 |
{@} * {@} * {@} |
58 |
\ \ \ 2018 / / / |
59 |
|
60 |
-- |
61 |
Joseph |