Opened 9 years ago
Closed 9 years ago
#176 closed defect (fixed)
Yum Bootstrap Errors - cannot install
Reported by: | slab0 | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | yum | Version: | |
Severity: | high | Keywords: | |
Cc: | slab0 |
Description
My setup:
OS/2 Warp 4.52
Kernel: 14.106_W4
Convenience Package 2
First, I installed kLibc 0.6.6 Library:
ftp://ftp.netlabs.org/pub/gcc/libc-0_6_6-csd6.wpi
The I installed the bootstrap installer:
http://rpm.netlabs.org/bootstrap/rpm-yum-bootstrap-1_5-i386.wpi
'Yum Bootstrap Console' gives this:
Repository setup
Testing internet connection: "yum repolist"...
netlabs-rel 100% |=========================| 2.9 kB 00:00
netlabs-rel/primary_db 100% |=========================| 753 kB 00:01
http://www.2rosenthals.com/rpm.netlabs.org/release/00/i386/repodata/1acf6a49fbcd6984b8e8ec7475efd6f29704591c7e702a0e68f6c712bcf9d92d-primary.sqlite.bz2: [Errno-1] Metadata file does not match checksum
Trying other mirror.
http://rpm.netlabs.org/release/00/i386/repodata/1acf6a49fbcd6984b8e8ec7475efd6f29704591c7e702a0e68f6c712bcf9d92d-primary.sqlite.bz2: [Errno 14] HTTP Error 404:Not Found
Trying other mirror.
http://www.2rosenthals.com/rpm.netlabs.org/release/00/i386/repodata/1acf6a49fbcd6984b8e8ec7475efd6f29704591c7e702a0e68f6c712bcf9d92d-primary.sqlite.bz2: [Errno 9] Requested Range Not Satisfiable
Trying other mirror.
http://rpm.netlabs.org/release/00/i386/repodata/1acf6a49fbcd6984b8e8ec7475efd6f29704591c7e702a0e68f6c712bcf9d92d-primary.sqlite.bz2: [Errno 14] HTTP Error 404:Not Found
Trying other mirror.
repo id repo name status
netlabs-rel Netlabs Stable Repository 00 - i386 0
repolist: 0
I've tried uninstalling and reinstalling numerous times over the last week, but I got the same errors each time. This morning, I entered 'yum clean metadata' after getting the error, exited the console, and re-ran 'Yum Bootstrap Console'. This allowed the initial step to complete without error. I then entered 'yum
install yum' as directed, and now I get (last several lines of the error):
(2/60): ash-sh-0.0.1-1.oc 100% |=========================| 61 kB 00:00
http://rpm.netlabs.org/release/00/i386/i386/ash-sh-0.0.1-1.oc00.i386.rpm: [Errno -1] Package does not match intended download. Suggestion: run yum clean metadata
Trying other mirror.
(2/60): ash-sh-0.0.1-1.oc 100% |=========================| 61 kB 00:00
http://www.2rosenthals.com/rpm.netlabs.org/release/00/i386/i386/ash-sh-0.0.1-1.oc00.i386.rpm: [Errno -1] Package does not match intended download. Suggestion: run yum clean metadata
Trying other mirror.
(3/60): bash-3.2.0-7.oc00 100% |=========================| 368 kB 00:02
http://rpm.netlabs.org/release/00/i386/i386/bash-3.2.0-7.oc00.i386.rpm: [Errno -1] Package does not match intended download. Suggestion: run yum clean metadata
Trying other mirror.
(3/60): bash-3.2.0-7.oc00 100% |=========================| 368 kB 00:01
http://www.2rosenthals.com/rpm.netlabs.org/release/00/i386/i386/bash-3.2.0-7.oc00.i386.rpm: [Errno -1] Package does not match intended download. Suggestion: run yum clean metadata
Trying other mirror.
(4/60): bzip2-libs-1.0.6- 100% |=========================| 33 kB 00:00
(5/60): ca-certificates-2 100% |=========================| 649 kB 00:06
http://rpm.netlabs.org/release/00/i386/noarch/ca-certificates-2011.80-1.oc00.noarch.rpm: [Errno -1] Package does not match intended download. Suggestion: run yum clean metadata
Trying other mirror.
(5/60): ca-certificates-2 100% |=========================| 649 kB 00:01
[Errno 0] Error
I then entered 'yum clean metadata' as suggested, re-ran 'yum install yum', and got the same errors.
I've also tried various combinations of the following commands, to no avail:
yum clean metadata
yum clean all
yum updaate
rpm --rebuilddb
Change History (5)
comment:1 by , 9 years ago
Cc: | added |
---|---|
Component: | rpm → yum |
comment:2 by , 9 years ago
comment:3 by , 9 years ago
I would also try a "yum clean all" (this may be accomplished from the Arca Noae Package Manager menu, as well: YUM | Clean... | All).
For now, at least, be sure that the 2rosenthals.com mirror is listed in the netlabs-rel.repo file. You should be able to get clean metadata from that mirror while the Netlabs issue with the main repository persists.
comment:4 by , 9 years ago
I did try "yum clean all" several times, among other things. As it turns out, while doing my once or twice daily attempt to uninstall/re-run the yum bootstrap, it started to work again. Pretty sure the main repository was the issue.
I went ahead and installed ANPM as suggested, and that also worked fine, except for the last couple of days the Available Packages list stopped showing any packages at all. As of today, that issue seems to be fixed as well (I just confirmed that netlabs-rel.repo does indeed have the 2rosenthals.com mirror listed as per ticket #177...not sure if it was there previously or not, but it is now).
All seems to be good at this point... thanks much for the feedback.
comment:5 by , 9 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
the reason might have been issue #177.
I would start from scratch, as something must be really broken. I also suggest to look at the 2nd installation option. The Arca Noae Package Manager ANPM.
I just added the links to the main wiki.