Debian Bug report logs - #522545
bash-completion: configuration file conflict with mtx

version graph

Package: bash-completion; Maintainer for bash-completion is Gabriel F. T. Gomes <gabriel@debian.org>; Source for bash-completion is src:bash-completion (PTS, buildd, popcon).

Reported by: Michal Politowski <mpol@charybda.icm.edu.pl>

Date: Sat, 4 Apr 2009 18:00:01 UTC

Severity: serious

Found in version 1.0-1

Fixed in version bash-completion/1:1.0-2

Done: David Paleino <d.paleino@gmail.com>

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, Bash Completion Maintainers <bash-completion-devel@lists.alioth.debian.org>:
Bug#522545; Package bash-completion. (Sat, 04 Apr 2009 18:00:03 GMT) (full text, mbox, link).


Acknowledgement sent to Michal Politowski <mpol@charybda.icm.edu.pl>:
New Bug report received and forwarded. Copy sent to Bash Completion Maintainers <bash-completion-devel@lists.alioth.debian.org>. (Sat, 04 Apr 2009 18:00:03 GMT) (full text, mbox, link).


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

From: Michal Politowski <mpol@charybda.icm.edu.pl>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: bash-completion: configuration file conflict with mtx
Date: Sat, 4 Apr 2009 19:56:52 +0200
Package: bash-completion
Version: 1.0-1
Severity: serious
Justification: Policy 10.7.4

Preparing to replace bash-completion 20080705 (using .../bash-completion_1.0-1_all.deb) ...
Unpacking replacement bash-completion ...
dpkg: error processing /var/cache/debtorrent/ftp.pl.debian.org_debian_dists_unstable_main_binary-all/pool/main/b/bash-completion/bash-completion_1.0-1_all.deb (--unpack):
 trying to overwrite `/etc/bash_completion.d/mtx', which is also in package mtx
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Errors were encountered while processing:
 /var/cache/debtorrent/ftp.pl.debian.org_debian_dists_unstable_main_binary-all/pool/main/b/bash-completion/bash-completion_1.0-1_all.deb

-- 
Michał Politowski
Talking has been known to lead to communication if practiced carelessly.




Information forwarded to debian-bugs-dist@lists.debian.org, Bash Completion Maintainers <bash-completion-devel@lists.alioth.debian.org>:
Bug#522545; Package bash-completion. (Sat, 04 Apr 2009 19:06:04 GMT) (full text, mbox, link).


Acknowledgement sent to David Paleino <d.paleino@gmail.com>:
Extra info received and forwarded to list. Copy sent to Bash Completion Maintainers <bash-completion-devel@lists.alioth.debian.org>. (Sat, 04 Apr 2009 19:06:04 GMT) (full text, mbox, link).


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

From: David Paleino <d.paleino@gmail.com>
To: Michal Politowski <mpol@charybda.icm.edu.pl>
Cc: 522545@bugs.debian.org, mtx@packages.debian.org
Subject: Re: [Bash-completion-devel] Bug#522545: bash-completion: configuration file conflict with mtx
Date: Sat, 4 Apr 2009 21:03:51 +0200
[Message part 1 (text/plain, inline)]
On Sat, 4 Apr 2009 19:56:52 +0200, Michal Politowski wrote:

> Package: bash-completion
> Version: 1.0-1
> Severity: serious
> Justification: Policy 10.7.4
> 
> Preparing to replace bash-completion 20080705
> (using .../bash-completion_1.0-1_all.deb) ... Unpacking replacement
> bash-completion ... dpkg: error
> processing /var/cache/debtorrent/ftp.pl.debian.org_debian_dists_unstable_main_binary-all/pool/main/b/bash-completion/bash-completion_1.0-1_all.deb
> (--unpack): trying to overwrite `/etc/bash_completion.d/mtx', which is also
> in package mtx

Is the version in mtx updated? If not, I'd suggest mtx's maintainer (CCed) to
grab the one from bash-completion's git repo.

http://git.debian.org/?p=bash-completion/bash-completion.git;a=blob_plain;f=contrib/mtx;hb=a4c9bdc1774d234f322d214cf7636c10bd2db1c0

However, fixed. Package coming soon (will first search for other such
conflicts).

Kindly,
David

-- 
 . ''`.  Debian maintainer | http://wiki.debian.org/DavidPaleino
 : :'  : Linuxer #334216 --|-- http://www.hanskalabs.net/
 `. `'`  GPG: 1392B174 ----|---- http://snipr.com/qa_page
   `-   2BAB C625 4E66 E7B8 450A C3E1 E6AA 9017 1392 B174
[signature.asc (application/pgp-signature, attachment)]

Information forwarded to debian-bugs-dist@lists.debian.org, Bash Completion Maintainers <bash-completion-devel@lists.alioth.debian.org>:
Bug#522545; Package bash-completion. (Sat, 04 Apr 2009 19:18:05 GMT) (full text, mbox, link).


Acknowledgement sent to David Paleino <d.paleino@gmail.com>:
Extra info received and forwarded to list. Copy sent to Bash Completion Maintainers <bash-completion-devel@lists.alioth.debian.org>. (Sat, 04 Apr 2009 19:18:05 GMT) (full text, mbox, link).


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

From: David Paleino <d.paleino@gmail.com>
To: 522545-submitter@bugs.debian.org
Cc: 522545@bugs.debian.org, Bash-Completion Developers <bash-completion-devel@lists.alioth.debian.org>
Subject: Re: Bug#522545: Bug#522545: bash-completion: configuration file conflict with mtx
Date: Sat, 4 Apr 2009 21:15:24 +0200
[Message part 1 (text/plain, inline)]
On Sat, 4 Apr 2009 21:03:51 +0200, David Paleino wrote:

> However, fixed. Package coming soon (will first search for other such
> conflicts).

Seems like that was the only one conflicting! :(

(at least, at filename level. Looking inside the files, without having the
packages installed, well... is difficult :) -- we have plans to move
completions out of bash-completion itself though, so this won't happen again in
future)

Kindly,
David

-- 
 . ''`.  Debian maintainer | http://wiki.debian.org/DavidPaleino
 : :'  : Linuxer #334216 --|-- http://www.hanskalabs.net/
 `. `'`  GPG: 1392B174 ----|---- http://snipr.com/qa_page
   `-   2BAB C625 4E66 E7B8 450A C3E1 E6AA 9017 1392 B174
[signature.asc (application/pgp-signature, attachment)]

Message sent on to Michal Politowski <mpol@charybda.icm.edu.pl>:
Bug#522545. (Sat, 04 Apr 2009 19:18:06 GMT) (full text, mbox, link).


Reply sent to David Paleino <d.paleino@gmail.com>:
You have taken responsibility. (Sat, 04 Apr 2009 22:06:16 GMT) (full text, mbox, link).


Notification sent to Michal Politowski <mpol@charybda.icm.edu.pl>:
Bug acknowledged by developer. (Sat, 04 Apr 2009 22:06:16 GMT) (full text, mbox, link).


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

From: David Paleino <d.paleino@gmail.com>
To: 522545-close@bugs.debian.org
Subject: Bug#522545: fixed in bash-completion 1:1.0-2
Date: Sat, 04 Apr 2009 21:32:31 +0000
Source: bash-completion
Source-Version: 1:1.0-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.0-2.diff.gz
  to pool/main/b/bash-completion/bash-completion_1.0-2.diff.gz
bash-completion_1.0-2.dsc
  to pool/main/b/bash-completion/bash-completion_1.0-2.dsc
bash-completion_1.0-2_all.deb
  to pool/main/b/bash-completion/bash-completion_1.0-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 522545@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
David Paleino <d.paleino@gmail.com> (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: Sat, 04 Apr 2009 21:16:38 +0200
Source: bash-completion
Binary: bash-completion
Architecture: source all
Version: 1:1.0-2
Distribution: unstable
Urgency: low
Maintainer: d.paleino@gmail.com
Changed-By: David Paleino <d.paleino@gmail.com>
Description: 
 bash-completion - programmable completion for the bash shell
Closes: 522545
Changes: 
 bash-completion (1:1.0-2) unstable; urgency=low
 .
   * Remove mtx completion from bash_completion.d/ (Closes: #522545)
Checksums-Sha1: 
 c4e1e2b9b1f5b739e707823b4936efa0b4c5b5fa 1308 bash-completion_1.0-2.dsc
 c00c8b96d30841c4d0a98b84208053afd8165170 9077 bash-completion_1.0-2.diff.gz
 fc950c6d408ed72c17b9315a37e1c9c1bf883bb6 102236 bash-completion_1.0-2_all.deb
Checksums-Sha256: 
 b2e98469a27c299d3c2c9fddd329368d03409d7fd806e6cc61a546f7fbe54a1b 1308 bash-completion_1.0-2.dsc
 3ebb7c56c460e3505a41cf8d6341f9157ee404829353fcd0dfe5332568bc3e29 9077 bash-completion_1.0-2.diff.gz
 dfd9d8b893a0b8046804234879f16ed4a87f8441bb59b168f121fe1d9d289def 102236 bash-completion_1.0-2_all.deb
Files: 
 e47c0a56c34cfec9905d2c45bfc2ea75 1308 shells standard bash-completion_1.0-2.dsc
 c7301827af136dcb8417cd4d10aab8ee 9077 shells standard bash-completion_1.0-2.diff.gz
 d1e973ef5b9314cb7de9203b2986785b 102236 shells standard bash-completion_1.0-2_all.deb

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

iEYEARECAAYFAknXsuQACgkQ5qqQFxOSsXQRSQCdF6/K9d3MnkTrmNUkfRv/ixl1
rBkAnisd+zO7CLqDg4rDMnbh107J+PIO
=LsKP
-----END PGP SIGNATURE-----





Information forwarded to debian-bugs-dist@lists.debian.org, Bash Completion Maintainers <bash-completion-devel@lists.alioth.debian.org>:
Bug#522545; Package bash-completion. (Mon, 06 Apr 2009 00:45:05 GMT) (full text, mbox, link).


Acknowledgement sent to Bdale Garbee <bdale@gag.com>:
Extra info received and forwarded to list. Copy sent to Bash Completion Maintainers <bash-completion-devel@lists.alioth.debian.org>. (Mon, 06 Apr 2009 00:45:05 GMT) (full text, mbox, link).


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

From: Bdale Garbee <bdale@gag.com>
To: David Paleino <d.paleino@gmail.com>
Cc: Michal Politowski <mpol@charybda.icm.edu.pl>, 522545@bugs.debian.org, mtx@packages.debian.org
Subject: Re: [Bash-completion-devel] Bug#522545: bash-completion: configuration file conflict with mtx
Date: Sun, 05 Apr 2009 18:41:15 -0600
On Sat, 2009-04-04 at 21:03 +0200, David Paleino wrote:

> > processing /var/cache/debtorrent/ftp.pl.debian.org_debian_dists_unstable_main_binary-all/pool/main/b/bash-completion/bash-completion_1.0-1_all.deb
> > (--unpack): trying to overwrite `/etc/bash_completion.d/mtx', which is also
> > in package mtx
> 
> Is the version in mtx updated? If not, I'd suggest mtx's maintainer (CCed) to
> grab the one from bash-completion's git repo.
> 
> http://git.debian.org/?p=bash-completion/bash-completion.git;a=blob_plain;f=contrib/mtx;hb=a4c9bdc1774d234f322d214cf7636c10bd2db1c0

So, what's the right strategy for these?  I added the file in Feb 2004
on request from Jon Middleton, per Debian bug #227456.  I haven't given
it a single thought since then...

Does it make sense for me to continue to include the bash completion
file in the mtx package, or should I instead stop including it and add a
suggests on bash-completion to the package dependencies?

Bdale





Information forwarded to debian-bugs-dist@lists.debian.org, Bash Completion Maintainers <bash-completion-devel@lists.alioth.debian.org>:
Bug#522545; Package bash-completion. (Mon, 06 Apr 2009 05:30:02 GMT) (full text, mbox, link).


Acknowledgement sent to Luk Claes <luk@debian.org>:
Extra info received and forwarded to list. Copy sent to Bash Completion Maintainers <bash-completion-devel@lists.alioth.debian.org>. (Mon, 06 Apr 2009 05:30:02 GMT) (full text, mbox, link).


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

From: Luk Claes <luk@debian.org>
To: Bdale Garbee <bdale@gag.com>, 522545@bugs.debian.org
Cc: David Paleino <d.paleino@gmail.com>, Michal Politowski <mpol@charybda.icm.edu.pl>, mtx@packages.debian.org
Subject: Re: Bug#522545: [Bash-completion-devel] Bug#522545: bash-completion: configuration file conflict with mtx
Date: Mon, 06 Apr 2009 07:29:41 +0200
Bdale Garbee wrote:
> On Sat, 2009-04-04 at 21:03 +0200, David Paleino wrote:
> 
>>> processing /var/cache/debtorrent/ftp.pl.debian.org_debian_dists_unstable_main_binary-all/pool/main/b/bash-completion/bash-completion_1.0-1_all.deb
>>> (--unpack): trying to overwrite `/etc/bash_completion.d/mtx', which is also
>>> in package mtx
>> Is the version in mtx updated? If not, I'd suggest mtx's maintainer (CCed) to
>> grab the one from bash-completion's git repo.
>>
>> http://git.debian.org/?p=bash-completion/bash-completion.git;a=blob_plain;f=contrib/mtx;hb=a4c9bdc1774d234f322d214cf7636c10bd2db1c0
> 
> So, what's the right strategy for these?  I added the file in Feb 2004
> on request from Jon Middleton, per Debian bug #227456.  I haven't given
> it a single thought since then...
> 
> Does it make sense for me to continue to include the bash completion
> file in the mtx package, or should I instead stop including it and add a
> suggests on bash-completion to the package dependencies?

Including the file in the mtx package is the way to go, so please do
continue to include it.

It would be good if one of the bash-completion developers could have a
look if the bash completion file in mtx should be updated though.

Cheers

Luk




Information forwarded to debian-bugs-dist@lists.debian.org, Bash Completion Maintainers <bash-completion-devel@lists.alioth.debian.org>:
Bug#522545; Package bash-completion. (Mon, 06 Apr 2009 08:06:07 GMT) (full text, mbox, link).


Acknowledgement sent to David Paleino <d.paleino@gmail.com>:
Extra info received and forwarded to list. Copy sent to Bash Completion Maintainers <bash-completion-devel@lists.alioth.debian.org>. (Mon, 06 Apr 2009 08:06:07 GMT) (full text, mbox, link).


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

From: David Paleino <d.paleino@gmail.com>
To: Bdale Garbee <bdale@gag.com>
Cc: Michal Politowski <mpol@charybda.icm.edu.pl>, 522545@bugs.debian.org, mtx@packages.debian.org
Subject: Re: [Bash-completion-devel] Bug#522545: bash-completion: configuration file conflict with mtx
Date: Mon, 6 Apr 2009 10:03:38 +0200
[Message part 1 (text/plain, inline)]
# explanation for this later...
clone 522545 -1
reassign -1 mtx
retitle -1 please update bash-completion
owner -1 bash-completion-devel@lists.alioth.debian.org
user -1 bash-completion-devel@lists.alioth.debian.org
usertags -1 move-completions-upstream
thanks

Hello Bdale,

On Sun, 05 Apr 2009 18:41:15 -0600, Bdale Garbee wrote:

> On Sat, 2009-04-04 at 21:03 +0200, David Paleino wrote:
> 
> > > processing /var/cache/debtorrent/ftp.pl.debian.org_debian_dists_unstable_main_binary-all/pool/main/b/bash-completion/bash-completion_1.0-1_all.deb
> > > (--unpack): trying to overwrite `/etc/bash_completion.d/mtx', which is
> > > also in package mtx
> > 
> > Is the version in mtx updated? If not, I'd suggest mtx's maintainer (CCed)
> > to grab the one from bash-completion's git repo.
> > 
> > http://git.debian.org/?p=bash-completion/bash-completion.git;a=blob_plain;f=contrib/mtx;hb=a4c9bdc1774d234f322d214cf7636c10bd2db1c0
> 
> So, what's the right strategy for these?  I added the file in Feb 2004
> on request from Jon Middleton, per Debian bug #227456.  I haven't given
> it a single thought since then...
>
> Does it make sense for me to continue to include the bash completion
> file in the mtx package,

Please do so, as already replied by Luk.

> or should I instead stop including it and add a suggests on bash-completion
> to the package dependencies?

Please don't.
We're planning to "purg" bash-completion from third-party files -- we're going
to give only a framework people can use to write completions. Yes, we'll also
help writing completions (or do that on our own), but those will be
maintained/packaged/submitted upstream (not sure about maintained, but this is
another question).

As suggested by Luk, I've given the completion a look. I'm attaching a "general
patch", since I don't have one of those devices mtx controls :) (so I'm not
really able to parse "mtx status" for tapes and drives)

The most notable thing is:

-    cur=${COMP_WORDS[COMP_CWORD]}
+    cur=`_get_cword`

(the rest of the patch is "preventive")

Also, I kindly ask you to use dh_bash-completion: we're soon going to change
directory layout structure (yes, we'll have some compatibility level), and I'll
update dh_bash-completion accordingly when this happens. dh_bash-completion(1)
is your friend :)

(basically, your package needs no modifications to use it. Just the patch I'm
attaching ;) -- the above quoted fragment *must* be applied)

Thank you,
David

-- 
 . ''`.  Debian maintainer | http://wiki.debian.org/DavidPaleino
 : :'  : Linuxer #334216 --|-- http://www.hanskalabs.net/
 `. `'`  GPG: 1392B174 ----|---- http://snipr.com/qa_page
   `-   2BAB C625 4E66 E7B8 450A C3E1 E6AA 9017 1392 B174
[mtx.diff.gz (application/x-gzip, attachment)]
[signature.asc (application/pgp-signature, attachment)]

Bug 522545 cloned as bug 522739. Request was from David Paleino <d.paleino@gmail.com> to control@bugs.debian.org. (Mon, 06 Apr 2009 08:06:09 GMT) (full text, mbox, link).


Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Tue, 05 May 2009 07:32:51 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 10:02:55 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.