software-center misses a dependency on libgtk2-perl

Bug #1389582 reported by Frantisek Boranek
54
This bug affects 12 people
Affects Status Importance Assigned to Milestone
One Hundred Papercuts
Invalid
High
Unassigned
software-center (Ubuntu)
Invalid
High
Unassigned
Nominated for Trusty by Alberto Salvia Novella
Declined for Vivid by Brian Murray
Nominated for Wily by Alberto Salvia Novella
Nominated for Xenial by Alberto Salvia Novella

Bug Description

Step to reproduce:
  try to install package with debconf wizard (in my case, via double click on third-party Debian package)

Current result:
 After long time installation fails.

Expected:
 Dialog is appear and a instalation is succesful.

Workaround is to use just command line or install libgtk2-perl and then the installation via software-centrum doesn't fail.

$ lsb_release -rd
Description: Ubuntu 14.04.1 LTS
Release: 14.04

Logs:

debconf: unable to initialize frontend: Gnome
debconf: (Can't locate Gtk2.pm in @INC (you may need to install the Gtk2 module) (@INC contains: /etc/perl /usr/local/lib/perl/5.18.2 /usr/local/share/perl/5.18.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.18 /usr/share/perl/5.18 /usr/local/lib/site_perl .) at /usr/share/perl5/Debconf/FrontEnd/Gnome.pm line 91.)
debconf: falling back to frontend: Dialog
Killed

Revision history for this message
Frantisek Boranek (fboranek) wrote :
affects: update-manager (Ubuntu) → software-center (Ubuntu)
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in software-center (Ubuntu):
status: New → Confirmed
Revision history for this message
Benjamin Bach (benjaoming) wrote :
Revision history for this message
Benjamin Bach (benjaoming) wrote :

Another apparent version of this bug, "eula not shown when installed via restricted-extras"

https://bugs.launchpad.net/ubuntu/+source/software-center/+bug/1389582

Revision history for this message
Brian Murray (brian-murray) wrote :

I think I've tracked this down to the following change.

apturl (0.5.2ubuntu4) trusty; urgency=medium

  * Drop libgtk2-perl Recommends to Suggests.

 -- Dimitri John Ledkov <email address hidden> Sun, 16 Mar 2014 02:56:58 +0000

tags: added: trusty vivid wily
Changed in software-center (Ubuntu):
importance: Undecided → High
Changed in software-center:
status: New → Confirmed
Changed in hundredpapercuts:
status: New → Confirmed
importance: Undecided → High
Revision history for this message
Benjamin Bach (benjaoming) wrote :

It seems that there are also cases where update-manager freezes when libgtk2-perl is not installed. I can confirm this has just happened during the grub-pc upgrade on 14.04.2

This process got stuck:

"/usr/bin/perl -w /usr/share/debconf/frontend /var/lib/dpkg/info/grub-pc.postinst configure 2.02~beta2-9ubuntu1.3"

Running "apt-get install -f" from terminal after killing the frozen process fixes the issue.

Related bug: https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1457353

I would think that libgtk2-perl should also be a dependency of update-manager?

dobey (dobey)
no longer affects: software-center
Revision history for this message
dino99 (9d9) wrote :

this problem is also seen with xenial when updating package via synaptic.
Installing libgtk2-perl solve the issue (and also install some other perl dependencies)

tags: added: xenial
Changed in software-center (Ubuntu):
status: Confirmed → Triaged
Changed in hundredpapercuts:
status: Confirmed → Triaged
Revision history for this message
dino99 (9d9) wrote :

Problem solved into xenial with synaptic 0.83 which 'recommend' libgtk2-perl (>=1.130)

tags: removed: xenial
tags: added: xenial
Revision history for this message
dino99 (9d9) wrote :

xenial software-center still not install libgtk2-perl (nor recommend)

dino99 (9d9)
tags: removed: vivid wily
tags: removed: xenial
tags: added: xenial
Revision history for this message
Benjamin Bach (benjaoming) wrote :

dino99, how is this problem solved on Vivid? I don't see libgtk2-perl mentioned in dependencies of the latest trunk?

http://bazaar.launchpad.net/~ubuntuone-control-tower/software-center/trunk/view/head:/debian/control

If something has happened with the way that gtk-based debconf wizards are displayed, that would be great to know!?

Does anyone know where the dependency of libgtk2-perl should ideally sit?

Revision history for this message
Ubuntu QA Website (ubuntuqa) wrote :

This bug has been reported on the Ubuntu ISO testing tracker.

A list of all reports related to this bug can be found here:
http://iso.qa.ubuntu.com/qatracker/reports/bugs/1389582

tags: added: iso-testing
Revision history for this message
Paul White (paulw2u) wrote :

'software-center' is no longer included in any currently supported release of Ubuntu so updating both bug tasks to reflect that this bug report is no longer valid.

Changed in hundredpapercuts:
status: Triaged → Invalid
Changed in software-center (Ubuntu):
status: Triaged → Invalid
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.