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:
1 2 3 4 5 | 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? |
or:
1 2 | 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:
1 2 | 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:
1 | pkgdepgraph > pkg |
Then plot nice graph in png format:
1 | 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:)
Popularity: 36% [?]
© odwiedź stronę http://maciejewski.org po więcej fajnych postów!
Przeczytany 112790 razy przez 592 osób



No comments so far. Share your thoughts!