Hi there,
some of you might experience the problem that you are not able to upgrade trac
to the version from lenny, when you have had trac installed from
etch-backports.
The problem is, that the python stuff change in lenny and the package can't be
removed cleanly on lenny. To solve the problem, remove trac on etch BEFORE
starting dist-upgrade to lenny and reinstall it on lenny again. That worked
without any problem here.
If you already did the dist-upgrade, maybe you will fix the problem by hacking
/var/lib/dpkg/info/trac.prerm and "aptitude remove trac":
--- prerm.orig 2009-02-25 00:50:04.000000000 +0100
+++ prerm 2009-02-25 00:50:26.000000000 +0100
@@ -1,9 +1,9 @@
#!/bin/sh
set -e
# Automatically added by dh_pycentral
-if which python >/dev/null 2>&1 && which pycentral >/dev/null 2>&1; then
- pycentral pkgremove trac
-else
+#if which python >/dev/null 2>&1 && which pycentral >/dev/null 2>&1; then
+# pycentral pkgremove trac
+#else
flist=$(tempfile)
find /usr/share/pycentral/trac -depth -mindepth 2 \
\( -name '*.py' -printf 'p %P\n' -o -printf '%y %P\n' \) \
@@ -24,5 +24,5 @@
dpkg -L trac \
| awk '/\/usr\/share\/pycentral/ {next} /\.py$/ {print $0"c\n" $0"o"}' \
| xargs rm -f >&2
-fi
+#fi
# End automatically added section
Sorry for the inconvenience caused by this. With kind regards, Jan.
--
Never write mail to <waja@spamfalle.info>, you have been warned!
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GIT d-- s+: a- C+++ UL++++ P+ L+++ E- W+++ N+++ o++ K++ w--- O M V- PS PE
Y++ PGP++ t-- 5 X R tv- b+ DI- D++ G++ e++ h-- r+++ y+++
------END GEEK CODE BLOCK------
Attachment:
signature.asc
Description: This is a digitally signed message part.