Debian Bug report logs - #422596
wajig: postinst failure: package has no field Python-Version

version graph

Package: wajig; Maintainer for wajig is Graham Williams <Graham.Williams@togaware.com>; Source for wajig is src:wajig (PTS, buildd, popcon).

Reported by: Laurent Bonnaud <Laurent.Bonnaud@inpg.fr>

Date: Mon, 7 May 2007 10:09:02 UTC

Severity: grave

Merged with 422694

Found in version wajig/2.0.35

Fixed in version wajig/2.0.36

Done: Graham Williams <Graham.Williams@togaware.com>

Bug is archived. No further changes may be made.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Graham Williams <Graham.Williams@togaware.com>:
Bug#422596; Package wajig. (full text, mbox, link).


Acknowledgement sent to Laurent Bonnaud <Laurent.Bonnaud@inpg.fr>:
New Bug report received and forwarded. Copy sent to Graham Williams <Graham.Williams@togaware.com>. (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Laurent Bonnaud <Laurent.Bonnaud@inpg.fr>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: wajig: postinst failure: package has no field Python-Version
Date: Mon, 07 May 2007 12:06:05 +0200
Package: wajig
Version: 2.0.35
Severity: grave
Justification: renders package unusable


Hi,

here is the problem:

Setting up wajig (2.0.35) ...
Traceback (most recent call last):
  File "/usr/bin/pycentral", line 1373, in ?
    main()
  File "/usr/bin/pycentral", line 1367, in main
    rv = action.run(global_options)
  File "/usr/bin/pycentral", line 869, in run
    pkg.read_version_info()
  File "/usr/bin/pycentral", line 539, in read_version_info
    raise PyCentralError, "package has no field Python-Version"
__main__.PyCentralError: package has no field Python-Version
dpkg: error processing wajig (--configure):


-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (100, 'unstable'), (99, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.20-1-686 (SMP w/1 CPU core)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages wajig depends on:
ii  apt                         0.6.46.4-0.1 Advanced front-end for dpkg
ii  dselect                     1.13.25      user tool to manage Debian package
ii  python                      2.4.4-3      An interactive high-level object-o
ii  python-apt                  0.6.21       Python interface to libapt-pkg
ii  python-central              0.5.13-0.1   register and build utility for Pyt

wajig recommends no packages.

-- no debconf information



Information forwarded to debian-bugs-dist@lists.debian.org, Graham Williams <Graham.Williams@togaware.com>:
Bug#422596; Package wajig. (full text, mbox, link).


Acknowledgement sent to Anthony Campbell <ac@acampbell.org.uk>:
Extra info received and forwarded to list. Copy sent to Graham Williams <Graham.Williams@togaware.com>. (full text, mbox, link).


Message #10 received at 422596@bugs.debian.org (full text, mbox, reply):

From: Anthony Campbell <ac@acampbell.org.uk>
To: Debian Bug Tracking System <422596@bugs.debian.org>
Subject: wajig: Same here
Date: Mon, 07 May 2007 12:04:46 +0100
Package: wajig
Version: 2.0.35
Followup-For: Bug #422596



Same install error occurring here too.

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.20.1-slh-smp-2 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages wajig depends on:
ii  apt                         0.6.46.4-0.1 Advanced front-end for dpkg
ii  dselect                     1.13.25      user tool to manage Debian package
ii  python                      2.4.4-3      An interactive high-level object-o
ii  python-apt                  0.6.21       Python interface to libapt-pkg
ii  python-central              0.5.13-0.1   register and build utility for Pyt

wajig recommends no packages.

-- no debconf information



Information forwarded to debian-bugs-dist@lists.debian.org:
Bug#422596; Package wajig. (full text, mbox, link).


Acknowledgement sent to Graham Williams <Graham.Williams@togaware.com>:
Extra info received and forwarded to list. (full text, mbox, link).


Message #15 received at submit@bugs.debian.org (full text, mbox, reply):

From: Graham Williams <Graham.Williams@togaware.com>
To: Laurent Bonnaud <Laurent.Bonnaud@inpg.fr>, 422596@bugs.debian.org
Cc: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: Re: Bug#422596: wajig: postinst failure: package has no field Python-Version
Date: Mon, 7 May 2007 21:12:01 +1000
[Message part 1 (text/plain, inline)]
Ouch - sorry about this - currently figuring out the problem. The
attached .deb does not exhibit this problem. Should be able to be
installed with:

$ sudo rm /var/lib/dpkg/wajig.prerm
$ wajig install wajig_2.0.35_all.deb

at least until I can rectify the problem.

Sorry for the inconvenience.

Regards,
Graham


Received Mon 07 May 2007  8:12pm +1000 from Laurent Bonnaud:
> Package: wajig
> Version: 2.0.35
> Severity: grave
> Justification: renders package unusable
> 
> 
> Hi,
> 
> here is the problem:
> 
> Setting up wajig (2.0.35) ...
> Traceback (most recent call last):
>   File "/usr/bin/pycentral", line 1373, in ?
>     main()
>   File "/usr/bin/pycentral", line 1367, in main
>     rv = action.run(global_options)
>   File "/usr/bin/pycentral", line 869, in run
>     pkg.read_version_info()
>   File "/usr/bin/pycentral", line 539, in read_version_info
>     raise PyCentralError, "package has no field Python-Version"
> __main__.PyCentralError: package has no field Python-Version
> dpkg: error processing wajig (--configure):
> 
> 
> -- System Information:
> Debian Release: lenny/sid
>   APT prefers unstable
>   APT policy: (100, 'unstable'), (99, 'experimental')
> Architecture: i386 (i686)
> 
> Kernel: Linux 2.6.20-1-686 (SMP w/1 CPU core)
> Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/bash
> 
> Versions of packages wajig depends on:
> ii  apt                         0.6.46.4-0.1 Advanced front-end for dpkg
> ii  dselect                     1.13.25      user tool to manage Debian package
> ii  python                      2.4.4-3      An interactive high-level object-o
> ii  python-apt                  0.6.21       Python interface to libapt-pkg
> ii  python-central              0.5.13-0.1   register and build utility for Pyt
> 
> wajig recommends no packages.
> 
> -- no debconf information
> 
> 
[wajig_2.0.35_all.deb (application/x-debian-package, attachment)]

Information forwarded to debian-bugs-dist@lists.debian.org:
Bug#422596; Package wajig. (full text, mbox, link).


Acknowledgement sent to Graham Williams <Graham.Williams@togaware.com>:
Extra info received and forwarded to list. (full text, mbox, link).


Message #20 received at submit@bugs.debian.org (full text, mbox, reply):

From: Graham Williams <Graham.Williams@togaware.com>
To: Anthony Campbell <ac@acampbell.org.uk>
Cc: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: Re: Bug#422596: wajig: postinst failure: package has no field Python-Version
Date: Mon, 7 May 2007 21:13:37 +1000
[Message part 1 (text/plain, inline)]
Ouch - sorry about this - currently figuring out the problem. The
attached .deb does not exhibit this problem. Should be able to be
installed with:

$ sudo rm /var/lib/dpkg/wajig.prerm
$ wajig install wajig_2.0.35_all.deb

at least until I can rectify the problem.

Sorry for the inconvenience.

Regards,
Graham


Received Mon 07 May 2007  8:12pm +1000 from Laurent Bonnaud:
> Package: wajig
> Version: 2.0.35
> Severity: grave
> Justification: renders package unusable
> 
> 
> Hi,
> 
> here is the problem:
> 
> Setting up wajig (2.0.35) ...
> Traceback (most recent call last):
>   File "/usr/bin/pycentral", line 1373, in ?
>     main()
>   File "/usr/bin/pycentral", line 1367, in main
>     rv = action.run(global_options)
>   File "/usr/bin/pycentral", line 869, in run
>     pkg.read_version_info()
>   File "/usr/bin/pycentral", line 539, in read_version_info
>     raise PyCentralError, "package has no field Python-Version"
> __main__.PyCentralError: package has no field Python-Version
> dpkg: error processing wajig (--configure):
> 
> 
> -- System Information:
> Debian Release: lenny/sid
>   APT prefers unstable
>   APT policy: (100, 'unstable'), (99, 'experimental')
> Architecture: i386 (i686)
> 
> Kernel: Linux 2.6.20-1-686 (SMP w/1 CPU core)
> Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/bash
> 
> Versions of packages wajig depends on:
> ii  apt                         0.6.46.4-0.1 Advanced front-end for dpkg
> ii  dselect                     1.13.25      user tool to manage Debian package
> ii  python                      2.4.4-3      An interactive high-level object-o
> ii  python-apt                  0.6.21       Python interface to libapt-pkg
> ii  python-central              0.5.13-0.1   register and build utility for Pyt
> 
> wajig recommends no packages.
> 
> -- no debconf information
> 
> 
[wajig_2.0.35_all.deb (application/x-debian-package, attachment)]

Information forwarded to debian-bugs-dist@lists.debian.org:
Bug#422596; Package wajig. (full text, mbox, link).


Acknowledgement sent to Graham Williams <Graham.Williams@togaware.com>:
Extra info received and forwarded to list. (full text, mbox, link).


Reply sent to Graham Williams <Graham.Williams@togaware.com>:
You have taken responsibility. (full text, mbox, link).


Notification sent to Laurent Bonnaud <Laurent.Bonnaud@inpg.fr>:
Bug acknowledged by developer. (full text, mbox, link).


Message #30 received at 422596-close@bugs.debian.org (full text, mbox, reply):

From: Graham Williams <Graham.Williams@togaware.com>
To: 422596-close@bugs.debian.org
Subject: Bug#422596: fixed in wajig 2.0.36
Date: Mon, 07 May 2007 13:47:03 +0000
Source: wajig
Source-Version: 2.0.36

We believe that the bug you reported is fixed in the latest version of
wajig, which is due to be installed in the Debian FTP archive:

wajig_2.0.36.dsc
  to pool/main/w/wajig/wajig_2.0.36.dsc
wajig_2.0.36.tar.gz
  to pool/main/w/wajig/wajig_2.0.36.tar.gz
wajig_2.0.36_all.deb
  to pool/main/w/wajig/wajig_2.0.36_all.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 422596@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Graham Williams <Graham.Williams@togaware.com> (supplier of updated wajig package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Mon, 7 Mar 2007 22:06:10 +1000
Source: wajig
Binary: wajig
Architecture: source all
Version: 2.0.36
Distribution: unstable
Urgency: high
Maintainer: Graham Williams <Graham.Williams@togaware.com>
Changed-By: Graham Williams <Graham.Williams@togaware.com>
Description: 
 wajig      - simplified Debian package management front end
Closes: 422596
Changes: 
 wajig (2.0.36) unstable; urgency=high
 .
   * Fix grave bug on moving to using pycentral - needed XS-Python-Version
     and XB-Python-Version, otherwise pycentral is crashing. Reported by
     Laurent Bonnaud and Anthony Campbell. If you get an error like
     package has no field Python-Version, then remove
     /var/lib/dpkg/info/wajig.prerm, and reinstall wajig. (Closes: #422596)
Files: 
 23da176a61aee20e95aa8fa124d8c645 606 admin optional wajig_2.0.36.dsc
 585483f28d4a64dcc7a8ed7f08a76a33 160300 admin optional wajig_2.0.36.tar.gz
 fba3bd88994d085d33f57eef04493f99 96730 admin optional wajig_2.0.36_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFGPyeDCZSR95Gw07cRAm0iAJ9eyCBLTemwWBCZaLrzJfUJk9IvawCZATGy
unU6fDnZm0Pzps4qCFaKKWk=
=lrEK
-----END PGP SIGNATURE-----




Forcibly Merged 422596 422694. Request was from Pierre Habouzit <madcoder@debian.org> to control@bugs.debian.org. (Mon, 07 May 2007 19:33:02 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Graham Williams <Graham.Williams@togaware.com>:
Bug#422596; Package wajig. (full text, mbox, link).


Acknowledgement sent to Thomas Quas <tquas@yahoo.com>:
Extra info received and forwarded to list. Copy sent to Graham Williams <Graham.Williams@togaware.com>. (full text, mbox, link).


Message #37 received at 422596@bugs.debian.org (full text, mbox, reply):

From: Thomas Quas <tquas@yahoo.com>
To: 422596@bugs.debian.org
Subject: 2.0.36 does not fix the problem here
Date: Tue, 08 May 2007 12:31:28 +0200
Hm, what I get here is this:

$ sudo apt-get remove wajig
Reading package lists... Done
Building dependency tree... Done
The following packages will be REMOVED:
  wajig
0 upgraded, 0 newly installed, 1 to remove and 79 not upgraded.
1 not fully installed or removed.
Need to get 0B of archives.
After unpacking 446kB disk space will be freed.
Do you want to continue [Y/n]? 
dpkg: error processing wajig (--remove):
 Package is in a very bad inconsistent state - you should
 reinstall it before attempting a removal.
Errors were encountered while processing:
 wajig
E: Sub-process /usr/bin/dpkg returned an error code (1)


$ sudo apt-get install wajig
Reading package lists... Done
Building dependency tree... Done
Suggested packages:
  dpkg-repack gkdebconf gnome-tasksel apt-show-versions
The following packages will be upgraded:
  wajig
1 upgraded, 0 newly installed, 0 to remove and 79 not upgraded.
1 not fully installed or removed.
Need to get 0B/96.7kB of archives.
After unpacking 0B of additional disk space will be used.
Reading changelogs... Done
Selecting previously deselected package wajig.
(Reading database ... 360163 files and directories currently installed.)
Preparing to replace wajig 2.0.35
(using .../archives/wajig_2.0.36_all.deb) ...
INFO: using old version '/usr/bin/python2.3'
Traceback (most recent call last):
  File "/usr/bin/pycentral", line 1373, in ?
    main()
  File "/usr/bin/pycentral", line 1367, in main
    rv = action.run(global_options)
  File "/usr/bin/pycentral", line 945, in run
    pkg.read_version_info()
  File "/usr/bin/pycentral", line 539, in read_version_info
    raise PyCentralError, "package has no field Python-Version"
__main__.PyCentralError: package has no field Python-Version
dpkg: warning - old pre-removal script returned error exit status 1
dpkg - trying script from the new package instead ...
INFO: using old version '/usr/bin/python2.3'
Traceback (most recent call last):
  File "/usr/bin/pycentral", line 1373, in ?
    main()
  File "/usr/bin/pycentral", line 1367, in main
    rv = action.run(global_options)
  File "/usr/bin/pycentral", line 945, in run
    pkg.read_version_info()
  File "/usr/bin/pycentral", line 539, in read_version_info
    raise PyCentralError, "package has no field Python-Version"
__main__.PyCentralError: package has no field Python-Version
dpkg: error processing /var/cache/apt/archives/wajig_2.0.36_all.deb
(--unpack):
 subprocess new pre-removal script returned error exit status 1
INFO: using old version '/usr/bin/python2.3'
Traceback (most recent call last):
  File "/usr/bin/pycentral", line 1373, in ?
    main()
  File "/usr/bin/pycentral", line 1367, in main
    rv = action.run(global_options)
  File "/usr/bin/pycentral", line 869, in run
    pkg.read_version_info()
  File "/usr/bin/pycentral", line 539, in read_version_info
    raise PyCentralError, "package has no field Python-Version"
__main__.PyCentralError: package has no field Python-Version
dpkg: error while cleaning up:
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 /var/cache/apt/archives/wajig_2.0.36_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)





Information forwarded to debian-bugs-dist@lists.debian.org, Graham Williams <Graham.Williams@togaware.com>:
Bug#422596; Package wajig. (full text, mbox, link).


Acknowledgement sent to Gary Koskenmaki <fredddy@cableone.net>:
Extra info received and forwarded to list. Copy sent to Graham Williams <Graham.Williams@togaware.com>. (full text, mbox, link).


Message #42 received at 422596@bugs.debian.org (full text, mbox, reply):

From: Gary Koskenmaki <fredddy@cableone.net>
To: Debian Bug Tracking System <422596@bugs.debian.org>
Subject: wajig: This bug still exists for me
Date: Fri, 11 May 2007 09:05:49 -0700
Package: wajig
Version: 2.0.35
Followup-For: Bug #422596


I ran into this bug during an apt-get upgrade yesterday.  After following the workarounds you gave to 
those who first reported this bug, I am still unable to resolve this.  One thing I found different on 
my system was that the prerm script to be deleted was not present on my system.  
I also tried using the 2.0.36 deb package and it returned the same error.  

Preparing to replace wajig 2.0.35 (using .../archives/wajig_2.0.35_all.deb) ...
INFO: using old version '/usr/bin/python2.3'
Traceback (most recent call last):
  File "/usr/bin/pycentral", line 1373, in ?
    main()
  File "/usr/bin/pycentral", line 1367, in main
    rv = action.run(global_options)
  File "/usr/bin/pycentral", line 945, in run
    pkg.read_version_info()
  File "/usr/bin/pycentral", line 539, in read_version_info
    raise PyCentralError, "package has no field Python-Version"
__main__.PyCentralError: package has no field Python-Version
dpkg: warning - old pre-removal script returned error exit status 1
dpkg - trying script from the new package instead ...
INFO: using old version '/usr/bin/python2.3'
Traceback (most recent call last):
  File "/usr/bin/pycentral", line 1373, in ?
    main()
  File "/usr/bin/pycentral", line 1367, in main
    rv = action.run(global_options)
  File "/usr/bin/pycentral", line 945, in run
    pkg.read_version_info()
  File "/usr/bin/pycentral", line 539, in read_version_info
    raise PyCentralError, "package has no field Python-Version"
__main__.PyCentralError: package has no field Python-Version
dpkg: error processing /var/cache/apt/archives/wajig_2.0.35_all.deb (--install):
 subprocess new pre-removal script returned error exit status 1
INFO: using old version '/usr/bin/python2.3'
Traceback (most recent call last):
  File "/usr/bin/pycentral", line 1373, in ?
    main()
  File "/usr/bin/pycentral", line 1367, in main
    rv = action.run(global_options)
  File "/usr/bin/pycentral", line 869, in run
    pkg.read_version_info()
  File "/usr/bin/pycentral", line 539, in read_version_info
    raise PyCentralError, "package has no field Python-Version"
__main__.PyCentralError: package has no field Python-Version
dpkg: error while cleaning up:
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 /var/cache/apt/archives/wajig_2.0.35_all.deb


-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.20-1-k7 (SMP w/1 CPU core)
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash

Versions of packages wajig depends on:
ii  apt                         0.6.46.4-0.1 Advanced front-end for dpkg
ii  dselect                     1.14.2       user tool to manage Debian package
ii  python                      2.4.4-3      An interactive high-level object-o
ii  python-apt                  0.6.21       Python interface to libapt-pkg
ii  python-central              0.5.13-0.1   register and build utility for Pyt

wajig recommends no packages.

-- no debconf information



Information forwarded to debian-bugs-dist@lists.debian.org:
Bug#422596; Package wajig. (full text, mbox, link).


Acknowledgement sent to Graham Williams <Graham.Williams@togaware.com>:
Extra info received and forwarded to list. (full text, mbox, link).


Message #47 received at 422596@bugs.debian.org (full text, mbox, reply):

From: Graham Williams <Graham.Williams@togaware.com>
To: Thomas Quas <tquas@yahoo.com>, 422596@bugs.debian.org
Subject: Re: Bug#422596: 2.0.36 does not fix the problem here
Date: Sat, 12 May 2007 05:51:06 +1000
Received Sat 12 May 2007 12:52am +1000 from Thomas Quas:
> Hm, what I get here is this:
> 
> $ sudo apt-get remove wajig
> Reading package lists... Done
> Building dependency tree... Done
> The following packages will be REMOVED:
>   wajig
> 0 upgraded, 0 newly installed, 1 to remove and 79 not upgraded.
> 1 not fully installed or removed.
> Need to get 0B of archives.
> After unpacking 446kB disk space will be freed.
> Do you want to continue [Y/n]? 
> dpkg: error processing wajig (--remove):
>  Package is in a very bad inconsistent state - you should
>  reinstall it before attempting a removal.
> Errors were encountered while processing:
>  wajig
> E: Sub-process /usr/bin/dpkg returned an error code (1)
> 
> 
> $ sudo apt-get install wajig
> Reading package lists... Done
> Building dependency tree... Done
> Suggested packages:
>   dpkg-repack gkdebconf gnome-tasksel apt-show-versions
> The following packages will be upgraded:
>   wajig
> 1 upgraded, 0 newly installed, 0 to remove and 79 not upgraded.
> 1 not fully installed or removed.
> Need to get 0B/96.7kB of archives.
> After unpacking 0B of additional disk space will be used.
> Reading changelogs... Done
> Selecting previously deselected package wajig.
> (Reading database ... 360163 files and directories currently installed.)
> Preparing to replace wajig 2.0.35
> (using .../archives/wajig_2.0.36_all.deb) ...
> INFO: using old version '/usr/bin/python2.3'
> Traceback (most recent call last):
>   File "/usr/bin/pycentral", line 1373, in ?
>     main()
>   File "/usr/bin/pycentral", line 1367, in main
>     rv = action.run(global_options)
>   File "/usr/bin/pycentral", line 945, in run
>     pkg.read_version_info()
>   File "/usr/bin/pycentral", line 539, in read_version_info
>     raise PyCentralError, "package has no field Python-Version"
> __main__.PyCentralError: package has no field Python-Version
> dpkg: warning - old pre-removal script returned error exit status 1
> dpkg - trying script from the new package instead ...
> INFO: using old version '/usr/bin/python2.3'
> Traceback (most recent call last):
>   File "/usr/bin/pycentral", line 1373, in ?
>     main()
>   File "/usr/bin/pycentral", line 1367, in main
>     rv = action.run(global_options)
>   File "/usr/bin/pycentral", line 945, in run
>     pkg.read_version_info()
>   File "/usr/bin/pycentral", line 539, in read_version_info
>     raise PyCentralError, "package has no field Python-Version"
> __main__.PyCentralError: package has no field Python-Version
> dpkg: error processing /var/cache/apt/archives/wajig_2.0.36_all.deb
> (--unpack):
>  subprocess new pre-removal script returned error exit status 1
> INFO: using old version '/usr/bin/python2.3'
> Traceback (most recent call last):
>   File "/usr/bin/pycentral", line 1373, in ?
>     main()
>   File "/usr/bin/pycentral", line 1367, in main
>     rv = action.run(global_options)
>   File "/usr/bin/pycentral", line 869, in run
>     pkg.read_version_info()
>   File "/usr/bin/pycentral", line 539, in read_version_info
>     raise PyCentralError, "package has no field Python-Version"
> __main__.PyCentralError: package has no field Python-Version
> dpkg: error while cleaning up:
>  subprocess post-installation script returned error exit status 1
> Errors were encountered while processing:
>  /var/cache/apt/archives/wajig_2.0.36_all.deb
> E: Sub-process /usr/bin/dpkg returned an error code (1)


Received Sat 12 May 2007 12:49am +1000 from Thomas Quas:
> It worked. I figured that the
>
> $ sudo rm /var/lib/dpkg/wajig.prerm
>
> as described on the issue report should really be
>
> $ sudo rm /var/lib/dpkg/info/wajig.prerm
>
>
> My fault. Sorry for the inconvenience.
>
>
> -tom


Actually, my fault! Sorry about the bad information. You are
absolutely correct that I missed the "info" bit in the path.

Sorry for that.

Regards,
Graham



Information forwarded to debian-bugs-dist@lists.debian.org:
Bug#422596; Package wajig. (full text, mbox, link).


Acknowledgement sent to Graham Williams <Graham.Williams@togaware.com>:
Extra info received and forwarded to list. (full text, mbox, link).


Message #52 received at 422596@bugs.debian.org (full text, mbox, reply):

From: Graham Williams <Graham.Williams@togaware.com>
To: Gary Koskenmaki <fredddy@cableone.net>, 422596@bugs.debian.org
Subject: Re: Bug#422596: wajig: This bug still exists for me
Date: Sat, 12 May 2007 05:54:56 +1000
Received Sat 12 May 2007  2:12am +1000 from Gary Koskenmaki:
> Package: wajig
> Version: 2.0.35
> Followup-For: Bug #422596
> 
> 
> I ran into this bug during an apt-get upgrade yesterday.  After following the workarounds you gave to 
> those who first reported this bug, I am still unable to resolve this.  One thing I found different on 
> my system was that the prerm script to be deleted was not present on my system.  
> I also tried using the 2.0.36 deb package and it returned the same error.  
> 
> Preparing to replace wajig 2.0.35 (using .../archives/wajig_2.0.35_all.deb) ...
> INFO: using old version '/usr/bin/python2.3'
> Traceback (most recent call last):
>   File "/usr/bin/pycentral", line 1373, in ?
>     main()
>   File "/usr/bin/pycentral", line 1367, in main
>     rv = action.run(global_options)
>   File "/usr/bin/pycentral", line 945, in run
>     pkg.read_version_info()
>   File "/usr/bin/pycentral", line 539, in read_version_info
>     raise PyCentralError, "package has no field Python-Version"
> __main__.PyCentralError: package has no field Python-Version
> dpkg: warning - old pre-removal script returned error exit status 1
> dpkg - trying script from the new package instead ...
> INFO: using old version '/usr/bin/python2.3'
> Traceback (most recent call last):
>   File "/usr/bin/pycentral", line 1373, in ?
>     main()
>   File "/usr/bin/pycentral", line 1367, in main
>     rv = action.run(global_options)
>   File "/usr/bin/pycentral", line 945, in run
>     pkg.read_version_info()
>   File "/usr/bin/pycentral", line 539, in read_version_info
>     raise PyCentralError, "package has no field Python-Version"
> __main__.PyCentralError: package has no field Python-Version
> dpkg: error processing /var/cache/apt/archives/wajig_2.0.35_all.deb (--install):
>  subprocess new pre-removal script returned error exit status 1
> INFO: using old version '/usr/bin/python2.3'
> Traceback (most recent call last):
>   File "/usr/bin/pycentral", line 1373, in ?
>     main()
>   File "/usr/bin/pycentral", line 1367, in main
>     rv = action.run(global_options)
>   File "/usr/bin/pycentral", line 869, in run
>     pkg.read_version_info()
>   File "/usr/bin/pycentral", line 539, in read_version_info
>     raise PyCentralError, "package has no field Python-Version"
> __main__.PyCentralError: package has no field Python-Version
> dpkg: error while cleaning up:
>  subprocess post-installation script returned error exit status 1
> Errors were encountered while processing:
>  /var/cache/apt/archives/wajig_2.0.35_all.deb

Sorry about the trouble Gary. It was my fault again, with some bad
information. You need to do:

$ sudo rm /var/lib/dpkg/info/wajig.prerm
$ wajig install wajig_2.0.35_all.deb

I previously left off the "info" bit in the remove.

Sorry for the inconvenience.

Regards,
Graham



Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Wed, 27 Jun 2007 07:13:50 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sun Oct 26 10:06:55 2025; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.