On Thu, 18 Mar 2010 13:55:44 +0100, Holger Levsen wrote:
> > Looks like we need a "Replaces: squidtaild (<< 0:2.1a6-5.4)" in
> > libconfigreader-simple-perl to be able to overwrite the file on
> > upgrades. Right?
> Yes, sounds good.
Thanks for helping me to think this through :)
> > gregor, who will look closer in the evening
> Thanks already!
After fighting with piuparts for some time I managed to do an upgrade
test against a locally built libconfigreader-simple-perl with the
Replaces:, and it works!
1m60.0s DEBUG: Starting command: ['chroot', '/tmp/tmpYz9bo4', 'apt-get', '-yf', 'dist-upgrade']
2m1.8s DUMP:
Reading package lists...
Building dependency tree...
Reading state information...
The following NEW packages will be installed:
libconfigreader-simple-perl
The following packages will be upgraded:
squidtaild
1 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 15.9kB/33.2kB of archives.
After this operation, 73.7kB of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
libconfigreader-simple-perl squidtaild
Authentication warning overridden.
Get:1 http://ftp.at.debian.org squeeze/main squidtaild 2.1a6-5.4 [15.9kB]
Fetched 15.9kB in 0s (214kB/s)
Selecting previously deselected package libconfigreader-simple-perl.
(Reading database ... 17602 files and directories currently installed.)
Unpacking libconfigreader-simple-perl (from .../libconfigreader-simple-perl_1.28-2_all.deb) ...
Replacing files in old package squidtaild ...
Preparing to replace squidtaild 2.1a6-5.3 (using .../squidtaild_2.1a6-5.4_all.deb) ...
Unpacking replacement squidtaild ...
Setting up libconfigreader-simple-perl (1.28-2) ...
Setting up squidtaild (2.1a6-5.4) ...
Cheers,
gregor, who will upload libconfigreader-simple-perl soon
--
.''`. http://info.comodo.priv.at/ -- GPG Key IDs: 0x8649AA06, 0x00F3CFE4
: :' : Debian GNU/Linux user, admin, & developer - http://www.debian.org/
`. `' Member of VIBE!AT & SPI, fellow of Free Software Foundation Europe
`- NP: Paco De Lucia, Al Di Meola, John Mc Laughlin: Azzurra
Attachment:
signature.asc
Description: Digital signature