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


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to