[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#522022: ERROR: python-loader:<type 'exceptions.ImportError'>: No module named pythonloader



Hi,

Josselin Mouette wrote:
> > Looks like I need a Pre-Depends: on python-uno. sigh.
> 
> You need a Pre-Depends on whatever is used in the preinst. This is why
> it is strongly discouraged to do anything funky in the preinst. If you
> have stuff to deconfigure during upgrades, you need to do it, if
> possible, in the prerm of the old package.

"If possible" is the key here, I don't really feel good removing the extension
and *then* deregister the extension, what I currently do is:
 - deregister in prerm
 - register in postinst
 - deregister in preinst on updates, then of course followed by the postinsts
   registration

In this specific case this is even more interesting, since mailmerge.py
normall is not an extension...

Grüße/Regards,

René
-- 
 .''`.  René Engelhard -- Debian GNU/Linux Developer
 : :' : http://www.debian.org | http://people.debian.org/~rene/
 `. `'  rene@debian.org | GnuPG-Key ID: 248AEB73
   `-   Fingerprint: 41FA F208 28D4 7CA5 19BB  7AD9 F859 90B0 248A EB73




Reply to: