pkg_check.py



Hello,

this is to announce version 1.0 of pkg_check.py, a python program to
check the contents of /var/db/pkg, and the last piece of the puzzle in
the programs trying to emulate portupgrade in a different way.
It is available at:
http://www.lpthe.jussieu.fr/~talon/pkg_check.py
always under BSD licence.

Its aim is basically to do the same thing as pkgdb -F. Explicitely it
reads the +CONTENTS files and the MOVED file, discovers the dependencies
and checks accordingly the +REGISTERED_BY.
Optionally, it can update the origins in +CONTENTS to the most recent
valid version, and fix the +REGISTERED_BY. Still another option is to
decompose the set of packages in connected components (with respect to
dependency) and produce graphviz files for these components.

In practice there is always an enormous component which is unsuitable
for plotting, but on small installations it can be nice. Anyways the
program gives a detailed report in CheckLog, and runs in short time, a
few seconds the first time, around a second when the files are in cache.


--

Michel TALON

_______________________________________________
freebsd-hackers@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • pkg_check.py
    ... this is to announce version 1.0 of pkg_check.py, a python program to ... and the last piece of the puzzle in ... reads the +CONTENTS files and the MOVED file, discovers the dependencies ... few seconds the first time, around a second when the files are in cache. ...
    (comp.unix.bsd.freebsd.misc)
  • Re: Problem with embedded objects
    ... > Here's a puzzle. ... > longer embed and edit Microsoft Equation objects in Word. ... Make sure the application is entered in the system registry." ... That's the first time I have even a clue as to how to go about ...
    (microsoft.public.win2000.general)
  • [FC5] problems with the update of evolution-data-server
    ... I'm trying to update my Fedora Core 5 distro on the internet, ... This is the first time I have a problem updating the distro. ... Resolving Dependencies ... --> Populating transaction set with selected packages. ...
    (comp.os.linux.misc)
  • Re: "static" checking
    ... > I'm wondering what kind of checking I can do on a python program before ... Kent Beck's paper book "Test-Driven Development". ... your code generally won't have those dependencies ...
    (comp.lang.python)
  • Re: PING: Richard Cranium
    ... I usually don't get these riddles the first time ... and am amazed that the solution, when revealed, is usually tricky, but ... but I will not take the chance. ... On the other hand, if he tries to solve the puzzle, it will be ...
    (alt.video.dvd)