Bug on Pirut Add/Remove Software and Yum TB21f8f94d packages.py
Pirut bug on Fedora 7
There is some bug on using Add/Remove software or PIRUT on Fedora 7. This problem accour when trying to install Fedora 7 software from the Fedora 7 installation disk. The solution is update the PIRUT and YUM for Fedora 7. Below is the step by step process on updating the PIRUT AND YUM and their dependencies software.
PIRUT Software Manager Bug Message.
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
Solution Update Pirut and Yum.
1. Download latest package for Pirut and Yum on the Fedora 7 update server.
2. Download Pirut and Yum, include their dependencies software.
pirut-1.3.28-1.fc7.noarch.rpm
python-iniparse-0.2.3-3.fc7.noarch.rpm
yum-3.2.8-2.fc7.noarch.rpm
yum-updatesd-3.2.8-2.fc7.noarch.rpm
3. Update the Pirut and Yum using RPM on shell.
4. The command execution below show the Pirut and Yum being update using RPM command.
[root@localhost rpm]# rpm -Uvh pirut-1.3.28-1.fc7.noarch.rpm python-iniparse-0.2.3-3.fc7.noarch.rpm yum-3.2.8-2.fc7.noarch.rpm yum-up
yum-updateonboot-1.1.10-1.fc7.noarch.rpm
yum-updatesd-3.2.8-2.fc7.noarch.rpm
yum-upgrade-helper-1.1.10-1.fc7.noarch.rpm
[root@localhost rpm]# rpm -Uvh pirut-1.3.28-1.fc7.noarch.rpm python-iniparse-0.2.3-3.fc7.noarch.rpm yum-3.2.8-2.fc7.noarch.rpm yum-updatesd-3.2.8-2.fc7.noarch.rpm
warning: pirut-1.3.28-1.fc7.noarch.rpm: Header V3 DSA signature: NOKEY, key ID 4f2a6fd2
Preparing... ########################################### [100%]
1:yum ########################################### [ 25%]
2:python-iniparse ########################################### [ 50%]
3:pirut ########################################### [ 75%]
4:yum-updatesd ########################################### [100%]
[root@localhost rpm]#
5. Execute yum clean all command before you try to install or update any software to clean all yum cache.
[root@localhost ~]# yum clean all
Cleaning up Everything
[root@localhost ~]#
Keywords: pirut, update pirut, bug add remove software, bug add software, bug remove software, software manager bug
| Attachment | Size |
|---|---|
| update_pirut_fedora7_rpm.rar | 1.35 MB |
| update_pirut_fedora7_rpm.zip | 1.35 MB |
- Add new comment
- 4433 reads
- Email this page
Thanks for Reading and Check Other Popular Linux Topics
All time:
- Configure and Setup Squid Cache Proxy Server on Fedora Core.
- Using Linux rm command to delete, remove hidden files and folder - Basic Linux Command.
- Copy Linux Files and Copy Directory Using cp Command - Linux Basic Command.
- Moving or rename files and directory using Linux mv command - Basic Linux Command.
- Add, view, edit and configure route and static route on Linux Fedora Core - Linux Server Configuration.
- Get and display the size of file and directory in Linux system using du command.
- Step by step Install Setup and Configure Linux Fedora Core Server and Network Management with Screen Shot and Example.
- Create file and display file contents in Linux using cat command.
- Configure Squid to block HTTP request to specific web sites.
- Example of samba smbpasswd file and samba smbusers configuration file.


Recent comments
5 days 12 hours ago
1 week 2 days ago
5 weeks 2 days ago
10 weeks 16 hours ago
10 weeks 18 hours ago
10 weeks 5 days ago
11 weeks 1 day ago
11 weeks 5 days ago
11 weeks 6 days ago
18 weeks 2 days ago