Dependencies madness

Time to time comes need to update whole bunch of pkgs in NetBSD. Dealing with pkg_rolling-replace (which is very good script to update packages) I’ve found that sometimes it won’t update package when its dependencies are broken or missing. Unfortunettly I had some of this things like:

WARNING: No devel/p5-Compress-Zlib/Makefile - package moved or obsolete?
WARNING: No devel/p5-IO-Compress-Base/Makefile - package moved or obsolete?
WARNING: No devel/p5-IO-Compress-Bzip2/Makefile - package moved or obsolete?
WARNING: No devel/p5-IO-Compress-Zlib/Makefile - package moved or obsolete?
WARNING: No net/p5-INET6/Makefile - package moved or obsolete?


security/py-denyhosts - py25-denyhosts-2.6nb2 missing
textproc/py-xml - py25-xml-0.8.4nb2 missing

The simplest way to resolve this is pkg_delete it, but when package is depend of other package or other package depend on missing package it’s hard to tell what You can delete first.

With help may come two packages:

pkgtools/pkgdepgraph: Visual representation of installed NetBSD packages
graphics/graphviz: Graph Drawing Programs from AT&T Research and Lucent Bell Labs

First, You have to generate file with Your installed packages:

pkgdepgraph > pkg

Then plot nice graph in png format:

dot pkg -Tpng -o graph.png

And here it is, my personall dependencies hell ;) (You have to view it in full size, becouse it’s to detailed to gave nice thumbnail – 2,5 MB PNG:)

NetBSD's packages dependencies graph

NetBSD's packages dependencies graph

VN:F [1.9.22_1171]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.22_1171]
Rating: 0 (from 0 votes)
Related Posts with Thumbnails

© odwiedź stronę po więcej fajnych postów!

Podobne posty

Dodaj komentarz

Twój adres email nie zostanie opublikowany.

Time limit is exhausted. Please reload the CAPTCHA.

CommentLuv badge