F7: Yum crash when installing package
Rahul Sundaram
sundaram at fedoraproject.org
Sat Jun 2 22:06:03 UTC 2007
Clodoaldo wrote:
> F7. When I try to install postgresql:
>
> # yum install postgresql
> Loading "installonlyn" plugin
> Setting up Install Process
> Parsing package install arguments
> Resolving Dependencies
> --> Running transaction check
> ---> Package postgresql.i386 0:8.2.3-2.fc7 set to be updated
> --> Processing Dependency: libpq.so.5 for package: postgresql
> --> Restarting Dependency Resolution with new changes.
> --> Running transaction check
> ---> Package postgresql-libs.i386 0:8.2.3-2.fc7 set to be updated
>
> Dependencies Resolved
>
> =============================================================================
>
> Package Arch Version Repository Size
> =============================================================================
>
> Installing:
> postgresql i386 8.2.3-2.fc7 fedora 3.0 M
> Installing for dependencies:
> postgresql-libs i386 8.2.3-2.fc7 fedora 195 k
>
> Transaction Summary
> =============================================================================
>
> Install 2 Package(s)
> Update 0 Package(s)
> Remove 0 Package(s)
>
> Total download size: 3.2 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: ''
Do file this in http://bugzilla.redhat.com against yum.
Rahul
More information about the fedora-list
mailing list