It's a star sign, not disease ;)
In: In English|NetBSD
23 kwi 2009Dzięki za regularne odwiedziny na moim blogu! Jeśli uważasz, że jest on godny polecenia to śmiało wyślij link do niego lub link do kanału RSS albo subskrypcje przez e-mail znajomym. Dzięki !
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% [?]
Viewed 34 times by 22 viewers
Witaj czytelniku! Nazywam się Bartosz Maciejewski i jestem Administratorem sieci oraz systemów UNIX/Windows. Na moim blogu znajdziesz zatem wpisy dotyczące głównie tej tematyki. Od czasu do czasu pisuję też bardziej prywatnie zwłaszcza o mojej córce Tosi Miłego Czytania! EOF ;)