- set enabled=0 in fedora.repo and fedora-updates.repo
- mount f7 dvd under /media/disk
- manually install createrepo rpm with "rpm -i"
- cd /media
- createrepo .
this creates a repodata directory tree under /media
- create fedora-DVD.repo file under /etc/yum.repos.d
with this in it:
[fedora-DVD]
baseurl=file:///media/disk
enabled=1
Now for example the command
yum search mysql -libs
gives a list of packages both installed and from the new configured fedora-DVD repository.
But pirut fails with a traceback
for example if I select amarok I get dependencies added, than I select continue and then I get
unhandled exception:
"
Component: Software Manager
Summary: TB21f8f94d packages.py:485:getDiscNum:ValueError: invalid literal for int() with base 10: ''
Traceback (most recent call last):
File "/usr/sbin/pirut", line 337, in _apply
self.applyChanges(self.mainwin)
File "/usr/lib/python2.5/site-packages/pirut/__init__.py", line 722, in applyChanges
dlpkgs = self.downloadPackages (mainwin)
File "/usr/lib/python2.5/site-packages/pirut/__init__.py", line 417, in downloadPackages
probs = self.downloadPkgs(dlpkgs)
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: ''
Local variables in innermost frame:
self: htdig - 3:3.2.0b6-11.fc7.i386
netloc:
fragid:
path: //1180276843.561677
query:
scheme: media
"
also with yum I get the same
ValueError: invalid literal for int() with base 10: ''
yum install amarok
goes through all dependency check but after confirmation of installation I get
Total download size: 76 M
Is this ok [y/N]: y
Downloading Packages:
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: ''
Any hints?
I'm going to install f8 t2 on a vm and see if it is easier to do what I want...
Thanks for your help
Gianluca
-- fedora-test-list mailing list fedora-test-list@xxxxxxxxxx To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-test-list