fa.openbsd.source-changes
[Top] [All Lists]

CVS: cvs.openbsd.org: src

Subject: CVS: cvs.openbsd.org: src
From: Marc Espie
Date: Sat, 21 Jun 2008 14:02:50 UTC
Newsgroups: fa.openbsd.source-changes

CVSROOT:        /cvs
Module name:    src
Changes by:     espie@xxxxxxxxxxxxxxx   2008/06/21 08:01:10

Modified files:
        usr.sbin/pkg_add: pkg_add 
        usr.sbin/pkg_add/OpenBSD: CollisionReport.pm Dependencies.pm 

Log message:
rework collisionreport to allow some limited repair capabilities:
assuming none of the files is registered, we can assume that the
package registration fails, and then we remove the files, and install
the package.

Then we also walk installed packages to restore dependencies that would
have been erased (this is fairly simple-minded and may fail in weird
cases).


<Prev in Thread] Current Thread [Next in Thread>