Bug 952357 - deltarpm progress over ssh problem
Summary: deltarpm progress over ssh problem
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: yum
Version: 19
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Packaging Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-04-15 18:56 UTC by Fabrice Bellet
Modified: 2013-04-23 03:36 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-04-23 03:36:32 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Fabrice Bellet 2013-04-15 18:56:59 UTC
Hi!

since yum-3.4.3-82.fc19, yum update command fails through ssh, if not pseudo tty is allocated (ssh -t) with this error message :

$ ssh root@rawhide yum -q -y  update --debuglevel=10
Finishing delta rebuilds of 3 package(s) (4.9 M)
Traceback (most recent call last):
  File "/usr/bin/yum", line 29, in <module>
    yummain.user_main(sys.argv[1:], exit_code=True)
  File "/usr/share/yum-cli/yummain.py", line 316, in user_main
    errcode = main(args)
  File "/usr/share/yum-cli/yummain.py", line 219, in main
    return_code = base.doTransaction()
  File "/usr/share/yum-cli/cli.py", line 593, in doTransaction
    problems = self.downloadPkgs(downloadpkgs, callback_total=self.download_callback_total_cb) 
  File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 2337, in downloadPkgs
    presto.dequeue_all()
  File "/usr/lib/python2.7/site-packages/yum/drpm.py", line 277, in dequeue_all
    self.progress.start(text='<locally rebuilding deltarpms>', size=total)
AttributeError: 'NoneType' object has no attribute 'start'

Comment 1 Zdeněk Pavlas 2013-04-16 07:16:19 UTC
Oh, I've overlooked that the progress meter might be turned off.. Also triggered when ran with -d0.  Easy fix, thanks for the report!

Comment 2 Fedora Update System 2013-04-16 14:18:59 UTC
yum-3.4.3-83.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/yum-3.4.3-83.fc19

Comment 3 Fedora Update System 2013-04-16 16:13:38 UTC
Package yum-3.4.3-83.fc19:
* should fix your issue,
* was pushed to the Fedora 19 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing yum-3.4.3-83.fc19'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-5805/yum-3.4.3-83.fc19
then log in and leave karma (feedback).

Comment 4 Fedora Update System 2013-04-23 03:36:34 UTC
yum-3.4.3-83.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.


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