pkg_add goofiness in 7.0

Kris Kennaway kris at FreeBSD.org
Mon Mar 31 02:33:11 PDT 2008


perryh at pluto.rain.com wrote:
> I believe this is the same as the error message I saw originally
> (when I had not specified -v, so it wasn't buried among a pile of
> other stuff):
> 
> xmlcatmgr: unbalanced arguments for `add' action
> 
> # pkg_add -Kv linuxdoc*
> Requested space: 36624 bytes, free space: 774946816 bytes in /var/tmp/instmp.CfA0bH
> Package 'linuxdoc-1.1_1' depends on 'xmlcatmgr-2.2' with 'textproc/xmlcatmgr' origin.
>  - already installed.
> Package 'linuxdoc-1.1_1' depends on 'iso8879-1986_2' with 'textproc/iso8879' origin.
>  - already installed.
> extract: Package name is linuxdoc-1.1_1
> extract: CWD to /usr/local
> extract: /usr/local/share/sgml/linuxdoc/README
> extract: /usr/local/share/sgml/linuxdoc/catalog
> 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
> extract: /usr/local/share/sgml/linuxdoc/freebsd-1.0.dtd
> extract: /usr/local/share/sgml/linuxdoc/freebsd-1.1.dtd
> extract: /usr/local/share/sgml/linuxdoc/linuxdoc.dec
> extract: /usr/local/share/sgml/linuxdoc/original.dtd
> extract: CWD to .
> Running mtree for linuxdoc-1.1_1..
> mtree -U -f +MTREE_DIRS -d -e -p /usr/local >/dev/null
> Attempting to record package into /var/db/pkg/linuxdoc-1.1_1..
> Trying to record dependency on package 'xmlcatmgr-2.2' with 'textproc/xmlcatmgr' origin.
> Trying to record dependency on package 'iso8879-1986_2' with 'textproc/iso8879' origin.
> Package linuxdoc-1.1_1 registered in /var/db/pkg/linuxdoc-1.1_1

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).  You should look into the xmlcatmgr 
documentation, or talk to the port maintainer, to find out what that 
warning means and if it is important.

Kris


More information about the freebsd-questions mailing list