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

Maciej (Matchek) Bliziński maciej at opencsw.org
Wed Mar 20 11:19:53 CET 2013


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.

Maciej


More information about the maintainers mailing list