Subject: | |
From: | |
Reply To: | |
Date: | Tue, 16 Oct 2007 10:22:22 +0800 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
Troy Dawson wrote:
> John Summerfield wrote:
>> Bly, MJ (Martin) wrote:
>>> In my case, I was actually doing an install from an hdd copy of the
>>> files from a DVD over a network using http. Various other experiments
>>> eventually proved the DVD to be a 'bad' copy but remaking the index on
>>> (hard) disk solved the problem.
>>
>> I'm sure I installed from this image.
>>
>
> Where are you pointing on the DVD with yum?
> Are you pointing at the base directory or at SL?
>
> Troy
>
Things change a bit when I ran a "yum clean all." Thinks I changed
suddenly began to make a difference.
Your question caused me to fiddle a bit. Nothing's changed; heres my
current repo definition:
10:12 [summer@numbat ~]$ cat /etc/yum.repos.d/install.repo
[sl-base]
name=SL 5 base
#aseurl=ftp://ftp.scientificlinux.org/linux/scientific/50/$basearch/SL
baseurl=http://rhel.demo.lan/ScientificLinux/5.0/i386/SL
debug=4
#mirrorlist=ftp://ftp.scientificlinux.org/linux/scientific/mirrorlist/sl-base-50.txt
enabled=1
gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-csieh
file:///etc/pki/rpm-gpg/RPM-GPG-KEY-dawson
file:///etc/pki/rpm-gpg/RPM-GPG-KEY-jpolok
file:///etc/pki/rpm-gpg/RPM-GPG-KEY-cern
file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5
10:15 [summer@numbat ~]$
I'm a bit puzzled about the question; if I had it wrong, I would expect
a 404 on repodata stuff. I ran a TCP dump while running "yum install"
Here's the essential output:
10:13 [summer@numbat ~]$ sudo tcpdump -i eth0 -s 9999 -r /tmp/trace -A
host 192.168.9.4 and port 80 | fgrep HTTP/1.1
reading from file /tmp/trace, link-type EN10MB (Ethernet)
1.p9..].GET /ScientificLinux/5.0/i386/SL/repodata/repomd.xml HTTP/1.1
..].1.p9HTTP/1.1 200 OK
1......8GET /ScientificLinux/5.0/i386/SL/repodata/primary.xml.gz HTTP/1.1
...91...HTTP/1.1 200 OK
10:13 [summer@numbat ~]$
It's getting the repo data, it's not asking for the packages.
Here is the latest yum output:
0:11 [summer@numbat ~]$ sudo yum clean all
Loading "kernel-module" plugin
Cleaning up Everything
10:11 [summer@numbat ~]$ sudo yum install libmtp-devel libnjb-devel
libid3tag-devel
Loading "kernel-module" plugin
Setting up Install Process
Setting up repositories
sl-security 100% |=========================| 951 B 00:00
sl-base 100% |=========================| 1.3 kB 00:00
Reading repository metadata in from local files
primary.xml.gz 100% |=========================| 183 kB 00:02
sl-securit: ################################################## 478/478
primary.xml.gz 100% |=========================| 841 kB 00:00
sl-base : ################################################## 2454/2454
Parsing package install arguments
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for libid3tag-devel to pack into transaction set.
media://1178298547.683145/libid3tag-devel-0.15.1b-3.sl.i386.rpm: [Errno
4] IOError: <urlopen error unknown url type: media>
Trying other mirror.
Error: failed to retrieve libid3tag-devel-0.15.1b-3.sl.i386.rpm from sl-base
error was [Errno 4] IOError: <urlopen error unknown url type: media>
10:12 [summer@numbat ~]$
Presumably, that media stuff is supposed to get replaced with the
baseurl, which is where the files are:
10:15 [summer@numbat ~]$
baseurl=http://rhel.demo.lan/ScientificLinux/5.0/i386/SL
10:20 [summer@numbat ~]$ lynx -head -dump
${baseurl}/libid3tag-devel-0.15.1b-3.sl.i386.rpm
HTTP/1.1 200 OK
Date: Tue, 16 Oct 2007 02:23:50 GMT
Server: Apache/2.0.52 (White Box)
Last-Modified: Fri, 13 Apr 2007 21:21:27 GMT
ETag: "218a-9b75-161483c0"
Accept-Ranges: bytes
Content-Length: 39797
Connection: close
Content-Type: application/x-rpm
10:21 [summer@numbat ~]$
--
Cheers
John
-- spambait
[log in to unmask] [log in to unmask]
Please do not reply off-list
|
|
|