[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Transitional (dummy) packages considered silly



Anton Piatek wrote:
> 2009/9/19 Eugene V. Lyubimkin <jackyf.devel@gmail.com>:
>> Anton Piatek wrote:
>>>> This should really be done by the package management, not by the user.
>>> It sounds like you are describing the following:
>>>>> $stable: package foo
>>> manually installed
>>>>> $stable + 1: foo Depends bar, bar {replaces foo, provides foo, conflicts foo}
>>> foo should now be marked as removeable, bar should be marked as
>>> manually installed (i.e. take the state associated with foo)
>>>
>>> Can any of that be achieved with postinst scripts?
>> That's a very bad idea IMO.
> 
> Care to elaborate?
Doing that would:

1) interfere with a package manager (un)setting 'autoinstalled' status
2) require a big script snippet with uncertain logic and a number of guessings

Dealing with 'autoinstalled' property is a deal of a package manager only.
Trying to interfering will introduce the mess.

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

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: