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 |
- 8954 reads
- Email this page
Recent comments
8 years 5 weeks ago
8 years 9 weeks ago
8 years 21 weeks ago
8 years 28 weeks ago
8 years 38 weeks ago
8 years 41 weeks ago
8 years 48 weeks ago
9 years 3 weeks ago
9 years 7 weeks ago
9 years 12 weeks ago