I'm using fedora 7, 64-bit edition. I'm using yum version 3.2.0. I've added a repository for the fedora 7 installation DVD by adding the following files to the file /etc/yum.repos.d/fedora.repo:
[DVD]
name=Fedora $releasever - DVD
baseurl=file:///media/Fedora%207%20x86_64%20DVD
enabled=1
gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora file:///etc/pki/rpm-gpg/RPM-GP
G-KEY
name=Fedora $releasever - DVD
baseurl=file:///media/Fedora%207%20x86_64%20DVD
enabled=1
gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora file:///etc/pki/rpm-gpg/RPM-GP
G-KEY
When I try to install any development package from this repository(e.g. qt-devel), yum fetches the package and asks for confirmation to download it. After I confirm, it echos the following error messages:
Downloading Packages:
Then, I get the following error messages:
Traceback (most recent call last):
File "/usr/bin/yum", line 29, in <module>
yummain.main(sys.argv[1:])
File "/usr/share/yum-cli/yummain.py", line 172, in main
base.doTransaction()
File "/usr/share/yum-cli/cli.py", line 302, in doTransaction
problems = self.downloadPkgs(downloadpkgs)
File "/usr/lib/python2.5/site-packages/yum/__init__.py", line 798, in downloadPkgs
remote_pkgs.sort(mediasort)
File "/usr/lib/python2.5/site-packages/yum/__init__.py", line 747, in mediasort
a = a.getDiscNum()
File "/usr/lib/python2.5/site-packages/yum/packages.py", line 485, in getDiscNum
return int(fragid)
ValueError: invalid literal for int() with base 10: ''
Traceback (most recent call last):
File "/usr/bin/yum", line 29, in <module>
yummain.main(sys.argv[1:])
File "/usr/share/yum-cli/yummain.py", line 172, in main
base.doTransaction()
File "/usr/share/yum-cli/cli.py", line 302, in doTransaction
problems = self.downloadPkgs(downloadpkgs)
File "/usr/lib/python2.5/site-packages/yum/__init__.py", line 798, in downloadPkgs
remote_pkgs.sort(mediasort)
File "/usr/lib/python2.5/site-packages/yum/__init__.py", line 747, in mediasort
a = a.getDiscNum()
File "/usr/lib/python2.5/site-packages/yum/packages.py", line 485, in getDiscNum
return int(fragid)
ValueError: invalid literal for int() with base 10: ''
Is this a bug in this version of yum? Or am I just missing something else?
Appreciating your feedback. Thanks for your support.
Be a better Globetrotter. Get better travel answers from someone who knows.
Yahoo! Answers - Check it out.
-- fedora-list mailing list fedora-list@xxxxxxxxxx To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list