View previous topic :: View next topic |
Author |
Message |
ehj n00b
Joined: 02 Aug 2002 Posts: 29 Location: sweden
|
Posted: Fri Dec 13, 2002 9:24 am Post subject: binutils and util-linux: 300 Multiple Choices |
|
|
Hello!
emerge -up system tells me to:
[ebuild U ] sys-devel/binutils-2.13.90.0.16 [2.13.90.0.4-r0]
[ebuild U ] sys-apps/util-linux-2.11y [2.11u-r0]
but binutils and util-linux will not load from mirror (sunet.se):
300 Multiple Choices
similar fault from ibiblio too...
what's wrong?
//Erik |
|
Back to top |
|
|
engdy n00b
Joined: 13 Dec 2002 Posts: 2 Location: St. Louis, MO - USA
|
Posted: Fri Dec 13, 2002 9:51 pm Post subject: Here's what's wrong, but how to move on? |
|
|
It looks to me like util-linux-2.11y was compressed with bzip2, but emerge looks for a gzipped filename. In http://www.ibiblio.org/pub/Linux/distributions/gentoo/distfiles:
util-linux-2.11r.tar.gz
util-linux-2.11t.tar.gz
util-linux-2.11u.tar.gz
util-linux-2.11w.tar.gz
util-linux-2.11y.tar.bz2
Does anyone know how to tell emerge to use the bz2 file instead of gz? I tried bunzip2 -> gzip, but the checksum ended up being wrong. |
|
Back to top |
|
|
leonard n00b
Joined: 29 Nov 2002 Posts: 8 Location: USC, CA
|
|
Back to top |
|
|
engdy n00b
Joined: 13 Dec 2002 Posts: 2 Location: St. Louis, MO - USA
|
Posted: Sat Dec 14, 2002 1:01 am Post subject: |
|
|
Worked for me! Thanks leonard |
|
Back to top |
|
|
ehj n00b
Joined: 02 Aug 2002 Posts: 29 Location: sweden
|
Posted: Mon Dec 16, 2002 2:07 am Post subject: |
|
|
I do
and then
Now I get the same error as before but when downloading portage-2.0.45-r5.tar.bz2
Code: |
HTTP request sent, awaiting response... 300 Multiple Choices
Continued download failed on this file, which conflicts with `-c'.
Refusing to truncate existing file `/usr/portage/distfiles/portage-2.0.45-r5.tar.bz2'.
!!! portage-2.0.45-r5.tar.bz2: message digests do not match!
!!! portage-2.0.45-r5.tar.bz2 is corrupt or incomplete.
>>> our recorded digest: 28d2ef9a6de23c768884c6843255b82a
>>> your file's digest: 1807b26c9d6f81bd30542fbdddd6f3ff
>>> Please delete /usr/portage/distfiles/portage-2.0.45-r5.tar.bz2 and refetch.
|
I did not understand the advice given before (gz vs, b2z). Can I just wait for the next version, or will this problem persist until I do something?
//Erik |
|
Back to top |
|
|
Lasker Guru
Joined: 17 Jul 2002 Posts: 445
|
Posted: Mon Dec 16, 2002 10:59 pm Post subject: |
|
|
ehj wrote: |
Code: |
...snip
>>> Please delete /usr/portage/distfiles/portage-2.0.45-r5.tar.bz2 and refetch.
|
I did not understand the advice given before (gz vs, b2z). Can I just wait for the next version, or will this problem persist until I do something?
|
Did you try the advice in the last line? Looks very much like a corrupted file... |
|
Back to top |
|
|
ehj n00b
Joined: 02 Aug 2002 Posts: 29 Location: sweden
|
Posted: Tue Dec 17, 2002 12:27 am Post subject: |
|
|
Yes, but with the binutils file: First I deleted the file and then I did
emerge rsync
and
emerge -u system
but if I remember correctly the same thing happend again.
Could be that what I did is not what is meant by "refetch"?
Perhaps I should fetch the file manually and overwrite the
/usr/portage/distfiles/portage-2.0.45-r5.tar.bz2
file? In that case where do I find it?
Thanks for all the feedback!
//Erik |
|
Back to top |
|
|
Lasker Guru
Joined: 17 Jul 2002 Posts: 445
|
Posted: Tue Dec 17, 2002 1:58 am Post subject: |
|
|
No, why the binutils file? Delete portage-2.0.45-r5.tar.bz2 in /usr/portage/distfiles/ and emerge portage again.
All downloaded ebuilds resides in /usr/portage/distfiles.
If some of the downloaded files get broken (happens sometimes), you have to delete them.
Otherwise the already downloaded (broken in your case) files would be compiled again. |
|
Back to top |
|
|
ehj n00b
Joined: 02 Aug 2002 Posts: 29 Location: sweden
|
Posted: Sun Dec 22, 2002 1:11 am Post subject: util-linux and binutils still broken? |
|
|
util-linux still does not work for me:
Code: | bash-2.05a# emerge -u util-linux
Calculating dependencies ...done!
>>> emerge (1 of 1) sys-apps/util-linux-2.11y to /
>>> Resuming download...
>>> Downloading http://ftp.sunet.se/pub/Linux/distributions/gentoo/distfiles/uti
l-linux-2.11y-crypt-gentoo.patch.gz
--01:51:24-- http://ftp.sunet.se/pub/Linux/distributions/gentoo/distfiles/util-
linux-2.11y-crypt-gentoo.patch.gz
=> `/usr/portage/distfiles/util-linux-2.11y-crypt-gentoo.patch.gz'
Resolving ftp.sunet.se... done.
Connecting to ftp.sunet.se[194.71.11.40]:80... connected.
HTTP request sent, awaiting response... 300 Multiple Choices
Continued download failed on this file, which conflicts with `-c'.
Refusing to truncate existing file `/usr/portage/distfiles/util-linux-2.11y-cryp
t-gentoo.patch.gz'.
>>> md5 ;-) util-linux-2.11y.tar.bz2
!!! util-linux-2.11y-crypt-gentoo.patch.gz: message digests do not match!
!!! util-linux-2.11y-crypt-gentoo.patch.gz is corrupt or incomplete.
>>> our recorded digest: 45133b34f10632f3ffc012401e2a4b19
>>> your file's digest: 36809e78fde98b1989a3a122aa834c58
>>> Please delete /usr/portage/distfiles/util-linux-2.11y-crypt-gentoo.patch.gz
and refetch.
|
nor binutils
Code: |
bash-2.05a# emerge -p binutils
These are the packages that I would merge, in order:
Calculating dependencies ...done!
[ebuild U ] sys-devel/binutils-2.13.90.0.16 [2.13.90.0.4-r0]
bash-2.05a# emerge -u binutils
Calculating dependencies ...done!
>>> emerge (1 of 1) sys-devel/binutils-2.13.90.0.16 to /
>>> Downloading http://ftp.sunet.se/pub/Linux/distributions/gentoo/distfiles/binutils-2.13.90.0.16.tar.bz2
--02:02:14-- http://ftp.sunet.se/pub/Linux/distributions/gentoo/distfiles/binutils-2.13.90.0.16.tar.bz2
=> `/usr/portage/distfiles/binutils-2.13.90.0.16.tar.bz2'
Resolving ftp.sunet.se... done.
Connecting to ftp.sunet.se[194.71.11.20]:80... connected.
HTTP request sent, awaiting response... 300 Multiple Choices
Length: unspecified [text/html]
[ <=> ] 1,748 284.51K/s
02:02:36 (284.51 KB/s) - `/usr/portage/distfiles/binutils-2.13.90.0.16.tar.bz2' saved [1748]
!!! binutils-2.13.90.0.16.tar.bz2: message digests do not match!
!!! binutils-2.13.90.0.16.tar.bz2 is corrupt or incomplete.
>>> our recorded digest: d27a33db69b9799a414d98f4b274b3a6
>>> your file's digest: d912a8c74414f7e4b42d00acb952708b
>>> Please delete /usr/portage/distfiles/binutils-2.13.90.0.16.tar.bz2 and refetch.
|
I have put an older verson of binutils here:
/usr/portage/distfiles/binutils-2.13.90.0.4.tar.bz2
and tried to emerge it with
emerge -k
but that did not work.
btw. excellent help here:
http://cvs.gentoo.org/~seemant/
on another topic
//Erik |
|
Back to top |
|
|
|