1 |
This fine morning I awoke to find that in my fairly new gentoo install |
2 |
nearly all of /usr/portage is gone. |
3 |
|
4 |
bash-2.05b# ls -lA /mnt/gentoo-new/usr/portage |
5 |
total 20 |
6 |
drwxrwsr-x 4 root portage 16384 Jul 12 22:10 distfiles |
7 |
drwxr-xr-x 4 root root 4096 Jul 11 23:04 packages |
8 |
bash-2.05b# |
9 |
|
10 |
The distfiles directory has many (appropriate) files and packages has |
11 |
the one package it should. The partition has plenty of room (almost |
12 |
7GB). |
13 |
|
14 |
I run esync from cron (anacron) when I boot and it failed (see below |
15 |
for the mail sent by anacron) telling me to see emerge-sync.log. Here |
16 |
I see some failures and a statement that a new version of portage is |
17 |
available (again see below). |
18 |
|
19 |
I still have my previous gentoo (using it right now) on a different |
20 |
partition. It started from one of the 2004 profiles, but has been |
21 |
kept up to date until a very few weeks ago when I started cutting over |
22 |
to my new system. I can certainly run an |
23 |
emerge --tree --ask --verbose --newuse --update --deep world |
24 |
but wanted to do as little as possible before asking for advice. |
25 |
|
26 |
My main question is whether I should copy files from the old |
27 |
/usr/portage to the new one or is there better method to proceed. |
28 |
I keep extensive backups of all my files and all of /etc, but do not |
29 |
backup the system files (other than having an older version of gentoo |
30 |
that is kept reasonably up to date). |
31 |
|
32 |
Thanks for any help. |
33 |
allan |
34 |
|
35 |
================ Mail from anacron concerning today's esync ================ |
36 |
|
37 |
>From root@×××××××××.localdomain Sat Jul 16 09:27:45 2005 |
38 |
Return-Path: <root@×××××××××.localdomain> |
39 |
X-Original-To: root |
40 |
Delivered-To: root@×××××××××.localdomain |
41 |
Received: by localhost.localdomain (Postfix, from userid 0) |
42 |
id 5E33E544B5; Tue, 12 Jul 2005 11:49:51 -0400 (EDT) |
43 |
From: root@×××××××××.localdomain (Anacron) |
44 |
To: root@×××××××××.localdomain |
45 |
Subject: Anacron job 'anacron-daily-2' |
46 |
Message-Id: <20050712154951.5E33E544B5@×××××××××.localdomain> |
47 |
Date: Tue, 12 Jul 2005 11:49:51 -0400 (EDT) |
48 |
|
49 |
* Importing old portage tree |
50 |
* Doing '/usr/bin/emerge sync' now |
51 |
* Error: '/usr/bin/emerge sync' failed, see /var/log/emerge-sync.log for errors |
52 |
run-parts: /local/etc/anacron-daily-2/esync-cron exited with return code 1 |
53 |
|
54 |
>From root@×××××××××.localdomain Sat Jul 16 09:34:29 2005 |
55 |
Return-Path: <root@×××××××××.localdomain> |
56 |
X-Original-To: root |
57 |
Delivered-To: root@×××××××××.localdomain |
58 |
Received: by localhost.localdomain (Postfix, from userid 0) |
59 |
id 869A7544B7; Sat, 16 Jul 2005 09:34:26 -0400 (EDT) |
60 |
From: root@×××××××××.localdomain (Anacron) |
61 |
To: root@×××××××××.localdomain |
62 |
Subject: Anacron job 'anacron-daily-2' |
63 |
Message-Id: <20050716133426.869A7544B7@×××××××××.localdomain> |
64 |
Date: Sat, 16 Jul 2005 09:34:26 -0400 (EDT) |
65 |
|
66 |
* Importing old portage tree |
67 |
* Doing '/usr/bin/emerge sync' now |
68 |
|
69 |
* Doing 'eupdatedb' now |
70 |
|
71 |
|
72 |
* esearch-index generated in 1 second(s) |
73 |
* indexed 0 ebuilds |
74 |
* size of esearch-index: 0 kB |
75 |
|
76 |
* Importing new portage tree |
77 |
* Preparing databases |
78 |
* Searching for changes |
79 |
|
80 |
* No updates found |
81 |
|
82 |
================ Contents of emerge-sync.log ================ |
83 |
|
84 |
rsync: failed to connect to 128.118.99.31: Connection timed out |
85 |
rsync error: error in socket IO (code 10) at clientserver.c(88) |
86 |
============================== |
87 |
CLARKSON OPEN SOURCE INSTITUTE |
88 |
http://cosi.clarkson.edu |
89 |
============================== |
90 |
IP: mirror.clarkson.edu |
91 |
rsync10.us.gentoo.org |
92 |
Specs: Sun Ultra60 |
93 |
2 x 296Mhz CPUs |
94 |
1796 MB RAM |
95 |
250 GB RAID Storage |
96 |
Bandwidth: 10 Mbit (when limited) |
97 |
User Limit: 35 off-campus connections |
98 |
Location: Clarkson University |
99 |
http://www.clarkson.edu |
100 |
Potsdam, NY USA |
101 |
Contact: mirror@×××××××××××××.edu |
102 |
============================== |
103 |
Welcome to our rsync server. |
104 |
|
105 |
receiving file list ... |
106 |
1 file to consider |
107 |
|
108 |
Number of files: 1 |
109 |
Number of files transferred: 0 |
110 |
Total file size: 32 bytes |
111 |
Total transferred file size: 0 bytes |
112 |
Literal data: 0 bytes |
113 |
Matched data: 0 bytes |
114 |
File list size: 32 |
115 |
Total bytes written: 203 |
116 |
Total bytes read: 550 |
117 |
|
118 |
wrote 203 bytes read 550 bytes 301.20 bytes/sec |
119 |
total size is 32 speedup is 0.04 |
120 |
============================== |
121 |
CLARKSON OPEN SOURCE INSTITUTE |
122 |
http://cosi.clarkson.edu |
123 |
============================== |
124 |
IP: mirror.clarkson.edu |
125 |
rsync10.us.gentoo.org |
126 |
Specs: Sun Ultra60 |
127 |
2 x 296Mhz CPUs |
128 |
1796 MB RAM |
129 |
250 GB RAID Storage |
130 |
Bandwidth: 10 Mbit (when limited) |
131 |
User Limit: 35 off-campus connections |
132 |
Location: Clarkson University |
133 |
http://www.clarkson.edu |
134 |
Potsdam, NY USA |
135 |
Contact: mirror@×××××××××××××.edu |
136 |
============================== |
137 |
Welcome to our rsync server. |
138 |
|
139 |
receiving file list ... |
140 |
1 file to consider |
141 |
0 files... |
142 |
Number of files: 1 |
143 |
Number of files transferred: 0 |
144 |
Total file size: 0 bytes |
145 |
Total transferred file size: 0 bytes |
146 |
Literal data: 0 bytes |
147 |
Matched data: 0 bytes |
148 |
File list size: 20 |
149 |
Total bytes written: 181 |
150 |
Total bytes read: 538 |
151 |
|
152 |
wrote 181 bytes read 538 bytes 287.60 bytes/sec |
153 |
total size is 0 speedup is 0.00 |
154 |
>>> starting rsync with rsync://128.118.99.31/gentoo-portage... |
155 |
>>> checking server timestamp ... |
156 |
>>> retry ... |
157 |
|
158 |
|
159 |
>>> Starting retry 1 of 3 with rsync://128.153.144.22/gentoo-portage |
160 |
>>> checking server timestamp ... |
161 |
|
162 |
|
163 |
* An update to portage is available. It is _highly_ recommended |
164 |
* that you update portage now, before any other packages are updated. |
165 |
* Please do so and then update ALL of your configuration files. |
166 |
|
167 |
-- |
168 |
gentoo-user@g.o mailing list |