Your message dated Thu, 24 Jul 2008 19:54:18 +0200
with message-id <[EMAIL PROTECTED]>
and subject line Re: Bug#491457: bash-completion: trying to overwrite 
`/etc/bash_completion', which is also in package bash
has caused the Debian Bug report #491457,
regarding bash-completion: trying to overwrite `/etc/bash_completion', which is 
also in package bash
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [EMAIL PROTECTED]
immediately.)


-- 
491457: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=491457
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
Package: bash-completion
Version: 20080705
Severity: normal

I have two systems running sid which couldn't install the latest
bash-completion, with:

> sudo apt-get install bash
Reading package lists... Done
Building dependency tree       
Reading state information... Done
bash is already the newest version.
The following extra packages will be installed:
  bash-completion
The following NEW packages will be installed:
  bash-completion
0 upgraded, 1 newly installed, 0 to remove and 18 not upgraded.
81 not fully installed or removed.
Need to get 0B/89.2kB of archives.
After this operation, 459kB of additional disk space will be used.
Do you want to continue [Y/n]? 
Reading package fields... Done
Reading package status... Done
Retrieving bug reports... Done
Parsing Found/Fixed information... Done
(Reading database ... 134061 files and directories currently installed.)
Unpacking bash-completion (from .../bash-completion_20080705_all.deb) ...
dpkg: error processing /var/cache/apt/archives/bash-completion_20080705_all.deb 
(--unpack):
 trying to overwrite `/etc/bash_completion', which is also in package bash
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Errors were encountered while processing:
 /var/cache/apt/archives/bash-completion_20080705_all.deb
[ Rootkit Hunter version 1.3.2 ]
File updated: searched for 154 files, found 136
E: Sub-process /usr/bin/dpkg returned an error code (1)


One of them seemed to fix itself when I did a purge of
bash_completion, and then reinstalled the same latest version in sid.
The other hasn't.  I just tracked it down to it still being listed as
a conffile in /var/lib/dpkg/status for the bash package.  Should there
be a method in one of the packages to clear the conffile status from
the bash package and let bash-completion take it over?


-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 
'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.25 (SMP w/2 CPU cores)
Locale: LANG=en_AU, LC_CTYPE=en_AU (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash

Versions of packages bash-completion depends on:
ii  bash                          3.2-4      The GNU Bourne Again SHell

bash-completion recommends no packages.

bash-completion suggests no packages.

-- no debconf information



--- End Message ---
--- Begin Message ---
Tim Connors wrote:
> On Thu, 24 Jul 2008, Luk Claes wrote:
> 
>> tags 491457 +unreproducible
>> thanks
>>
>> On Sun, Jul 20, 2008 at 01:37:55AM +1000, Tim Connors wrote:
>>> Package: bash-completion
>>> Version: 20080705
>>> I have two systems running sid which couldn't install the latest
>>> bash-completion, with:
>>>
>>>> sudo apt-get install bash
>>> The following extra packages will be installed:
>>>   bash-completion
>>> The following NEW packages will be installed:
>>>   bash-completion
>>> 0 upgraded, 1 newly installed, 0 to remove and 18 not upgraded.
>>> Unpacking bash-completion (from .../bash-completion_20080705_all.deb) ...
>>> dpkg: error processing 
>>> /var/cache/apt/archives/bash-completion_20080705_all.deb (--unpack):
>>>  trying to overwrite `/etc/bash_completion', which is also in package bash
>>> dpkg-deb: subprocess paste killed by signal (Broken pipe)
>>> Errors were encountered while processing:
>>>  /var/cache/apt/archives/bash-completion_20080705_all.deb
>>> E: Sub-process /usr/bin/dpkg returned an error code (1)
>>>
>>> One of them seemed to fix itself when I did a purge of
>>> bash_completion, and then reinstalled the same latest version in sid.
>>> The other hasn't.  I just tracked it down to it still being listed as
>>> a conffile in /var/lib/dpkg/status for the bash package.  Should there
>>> be a method in one of the packages to clear the conffile status from
>>> the bash package and let bash-completion take it over?
>> There is no way to clear the conffile status of the file, though dpkg
>> recognises that the conffile status is obsolete when I try to install
>> bash-completion when latest bash is installed which succeeds without any
>> errors.
> 
> Maybe related to me having manually edited bash_completion in the past.

I also tried that, but even then I couldn't reproduce the failure you
experienced.

>> Does /var/lib/dpkg/bash.conffiles and /var/lib/dpkg/bash.list or one of
>> them include /etc/bash_completion?
> 
> I ended up manually removing bash_completion and reinstalling both bash
> and bash_completion so can't test this now.

I'll close this bug then, though feel free to reopen if anyone succeeds
in reproducing this issue.

Cheers

Luk


--- End Message ---
_______________________________________________
Bash-completion-devel mailing list
Bash-completion-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/bash-completion-devel

Reply via email to