Public bug reported:

Binary package hint: software-center

Hi,

I was cleaning up and striping down my ubuntu installation and i've
found a dependency missing for software center python-launchpadlib.

When apport isn't installed (since it's only recommand from ubuntu-
desktop package) you can remove python-launchpadli without dependency
problem :

gfarme...@gnu-box:~$ sudo deborphan -a | grep launchpadlib
main/python               python-launchpadlib


gfarme...@gnu-box:~/Téléchargements$ dpkg -I software-center_2.1.17_all.deb 
 nouveau paquet Debian, version 2.0.
 taille 424430 octets : archive de contrôle = 6242 octets.
      89 octets,     2 lignes      conffiles            
    1445 octets,    23 lignes      control              
   11946 octets,   132 lignes      md5sums              
    1301 octets,    46 lignes   *  postinst             #!/bin/sh
     952 octets,    34 lignes   *  postrm               #!/bin/sh
     283 octets,    10 lignes   *  preinst              #!/bin/sh
    1231 octets,    47 lignes   *  prerm                #!/bin/sh
     215 octets,     4 lignes      triggers             
 Package: software-center
 Version: 2.1.17
 Architecture: all
 Maintainer: Michael Vogt <[email protected]>
 Installed-Size: 1952
 Depends: python, python-central (>= 0.6.11), gconf2 (>= 2.28.1-2), 
app-install-data (>= 0.4.0), humanity-icon-theme, gnome-menus, python-xapian, 
python-apt (>= 0.7.93.1), python-aptdaemon (>= 0.31), python-aptdaemon-gtk, 
python-debian (>= 0.1.15), python-dbus, policykit-1, policykit-1-gnome | 
policykit-1-kde, python-gtk2, python-webkit, python-xdg, python-gconf, 
python-gmenu, aptdaemon (>= 0.31), python-lazr.restfulclient, ubuntu-sso-client 
(>= 0.99.2)
 Recommends: lsb-release, python-launchpad-integration, apt-xapian-index (>= 
0.38ubuntu1), update-notifier, software-properties-gtk, sessioninstaller
 Conflicts: gnome-app-install (<< 1), software-store
 Replaces: gnome-app-install, software-store
 Provides: gnome-app-install, software-store
 Section: gnome
 Priority: optional
 Homepage: https://launchpad.net/software-center
 Description: Utility for browsing, installing, and removing applications
  The Ubuntu Software Center lets you browse and install thousands of
  free applications available for Ubuntu. You can view available
  applications by category, or search quickly by name or description.
  You can also examine the applications already installed, and remove
  those you no longer need.
  .
  To install or remove software using the Center, you need administrator
  access on the computer.
 Python-Version: current


so i've removed it

but then software-center won't start :

gfarme...@gnu-box:~$ software-center 
Traceback (most recent call last):
  File "/usr/bin/software-center", line 84, in <module>
    from softwarecenter.app import SoftwareCenterApp
  File "/usr/share/software-center/softwarecenter/app.py", line 62, in <module>
    from view.logindialog import LoginDialog
  File "/usr/share/software-center/softwarecenter/view/logindialog.py", line 
30, in <module>
    from softwarecenter.backend.launchpad import GLaunchpad
  File "/usr/share/software-center/softwarecenter/backend/launchpad.py", line 
32, in <module>
    from launchpadlib.launchpad import Launchpad
ImportError: No module named launchpadlib.launchpad


and when i've installed apport to report this bug apport triggered the install 
of python-launchpadlib :


gfarme...@gnu-box:~$ sudo aptitude install apport
Les NOUVEAUX paquets suivants vont être installés :
  apport python-apport{a} python-launchpadlib{a} python-problem-report{a} 
Les paquets suivants sont RECOMMANDÉS mais ne seront pas installés :
  apport-symptoms 
0 paquets mis à jour, 4 nouvellement installés, 0 à enlever et 15 non mis à 
jour.
Il est nécessaire de télécharger 303ko d'archives. Après dépaquetage, 1 720ko 
seront utilisés.
Voulez-vous continuer ? [Y/n/?] 
Prendre :1 http://archive.ubuntu.com/ubuntu/ maverick/main 
python-problem-report all 1.14.1-0ubuntu6 [99,9kB]
Prendre :2 http://archive.ubuntu.com/ubuntu/ maverick/main python-launchpadlib 
all 1.6.1-1 [48,7kB]
Prendre :3 http://archive.ubuntu.com/ubuntu/ maverick/main python-apport all 
1.14.1-0ubuntu6 [98,7kB]
Prendre :4 http://archive.ubuntu.com/ubuntu/ maverick/main apport all 
1.14.1-0ubuntu6 [56,1kB]

....

So i think python-launchpadlib should be a direct dependency from
software-center ?

ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: software-center 2.1.17
ProcVersionSignature: Ubuntu 2.6.35-20.29-generic 2.6.35.4
Uname: Linux 2.6.35-20-generic x86_64
NonfreeKernelModules: fglrx
Architecture: amd64
Date: Thu Sep  9 19:58:59 2010
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Alpha amd64 (20100803.1)
PackageArchitecture: all
ProcEnviron:
 PATH=(custom, user)
 LANG=fr_FR.utf8
 SHELL=/bin/bash
SourcePackage: software-center

** Affects: software-center (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug maverick

-- 
software-center python-launchpadlib dependency
https://bugs.launchpad.net/bugs/634324
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to