[Bug 907384] Re: apturl just crashes

Paul 907384 at bugs.launchpad.net
Wed Dec 21 18:26:01 UTC 2011


I tried:

$ sudo apt-get remove --purge --force apturl-common

but was told

E: Command line option --force is not understood

so I tried again, but without that option:

$ sudo apt-get remove --purge apturl-common
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages will be REMOVED
  apturl* apturl-common* ubufox* xul-ext-ubufox*
0 upgraded, 0 newly installed, 4 to remove and 0 not upgraded.
After this operation, 725 kB disk space will be freed.
Do you want to continue [Y/n]? 
(Reading database ... 207401 files and directories currently installed.)
Removing ubufox ...
Removing xul-ext-ubufox ...
Purging configuration files for xul-ext-ubufox ...
Removing apturl ...
Removing apturl-common ...
Purging configuration files for apturl-common ...
Processing triggers for man-db ...
Processing triggers for gconf2 ...
Processing triggers for desktop-file-utils ...
Processing triggers for gnome-menus ...
Processing triggers for bamfdaemon ...
Rebuilding /usr/share/applications/bamf.index...

Then I reinstalled:

$sudo apt-get install apturl-common 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following package was automatically installed and is no longer required:
  gir1.2-webkit-3.0
Use 'apt-get autoremove' to remove them.
The following NEW packages will be installed
  apturl-common
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/11.5 kB of archives.
After this operation, 184 kB of additional disk space will be used.
Selecting previously deselected package apturl-common.
(Reading database ... 207323 files and directories currently installed.)
Unpacking apturl-common (from .../apturl-common_0.5.1ubuntu1_amd64.deb) ...
Processing triggers for desktop-file-utils ...
Processing triggers for gnome-menus ...
Processing triggers for bamfdaemon ...
Rebuilding /usr/share/applications/bamf.index...
Processing triggers for man-db ...
Setting up apturl-common (0.5.1ubuntu1) ...

Then I autoremoved as suggested:

$ sudo apt-get autoremove
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages will be REMOVED
  gir1.2-webkit-3.0
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
After this operation, 299 kB disk space will be freed.
Do you want to continue [Y/n]? 
(Reading database ... 207349 files and directories currently installed.)
Removing gir1.2-webkit-3.0 ...

Then I tried:

$ apturl
Please install apturl-gtk or apturl-kde.

There is no such package as apturl-gtk so I couldn't do what it
suggested. (Another bug I suppose.) But there is a package called
apturl, which was removed earlier, so I installed that instead:

$ sudo apt-get install apturl
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following extra packages will be installed:
  gir1.2-webkit-3.0
The following NEW packages will be installed
  apturl gir1.2-webkit-3.0
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 58.9 kB/68.0 kB of archives.
After this operation, 463 kB of additional disk space will be used.
Do you want to continue [Y/n]? 
Get:1 http://gb.archive.ubuntu.com/ubuntu/ oneiric/main gir1.2-webkit-3.0 amd64 1.4.3-0ubuntu3 [58.9 kB]
Fetched 58.9 kB in 0s (239 kB/s)           
Selecting previously deselected package gir1.2-webkit-3.0.
(Reading database ... 207344 files and directories currently installed.)
Unpacking gir1.2-webkit-3.0 (from .../gir1.2-webkit-3.0_1.4.3-0ubuntu3_amd64.deb) ...
Selecting previously deselected package apturl.
Unpacking apturl (from .../apturl_0.5.1ubuntu1_amd64.deb) ...
Processing triggers for gconf2 ...
Processing triggers for man-db ...
Setting up gir1.2-webkit-3.0 (1.4.3-0ubuntu3) ...
Setting up apturl (0.5.1ubuntu1) ...

Then I tried to launch apturl again and got the same error as before, so
this hasn't helped unfortunately:

$ apturl

(apturl-gtk:3071): Gtk-WARNING **: Unknown property: GtkDialog.has-separator
ERROR:root:importing aptdaemon
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/AptUrl/gtk/backend/__init__.py", line 48, in get_backend
    from InstallBackendAptdaemon import InstallBackendAptdaemon
  File "/usr/lib/python2.7/dist-packages/AptUrl/gtk/backend/InstallBackendAptdaemon.py", line 10, in <module>
    from UpdateManager.backend import InstallBackend
ImportError: No module named backend
Traceback (most recent call last):
  File "/usr/bin/apturl-gtk", line 44, in <module>
    ui = GtkUI()
  File "/usr/lib/python2.7/dist-packages/AptUrl/gtk/GtkUI.py", line 30, in __init__
    self.backend = get_backend(self.dia)
  File "/usr/lib/python2.7/dist-packages/AptUrl/gtk/backend/__init__.py", line 56, in get_backend
    from InstallBackendSynaptic import InstallBackendSynaptic
  File "/usr/lib/python2.7/dist-packages/AptUrl/gtk/backend/InstallBackendSynaptic.py", line 12, in <module>
    from UpdateManager.backend import InstallBackend
ImportError: No module named backend

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to apturl in Ubuntu.
https://bugs.launchpad.net/bugs/907384

Title:
  apturl just crashes

Status in “apturl” package in Ubuntu:
  New

Bug description:
  When I type apturl on the command line, or if I try to launch an
  apturl link from in firefox (eg to get ubuntu 64 bit flash player:
  http://get.adobe.com/flashplayer/completion/?installer=Flash_Player_11_for_Ubuntu_%28apt%29)
  then nothing happens (apturl crashes) and I get the following output:

  (apturl-gtk:32258): Gtk-WARNING **: Unknown property: GtkDialog.has-separator
  ERROR:root:importing aptdaemon
  Traceback (most recent call last):
    File "/usr/lib/python2.7/dist-packages/AptUrl/gtk/backend/__init__.py", line 48, in get_backend
      from InstallBackendAptdaemon import InstallBackendAptdaemon
    File "/usr/lib/python2.7/dist-packages/AptUrl/gtk/backend/InstallBackendAptdaemon.py", line 10, in <module>
      from UpdateManager.backend import InstallBackend
  ImportError: No module named backend
  Traceback (most recent call last):
    File "/usr/bin/apturl-gtk", line 44, in <module>
      ui = GtkUI()
    File "/usr/lib/python2.7/dist-packages/AptUrl/gtk/GtkUI.py", line 30, in __init__
      self.backend = get_backend(self.dia)
    File "/usr/lib/python2.7/dist-packages/AptUrl/gtk/backend/__init__.py", line 56, in get_backend
      from InstallBackendSynaptic import InstallBackendSynaptic
    File "/usr/lib/python2.7/dist-packages/AptUrl/gtk/backend/InstallBackendSynaptic.py", line 12, in <module>
      from UpdateManager.backend import InstallBackend
  ImportError: No module named backend

  I have noticed that this message also appears in comment #10 of bug
  750602: https://bugs.launchpad.net/ubuntu/+source/update-
  manager/+bug/750602/comments/10

  ProblemType: Bug
  DistroRelease: Ubuntu 11.10
  Package: apturl 0.5.1ubuntu1
  ProcVersionSignature: Ubuntu 3.0.0-14.23-generic 3.0.9
  Uname: Linux 3.0.0-14-generic x86_64
  NonfreeKernelModules: nvidia
  ApportVersion: 1.23-0ubuntu4
  Architecture: amd64
  Date: Wed Dec 21 15:09:05 2011
  EcryptfsInUse: Yes
  ProcEnviron:
   LANGUAGE=en_GB:en
   PATH=(custom, user)
   LANG=en_GB.UTF-8
   SHELL=/bin/bash
  SourcePackage: apturl
  UpgradeStatus: Upgraded to oneiric on 2011-10-17 (64 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apturl/+bug/907384/+subscriptions




More information about the foundations-bugs mailing list