Hmm.. Further testing made me discover a mistake.

For the dpkg-divert commands in the preinst and postrm scripts I
followed "man dpkg-divert". They were both run unconditionally.

However, when reinstalling one of the skype-translation-* binaries, I
noticed that the diversion was removed, since the dpkg-divert command in
the postrm of the overwritten package was run after the new install.

Not good.

Found the solution in this manual:
https://www.debian.org/doc/debian-policy/ap-pkg-diversions.html

So in the latest version there is a condition that controls when the
dpkg-divert command in a postrm script is run.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1314402

Title:
  Please upload skype-translation to the archive

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+bug/1314402/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to