Bug#255969: coreutils: critial files in /bin deleted during dist-upgrade from stable to testing

2011-03-26 Thread David Kalnischkies
On Wed, Mar 23, 2011 at 22:15, Jonathan Nieder jrnie...@gmail.com wrote:
 Brian Frank wrote:
 -When running dist-upgrade from stable to testing, many of the important
 files in /bin disappeared. I found that they were provided by the
 fileutils package in stable, but by the coreutils package in testing.
 Without some of these files (mv, ln, mkdir, etc), the dist-upgrade came to
 a screeching halt.

I can't imagine a circumstance in which this could have happened.
The only very very very wild wild guess is something like the fixed #590438
in which the essential is removed too early, but that wouldn't give a single
hint at how to fix it if it really still exists…

 Eugene V. Lyubimkin wrote:
 forcemerge 261411 282278 255969

 To be clear: is the problem that while fileutils in stable is essential,
 fileutils in testing is not, and APT was using the essential flag from
 the latest version for some reason?

As discussed in many of the threads of the merged bugreports:
If any version in any repository is essential then the package is essential.
So for APT a package can only 'loose' its essential flag if you remove
the archive in which the package is marked as essential.

The reason is simple that as soon as you have a repository in your sources
you could have a package installed from it which means it could depend on
an essential package implicitly. Important if you have a testing system were
you install packages from unstable (possible new essential packages) and
maybe packages from stable (possible packages lost their essential status
since then). Thats especially important in a dist-upgrade as you have a
mixed system in it all the time…

This approach makes mistakes for granted and isn't optimal in all cases,
but given that the consequences can be a lot worser if a essential is
missing than they can be if a transition package is still installed
(which is more or less the only time people really see/complain about it)
i don't really see why it should be changed. And so far nobody else
could provide a good reason… so i don't change what isn't broken. ;)


Best regards

David Kalnischkies



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#255969: coreutils: critial files in /bin deleted during dist-upgrade from stable to testing

2011-03-26 Thread Jonathan Nieder
# unconfuse myself
unmerge 255969
quit

Hi,

David Kalnischkies wrote:
 Brian Frank wrote:

 -When running dist-upgrade from stable to testing, many of the important
 files in /bin disappeared. I found that they were provided by the
 fileutils package in stable, but by the coreutils package in testing.
 Without some of these files (mv, ln, mkdir, etc), the dist-upgrade came to
 a screeching halt.

 I can't imagine a circumstance in which this could have happened.

Sounds good to me. :)  I was just reading through the merged bugs;
this one is from June, 2004 and I doubt the problem still exists
(though I suppose masochistic types can always try to recreate the
upgrade from that date).

 The only very very very wild wild guess is something like the fixed #590438
 in which the essential is removed too early

Yes, it's possible.  Anyway, this bug seems past the point of
debuggability, so I'll close it with my next message.

 If any version in any repository is essential then the package is essential.
 So for APT a package can only 'loose' its essential flag if you remove
 the archive in which the package is marked as essential.

Sounds sensible to me.  The only edge case I can think of is if
someone has a repository listed in sources.list and does not have any
packages installed from it.



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#255969: coreutils: critial files in /bin deleted during dist-upgrade from stable to testing

2011-03-23 Thread Jonathan Nieder
Hi,

Brian Frank wrote:

 -When running dist-upgrade from stable to testing, many of the important
 files in /bin disappeared. I found that they were provided by the
 fileutils package in stable, but by the coreutils package in testing.  
 Without some of these files (mv, ln, mkdir, etc), the dist-upgrade came to
 a screeching halt.

Eugene V. Lyubimkin wrote:

 forcemerge 261411 282278 255969

To be clear: is the problem that while fileutils in stable is essential,
fileutils in testing is not, and APT was using the essential flag from
the latest version for some reason?

Puzzled,
Jonathan



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#255969: coreutils: critial files in /bin deleted during dist-upgrade from stable to testing

2011-03-23 Thread Eugene V. Lyubimkin
 To be clear: is the problem that while fileutils in stable is essential,
 fileutils in testing is not, and APT was using the essential flag from
 the latest version for some reason?

AFAIR, APT has or had only one 'Essential' field per package, while it should
be per version.

P.S. I cannot speak for APT anymore :)

-- 
Eugene V. Lyubimkin aka JackYF, JID: jackyf.devel(maildog)gmail.com
C++/Perl developer, Debian Developer



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org