Debian Bug report logs -
#586161
bash-completion: Shipping completion file for cryptsetup conflicts with cryptsetup package 2:1.1.2-1
Reported by: Sven <sven@timegate.de>
Date: Wed, 16 Jun 2010 22:48:01 UTC
Severity: serious
Tags: confirmed
Found in versions bash-completion/1:1.2-1, 1.2-1
Fixed in version bash-completion/1:1.2-2
Done: David Paleino <dapal@debian.org>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded
to debian-bugs-dist@lists.debian.org, Bash Completion Maintainers <bash-completion-devel@lists.alioth.debian.org>:
Bug#586161; Package bash-completion.
(Wed, 16 Jun 2010 22:48:04 GMT) (full text, mbox, link).
Acknowledgement sent
to Sven <sven@timegate.de>:
New Bug report received and forwarded. Copy sent to Bash Completion Maintainers <bash-completion-devel@lists.alioth.debian.org>.
(Wed, 16 Jun 2010 22:48:04 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
Package: bash-completion
Version: 1:1.1-3
Severity: serious
Justification: 7.x
Hi,
the current cryptsetup package already ships a bash-completion file and
thus the current bash-completion package can not be installed along with
cryptsetup.
Sven
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.32-5-686 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages bash-completion depends on:
ii bash 4.1-3 The GNU Bourne Again SHell
bash-completion recommends no packages.
bash-completion suggests no packages.
-- no debconf information
Information forwarded
to debian-bugs-dist@lists.debian.org, Bash Completion Maintainers <bash-completion-devel@lists.alioth.debian.org>:
Bug#586161; Package bash-completion.
(Thu, 17 Jun 2010 04:45:03 GMT) (full text, mbox, link).
Acknowledgement sent
to Juhapekka Tolvanen <juhtolv@iki.fi>:
Extra info received and forwarded to list. Copy sent to Bash Completion Maintainers <bash-completion-devel@lists.alioth.debian.org>.
(Thu, 17 Jun 2010 04:45:03 GMT) (full text, mbox, link).
Message #10 received at 586161@bugs.debian.org (full text, mbox, reply):
Package: bash-completion
Version: 1.2-1
Severity: normal
(Reading database ... 483716 files and directories currently
installed.)
Preparing to replace bash-completion 1:1.1-3 (using .../bash-completion_1%3a1.2-1_all.deb) ...
Unpacking replacement bash-completion ...
dpkg: error processing
/var/cache/apt/archives/bash-completion_1%3a1.2-1_all.deb (--unpack):
trying to overwrite '/etc/bash_completion.d/cryptsetup', which is
also in package cryptsetup 2:1.1.2-1
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/bash-completion_1%3a1.2-1_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (1001, 'unstable'), (990, 'stable'), (500, 'testing-proposed-updates'), (500, 'proposed-updates'), (101, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.32-5-686 (SMP w/1 CPU core)
Locale: LANG=fi_FI.utf8, LC_CTYPE=fi_FI.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages bash-completion depends on:
ii bash 4.1-3 The GNU Bourne Again SHell
bash-completion recommends no packages.
bash-completion suggests no packages.
-- no debconf information
--
Juhapekka "naula" Tolvanen * http colon slash slash iki dot fi slash juhtolv
"Quidquid Latine dictum sit altum videtur."
Merged 586161 586162.
Request was from Sven Hoexter <sven@timegate.de>
to control@bugs.debian.org.
(Thu, 17 Jun 2010 07:03:09 GMT) (full text, mbox, link).
Forcibly Merged 586161 586162.
Request was from David Paleino <dapal@debian.org>
to control@bugs.debian.org.
(Thu, 17 Jun 2010 07:15:04 GMT) (full text, mbox, link).
Information forwarded
to debian-bugs-dist@lists.debian.org, Bash Completion Maintainers <bash-completion-devel@lists.alioth.debian.org>:
Bug#586161; Package bash-completion.
(Thu, 17 Jun 2010 07:42:16 GMT) (full text, mbox, link).
Acknowledgement sent
to dapal@debian.org:
Extra info received and forwarded to list. Copy sent to Bash Completion Maintainers <bash-completion-devel@lists.alioth.debian.org>.
(Thu, 17 Jun 2010 07:42:16 GMT) (full text, mbox, link).
Message #19 received at 586161@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Hello,
On Thu, 17 Jun 2010 00:47:53 +0200, Michael Biebl wrote:
> Package: bash-completion
> Version: 1:1.2-1
> Severity: serious
>
> bash-completion fails to upgrade due to a file conflict with cryptsetup:
> [..]
They both are providing a completion file.
Could you tell me which one works better? I'm also CCing the cryptsetup
maintainer.
If they work more-or-less the same, I'm more inclined to keep our completion,
and reassign this bug to cryptsetup (to remove their version), or,
alternatively, give them our completion.
Our completion is "better" since it's using a newer API of bash-completion (so
it's less error-prone), while their is directly mangling bash variables.
If needed, I'm available to improve our completion, or eventually fix theirs and
remove "cryptsetup" from bash-completion upstream.
Kindly,
David
--
. ''`. Debian developer | http://wiki.debian.org/DavidPaleino
: :' : Linuxer #334216 --|-- http://www.hanskalabs.net/
`. `'` GPG: 1392B174 ----|---- http://deb.li/dapal
`- 2BAB C625 4E66 E7B8 450A C3E1 E6AA 9017 1392 B174
[signature.asc (application/pgp-signature, attachment)]
Message sent on
to Sven <sven@timegate.de>:
Bug#586161.
(Thu, 17 Jun 2010 07:42:26 GMT) (full text, mbox, link).
Information forwarded
to debian-bugs-dist@lists.debian.org, Bash Completion Maintainers <bash-completion-devel@lists.alioth.debian.org>:
Bug#586161; Package bash-completion.
(Thu, 17 Jun 2010 07:51:06 GMT) (full text, mbox, link).
Acknowledgement sent
to Hrdkr <arturlagutin@gmail.com>:
Extra info received and forwarded to list. Copy sent to Bash Completion Maintainers <bash-completion-devel@lists.alioth.debian.org>.
(Thu, 17 Jun 2010 07:51:06 GMT) (full text, mbox, link).
Message #27 received at 586161@bugs.debian.org (full text, mbox, reply):
Package: bash-completion
Severity: normal
Upgrade from 1:1.1-3 (currently in Squeeze repository) to 1:1.2-1 (currently in Sid) version fails. Seems like there is kind of conflict with cryptsetup package. Here is some output:
hrdkr@host:~$ sudo aptitude show bash-completion
Package: bash-completion
State: installed
Automatically installed: no
Version: 1:1.1-3
Priority: standard
Section: shells
Maintainer: Bash Completion Maintainers <bash-completion-devel@lists.alioth.debian.org>
Uncompressed Size: 958k
Depends: bash (>= 3.1dfsg-9)
Replaces: bash (< 3.1dfsg-9)
Description: programmable completion for the bash shell
bash completion extends bash's standard completion behavior to achieve complex command lines with just a few keystrokes. This
project was conceived to produce programmable completion routines for the most common Linux/UNIX commands, reducing the amount of
typing sysadmins and programmers need to do on a daily basis.
Homepage: http://bash-completion.alioth.debian.org
hrdkr@host:~$ sudo aptitude install bash-completion
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information... Done
Initializing package states... Done
Reading task descriptions... Done
The following packages will be upgraded:
bash-completion
1 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/137kB of archives. After unpacking 102kB will be used.
Do you want to continue? [Y/n/?] y
Writing extended state information... Done
Reading changelogs... Done
(Reading database ... 193740 files and directories currently installed.)
Preparing to replace bash-completion 1:1.1-3 (using .../bash-completion_1%3a1.2-1_all.deb) ...
Unpacking replacement bash-completion ...
dpkg: error processing /var/cache/apt/archives/bash-completion_1%3a1.2-1_all.deb (--unpack):
trying to overwrite '/etc/bash_completion.d/cryptsetup', which is also in package cryptsetup 2:1.1.2-1
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/bash-completion_1%3a1.2-1_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information... Done
Initializing package states... Done
Reading task descriptions... Done
Here is /etc/apt/preferences contents:
Package: *
Pin: release a=squeeze
Pin-Priority: 700
Package: *
Pin: release a=sid
Pin-Priority: 800
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages bash-completion depends on:
ii bash 4.1-3 The GNU Bourne Again SHell
bash-completion recommends no packages.
bash-completion suggests no packages.
-- no debconf information
Information forwarded
to debian-bugs-dist@lists.debian.org, Bash Completion Maintainers <bash-completion-devel@lists.alioth.debian.org>:
Bug#586161; Package bash-completion.
(Fri, 18 Jun 2010 10:30:03 GMT) (full text, mbox, link).
Acknowledgement sent
to dapal@debian.org:
Extra info received and forwarded to list. Copy sent to Bash Completion Maintainers <bash-completion-devel@lists.alioth.debian.org>.
(Fri, 18 Jun 2010 10:30:03 GMT) (full text, mbox, link).
Message #32 received at 586161@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
clone 586161 -1
reassign -1 bash-completion,cryptsetup
retitle -1 decide who should ship completion for cryptsetup
severity -1 normal
thanks
Hello people,
On Thu, 17 Jun 2010 00:39:26 +0200, Sven wrote:
> the current cryptsetup package already ships a bash-completion file and
> thus the current bash-completion package can not be installed along with
> cryptsetup.
For the time being, I'll drop the file from the Debian package. Upstream
bash-completion will still ship it though.
I'm cloning the bug (cryptsetup maintainer CCed), to decide which completion
should be shipped to users. I believe ours is slightly better but, not being an
user of cryptsetup at all, I can't tell (apart from the technical side).
David
--
. ''`. Debian developer | http://wiki.debian.org/DavidPaleino
: :' : Linuxer #334216 --|-- http://www.hanskalabs.net/
`. `'` GPG: 1392B174 ----|---- http://deb.li/dapal
`- 2BAB C625 4E66 E7B8 450A C3E1 E6AA 9017 1392 B174
[signature.asc (application/pgp-signature, attachment)]
Disconnected #586162 from all other report(s).
Request was from David Paleino <dapal@debian.org>
to control@bugs.debian.org.
(Fri, 18 Jun 2010 10:45:03 GMT) (full text, mbox, link).
Information forwarded
to debian-bugs-dist@lists.debian.org, Bash Completion Maintainers <bash-completion-devel@lists.alioth.debian.org>:
Bug#586161; Package bash-completion.
(Fri, 18 Jun 2010 11:06:21 GMT) (full text, mbox, link).
Acknowledgement sent
to Jonas Meurer <jonas@freesources.org>:
Extra info received and forwarded to list. Copy sent to Bash Completion Maintainers <bash-completion-devel@lists.alioth.debian.org>.
(Fri, 18 Jun 2010 11:06:21 GMT) (full text, mbox, link).
Message #39 received at 586161@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
hey,
i just removed the bash-comletion file from cryptsetup svn. with the upload
of 2:1.1.2-2, cryptsetup will no longer ship this file. thus i suggest
to add a "Conflicts: cryptsetup (< 2:1.1.2-2)" to bash-completion in
order to fix bug #586161. i'll upload cryptsetup 2:1.1.2-2 within the
next days.
greetings,
jonas
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to debian-bugs-dist@lists.debian.org, Bash Completion Maintainers <bash-completion-devel@lists.alioth.debian.org>:
Bug#586161; Package bash-completion.
(Fri, 18 Jun 2010 11:21:06 GMT) (full text, mbox, link).
Acknowledgement sent
to Julien Cristau <jcristau@debian.org>:
Extra info received and forwarded to list. Copy sent to Bash Completion Maintainers <bash-completion-devel@lists.alioth.debian.org>.
(Fri, 18 Jun 2010 11:21:06 GMT) (full text, mbox, link).
Message #44 received at 586161@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
On Fri, Jun 18, 2010 at 13:05:22 +0200, Jonas Meurer wrote:
> hey,
>
> i just removed the bash-comletion file from cryptsetup svn. with the upload
> of 2:1.1.2-2, cryptsetup will no longer ship this file. thus i suggest
> to add a "Conflicts: cryptsetup (< 2:1.1.2-2)" to bash-completion in
> order to fix bug #586161. i'll upload cryptsetup 2:1.1.2-2 within the
> next days.
>
Please use Replaces, not Conflicts.
Cheers,
Julien
[signature.asc (application/pgp-signature, inline)]
Added blocking bug(s) of 586161: 586162
Request was from David Paleino <dapal@debian.org>
to control@bugs.debian.org.
(Sat, 19 Jun 2010 15:24:02 GMT) (full text, mbox, link).
Information forwarded
to debian-bugs-dist@lists.debian.org, Bash Completion Maintainers <bash-completion-devel@lists.alioth.debian.org>:
Bug#586161; Package bash-completion.
(Sat, 19 Jun 2010 21:12:03 GMT) (full text, mbox, link).
Acknowledgement sent
to Vincent Lefevre <vincent@vinc17.net>:
Extra info received and forwarded to list. Copy sent to Bash Completion Maintainers <bash-completion-devel@lists.alioth.debian.org>.
(Sat, 19 Jun 2010 21:12:04 GMT) (full text, mbox, link).
Message #51 received at 586161@bugs.debian.org (full text, mbox, reply):
notfound 586161 bash-completion/1:1.1-3
thanks
The reporter incorrectly sent a bug against 1.1-3 (probably because
the upgrade failed and reportbug took the previous version, that
didn't have the conflict).
The consequence is that apt-listbugs doesn't warn the user in an
upgrade from 1.1-3. See bug 586384.
Bug No longer marked as found in versions bash-completion/1:1.1-3.
Request was from Vincent Lefevre <vincent@vinc17.net>
to control@bugs.debian.org.
(Sat, 19 Jun 2010 21:12:06 GMT) (full text, mbox, link).
Added tag(s) confirmed and pending.
Request was from David Paleino <dapal@debian.org>
to control@bugs.debian.org.
(Sun, 20 Jun 2010 08:03:03 GMT) (full text, mbox, link).
Reply sent
to David Paleino <dapal@debian.org>:
You have taken responsibility.
(Sun, 20 Jun 2010 09:33:04 GMT) (full text, mbox, link).
Notification sent
to Sven <sven@timegate.de>:
Bug acknowledged by developer.
(Sun, 20 Jun 2010 09:33:04 GMT) (full text, mbox, link).
Message #60 received at 586161-close@bugs.debian.org (full text, mbox, reply):
Source: bash-completion
Source-Version: 1:1.2-2
We believe that the bug you reported is fixed in the latest version of
bash-completion, which is due to be installed in the Debian FTP archive:
bash-completion_1.2-2.debian.tar.gz
to main/b/bash-completion/bash-completion_1.2-2.debian.tar.gz
bash-completion_1.2-2.dsc
to main/b/bash-completion/bash-completion_1.2-2.dsc
bash-completion_1.2-2_all.deb
to main/b/bash-completion/bash-completion_1.2-2_all.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 586161@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
David Paleino <dapal@debian.org> (supplier of updated bash-completion 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.8
Date: Sun, 20 Jun 2010 09:57:35 +0200
Source: bash-completion
Binary: bash-completion
Architecture: source all
Version: 1:1.2-2
Distribution: unstable
Urgency: low
Maintainer: Bash Completion Maintainers <bash-completion-devel@lists.alioth.debian.org>
Changed-By: David Paleino <dapal@debian.org>
Description:
bash-completion - programmable completion for the bash shell
Closes: 586161 586210
Changes:
bash-completion (1:1.2-2) unstable; urgency=low
.
* debian/patches/:
- 00-fix_586210.patch added, fixes a weird error while loading
service(8) completions. Thanks to John Hedges (Closes: #586210)
* debian/control:
- added Replaces: cryptsetup (Closes: #586161)
Checksums-Sha1:
0f3d2f10324350262568cc1259317e1952e7473b 1317 bash-completion_1.2-2.dsc
b5cf0e79831415c116cc1527fc7ad677aa0083b8 19522 bash-completion_1.2-2.debian.tar.gz
3fe6ab93c1c61386a54f0995fe25e282e0a46ec2 138534 bash-completion_1.2-2_all.deb
Checksums-Sha256:
740225e11f1bae2fbe2bbd355d9265bd1769fb8cc000c7779d8283fe500ccbec 1317 bash-completion_1.2-2.dsc
8e18ecb71998bf4e8af8d2b531f40a5797c757ec3b034aee0dc76e3d66adc6ea 19522 bash-completion_1.2-2.debian.tar.gz
a6a09515fd68c6ec73d00c7d17fcea0e16ed78ce08c8de5d540f38cd93d253ce 138534 bash-completion_1.2-2_all.deb
Files:
100c2aff151d703ccbba94e75e69021e 1317 shells standard bash-completion_1.2-2.dsc
3764349c6d23ddc91bdc80808059d8aa 19522 shells standard bash-completion_1.2-2.debian.tar.gz
9240cf94624ec4cea93cdca003135738 138534 shells standard bash-completion_1.2-2_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
iEYEARECAAYFAkwdytoACgkQ5qqQFxOSsXSYHQCeK1JJsxQ1mD5tpM1lHEO6LUxt
6EcAn35P9+Z7E5tCtc5M8kTLEvkLAFA2
=f6tt
-----END PGP SIGNATURE-----
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Mon, 19 Jul 2010 07:33:41 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:
Sun Jul 2 09:47:02 2023;
Machine Name:
buxtehude
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.