[Debian-med-packaging] Bug#670495: Bug#670495: biomaj-watcher: fails to upgrade from testing: ln: failed to create symbolic link `/usr/share/java/webapps/biomaj-watcher/WEB-INF/lib/gnumail.jar': File exists

Andreas Beckmann debian at abeckmann.de
Thu Apr 26 09:29:47 UTC 2012


On 2012-04-26 10:18, Olivier Sallou wrote:
> Could you tell me how to test this ? I tested with piuparts for basic
> install/uninstall but how can I test this kind of upgrade no my computer?

This should do the job for the packages currently in the archive:

sudo nice piuparts --warn-on-others --warn-on-leftovers-after-purge
--skip-logrotatefiles-test -d wheezy -d sid --mirror
http://ftp.XX.debian.org/debian --apt biomaj-watcher

If you already have a wheezy chroot as a .tgz, add -b wheezy.tar.gz to
avoid running debootstrap over and over (you can save a minimal wheezy
chroot with -s wheezy.tar.gz).

To test a newly built package, this should work (not tested):

sudo nice piuparts --warn-on-others --warn-on-leftovers-after-purge
--skip-logrotatefiles-test -d wheezy --mirror
http://ftp.XX.debian.org/debian biomaj-watcher*.deb

I don't think you need the distupgrade from wheezy to sid step
inbetween, upgrading to the new package in wheezy should be sufficient.

Running distupgrades (-d wheezy -d sid) while using "local" packages is
currently not supported in piuparts (but I'll work this some day).

Andreas





More information about the Debian-med-packaging mailing list