[csw-maintainers] How to remove dialog_minimal from unstable?

Dagobert Michelsen dam at opencsw.org
Wed Mar 20 11:22:30 CET 2013


Hi Maciej,

Am 20.03.2013 um 11:19 schrieb Maciej (Matchek) Bliziński <maciej at opencsw.org>:
> 2013/3/20 Dagobert Michelsen <dam at opencsw.org>:
>> This depends on the step you want to take. Do you just want to drop
>> dialog_minimal or make an obsoletion by the normal dialog?
>> 
>> In the first case I guess you need to
>>  pkgdb removepkg `gmd5sum <dialog_minimal…>`
> 
> This command refers to the package stats. If you remove a package that
> way, you remove it from the database altogether. You cannot refer to
> it any more from any catalogs for instance. In this case, Peter only
> wants to break a bond between a particular svr4 file and a few
> catalogs.
> 
>> or
>>  pkgdb del-from-cat <osrel> <arch> <cat-release> `gmd5sum <dialog_minimal…>`
>> 
>> Maciej: right?
> 
> Possibly, although this low level operation doesn't prevent you from
> breaking catalogs. The safe_remove_package.py script is a better
> approach, because it does sanity checks and bails out if the operation
> would break the catalog.


What do think about a high-level command that bundles all commands a user
should do under normal operations, like upload a package or remove a package
in a simple way without the need to use multiple commands?


Best regards

  -- Dago

-- 
"You don't become great by trying to be great, you become great by wanting to do something,
and then doing it so hard that you become great in the process." - xkcd #896



More information about the maintainers mailing list