[Piuparts-devel] Bug#665016: piuparts: more checks on alternatives

Andreas Beckmann debian at abeckmann.de
Thu Mar 22 11:12:24 UTC 2012


Package: piuparts
Version: 0.43
Severity: normal

There should be some more tests on alternatives during upgrade tests:

* install the oldest version
* mark all alternatives as manual and remember them
* distupgrade
* check the remembered alternatives
  - removed: OK
  - manual: OK
  - automatic: ERROR, user config lost, probably update-alternatives
    --remove called in 'prerm/postrm upgrade'
* remove

The following is not an error, but a removal:

alternative foobar /bin/foobar
  - alternative /bin/foo prio 10
  - alternative /bin/bar prio 20
-> select /bin/bar and set manual

after upgrade the /bin/bar alternative provider was removed and /bin/foo
is now being used and the alternative is back to automatic - that is OK.


Andreas





More information about the Piuparts-devel mailing list