From mboxrd@z Thu Jan  1 00:00:00 1970
Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org)
	by finch.gentoo.org with esmtp (Exim 4.60)
	(envelope-from <gentoo-dev+bounces-30361-garchives=archives.gentoo.org@lists.gentoo.org>)
	id 1JmaKN-0006bU-8S
	for garchives@archives.gentoo.org; Thu, 17 Apr 2008 20:03:27 +0000
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 505FFE05AF;
	Thu, 17 Apr 2008 20:03:11 +0000 (UTC)
Received: from s15216962.onlinehome-server.info (s15216962.onlinehome-server.info [217.160.22.205])
	by pigeon.gentoo.org (Postfix) with ESMTP id 10395E056C
	for <gentoo-dev@lists.gentoo.org>; Thu, 17 Apr 2008 20:03:10 +0000 (UTC)
Received: (from uucp@localhost)
	by s15216962.onlinehome-server.info (8.13.3/8.13.3) with UUCP id m3HK3Ap4015420
	for gentoo-dev@lists.gentoo.org; Thu, 17 Apr 2008 22:03:10 +0200
Received: (from weigelt@localhost)
	by nibiru.metux.de (8.12.10/8.12.10) id m3HK2aRv015081
	for gentoo-dev@lists.gentoo.org; Thu, 17 Apr 2008 22:02:36 +0200
Date: Thu, 17 Apr 2008 22:02:36 +0200
From: Enrico Weigelt <weigelt@metux.de>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] What are blocks used for?
Message-ID: <20080417200235.GK31409@nibiru.local>
References: <20080416062452.45f3831d@snowcone> <20080416072413.GA23808@comet> <4805B114.6000308@o2.pl> <20080416090408.5ada387b@snowcone> <18437.48017.68913.723605@a1i15.kph.uni-mainz.de>
Precedence: bulk
List-Post: <mailto:gentoo-dev@lists.gentoo.org>
List-Help: <mailto:gentoo-dev+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-dev+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-dev+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-dev.gentoo.org>
X-BeenThere: gentoo-dev@lists.gentoo.org
Reply-to: gentoo-dev@lists.gentoo.org
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <18437.48017.68913.723605@a1i15.kph.uni-mainz.de>
User-Agent: Mutt/1.4.1i
X-Terror: bin laden, kill bush, Briefbombe, Massenvernichtung, KZ, 
X-Nazi: Weisse Rasse, Hitlers Wiederauferstehung, 42, 
X-Antichrist: weg mit schaeuble, ausrotten, heiliger krieg, al quaida, 
X-Killer: 23, endloesung, Weltuntergang, 
X-Doof: wer das liest ist doof
X-Archives-Salt: 8e502f71-04b4-4e43-83f4-417e2ef6a848
X-Archives-Hash: 006e2090e4ddd48b926d72b44e40e522

* Ulrich Mueller <ulm@gentoo.org> schrieb:

> I don't know if it would be feasible from a package manager point of
> view, but couldn't some (most?) blockers be avoided if there was some
> means to transfer ownership of installed files from one package to
> another?

This is problematic, since the system must be in an consistent
state after the update, or really bad things can happen.
And it still doesn't solve dependencies correctly, imagine:

foo1: depends on bar1
foo2: depends on bar2
bar1 and bar2 are in conflict.

For the special case of one package replacing another one *completely*
(eg. the mktemp case), the process could be automated by giving
portage enough information and having appropriate logic in portage).

But is it really worth all that ? 

In the mktemp case, IMHO, coreutils is the source of evil:
it simply assimilated another package !
We shouldn't let it pass.


cu
-- 
---------------------------------------------------------------------
 Enrico Weigelt    ==   metux IT service - http://www.metux.de/
---------------------------------------------------------------------
 Please visit the OpenSource QM Taskforce:
 	http://wiki.metux.de/public/OpenSource_QM_Taskforce
 Patches / Fixes for a lot dozens of packages in dozens of versions:
	http://patches.metux.de/
---------------------------------------------------------------------
-- 
gentoo-dev@lists.gentoo.org mailing list