Debian Bug report logs - #544480
diffutils not installable - should conflict with diff

version graph

Package: diffutils; Maintainer for diffutils is Santiago Vila <sanvila@debian.org>; Source for diffutils is src:diffutils.

Reported by: Vincent Lefevre <vincent@vinc17.org>

Date: Mon, 31 Aug 2009 21:27:02 UTC

Severity: normal

Found in version diffutils/1:2.8.1-16

Done: Santiago Vila <sanvila@unex.es>

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, Santiago Vila <sanvila@debian.org>:
Bug#544480; Package diffutils. (Mon, 31 Aug 2009 21:27:06 GMT) Full text and rfc822 format available.

Acknowledgement sent to Vincent Lefevre <vincent@vinc17.org>:
New Bug report received and forwarded. Copy sent to Santiago Vila <sanvila@debian.org>. (Mon, 31 Aug 2009 21:27:06 GMT) Full text and rfc822 format available.

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

From: Vincent Lefevre <vincent@vinc17.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: diffutils not installable - should conflict with diff
Date: Mon, 31 Aug 2009 23:24:49 +0200
Package: diffutils
Version: 1:2.8.1-16
Severity: serious
Justification: Policy 7.4

diffutils installation fails when package diff is installed, probably
due to a missing Conflicts:

Selecting previously deselected package diffutils.
(Reading database ... 401114 files and directories currently installed.)
Unpacking diffutils (from .../diffutils_1%3a2.8.1-16_amd64.deb) ...
dpkg: error processing /var/cache/apt/archives/diffutils_1%3a2.8.1-16_amd64.deb (--unpack):
 trying to overwrite `/usr/bin/diff', which is also in package diff
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Errors were encountered while processing:
 /var/cache/apt/archives/diffutils_1%3a2.8.1-16_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

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

Kernel: Linux 2.6.26.5-20080922 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=POSIX, LC_CTYPE=en_US.ISO8859-1 (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash

Versions of packages diffutils depends on:
ii  libc6                         2.9-25     GNU C Library: Shared libraries

diffutils recommends no packages.

Versions of packages diffutils suggests:
pn  diffutils-doc                 <none>     (no description available)




Reply sent to Santiago Vila <sanvila@unex.es>:
You have taken responsibility. (Mon, 31 Aug 2009 22:54:07 GMT) Full text and rfc822 format available.

Notification sent to Vincent Lefevre <vincent@vinc17.org>:
Bug acknowledged by developer. (Mon, 31 Aug 2009 22:54:07 GMT) Full text and rfc822 format available.

Message #10 received at 544480-done@bugs.debian.org (full text, mbox):

From: Santiago Vila <sanvila@unex.es>
To: Vincent Lefevre <vincent@vinc17.org>, 544480-done@bugs.debian.org
Subject: Re: Bug#544480: diffutils not installable - should conflict with diff
Date: Tue, 1 Sep 2009 00:43:42 +0200 (CEST)
On Mon, 31 Aug 2009, Vincent Lefevre wrote:

> Package: diffutils
> Version: 1:2.8.1-16
> Severity: serious
> Justification: Policy 7.4
> 
> diffutils installation fails when package diff is installed, probably
> due to a missing Conflicts:
> 
> Selecting previously deselected package diffutils.
> (Reading database ... 401114 files and directories currently installed.)
> Unpacking diffutils (from .../diffutils_1%3a2.8.1-16_amd64.deb) ...
> dpkg: error processing /var/cache/apt/archives/diffutils_1%3a2.8.1-16_amd64.deb (--unpack):
>  trying to overwrite `/usr/bin/diff', which is also in package diff
> dpkg-deb: subprocess paste killed by signal (Broken pipe)
> Errors were encountered while processing:
>  /var/cache/apt/archives/diffutils_1%3a2.8.1-16_amd64.deb
> E: Sub-process /usr/bin/dpkg returned an error code (1)

Most probably, you have the old diff from experimental installed.

Do you really want to downgrade to version 2.8.1?

If so, please do this:

dpkg --force-remove-essential --purge diff
apt-get install diffutils

I promise that nothing will break by doing that.


OTOH, if you still want diff version 2.8.7 in your system, why in
earth did you remove experimental from sources.list? That's definitely
NOT supported. There is a dummy diff package in experimental which
smoothly upgrades to diffutils in experimental.

So, to summarize: Either use unstable or use unstable+experimental,
but installing packages from experimental and then removing it from
sources.list is not supported.




Severity set to 'normal' from 'serious' Request was from Santiago Vila <sanvila@unex.es> to control@bugs.debian.org. (Mon, 31 Aug 2009 23:00:05 GMT) Full text and rfc822 format available.

Information forwarded to debian-bugs-dist@lists.debian.org, Santiago Vila <sanvila@debian.org>:
Bug#544480; Package diffutils. (Mon, 31 Aug 2009 23:06:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Santiago Vila <sanvila@unex.es>:
Extra info received and forwarded to list. Copy sent to Santiago Vila <sanvila@debian.org>. (Mon, 31 Aug 2009 23:06:03 GMT) Full text and rfc822 format available.

Message #17 received at 544480@bugs.debian.org (full text, mbox):

From: Santiago Vila <sanvila@unex.es>
To: Vincent Lefevre <vincent@vinc17.org>, 544480@bugs.debian.org
Subject: Re: Bug#544480: diffutils not installable - should conflict with diff
Date: Tue, 1 Sep 2009 01:01:57 +0200 (CEST)
On Mon, 31 Aug 2009, Vincent Lefevre wrote:

> APT policy: (500, 'oldstable'), (500, 'unstable'), (500, 'stable'), (1, 'experimental')

Hmm. Sorry. Maybe my crystal ball is at fault after all.

Do you really have experimental in your sources.list?
I'm curious. What happens if you do this?:

apt-get install diff




Information forwarded to debian-bugs-dist@lists.debian.org, Santiago Vila <sanvila@debian.org>:
Bug#544480; Package diffutils. (Mon, 31 Aug 2009 23:09:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Santiago Vila <sanvila@unex.es>:
Extra info received and forwarded to list. Copy sent to Santiago Vila <sanvila@debian.org>. (Mon, 31 Aug 2009 23:09:04 GMT) Full text and rfc822 format available.

Message #22 received at 544480@bugs.debian.org (full text, mbox):

From: Santiago Vila <sanvila@unex.es>
To: Vincent Lefevre <vincent@vinc17.org>, 544480@bugs.debian.org
Subject: Re: Bug#544480: diffutils not installable - should conflict with diff
Date: Tue, 1 Sep 2009 01:05:20 +0200 (CEST)
On Mon, 31 Aug 2009, Vincent Lefevre wrote:

> APT policy: (500, 'oldstable'), (500, 'unstable'), (500, 'stable'), (1, 'experimental')

Hmm, I'm confused.

Do you really have oldstable, stable, unstable and experimental,
but not testing in your sources.list?




Information forwarded to debian-bugs-dist@lists.debian.org, Santiago Vila <sanvila@debian.org>:
Bug#544480; Package diffutils. (Mon, 31 Aug 2009 23:54:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to Vincent Lefevre <vincent@vinc17.org>:
Extra info received and forwarded to list. Copy sent to Santiago Vila <sanvila@debian.org>. (Mon, 31 Aug 2009 23:54:04 GMT) Full text and rfc822 format available.

Message #27 received at 544480@bugs.debian.org (full text, mbox):

From: Vincent Lefevre <vincent@vinc17.org>
To: Santiago Vila <sanvila@unex.es>
Cc: 544480@bugs.debian.org
Subject: Re: Bug#544480: diffutils not installable - should conflict with diff
Date: Tue, 1 Sep 2009 01:52:06 +0200
On 2009-09-01 00:43:42 +0200, Santiago Vila wrote:
> Most probably, you have the old diff from experimental installed.

Yes, this diff version from experimental was installed on 2008-06-18
(see bug 480774 for the reason), and I forgot about that. Sorry.

> So, to summarize: Either use unstable or use unstable+experimental,
> but installing packages from experimental and then removing it from
> sources.list is not supported.

I've never removed experimental from my sources.list file:

deb http://ftp.fr.debian.org/debian/ stable main contrib non-free
deb-src http://ftp.fr.debian.org/debian/ stable main contrib non-free

deb http://ftp.fr.debian.org/debian/ unstable main contrib non-free
deb-src http://ftp.fr.debian.org/debian/ unstable main contrib non-free

deb http://security.debian.org/ stable/updates main contrib non-free

deb http://security.debian.org etch/updates main contrib non-free
deb-src http://security.debian.org etch/updates main contrib non-free

deb http://ftp.fr.debian.org/debian experimental main

deb http://emacs.orebokech.com sid main
deb-src http://emacs.orebokech.com sid main

On 2009-09-01 01:05:20 +0200, Santiago Vila wrote:
> On Mon, 31 Aug 2009, Vincent Lefevre wrote:
> 
> > APT policy: (500, 'oldstable'), (500, 'unstable'), (500, 'stable'), (1, 'experimental')
> 
> Hmm, I'm confused.
> 
> Do you really have oldstable, stable, unstable and experimental,
> but not testing in your sources.list?

Exactly (I suppose that "testing" is not needed since packages
appear in "unstable" first).

-- 
Vincent Lefèvre <vincent@vinc17.org> - Web: <http://www.vinc17.org/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/>
Work: CR INRIA - computer arithmetic / Arénaire project (LIP, ENS-Lyon)




Information forwarded to debian-bugs-dist@lists.debian.org, Santiago Vila <sanvila@debian.org>:
Bug#544480; Package diffutils. (Tue, 01 Sep 2009 00:48:05 GMT) Full text and rfc822 format available.

Acknowledgement sent to Santiago Vila <sanvila@unex.es>:
Extra info received and forwarded to list. Copy sent to Santiago Vila <sanvila@debian.org>. (Tue, 01 Sep 2009 00:48:05 GMT) Full text and rfc822 format available.

Message #32 received at 544480@bugs.debian.org (full text, mbox):

From: Santiago Vila <sanvila@unex.es>
To: Vincent Lefevre <vincent@vinc17.org>, 544480@bugs.debian.org
Subject: Re: Bug#544480: diffutils not installable - should conflict with diff
Date: Tue, 1 Sep 2009 02:42:49 +0200 (CEST)
On Tue, 1 Sep 2009, Vincent Lefevre wrote:

> I've never removed experimental from my sources.list file:

So, does

apt-get install diff=1:2.8.7-0.1 diffutils=1:2.8.7-0.1

work, or it does not?




Information forwarded to debian-bugs-dist@lists.debian.org, Santiago Vila <sanvila@debian.org>:
Bug#544480; Package diffutils. (Tue, 01 Sep 2009 01:06:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Vincent Lefevre <vincent@vinc17.org>:
Extra info received and forwarded to list. Copy sent to Santiago Vila <sanvila@debian.org>. (Tue, 01 Sep 2009 01:06:03 GMT) Full text and rfc822 format available.

Message #37 received at 544480@bugs.debian.org (full text, mbox):

From: Vincent Lefevre <vincent@vinc17.org>
To: Santiago Vila <sanvila@unex.es>
Cc: 544480@bugs.debian.org
Subject: Re: Bug#544480: diffutils not installable - should conflict with diff
Date: Tue, 1 Sep 2009 03:00:50 +0200
On 2009-09-01 02:42:49 +0200, Santiago Vila wrote:
> So, does
> 
> apt-get install diff=1:2.8.7-0.1 diffutils=1:2.8.7-0.1
> 
> work, or it does not?

It works, but then, if I want to remove diff:

root@vin:~# apt-get remove diff
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages will be REMOVED:
  diff
WARNING: The following essential packages will be removed.
This should NOT be done unless you know exactly what you are doing!
  diff
0 upgraded, 0 newly installed, 1 to remove and 28 not upgraded.
After this operation, 32.8kB disk space will be freed.
You are about to do something potentially harmful.
To continue type in the phrase 'Yes, do as I say!'
 ?]

-- 
Vincent Lefèvre <vincent@vinc17.org> - Web: <http://www.vinc17.org/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/>
Work: CR INRIA - computer arithmetic / Arénaire project (LIP, ENS-Lyon)




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Tue, 29 Sep 2009 07:39:58 GMT) Full text and rfc822 format available.

Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Wed Apr 23 14:42:51 2014; Machine Name: beach.debian.org

Debian Bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.