Re: pkg_add goofiness in 7.0



perryh@xxxxxxxxxxxxxx wrote:
What you showed does not indicate a failure. If you are saying
that the package wasn't actually installed completely, then
pkg_delete it and retry.

I am not saying that the package was installed incompletely,
incorrectly, or something else because I don't know which of those
applies. *The package installation itself* threw an error message,
with no instructions for recovery, and left the package database
corrupted (incorrectly showing the package as installed).

Fine, but there is nothing I can do to help you without knowing what the error was.

pkg_delete was only partially successful, perhaps because it was
unable to completely clean up the corruption. Now what?

# pkg_delete -v linuxdoc-1.1_1
Trying to remove dependency on package 'xmlcatmgr-2.2' with 'textproc/xmlcatmgr' origin.
Trying to remove dependency on package 'iso8879-1986_2' with 'textproc/iso8879' origin.
Change working directory to /usr/local
Delete file /usr/local/share/sgml/linuxdoc/README
Execute '/usr/local/bin/xmlcatmgr -sc /usr/local/share/sgml/catalog.ports remove linuxdoc/catalog'
xmlcatmgr: enabling compatibility mode; removing ALL matching entries
xmlcatmgr: no matching entry for `linuxdoc/catalog' of any type
pkg_delete: unexec command for '/usr/local/bin/xmlcatmgr -sc /usr/local/share/sgml/catalog.ports remove linuxdoc/catalog' failed
Delete file /usr/local/share/sgml/linuxdoc/catalog
Delete file /usr/local/share/sgml/linuxdoc/freebsd-1.0.dtd
Delete file /usr/local/share/sgml/linuxdoc/freebsd-1.1.dtd
Delete file /usr/local/share/sgml/linuxdoc/linuxdoc.dec
Delete file /usr/local/share/sgml/linuxdoc/original.dtd
Delete directory /usr/local/share/sgml/linuxdoc
Change working directory to .
pkg_delete: couldn't entirely delete package (perhaps the packing list is
incorrectly specified?)



As I said, now try to repeat the original problem.

Kris
_______________________________________________
freebsd-questions@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: dist-upgrade problem (was Re: /etc/modutils/0keep: line 9: keep: command not found)
    ... Reading package fields... ... i t does not have execute permission ... installation script returned error exit status 100. ...
    (Debian-User)
  • Re: Finding installed package files
    ... >, and who is going to supply this documentation. ... > is a package with the common man pages for the thousand odd common commands ... tell me, as an installation option for some large packages, what was ... >>a set of commands and 'man' pages, could produce such a directory to make it ...
    (alt.os.linux.redhat)
  • Security Update for Microsoft Data Access Components (KB832483)
    ... : An error occurred while setup was trying to ... verify the version of Microsoft Data Access Components ... package returned FALSE, or there was a fatal error while ... installation. ...
    (microsoft.public.windowsupdate)
  • Security Update for Microsoft Data Access Components (KB832483)
    ... : An error occurred while setup was trying to ... verify the version of Microsoft Data Access Components ... package returned FALSE, or there was a fatal error while ... installation. ...
    (microsoft.public.windowsupdate)
  • Re: bits/news from the users of Debian?
    ... "Le bottin des jeux Linux" speaks about 800 Linux games and i hope that's growing. ... I start with Debian, then test Mandrake because it seem's at this time very complicated. ... I think graphics interface for installation is a good thing: you have make a good job! ... I use Debian Sid and I have experiment a lot of problem some years ago because i install too recent package on Sid which are not well tested. ...
    (Debian-User)