Package: hgview
Version: 1.1.1-1
Severity: normal

hgview tries to install on lenny with -t unstable.

However, as you can see below, the installation fails, I think since
the python-support dependency is not tight enough. This is a fairly
nasty problem, because the removal fails because the preremoval
scripts bomb, so one has to go in and edit the preremoval scripts
manually.

The python-support version is stated as 0.5.3. However, this is a
really old version, and even the version in lenny is older. I've seen
this particular version used, and similar errors, in a couple of other
packages, so people must be getting this from some template.

                                                      Regards, Faheem.

***************************************************************
begin python-support versions
***************************************************************
fah...@orwell:~$ apt-cache policy python-support
python-support:
  Installed: 0.8.4lenny1
  Candidate: 0.8.4lenny1
  Version table:
     1.0.3 0
        50 http://debian.csail.mit.edu squeeze/main Packages
        50 http://debian.csail.mit.edu unstable/main Packages
     1.0.3~bpo50+1 0
          1 http://www.backports.org lenny-backports/main Packages
 *** 0.8.4lenny1 0
        500 http://debian.csail.mit.edu lenny/main Packages
        100 /var/lib/dpkg/status                        

***************************************************************
end python-support versions
***************************************************************
************************************************************
begin installation run of hgview
************************************************************
fah...@orwell:/tmp$ sudo apt-get install -t unstable hgview
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be upgraded:
  hgview
  1 upgraded, 0 newly installed, 0 to remove and 1291 not upgraded.
  Need to get 89.8kB of archives.
  After this operation, 274kB of additional disk space will be used.
  Get:1 http://debian.csail.mit.edu unstable/main hgview 1.1.1-1
[89.8kB]
Fetched 89.8kB in 0s (304kB/s)
Reading changelogs...
(Reading database ... 228949 files and directories currently installed.)
Preparing to replace hgview 1.1.1-1 (using .../hgview_1.1.1-1_all.deb)
...
Unpacking replacement hgview ...
Processing triggers for python-support ...
Processing triggers for man-db ...
Setting up hgview (1.1.1-1) ...
Usage: update-python-modules [-v] [-c] package_directory [...]
       update-python-modules [-v] [-c] package.dirs [...]
              update-python-modules [-v] [-a|-f|-p]
              
              update-python-modules: error:
/usr/share/python-support/hgview.public is not a directory
dpkg: error processing hgview (--configure):
subprocess post-installation script returned error exit status 2
Errors were encountered while processing:
  hgview
  *** failed to import extension hgext.hgview: No module named hgview
  *** failed to import extension hgext.hgview: No module named hgview
  nothing changed
  E: Sub-process /usr/bin/dpkg returned an error code (1)
************************************************************
end installation run of hgview
************************************************************
************************************************************
begin removal run of hgview
************************************************************
fah...@orwell:~$ sudo apt-get remove --purge hgview
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer
required:
  python-qscintilla2 libqscintilla2-3
  Use 'apt-get autoremove' to remove them.
  The following packages will be REMOVED:
    hgview*
    0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
    1 not fully installed or removed.
    After this operation, 643kB disk space will be freed.
    Do you want to continue [Y/n]?
    *** failed to import extension hgext.hgview: No module named hgview
    *** failed to import extension hgext.hgview: No module named hgview
    nothing changed
    (Reading database ... 228949 files and directories currently
installed.)
Removing hgview ...
Usage: update-python-modules [-v] [-c] package_directory [...]
       update-python-modules [-v] [-c] package.dirs [...]
              update-python-modules [-v] [-a|-f|-p]
              
              update-python-modules: error:
/usr/share/python-support/hgview.public is not a directory
dpkg: error processing hgview (--purge):
 subprocess pre-removal script returned error exit status 2
 Usage: update-python-modules [-v] [-c] package_directory [...]
        update-python-modules [-v] [-c] package.dirs [...]
               update-python-modules [-v] [-a|-f|-p]
               
               update-python-modules: error:
/usr/share/python-support/hgview.public is not a directory
dpkg: error while cleaning up:
 subprocess post-installation script returned error exit status 2
 Errors were encountered while processing:
  hgview
  *** failed to import extension hgext.hgview: No module named hgview
  *** failed to import extension hgext.hgview: No module named hgview
  nothing changed
  E: Sub-process /usr/bin/dpkg returned an error code (1)
  
************************************************************
end removal run of hgview
************************************************************

-- System Information:
Debian Release: 5.0.3
  APT prefers stable
  APT policy: (500, 'stable'), (50, 'unstable'), (50, 'testing'), (1, 
'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-2-vserver-686-bigmem (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages hgview depends on:
ii  mercurial                     1.3.1-1    scalable distributed version contr
ii  python                        2.5.2-3    An interactive high-level object-o
ii  python-docutils               0.5-2      Utilities for the documentation of
ii  python-egenix-mxdatetime      3.1.0-1    date and time handling routines fo
ii  python-qscintilla2            2.2-4      Python bindings for QScintilla 2
ii  python-qt4                    4.4.2-4    Python bindings for Qt4

hgview recommends no packages.

hgview suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to