Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerge -u world problemes...
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
spOOwn
Apprentice
Apprentice


Joined: 02 Nov 2002
Posts: 259
Location: Belgium

PostPosted: Tue Dec 09, 2003 7:33 am    Post subject: emerge -u world problemes... Reply with quote

I wanted to update my system with "emerge -u world" and it shows up this errors :

Code:
../../../config/nsinstall -R ./enigmail.js ../../../dist/bin/components
../../../config/nsinstall -R ./enigprefs-service.js ../../../dist/bin/components
make[2]: Leaving directory `/var/tmp/portage/mozilla-1.5-r1/work/mozilla/extensions/enigmail/package'
make[1]: Leaving directory `/var/tmp/portage/mozilla-1.5-r1/work/mozilla/extensions/enigmail'

>>> Install mozilla-1.5-r1 into /var/tmp/portage/mozilla-1.5-r1/image/ category net-www
 * Installing mozilla into build root...
tar: searchplugins/mozilla.src: Wrote only 0 of 10240 bytes
tar: Skipping to next header
tar: searchplugins/lxrmozilla.src: Wrote only 0 of 10240 bytes
tar: searchplugins/NetscapeSearch.src: Wrote only 0 of 10240 bytes
tar: Skipping to next header
tar: searchplugins/bugzilla.src: Wrote only 0 of 10240 bytes
tar: searchplugins/dmoz.src: Wrote only 0 of 10240 bytes
tar: Skipping to next header
tar: Archive contains obsolescent base-64 headers
tar: Error exit delayed from previous errors
make: *** [mozilla-i686-pc-linux-gnu] Error 2

!!! ERROR: net-www/mozilla-1.5-r1 failed.
!!! Function src_install, Line 429, Exitcode 2
!!! (no error message)


So, can someone help me please ???
Back to top
View user's profile Send private message
GuidoJ
Guru
Guru


Joined: 24 Dec 2002
Posts: 444
Location: Netherlands

PostPosted: Thu Dec 11, 2003 5:29 pm    Post subject: Reply with quote

Dunno if it helps, but in my experience running 'emerge sync' first might fix such portage problems.
Back to top
View user's profile Send private message
spOOwn
Apprentice
Apprentice


Joined: 02 Nov 2002
Posts: 259
Location: Belgium

PostPosted: Thu Dec 11, 2003 6:00 pm    Post subject: Reply with quote

so, the problem is solved, but i have another probleme now :( when i want to do : 'emerge sync' or 'emerge rsync' , this error show up :

Code:
emerge rsync
Traceback (most recent call last):
  File "/usr/bin/emerge", line 1762, in ?
    mytimestamp=time.mktime(time.strptime(content[0], "%a, %d %b %Y %H:%M:%S +0000"))
  File "/usr/lib/python2.3/_strptime.py", line 424, in strptime
    raise ValueError("time data did not match format:  data=%s  fmt=%s" %
ValueError: time data did not match format:  data=  fmt=%a, %d %b %Y %H:%M:%S +0000


so, can anyone help me please ??
Back to top
View user's profile Send private message
jago25_98
Apprentice
Apprentice


Joined: 23 Aug 2002
Posts: 180

PostPosted: Thu Dec 11, 2003 7:04 pm    Post subject: Reply with quote

in these situations you can try downloading a portage snapshot first and uncompressing to /usr

http://distro.ibiblio.org/pub/linux/distributions/gentoo/snapshots/

Code:

tar xvfj poartage-foo.tar.bz2
Back to top
View user's profile Send private message
spOOwn
Apprentice
Apprentice


Joined: 02 Nov 2002
Posts: 259
Location: Belgium

PostPosted: Fri Dec 12, 2003 2:40 pm    Post subject: Reply with quote

thanks a lot, it works now !!! I remenber of this tricks :)
Back to top
View user's profile Send private message
codadilupo
Advocate
Advocate


Joined: 05 Aug 2003
Posts: 3134

PostPosted: Tue Jul 27, 2004 5:09 pm    Post subject: Reply with quote

I had the same problem:

Code:
Saltatempo root # emerge sync
Traceback (most recent call last):
  File "/usr/bin/emerge", line 2051, in ?
    mytimestamp=time.mktime(time.strptime(content[0], "%a, %d %b %Y %H:%M:%S +0000"))
  File "/usr/lib/python2.3/_strptime.py", line 424, in strptime
    raise ValueError("time data did not match format:  data=%s  fmt=%s" %
ValueError: time data did not match format:  data=  fmt=%a, %d %b %Y %H:%M:%S +0000
Saltatempo root #


... and I found out a faster way...

this is what:

Well, this is the initial situation:

Code:
Saltatempo root # find /usr/portage/ -name timestamp.chk
/usr/portage/metadata/dtd/timestamp.chk
/usr/portage/metadata/glsa/timestamp.chk
/usr/portage/metadata/timestamp.chk
Saltatempo root #


so, I decided to rename all the timestamp.chk files (;-)):

Code:
Saltatempo metadata # mv dtd/timestamp.chk dtd/timestamp.chk.bkp; mv glsa/timestamp.chk glsa/timestamp.chk.bkp ; mv timestamp.chk  timestamp.chk.bkp
Saltatempo metadata #


now, let's proof!:

Code:
Saltatempo metadata # emerge sync
>>> starting rsync with rsync://156.56.111.198/gentoo-portage...
>>> checking server timestamp ...
Welcome to hawk.gentoo.org

Server Address : 156.56.111.41
Contact Name   : mirror-admin@gentoo.org
Hardware       : 1 x Intel(R) Pentium(R) 4 CPU 2.40GHz, 2176MB RAM


Please note: common gentoo-netiquette says you should not sync more
than once a day.  Users who abuse the rsync.gentoo.org rotation
may be added to a temporary ban list.


MOTD brought to you by motd-o-matic, version 0.3

receiving file list ...
1 file to consider
timestamp.chk
          32 100%    0.00kB/s    0:00:00

Number of files: 1
Number of files transferred: 1
Total file size: 32 bytes
Total transferred file size: 32 bytes
Literal data: 32 bytes
Matched data: 0 bytes
File list size: 32
Total bytes written: 226
Total bytes read: 541

wrote 226 bytes  read 541 bytes  56.81 bytes/sec
total size is 32  speedup is 0.04
Welcome to hawk.gentoo.org

Server Address : 156.56.111.41
Contact Name   : mirror-admin@gentoo.org
Hardware       : 1 x Intel(R) Pentium(R) 4 CPU 2.40GHz, 2176MB RAM


Please note: common gentoo-netiquette says you should not sync more
than once a day.  Users who abuse the rsync.gentoo.org rotation
may be added to a temporary ban list.


MOTD brought to you by motd-o-matic, version 0.3

receiving file list ...
45710 files...


Yuhuu It works!!!!

a rapid eye-check ;-):

Code:
Saltatempo metadata # find /usr/portage/ -name timestamp.chk
/usr/portage/metadata/dtd/timestamp.chk
/usr/portage/metadata/glsa/timestamp.chk
/usr/portage/metadata/timestamp.chk
Saltatempo metadata #


Actually, it seems that, if the file timestamp.chk is corrupted, portage get crash, but, if the file simply does not exist, portage - simply, create it ;-)

Coda
_________________
# emerge -C gelmini
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum