[maemo-developers] Re: Optification breaks package on upgrade from non-optified older version
From: Mikko Vartiainen mvartiainen at gmail.comDate: Fri Oct 16 01:43:12 EEST 2009
- Previous message: Optification breaks package on upgrade from non-optified older version
- Next message: Optification breaks package on upgrade from non-optified older version
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
> What's the practical difference between upgrading and > removing-then-reinstalling? (It probably shows that I haven't read the > "maemo-optify and python apps" thread.) Maybe you could fix the upgrade > problem by writing a suitable preinst script? I have noticed with upgrading from non optified packages to maemo-optified packages that directory links are not created. For example if I first have installed a package with a directory /usr/share/games/crimson and upgrade to a package which has optified directory /usr/share/games/crimson -> /opt/maemo/usr/share/games/crimson, the link is not created because dpkg never removes /usr/share/games/crimson directory. Result is that I have empty /usr/share/games/crimson directory and all of it's content in /opt directory. I think it's a bug in dpkg or then we are just using it wrong. Workaround for this would be to remove the directory in preinst script or to install to another directory. But currently when all users are more or less beta testers I don't care about it. -- Mikko Vartiainen
- Previous message: Optification breaks package on upgrade from non-optified older version
- Next message: Optification breaks package on upgrade from non-optified older version
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]