Add/Remove Software

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Today
when i use Add/Remove Software to install the KDE Development tools
I use my DVD to install it
First ,I create a new repos file in dirctory:/etc/yum.repos.d/ and named local.repo
the content is:
[local_DVD]
baseurl=file:///DVD
enable=1
comment:I extract the iso files to /DVD directory

and change fedora-updates.repo file section item "enable" to 0
then i run this as root:
############################################
...
Transaction Summary
=============================================================================
Install     38 Package(s)        
Update       0 Package(s)        
Remove       0 Package(s)        

Total download size: 91 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: ''

############################################

All of the 38 packages 's Repository is local_DVD
How can i sovle this problem
Thanks



网易免费邮,全球最大的中文免费邮箱
-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux