pkgng, textproc/p5-XML-SAX-Expat: Syntax error: "{" unexpected (expecting "then")

Chris Rees crees at FreeBSD.org
Tue Aug 21 09:08:46 UTC 2012


On 21 August 2012 09:47, Anton Shterenlikht <mexas at bristol.ac.uk> wrote:
> # cd /usr/ports/textproc/p5-XML-SAX-Expat
> # make deinstall && make reinstall
> ===>  Deinstalling for textproc/p5-XML-SAX-Expat
> ===>   Deinstalling p5-XML-SAX-Expat-0.40
> The following packages will be deinstalled:
>
>         p5-XML-SAX-Expat-0.40
>
> The deinstallation will free 22 kB
> Deinstalling p5-XML-SAX-Expat-0.40...p5-XML-SAX-Expat-0.40 is required by: p5-XML-Simple-2.20 icon-naming-utils-0.8.90, deleting anyway
> Syntax error: "{" unexpected (expecting "then")
> pkg: DEINSTALL script failed
> *** [deinstall] Error code 3
>
> Stop in /usr/ports/textproc/p5-XML-SAX-Expat.
>
> # pkg -vvv
> version: 1.0-rc6
> abi: freebsd:10:ia64:64
> db dir: /var/db/pkg
> cache dir: /var/cache/pkg
> ports dir: /usr/ports
> Log into syslog: yes
> Assume always yes: no
> Handle rc scripts: no
> Track shlibs: no
> Automatic dependency tracking: no
> Custom keywords directory: none
> Developer mode: no
> Repository: ftp://ftp.freebsd.org/pub/pkgng
> #

How long have you had this installed?

Steve Wills [1] fixed the pkg-deinstall script yesterday, but
evidently you still have an older version.

If pkg delete hasn't removed it, try pkg delete -f, then reinstall.

Chris

[1] http://www.freebsd.org/cgi/cvsweb.cgi/ports/textproc/p5-XML-SAX-Expat/pkg-deinstall


More information about the freebsd-perl mailing list