Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Aug 2012 12:07:11 +0100
From:      Chris Rees <crees@FreeBSD.org>
To:        mexas@bristol.ac.uk, Baptiste Daroussin <bapt@freebsd.org>
Cc:        perl@freebsd.org, freebsd-ports@freebsd.org
Subject:   Re: pkgng, textproc/p5-XML-SAX-Expat: Syntax error: "{" unexpected (expecting "then")
Message-ID:  <CADLo83_Rqh4dKa2vmBrxhxvGoChc6GzzZkgNWO9qfCO4nc3UdQ@mail.gmail.com>
In-Reply-To: <201208211104.q7LB4qVT050995@mech-cluster241.men.bris.ac.uk>
References:  <CADLo83_g4kkDkZunCtPRwmm%2B9tjFdYicgucfcP7Kkip8dLB1wg@mail.gmail.com> <201208211104.q7LB4qVT050995@mech-cluster241.men.bris.ac.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
On 21 August 2012 12:04, Anton Shterenlikht <mexas@bristol.ac.uk> wrote:
>         From utisoft@gmail.com Tue Aug 21 11:32:50 2012
>
>         On 21 August 2012 09:47, Anton Shterenlikht <mexas@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
>
>
> # svn status -v /usr/ports/textproc/p5-XML-SAX-Expat/pkg-*inst*
>             302837   302833 swills       /usr/ports/textproc/p5-XML-SAX-Expat/pkg-deinstall
>             302837   302833 swills       /usr/ports/textproc/p5-XML-SAX-Expat/pkg-install
> # pkg delete -f p5-XML-SAX-Expat
> The following packages will be deinstalled:
>
>         p5-XML-SAX-Expat-0.40
>
> The deinstallation will free 22 kB
>
> Proceed with deinstalling packages [y/N]: y
> 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
> #
>

Hm, bapt was talking about this earlier in IRC... I think if you make
-DFORCE_PKG_REGISTER -C /usr/ports/textproc/p5-XML-SAX-Expat install
clean you should be just fine.

Chris



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CADLo83_Rqh4dKa2vmBrxhxvGoChc6GzzZkgNWO9qfCO4nc3UdQ>