Debian Bug report logs - #415960
Missing Replaces: pilot-link (<< 0.12.2-7)

version graph

Package: libpisock9; Maintainer for libpisock9 is Ludovic Rousseau <rousseau@debian.org>; Source for libpisock9 is src:pilot-link (PTS, buildd, popcon).

Reported by: Norbert Preining <preining@logic.at>

Date: Fri, 23 Mar 2007 12:00:01 UTC

Severity: serious

Found in version pilot-link/0.12.2-7

Fixed in version pilot-link/0.12.2-8

Done: Ludovic Rousseau <rousseau@debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Ludovic Rousseau <rousseau@debian.org>:
Bug#415960; Package pilot-link. (full text, mbox, link).


Acknowledgement sent to Norbert Preining <preining@logic.at>:
New Bug report received and forwarded. Copy sent to Ludovic Rousseau <rousseau@debian.org>. (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Norbert Preining <preining@logic.at>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: pilot-link: 60-libpisock.rules is contained in two packages
Date: Fri, 23 Mar 2007 12:46:30 +0100
Package: pilot-link
Version: 0.12.2-7
Severity: serious
Justification: Policy 6.6

Preparing to replace libpisock9 0.12.2-6 (using .../libpisock9_0.12.2-7_i386.deb) ...
Unpacking replacement libpisock9 ...
dpkg: error processing /var/cache/apt/archives/libpisock9_0.12.2-7_i386.deb (--unpack):
 trying to overwrite `/etc/udev/rules.d/60-libpisock.rules', which is also in package pilot-link
Errors were encountered while processing:
 /var/cache/apt/archives/libpisock9_0.12.2-7_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)


-- System Information:
Debian Release: 4.0
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-4-k7
Locale: LANG=en_US.ISO-8859-15, LC_CTYPE=en_US.ISO-8859-15 (charmap=ISO-8859-15)

Versions of packages pilot-link depends on:
ii  libc6                     2.3.6.ds1-13   GNU C Library: Shared libraries
ii  libpisock9                0.12.2-6       library for communicating with a P
ii  libpng12-0                1.2.15~beta5-1 PNG library - runtime
ii  libreadline5              5.2-2          GNU readline and history libraries

pilot-link recommends no packages.

-- debconf information:
* shared/pilot/port: ttyUSB1



Information forwarded to debian-bugs-dist@lists.debian.org, Ludovic Rousseau <rousseau@debian.org>:
Bug#415960; Package pilot-link. (full text, mbox, link).


Acknowledgement sent to 415960@bugs.debian.org:
Extra info received and forwarded to list. Copy sent to Ludovic Rousseau <rousseau@debian.org>. (full text, mbox, link).


Message #10 received at 415960@bugs.debian.org (full text, mbox, reply):

From: Ludovic Rousseau <ludovic.rousseau@free.fr>
To: Norbert Preining <preining@logic.at>, 415960@bugs.debian.org
Subject: Re: Bug#415960: pilot-link: 60-libpisock.rules is contained in two packages
Date: Fri, 23 Mar 2007 13:49:15 +0100
Le 23.03.2007, à 12:46:30, Norbert Preining a écrit:
> Preparing to replace libpisock9 0.12.2-6 (using .../libpisock9_0.12.2-7_i386.deb) ...
> Unpacking replacement libpisock9 ...
> dpkg: error processing /var/cache/apt/archives/libpisock9_0.12.2-7_i386.deb (--unpack):
>  trying to overwrite `/etc/udev/rules.d/60-libpisock.rules', which is also in package pilot-link
> Errors were encountered while processing:
>  /var/cache/apt/archives/libpisock9_0.12.2-7_i386.deb
> E: Sub-process /usr/bin/dpkg returned an error code (1)

libpisock9 0.12.2-7 has a "Conflicts: pilot-link (<< 0.12.2-7)" to avoid
this problem.

What is the result of:
$ apt-cache policy pilot-link

Bye

-- 
 Dr. Ludovic Rousseau                        Ludovic.Rousseau@free.fr
 -- Normaliser Unix c'est comme pasteuriser le camembert, L.R. --



Information forwarded to debian-bugs-dist@lists.debian.org, Ludovic Rousseau <rousseau@debian.org>:
Bug#415960; Package pilot-link. (full text, mbox, link).


Acknowledgement sent to Julien Cristau <jcristau@debian.org>:
Extra info received and forwarded to list. Copy sent to Ludovic Rousseau <rousseau@debian.org>. (full text, mbox, link).


Message #15 received at 415960@bugs.debian.org (full text, mbox, reply):

From: Julien Cristau <jcristau@debian.org>
To: 415960@bugs.debian.org
Cc: Norbert Preining <preining@logic.at>
Subject: Re: Bug#415960: pilot-link: 60-libpisock.rules is contained in two packages
Date: Fri, 23 Mar 2007 13:59:49 +0100
On Fri, Mar 23, 2007 at 13:49:15 +0100, Ludovic Rousseau wrote:

> Le 23.03.2007, à 12:46:30, Norbert Preining a écrit:
> > Preparing to replace libpisock9 0.12.2-6 (using .../libpisock9_0.12.2-7_i386.deb) ...
> > Unpacking replacement libpisock9 ...
> > dpkg: error processing /var/cache/apt/archives/libpisock9_0.12.2-7_i386.deb (--unpack):
> >  trying to overwrite `/etc/udev/rules.d/60-libpisock.rules', which is also in package pilot-link
> > Errors were encountered while processing:
> >  /var/cache/apt/archives/libpisock9_0.12.2-7_i386.deb
> > E: Sub-process /usr/bin/dpkg returned an error code (1)
> 
> libpisock9 0.12.2-7 has a "Conflicts: pilot-link (<< 0.12.2-7)" to avoid
> this problem.
> 
/usr/udev/rules.d/60-libpisock.rules is a conffile, so a Conflicts isn't
enough.  Conflicts only ensures that pilot-link is removed, not purged.

Cheers,
Julien



Information forwarded to debian-bugs-dist@lists.debian.org, Ludovic Rousseau <rousseau@debian.org>:
Bug#415960; Package pilot-link. (full text, mbox, link).


Acknowledgement sent to Norbert Preining <preining@logic.at>:
Extra info received and forwarded to list. Copy sent to Ludovic Rousseau <rousseau@debian.org>. (full text, mbox, link).


Message #20 received at 415960@bugs.debian.org (full text, mbox, reply):

From: Norbert Preining <preining@logic.at>
To: 415960@bugs.debian.org, Julien Cristau <jcristau@debian.org>
Cc: control@bugs.debian.org
Subject: Re: Bug#415960: pilot-link: 60-libpisock.rules is contained in two packages
Date: Fri, 23 Mar 2007 14:29:47 +0100
reassign 415960 libpisock9
retitle 415960 Missing Replaces: pilot-link (<< 0.12.2-7)
thanks

> > libpisock9 0.12.2-7 has a "Conflicts: pilot-link (<< 0.12.2-7)" to avoid
> > this problem.
> > 
> /usr/udev/rules.d/60-libpisock.rules is a conffile, so a Conflicts isn't
> enough.  Conflicts only ensures that pilot-link is removed, not purged.

Best wishes

Norbert

-------------------------------------------------------------------------------
Dr. Norbert Preining <preining@logic.at>                    Università di Siena
Debian Developer <preining@debian.org>                         Debian TeX Group
gpg DSA: 0x09C5B094      fp: 14DF 2E6C 0307 BE6D AD76  A9C0 D2BF 4AA3 09C5 B094
-------------------------------------------------------------------------------
KENT (adj.)
Politely determined not to help despite a violent urge to the
contrary. Kent expressions are seen on the faces of people who are
good at something watching someone else who can't do it at all.
			--- Douglas Adams, The Meaning of Liff



Bug reassigned from package `pilot-link' to `libpisock9'. Request was from Norbert Preining <preining@logic.at> to control@bugs.debian.org. (Fri, 23 Mar 2007 14:09:10 GMT) (full text, mbox, link).


Changed Bug title to Missing Replaces: pilot-link (<< 0.12.2-7) from pilot-link: 60-libpisock.rules is contained in two packages. Request was from Norbert Preining <preining@logic.at> to control@bugs.debian.org. (Fri, 23 Mar 2007 14:09:12 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Ludovic Rousseau <rousseau@debian.org>:
Bug#415960; Package libpisock9. (full text, mbox, link).


Acknowledgement sent to 415960@bugs.debian.org:
Extra info received and forwarded to list. Copy sent to Ludovic Rousseau <rousseau@debian.org>. (full text, mbox, link).


Message #29 received at 415960@bugs.debian.org (full text, mbox, reply):

From: Ludovic Rousseau <ludovic.rousseau@free.fr>
To: Julien Cristau <jcristau@debian.org>, 415960@bugs.debian.org
Subject: Re: Bug#415960: pilot-link: 60-libpisock.rules is contained in two packages
Date: Fri, 23 Mar 2007 16:20:17 +0100
Le 23.03.2007, à 13:59:49, Julien Cristau a écrit:
> On Fri, Mar 23, 2007 at 13:49:15 +0100, Ludovic Rousseau wrote:
> > libpisock9 0.12.2-7 has a "Conflicts: pilot-link (<< 0.12.2-7)" to avoid
> > this problem.
> > 
> /usr/udev/rules.d/60-libpisock.rules is a conffile, so a Conflicts isn't
> enough.  Conflicts only ensures that pilot-link is removed, not purged.

What is the correct way to move a conffile from one package (pilot-link)
to another (libpisock9)?

Thanks

-- 
 Dr. Ludovic Rousseau                        Ludovic.Rousseau@free.fr
 -- Normaliser Unix c'est comme pasteuriser le camembert, L.R. --



Information forwarded to debian-bugs-dist@lists.debian.org, Ludovic Rousseau <rousseau@debian.org>:
Bug#415960; Package libpisock9. (full text, mbox, link).


Acknowledgement sent to Neil Williams <codehelp@debian.org>:
Extra info received and forwarded to list. Copy sent to Ludovic Rousseau <rousseau@debian.org>. (full text, mbox, link).


Message #34 received at 415960@bugs.debian.org (full text, mbox, reply):

From: Neil Williams <codehelp@debian.org>
To: 415960@bugs.debian.org
Cc: Ludovic Rousseau <ludovic.rousseau@free.fr>
Subject: Missing Replaces:
Date: Fri, 23 Mar 2007 23:00:29 +0000
[Message part 1 (text/plain, inline)]
> > > libpisock9 0.12.2-7 has a "Conflicts: pilot-link (<< 0.12.2-7)"
> > > to avoid this problem.
> > >
> > /usr/udev/rules.d/60-libpisock.rules is a conffile, so a Conflicts
> > isn't enough.  Conflicts only ensures that pilot-link is removed,
> > not purged.
>
> What is the correct way to move a conffile from one package
> (pilot-link) to another (libpisock9)?
>
> Thanks

As the bug title specifies, the way to move any file from one to
another (after the actual move) is with Replace: in debian/control.

The package now containing the file contains a Replace: line, specifying
the package FROM which the file has been removed.

In the section of debian/control for Package:libpisock9 :
Replaces: pilot-link

I usually put Replaces: lines after Depends: but YMMV.

Any file in libpisock9 is then able to replace any file that was
previously installed by pilot-link, preventing the "trying to overwrite
foo" errors.

I've just moved a symlink in /usr/lib from a -dbg to a -dev package
with this method, it doesn't actually matter what kind of file is
involved - as long as any side-effects are handled elsewhere (i.e.
that the package(s) work after the move).

--


Neil Williams
=============
http://www.data-freedom.org/
http://www.nosoftwarepatents.com/
http://www.linux.codehelp.co.uk/

[Message part 2 (application/pgp-signature, inline)]

Bug marked as found in version 0.12.2-7. Request was from Steve Langasek <vorlon@debian.org> to control@bugs.debian.org. (Sat, 24 Mar 2007 03:18:01 GMT) (full text, mbox, link).


Reply sent to Ludovic Rousseau <rousseau@debian.org>:
You have taken responsibility. (full text, mbox, link).


Notification sent to Norbert Preining <preining@logic.at>:
Bug acknowledged by developer. (full text, mbox, link).


Message #41 received at 415960-close@bugs.debian.org (full text, mbox, reply):

From: Ludovic Rousseau <rousseau@debian.org>
To: 415960-close@bugs.debian.org
Subject: Bug#415960: fixed in pilot-link 0.12.2-8
Date: Sat, 24 Mar 2007 14:02:02 +0000
Source: pilot-link
Source-Version: 0.12.2-8

We believe that the bug you reported is fixed in the latest version of
pilot-link, which is due to be installed in the Debian FTP archive:

libpda-pilot-perl_0.12.2-8_i386.deb
  to pool/main/p/pilot-link/libpda-pilot-perl_0.12.2-8_i386.deb
libpisock-dev_0.12.2-8_i386.deb
  to pool/main/p/pilot-link/libpisock-dev_0.12.2-8_i386.deb
libpisock9_0.12.2-8_i386.deb
  to pool/main/p/pilot-link/libpisock9_0.12.2-8_i386.deb
libpisync0_0.12.2-8_i386.deb
  to pool/main/p/pilot-link/libpisync0_0.12.2-8_i386.deb
pilot-link_0.12.2-8.diff.gz
  to pool/main/p/pilot-link/pilot-link_0.12.2-8.diff.gz
pilot-link_0.12.2-8.dsc
  to pool/main/p/pilot-link/pilot-link_0.12.2-8.dsc
pilot-link_0.12.2-8_i386.deb
  to pool/main/p/pilot-link/pilot-link_0.12.2-8_i386.deb
python-pisock_0.12.2-8_i386.deb
  to pool/main/p/pilot-link/python-pisock_0.12.2-8_i386.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 415960@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Ludovic Rousseau <rousseau@debian.org> (supplier of updated pilot-link package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Sat, 24 Mar 2007 14:21:22 +0100
Source: pilot-link
Binary: libpisock9 libpda-pilot-perl pilot-link libpisync0 python-pisock libpisock-dev
Architecture: source i386
Version: 0.12.2-8
Distribution: unstable
Urgency: low
Maintainer: Ludovic Rousseau <rousseau@debian.org>
Changed-By: Ludovic Rousseau <rousseau@debian.org>
Description: 
 libpda-pilot-perl - Perl module to communicate with a PalmOS PDA
 libpisock-dev - development files for communicating with a PalmOS PDA
 libpisock9 - library for communicating with a PalmOS PDA
 libpisync0 - synchronization library for PalmOS devices
 pilot-link - tools to communicate with a PalmOS PDA
 python-pisock - Python module to communicate with PalmOS PDA
Closes: 415960
Changes: 
 pilot-link (0.12.2-8) unstable; urgency=low
 .
   * debian/control: libpisock9 Replaces: pilot-link (<< 0.12.2-7)
     Closes: #415960 "60-libpisock.rules is contained in two packages"
Files: 
 edd803aaf250ee0309a6318595a0c47e 842 otherosfs optional pilot-link_0.12.2-8.dsc
 a6feaf51ae89c17fa2f5be82741fc4ac 16058 otherosfs optional pilot-link_0.12.2-8.diff.gz
 8a6642d91c2b3ba7c9e1d1dda913e833 170768 libdevel extra libpisock-dev_0.12.2-8_i386.deb
 464b13f854d04750f3e6d68898a70b3b 267786 libs optional libpisock9_0.12.2-8_i386.deb
 2419aee048cbbf322bd25a20fe16c189 118106 perl extra libpda-pilot-perl_0.12.2-8_i386.deb
 4d572e07be618f05568d3ca549b3ed3d 18142 libs optional libpisync0_0.12.2-8_i386.deb
 e6a3a2ecc3d7ca1b592047e8309e14c2 69294 python extra python-pisock_0.12.2-8_i386.deb
 5f1c03ee373c8a7734de3ad9d45dd22f 712826 otherosfs optional pilot-link_0.12.2-8_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFGBSr5P0qKj+B/HPkRAmr+AJ9ovPNuGy1eGHz6Om9Dw4dZKh7yYQCfYeib
ssLJOHLfCpU7lJ9AlP/B6jk=
=gisC
-----END PGP SIGNATURE-----




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Tue, 26 Jun 2007 02:47:32 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Fri Jan 5 08:52:06 2018; Machine Name: beach

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.