All pastes #185451 Raw Edit

Unnamed

public text v1 · immutable
#185451 ·published 2006-09-28 23:27 UTC
rendered paste body
sudo dpkg -P --force-depends python-gtk-1.2 python-gtk-1.2
Package python-gtk-1.2 listed more than once, only processing once.
(Reading database ... 132623 files and directories currently installed.)
Removing python-gtk-1.2 ...
dpkg - warning: while removing python-gtk-1.2, directory `/usr/lib/python2.4/site-packages/gtk-1.2' not empty so not removed.
root@Thinkpad:~# apt-cache policy python-gobject python-gtk-1.2
python-gobject:
  Installed: 2.12.1-0ubuntu2
  Candidate: 2.12.1-0ubuntu2
  Version table:
 *** 2.12.1-0ubuntu2 0
        500 http://archive.ubuntu.com edgy/main Packages
        100 /var/lib/dpkg/status
python-gtk-1.2:
  Installed: (none)
  Candidate: 0.6.12-5
  Version table:
     0.6.12-5 0
        500 http://archive.ubuntu.com edgy/universe Packages
root@Thinkpad:~# sudo dpkg -P --force-depends python-gobject
dpkg: python-gobject: dependency problems, but removing anyway as you request:
 python-gtk2 depends on python-gobject (>= 2.12.1).
(Reading database ... 132535 files and directories currently installed.)
Removing python-gobject ...
root@Thinkpad:~# sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
  torcs-data libopenal0a torcs-data-tracks torcs-data-cars python2.5 libalut0
  libfluidsynth1 python2.5-minimal ladcca2 plib1.8.4c2 scummvm
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  python-gobject
The following NEW packages will be installed:
  python-gobject
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/142kB of archives.
After unpacking 467kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Selecting previously deselected package python-gobject.
(Reading database ... 132513 files and directories currently installed.)
Unpacking python-gobject (from .../python-gobject_2.12.1-0ubuntu2_i386.deb) ...
Setting up python-gobject (2.12.1-0ubuntu2) ...
Compiling /var/lib/python-support/python2.5/SOAPpy/Client.py ...
  File "/var/lib/python-support/python2.5/SOAPpy/Client.py", line 46
    from __future__ import nested_scopes
SyntaxError: from __future__ imports must occur at the beginning of the file

Compiling /var/lib/python-support/python2.5/SOAPpy/GSIServer.py ...
  File "/var/lib/python-support/python2.5/SOAPpy/GSIServer.py", line 49
    from __future__ import nested_scopes
SyntaxError: from __future__ imports must occur at the beginning of the file

Compiling /var/lib/python-support/python2.5/SOAPpy/Server.py ...
  File "/var/lib/python-support/python2.5/SOAPpy/Server.py", line 46
    from __future__ import nested_scopes
SyntaxError: from __future__ imports must occur at the beginning of the file

Compiling /var/lib/python-support/python2.5/SOAPpy/Types.py ...
  File "/var/lib/python-support/python2.5/SOAPpy/Types.py", line 39
    from __future__ import nested_scopes
SyntaxError: from __future__ imports must occur at the beginning of the file