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