dskvr / opkg

Automatically exported from code.google.com/p/opkg
0 stars 0 forks source link

ipkg: pre/post control files not removed (remove_obsolete_maintainer_scripts) (OE bug 4137) #35

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
copied from http://bugs.openembedded.org/show_bug.cgi?id=4137 I have not
verified if this is still a problem in recent opkg code, but it seemed
serious enough that somebody should take a look

original report (excerpt)

When a package is replaced by a newer version, the old version has a
postinst task, which is no longer there in the new version, the postinst
script is not removed after the update. So this postinst script will be
executed after each consecutive update of the package (this might actually
break the functionality of the new package, depending on the contents of
the control files)

This occurs with all 0.99 versions of ipkg, up to 0.99-163-r8

Original issue reported on code.google.com by rolf.leg...@gmail.com on 9 Jan 2010 at 4:13

GoogleCodeExporter commented 8 years ago
During an upgrade, all maintainer scripts are removed via a call to
remove_maintainer_scripts() from within opkg_install_pkg(). The old postinst 
script
will not be executed after upgrading as it has been removed.

Cannot reproduce.

Original comment by graham.g...@gmail.com on 12 Jan 2010 at 5:01