update-manager needs to depend on python-vte

Bug #66376 reported by jhellen
6
Affects Status Importance Assigned to Milestone
update-manager (Ubuntu)
Confirmed
Medium
Unassigned

Bug Description

The package python-vte must be installed before dapper can be upgraded to edgy eft with 'update-manager -c -d'

sudo update-manager -c -d
Password:
/usr/lib/python2.4/site-packages/apt/__init__.py:17: FutureWarning: apt API not stable yet
  warnings.warn("apt API not stable yet", FutureWarning)
extracting '/tmp/tmpqbYIu1/edgy.tar.gz'
authenticate '/tmp/tmpqbYIu1/edgy.tar.gz' against '/tmp/tmpqbYIu1/edgy.tar.gz.gpg'
can't find DistUpgradeViewGtk

Revision history for this message
Michael Vogt (mvo) wrote :

Thanks for your bugreport.

Do you have python-vte installed? There is a missing dependency in dapper for it.

Thanks,
 Michael

Changed in update-manager:
status: Unconfirmed → Needs Info
Revision history for this message
jhellen (jukka-hellen) wrote : Re: [Bug 66376] Re: update-manager -c -d (can't find DistUpgradeViewGtk)

I installed python-vte and the upgrade started nicely. I went away
from my computer and when I came back the screen was all black and I
couldn't kill anything. I had to powerdown and start everything over.
Luckily I could type some commands after this incident. There was
about ten dependency problems that were easily solved just by
installing them. One of them was libnewt0.52

Later it also complained something about sysenter_past_esp+0x54/0x75
but that disappeared after a couple of upgrades :)

Afetr about ten dist-upgrades I finally got my system running again
with all updates.

The upper panel was filled with unknown (gnome-feet) icons. BTW I
found one beside that show-desktop icons also. Everything else works
fine now.

I cannot really tell what's new in this but it feels nice and complete.

Thanks!
- Jukka

On 10/17/06, Michael Vogt <email address hidden> wrote:
> Thanks for your bugreport.
>
> Do you have python-vte installed? There is a missing dependency in
> dapper for it.
>
> Thanks,
> Michael
>
> ** Changed in: update-manager (Ubuntu)
> Status: Unconfirmed => Needs Info
>
> --
> update-manager -c -d (can't find DistUpgradeViewGtk)
> https://launchpad.net/bugs/66376
>

Revision history for this message
Michael Vogt (mvo) wrote : Re: update-manager -c -d (can't find DistUpgradeViewGtk)

Thanks for this additional information. That sounds pretty serious. Could you please attach the files from /var/log/dist-upgrade/* to this bugreport so that I can try to debug the problem? Could you also please tell me if you use a screensaver with locking feature?

Thanks,
 Michael

Changed in update-manager:
importance: Undecided → High
Revision history for this message
jhellen (jukka-hellen) wrote :

No, I don't use that locking feature with my screensaver.

Revision history for this message
Artur Brodowski (bzd) wrote :

I have the same problem, but it's not about python-vte:

bzd@oysterhead:~$ gksu "update-manager -c -d"
/usr/lib/python2.4/site-packages/apt/__init__.py:17: FutureWarning: apt API not stable yet
  warnings.warn("apt API not stable yet", FutureWarning)
extracting '/tmp/tmpmrGP6q/edgy.tar.gz'
authenticate '/tmp/tmpmrGP6q/edgy.tar.gz' against '/tmp/tmpmrGP6q/edgy.tar.gz.gpg'
Error in sys.excepthook:
Traceback (most recent call last):
  File "/tmp/tmpmrGP6q/DistUpgradeViewGtk.py", line 368, in _handleException
    self.error(_("A fatal error occured"),
  File "/usr/lib/python2.4/gettext.py", line 577, in gettext
    return dgettext(_current_domain, message)
  File "/usr/lib/python2.4/gettext.py", line 541, in dgettext
    codeset=_localecodesets.get(domain))
  File "/usr/lib/python2.4/gettext.py", line 489, in translation
    t = _translations.setdefault(key, class_(open(mofile, 'rb')))
  File "/usr/lib/python2.4/gettext.py", line 177, in __init__
    self._parse(fp)
  File "/usr/lib/python2.4/gettext.py", line 302, in _parse
    self.plural = c2py(plural)
  File "/usr/lib/python2.4/gettext.py", line 86, in c2py
    raise ValueError, \
ValueError: plural forms expression error, maybe unbalanced parenthesis

Original exception was:
Traceback (most recent call last):
  File "/tmp/tmpmrGP6q/edgy", line 38, in ?
    app = DistUpgradeControler(view, options)
  File "/tmp/tmpmrGP6q/DistUpgradeControler.py", line 108, in __init__
    self._view.updateStatus(_("Reading cache"))
  File "/usr/lib/python2.4/gettext.py", line 577, in gettext
    return dgettext(_current_domain, message)
  File "/usr/lib/python2.4/gettext.py", line 541, in dgettext
    codeset=_localecodesets.get(domain))
  File "/usr/lib/python2.4/gettext.py", line 489, in translation
    t = _translations.setdefault(key, class_(open(mofile, 'rb')))
  File "/usr/lib/python2.4/gettext.py", line 177, in __init__
    self._parse(fp)
  File "/usr/lib/python2.4/gettext.py", line 302, in _parse
    self.plural = c2py(plural)
  File "/usr/lib/python2.4/gettext.py", line 86, in c2py
    raise ValueError, \
ValueError: plural forms expression error, maybe unbalanced parenthesis

bzd@oysterhead:~$ sudo apt-get install python-vte
Reading package lists... Done
Building dependency tree... Done
python-vte is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

Revision history for this message
Michael Vogt (mvo) wrote :

@Artur Brodowski: This is a different problem, see bug #63344

Revision history for this message
Mark Williamson (maw48) wrote :

I also experienced the DistUpgradeViewGtk problem and solved it by installing python-vte. I was only able to figure this out because I debug Python code at work.

I'd think python-vte should be made a dependency of update-manager - that would solve this problem straightforwardly unless people ever download & run dist-upgrade.py directly!

The update is now in progress, but I'm sure that any system hangs reported are a separate bug to the - quite simple to fix - python-vte bug.

Hope this helps some - figured I'd report this so that other updaters to edgy will not have this problem.

Michael Vogt (mvo)
Changed in update-manager:
status: Needs Info → Confirmed
importance: High → Medium
Revision history for this message
Rolf Leggewie (r0lf) wrote :

bug 67999 is the same bug.

Leave it up to you to decide which one to mark as dupe ;-)

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.