Re: FC6: yum problem: unknown url type: media

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

 



Kevin Layer schrieb:
> Some details.  If I add the `print' below to
> /usr/lib/python2.4/site-packages/yum/sqlitesack.py:
> 
> class YumAvailablePackageSqlite(YumAvailablePackage):
> ...        
>     def returnSimple(self, varname):
> ...
>             c.execute(query)
>             r = c.fetchone()
>             self.simple[varname] = r[0]
>             if varname == 'basepath':
>                 print "db query for %s returned %s\n" % (varname, r[0])
> 
> it prints this:
> 
> [root@relay ~]# yum install amanda
> Loading "installonlyn" 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 amanda to pack into transaction set.
> db query for basepath returned media://1161131669.029329#4
> 
> media://1161131669.029329%234/Fedora/RPMS/amanda-2.5.0p2-4.i386.rpm: [Errno 4] IOError: <urlopen error unknown url type: media>
> Trying other mirror.
> Error: failed to retrieve Fedora/RPMS/amanda-2.5.0p2-4.i386.rpm from core
> error was [Errno 4] IOError: <urlopen error unknown url type: media>
> [root@relay ~]# 
> 
> 
> So, in the bad case, it's getting the media://... out of the database.
> 
> How do I verify that the sqlite database is OK?  Can it be rebuilt?
> 
> I've done "yum clean all" and uninstalled yum (actually, anything with
> yum in the name) and reinstalled (with rpm).  Same deal.
> 
> The thought of going back to just rpm is a deal killer for me.
> 
I have the same problem with FC6 on repos on file systems. With FC5 it works. So I think it is an bug.

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux