Bug#630921: [libmount1] tries to overwrite existing libmount
Jonathan Nieder wrote: # only affects upgrades from experimental severity 630921 wishlist tags 630921 + patch quit Julian Gilbey wrote: I, too, was upgrading 2.19.1-1 - 2.19.1-4 in testing, and this issue affected both the libmount1 and mount packages. Thanks, that helps. How about this patch? Ping? It's been a few months, but I still think this patch could be useful to help people who got stuck at 2.19.1-1 and never upgraded, if they exist. Alternatively, if it doesn't seem worth the trouble, please feel free to close the bug --- I don't mind. Patch left unsnipped for convenience. Thanks for keeping the basic utilities working well. Signed-off-by: Jonathan Nieder jrnie...@gmail.com --- debian/changelog |7 +++ debian/control |6 ++ 2 files changed, 13 insertions(+), 0 deletions(-) mode change 100644 = 100755 debian/rules diff --git a/debian/changelog b/debian/changelog index e9437385..679e09a8 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +util-linux (2.19.1-5.1) local; urgency=low + + * Make libmount, mount packages Break/Replace util-linux 2.19.1-1 to +avoid file conflicts (closes: #630921) + + -- Jonathan Nieder jrnie...@gmail.com Thu, 11 Aug 2011 03:54:16 -0500 + util-linux (2.19.1-5) unstable; urgency=low * Conflict/Replace fstrim to provide smooth upgrades (closes: #627579) diff --git a/debian/control b/debian/control index bdbf765d..bde42cb8 100644 --- a/debian/control +++ b/debian/control @@ -44,6 +44,8 @@ Architecture: linux-any Essential: yes Section: admin Pre-Depends: ${shlibs:Depends} +Breaks: util-linux (= 2.19.1-1) +Replaces: util-linux (= 2.19.1-1) Suggests: nfs-common (=1:1.1.0-13) Description: Tools for mounting and manipulating filesystems This package provides the mount(8), umount(8), swapon(8), @@ -123,6 +125,8 @@ Package: libmount1 Section: libs Priority: required Depends: ${shlibs:Depends}, ${misc:Depends} +Breaks: util-linux (= 2.19.1-1) +Replaces: util-linux (= 2.19.1-1) Architecture: linux-any Description: block device id library The device mounting library, used by mount and mount helpers. @@ -142,6 +146,8 @@ Package: libmount-dev Section: libdevel Priority: extra Depends: libc6-dev | libc-dev, libmount1 (= ${binary:Version}), uuid-dev, ${misc:Depends} +Breaks: util-linux (= 2.19.1-1) +Replaces: util-linux (= 2.19.1-1) Architecture: linux-any Description: block device id library - headers and static libraries The device mounting library, used by mount and mount helpers. diff --git a/debian/rules b/debian/rules old mode 100644 new mode 100755 -- 1.7.6 -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#630921: [libmount1] tries to overwrite existing libmount
On Wed, Aug 10, 2011 at 01:40:45PM -0500, Jonathan Nieder wrote: Julian Gilbey wrote: On Fri, Jul 29, 2011 at 12:54:57AM +0100, Francis Russell wrote: This bug just bit me from testing and required manual intervention in a package manager to fix. How is this wishlist? Ditto. Please have a version which Replaces: util-linux (= ...). Thanks. I ran into this again today in a VM tracking experimental, upgrading from 2.19.1-1 (in experimental). What version were you upgrading from? I, too, was upgrading 2.19.1-1 - 2.19.1-4 in testing, and this issue affected both the libmount1 and mount packages. Julian -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#630921: [libmount1] tries to overwrite existing libmount
# only affects upgrades from experimental severity 630921 wishlist tags 630921 + patch quit Julian Gilbey wrote: I, too, was upgrading 2.19.1-1 - 2.19.1-4 in testing, and this issue affected both the libmount1 and mount packages. Thanks, that helps. How about this patch? Signed-off-by: Jonathan Nieder jrnie...@gmail.com --- debian/changelog |7 +++ debian/control |6 ++ 2 files changed, 13 insertions(+), 0 deletions(-) mode change 100644 = 100755 debian/rules diff --git a/debian/changelog b/debian/changelog index e9437385..679e09a8 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +util-linux (2.19.1-5.1) local; urgency=low + + * Make libmount, mount packages Break/Replace util-linux 2.19.1-1 to +avoid file conflicts (closes: #630921) + + -- Jonathan Nieder jrnie...@gmail.com Thu, 11 Aug 2011 03:54:16 -0500 + util-linux (2.19.1-5) unstable; urgency=low * Conflict/Replace fstrim to provide smooth upgrades (closes: #627579) diff --git a/debian/control b/debian/control index bdbf765d..bde42cb8 100644 --- a/debian/control +++ b/debian/control @@ -44,6 +44,8 @@ Architecture: linux-any Essential: yes Section: admin Pre-Depends: ${shlibs:Depends} +Breaks: util-linux (= 2.19.1-1) +Replaces: util-linux (= 2.19.1-1) Suggests: nfs-common (=1:1.1.0-13) Description: Tools for mounting and manipulating filesystems This package provides the mount(8), umount(8), swapon(8), @@ -123,6 +125,8 @@ Package: libmount1 Section: libs Priority: required Depends: ${shlibs:Depends}, ${misc:Depends} +Breaks: util-linux (= 2.19.1-1) +Replaces: util-linux (= 2.19.1-1) Architecture: linux-any Description: block device id library The device mounting library, used by mount and mount helpers. @@ -142,6 +146,8 @@ Package: libmount-dev Section: libdevel Priority: extra Depends: libc6-dev | libc-dev, libmount1 (= ${binary:Version}), uuid-dev, ${misc:Depends} +Breaks: util-linux (= 2.19.1-1) +Replaces: util-linux (= 2.19.1-1) Architecture: linux-any Description: block device id library - headers and static libraries The device mounting library, used by mount and mount helpers. diff --git a/debian/rules b/debian/rules old mode 100644 new mode 100755 -- 1.7.6 -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#630921: [libmount1] tries to overwrite existing libmount
On Thu, Aug 11, 2011 at 04:05:04AM -0500, Jonathan Nieder wrote: # only affects upgrades from experimental severity 630921 wishlist tags 630921 + patch quit As at least two of us have said, this is *not* the case: I have *only* used packages from testing, and it affects testing as well. Thanks, that helps. How about this patch? As I've now upgraded, it's difficult to tell, but it does seem like the correct patch. I assume that only util-linux version 2.19.1-1 contained the conflicting files, not any earlier version? Once this patch has been applied, it can presumably be removed after the release of wheezy (or possibly even earlier). Julian Signed-off-by: Jonathan Nieder jrnie...@gmail.com --- debian/changelog |7 +++ debian/control |6 ++ 2 files changed, 13 insertions(+), 0 deletions(-) mode change 100644 = 100755 debian/rules diff --git a/debian/changelog b/debian/changelog index e9437385..679e09a8 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +util-linux (2.19.1-5.1) local; urgency=low + + * Make libmount, mount packages Break/Replace util-linux 2.19.1-1 to +avoid file conflicts (closes: #630921) + + -- Jonathan Nieder jrnie...@gmail.com Thu, 11 Aug 2011 03:54:16 -0500 + util-linux (2.19.1-5) unstable; urgency=low * Conflict/Replace fstrim to provide smooth upgrades (closes: #627579) diff --git a/debian/control b/debian/control index bdbf765d..bde42cb8 100644 --- a/debian/control +++ b/debian/control @@ -44,6 +44,8 @@ Architecture: linux-any Essential: yes Section: admin Pre-Depends: ${shlibs:Depends} +Breaks: util-linux (= 2.19.1-1) +Replaces: util-linux (= 2.19.1-1) Suggests: nfs-common (=1:1.1.0-13) Description: Tools for mounting and manipulating filesystems This package provides the mount(8), umount(8), swapon(8), @@ -123,6 +125,8 @@ Package: libmount1 Section: libs Priority: required Depends: ${shlibs:Depends}, ${misc:Depends} +Breaks: util-linux (= 2.19.1-1) +Replaces: util-linux (= 2.19.1-1) Architecture: linux-any Description: block device id library The device mounting library, used by mount and mount helpers. @@ -142,6 +146,8 @@ Package: libmount-dev Section: libdevel Priority: extra Depends: libc6-dev | libc-dev, libmount1 (= ${binary:Version}), uuid-dev, ${misc:Depends} +Breaks: util-linux (= 2.19.1-1) +Replaces: util-linux (= 2.19.1-1) Architecture: linux-any Description: block device id library - headers and static libraries The device mounting library, used by mount and mount helpers. diff --git a/debian/rules b/debian/rules old mode 100644 new mode 100755 -- 1.7.6 -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#630921: [libmount1] tries to overwrite existing libmount
Julian Gilbey wrote: On Thu, Aug 11, 2011 at 04:05:04AM -0500, Jonathan Nieder wrote: # only affects upgrades from experimental severity 630921 wishlist tags 630921 + patch quit As at least two of us have said, this is *not* the case: I have *only* used packages from testing, and it affects testing as well. I trust you. But I must be missing something: could you fill me in? According to http://thread.gmane.org/gmane.linux.debian.devel.changes.testing/498 the version of util-linux in testing moved from 2.17.2-9.1 to 2.19.1-4 in one jump two weeks ago. According to http://thread.gmane.org/gmane.linux.debian.devel.changes.unstable/235955 and the util-linux changelog, 2.19.1-1 was only uploaded to experimental. How did it get into testing? -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#630921: [libmount1] tries to overwrite existing libmount
[Resending as forgot to include the bug report in previous email] On Thu, Aug 11, 2011 at 04:24:32AM -0500, Jonathan Nieder wrote: Julian Gilbey wrote: As at least two of us have said, this is *not* the case: I have *only* used packages from testing, and it affects testing as well. I trust you. But I must be missing something: could you fill me in? According to http://thread.gmane.org/gmane.linux.debian.devel.changes.testing/498 the version of util-linux in testing moved from 2.17.2-9.1 to 2.19.1-4 in one jump two weeks ago. According to http://thread.gmane.org/gmane.linux.debian.devel.changes.unstable/235955 and the util-linux changelog, 2.19.1-1 was only uploaded to experimental. How did it get into testing? My bad - you are, indeed, correct. I had forgotten where my installation of 2.19.1-1 came from. There was a problem a while ago with 2.17.2-9.1 not working with fusermount or encfs or something like that, so I upgraded bsdutils, libblkid1, libuuid1, mount, util-linux, util-linux-locales, uuid-dev and uuid-runtime to version 2.19.1-1 to fix this. So that explains that. Apologies for the confusion, Julian -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#630921: [libmount1] tries to overwrite existing libmount
Julian Gilbey wrote: I had forgotten where my installation of 2.19.1-1 came from. There was a problem a while ago with 2.17.2-9.1 not working with fusermount or encfs or something like that, so I upgraded bsdutils, libblkid1, libuuid1, mount, util-linux, util-linux-locales, uuid-dev and uuid-runtime to version 2.19.1-1 to fix this. Thanks for clarifying. So that explains that. Apologies for the confusion, No problem. I think we agree on the fundamental thing, which is that the package is still worth fixing. :) -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#630921: [libmount1] tries to overwrite existing libmount
Julian Gilbey wrote: On Fri, Jul 29, 2011 at 12:54:57AM +0100, Francis Russell wrote: This bug just bit me from testing and required manual intervention in a package manager to fix. How is this wishlist? Ditto. Please have a version which Replaces: util-linux (= ...). Thanks. I ran into this again today in a VM tracking experimental, upgrading from 2.19.1-1 (in experimental). What version were you upgrading from? -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#630921: [libmount1] tries to overwrite existing libmount
severity 630921 serious tags 630921 wheezy thanks On Fri, Jul 29, 2011 at 12:54:57AM +0100, Francis Russell wrote: Package: libmount1 Version: 2.19.1-4 Followup-For: Bug #630921 This bug just bit me from testing and required manual intervention in a package manager to fix. How is this wishlist? Ditto. Please have a version which Replaces: util-linux (= ...). Julian -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#630921: [libmount1] tries to overwrite existing libmount
Package: libmount1 Version: 2.19.1-4 Followup-For: Bug #630921 This bug just bit me from testing and required manual intervention in a package manager to fix. How is this wishlist? Francis -- System Information: Debian Release: wheezy/sid APT prefers testing APT policy: (500, 'testing'), (500, 'stable'), (50, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 2.6.39.3 (SMP w/2 CPU cores) Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages libmount1 depends on: ii libblkid1 2.19.1-4 block device id library ii libc6 2.13-10Embedded GNU C Library: Shared lib ii libselinux1 2.0.98-1.1 SELinux runtime shared libraries ii libsepol1 2.0.42-1 SELinux library for manipulating b libmount1 recommends no packages. libmount1 suggests no packages. -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#630921: [libmount1] tries to overwrite existing libmount
severity 630921 wishlist quit Vincent Lefevre wrote: On 2011-06-18 15:25:23 -0400, John Vogel wrote: When upgrading from util-linux-2.19.1-1 et al, libmount1 install tries to overwrite previous util-linux libmount. Bypassed here by holding mount and libmount1 while upgrading the rest, then proceeded with mount and libmount1. I'm not a packaging guru, but would setting a Conflicts: or Breaks: line in the debian/control do the trick? Even when only experimental is affected? In that case, I believe a Breaks: util-linux (= 2.19.1-1) Replaces: util-linux (= 2.19.1-1) would be a friendly thing to do. FYI, upgrading is fine from unstable. Thanks for checking. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#630921: [libmount1] tries to overwrite existing libmount
Package: libmount1 Version: 2.19.1-2 Severity: grave --- Please enter the report below this line. --- When upgrading from util-linux-2.19.1-1 et al, libmount1 install tries to overwrite previous util-linux libmount. Bypassed here by holding mount and libmount1 while upgrading the rest, then proceeded with mount and libmount1. I'm not a packaging guru, but would setting a Conflicts: or Breaks: line in the debian/control do the trick? --- System information. --- Architecture: amd64 Kernel: Linux 2.6.39-2-amd64 Debian Release: wheezy/sid 500 unstablelocalhost 500 testing localhost 500 experimentallocalhost 1 experimentallocalhost --- Package information. --- Depends (Version) | Installed ===-+- libblkid1 (= 2.17.2) | 2.19.1-2 libc6 (= 2.4) | 2.13-7 libselinux1 (= 1.32) | 2.0.98-1+b1 libsepol1 (= 1.14) | 2.0.42-1 Package's Recommends field is empty. Package's Suggests field is empty. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#630921: [libmount1] tries to overwrite existing libmount
On 2011-06-18 15:25:23 -0400, John Vogel wrote: Package: libmount1 Version: 2.19.1-2 Severity: grave --- Please enter the report below this line. --- When upgrading from util-linux-2.19.1-1 et al, libmount1 install tries to overwrite previous util-linux libmount. Bypassed here by holding mount and libmount1 while upgrading the rest, then proceeded with mount and libmount1. I'm not a packaging guru, but would setting a Conflicts: or Breaks: line in the debian/control do the trick? Even when only experimental is affected? FYI, upgrading is fine from unstable. -- Vincent Lefèvre vinc...@vinc17.net - Web: http://www.vinc17.net/ 100% accessible validated (X)HTML - Blog: http://www.vinc17.net/blog/ Work: CR INRIA - computer arithmetic / Arénaire project (LIP, ENS-Lyon) -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org