Date: Tue, 01 Apr 2008 12:09:06 +0200 From: Kris Kennaway <kris@FreeBSD.org> To: perryh@pluto.rain.com Cc: freebsd-questions@freebsd.org Subject: Re: pkg_add goofiness in 7.0 Message-ID: <47F209C2.6010603@FreeBSD.org> In-Reply-To: <47f1bb1f.mcW1l/uA7Lv93qDq%perryh@pluto.rain.com> References: <47ef4464.8hmxyx8owvB7UAFk%perryh@pluto.rain.com> <47EF83E2.2000400@FreeBSD.org> <47f012c0.vaeX6y/Ut1gA9Lko%perryh@pluto.rain.com> <47F0147C.8070108@FreeBSD.org> <47f02d8e.xtw4HoBZjJEYST6%2B%perryh@pluto.rain.com> <47F033EB.2010009@FreeBSD.org> <47f0406c.fqjBxIwYJw8D9/Po%perryh@pluto.rain.com> <47F0AFDB.2@FreeBSD.org> <47f1bb1f.mcW1l/uA7Lv93qDq%perryh@pluto.rain.com>
next in thread | previous in thread | raw e-mail | index | archive | help
perryh@pluto.rain.com wrote: > ... >>> extract: execute '/usr/local/bin/xmlcatmgr -sc /usr/local/share/sgml/catalog.ports add linuxdoc/catalog' >>> xmlcatmgr: unbalanced arguments for `add' action >>> pkg_add: command '/usr/local/bin/xmlcatmgr -sc /usr/local/share/sgml/catalog.ports add linuxdoc/catalog' failed > ... > >> That looks like a warning from xmlcatmgr which may or may not be >> important, but the package apparently added itself completely (no >> errors were reported by pkg_add). > > It may not make a lot of difference, but I am now wondering how to > recognize an "error reported by pkg_add" since this: > >>> pkg_add: command '/usr/local/bin/xmlcatmgr -sc /usr/local/share/sgml/catalog.ports add linuxdoc/catalog' failed > > looks like one to me, but apparently it isn't. /usr/local/* files are installed by a package, in this case run as part of a particular package installation script, and this failure is dutifully reported by pkg_add. > Just taking the xmlcatmgr message at face value, it looks as if > some addition that linuxdoc intended to make in some catalog did > not get done. Anything following that step in the postinstall > script may also not have gotten done. My gut suspicion is that > there is something wrong with the linuxdoc postinstall script > -- or perhaps linuxdoc has an unstated dependency which I don't > happen to have installed -- rather than something wrong with > xmlcatmgr. PR time, I guess :( Yes, that is the next step. It works for many others though, so the problem is likely to be more subtle than "it is completely broken". Krs
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?47F209C2.6010603>