Subject: | |
From: | |
Reply To: | |
Date: | Tue, 16 Oct 2007 10:37:26 +0800 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
Connie Sieh wrote:
> On Sun, 14 Oct 2007, John Summerfield wrote:
>
>> I've mounted my DVD ISO and can access the readme at
>> http://rhel.demo.lan/ScientificLinux/5.0/i386/os/README
>>
>> The instructions for setting up the install tree (just above INSTALL)
>> were correct for previous releases, but are now probably wrong: one does
>> not merge repos that way!.
>
> I will look at the README and fix it.
>
>>
>> However, for DVD images the error does not matter. I have set up my
>> install tree by "mount -o loop," equivalent to copying the image as
>> described in that readme.
>>
>> When I try to "yum install" from the tree, this is what happens:
>>
>> 10:02 [summer@numbat ~]$ sudo yum install libnjb-devel libmtp-devel
>> libid3tag-devel
>> Password:
>> Loading "kernel-module" plugin
>> Setting up Install Process
>> Setting up repositories
>> Reading repository metadata in from local files
>> 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:02 [summer@numbat ~]$
>>
>> On looking at the file SL/repodata/primary.xml.gz
>>
>> I see ="media://1178298547.683145"
>> href="libid3tag-devel-0.15.1b-3.sl.i386.rpm"/><format><rpm:license>GPL</rpm:license><rpm:vendor>Scientific
>>
>>
>> I'm using this 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/os/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:13 [summer@numbat ~]$
>>
>>
>> What might be wrong, and how do I fix it?
>>
>
> media is a newer feature of createrepo which is used to determine what
> media a rpm is on. I guess it is not really needed for a dvd image as
> there is only 1 media. But it is needed for the cd images. In this
> first SL5 release I took the cd images and made a dvd out of it. I will
> research if I can do this differently in the future.
Ah, does this mean I can't just mount the DVD on a loopback drive and
serve it up? That's what I am trying to do. I'd rather not spend another
few Gbytes of disk on this:-(
The Fedora Core 6 and Fedora 7 have the same kind of URLs. Both lack the
README or anything similar, afaics.
I have CentOS5 CD images, not DVD, and they also have the media thing,
and no README.
I think I'll ask a related question on RH's Anaconda list.
--
Cheers
John
-- spambait
[log in to unmask] [log in to unmask]
Please do not reply off-list
|
|
|