Bug 428516 - Unable to upgrade software to latest release (version) via pirut
Unable to upgrade software to latest release (version) via pirut
Status: CLOSED RAWHIDE
Product: Fedora
Classification: Fedora
Component: pirut (Show other bugs)
8
i686 Linux
low Severity high
: ---
: ---
Assigned To: Jeremy Katz
Fedora Extras Quality Assurance
:
Depends On:
Blocks: F9Blocker
  Show dependency treegraph
 
Reported: 2008-01-12 13:33 EST by john posey
Modified: 2008-02-05 15:47 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2008-02-05 15:47:41 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:


Attachments (Terms of Use)

  None (edit)
Description john posey 2008-01-12 13:33:06 EST
Description of problem:
Unable to run PUP to upgrade OS and components

Version-Release number of selected component (if applicable):
$ uname -a
Linux 2.6.23.9-85.fc8 #1 SMP Fri Dec 7 15:49:36 EST 2007 x86_64 x86_64 x86_64
GNU/Linux

pirut-1.3.28-1.fc8.rpm

How reproducible:
Run process to upgrade to latest version of Fedora 8

Steps taken too Reproduce:
1. Initial run of PUP (As software upgrader), error occurs. Captured.
2. Reboot and rerun PUP (As software upgrader) and error re-occurs.
3. Run PUP (As Add/Remove Software) to remove Package Upgrader.  
4. When to Fedora site to retrieve latest version of PUP 
                                        (via upgrade sub-directory)
   a. Note system-config-printer-0.7.74.4-3.fc8 (dependent)

5. RPM --install to retore both pirut and system-config-printer (versions listed
above).

6.  Ran PUP (as software upgrader) and error re-occurs.

  
Actual results:
1.  After de-install and re-installing the packages, the error didn't go away.

Expected results:


Additional info:
Error occurs after Package updater lists available updates available.


Component: pirut
Summary: TBd280403a miscutils.py:287:splitFilename:TypeError: 'NoneType' object
is unsubscriptable

Traceback (most recent call last):
  File "/usr/sbin/pup", line 611, in <module>
    main()
  File "/usr/sbin/pup", line 607, in main
    pup.run()
  File "/usr/sbin/pup", line 447, in run
    self.doRefresh()
  File "/usr/sbin/pup", line 287, in doRefresh
    self.populateUpdates()
  File "/usr/sbin/pup", line 369, in populateUpdates
    % (rpmUtils.miscutils.splitFilename(srpm)[0],),
  File "/usr/lib/python2.5/site-packages/rpmUtils/miscutils.py", line 287, in
splitFilename
    if filename[-4:] == '.rpm':
TypeError: 'NoneType' object is unsubscriptable

Local variables in innermost frame:
filename: None
Comment 1 john posey 2008-01-12 22:34:34 EST
After downloading the source code for pirut (pirut-1.3.28-1.fc8.src.rpm) and
finding the statement where the error occurred and then following the code
proceeding this statement gave me a clue for a work around.  I noticed that srpm
was part of the if statement, after reviewing the repository manager screen, I
unchecked both the fedora source and updates-source check boxes. This worked. 
Software updater was able to proceed with the latest updates.   
Comment 2 Jeremy Katz 2008-02-05 15:47:41 EST
Fixed in git; will be in pirut-1.3.31

Note You need to log in before you can comment on or make changes to this bug.