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

2012-08-21 Thread Anton Shterenlikht
# 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
# 

# uname -a
FreeBSD mech-cluster241.men.bris.ac.uk 10.0-CURRENT FreeBSD 10.0-CURRENT #6 
r237134: Mon Jun 18 09:02:17 BST 2012 
r...@mech-cluster241.men.bris.ac.uk:/usr/obj/usr/src/sys/TZAV  ia64
#
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


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

2012-08-21 Thread Chris Rees
On 21 August 2012 09:47, Anton Shterenlikht me...@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
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


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

2012-08-21 Thread Anton Shterenlikht
From utis...@gmail.com Tue Aug 21 11:32:50 2012

On 21 August 2012 09:47, Anton Shterenlikht me...@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
# 

Thanks

Anton
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


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

2012-08-21 Thread Andriy Gapon
on 21/08/2012 12:08 Chris Rees said the following:
 On 21 August 2012 09:47, Anton Shterenlikht me...@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.

Right, but it's hard to upgrade to the new version without deinstalling the old
version, isn't it? :-)

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

pkg delete -f won't help (as already shown in the original message).

Instead, as Baptiste advised me:
cd /usr/ports/textproc/p5-XML-SAX-Expat
make install FORCE_PKG_REGISTER=1

In the case of pkgng the above command should do the right thing in this case
(in-place upgrade).

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


-- 
Andriy Gapon
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


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

2012-08-21 Thread Chris Rees
On 21 August 2012 12:04, Anton Shterenlikht me...@bristol.ac.uk wrote:
 From utis...@gmail.com Tue Aug 21 11:32:50 2012

 On 21 August 2012 09:47, Anton Shterenlikht me...@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
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


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

2012-08-21 Thread Chris Rees
On 21 August 2012 12:07, Andriy Gapon a...@freebsd.org wrote:
 on 21/08/2012 12:08 Chris Rees said the following:
 On 21 August 2012 09:47, Anton Shterenlikht me...@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.

 Right, but it's hard to upgrade to the new version without deinstalling the 
 old
 version, isn't it? :-)

D'oh, I forgot that make deinstall using pkg delete -f. Sorry.

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

 pkg delete -f won't help (as already shown in the original message).

 Instead, as Baptiste advised me:
 cd /usr/ports/textproc/p5-XML-SAX-Expat
 make install FORCE_PKG_REGISTER=1

 In the case of pkgng the above command should do the right thing in this case
 (in-place upgrade).

Glad to see I remembered it correctly in my next message.

Chris
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


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

2012-08-21 Thread Anton Shterenlikht
From utis...@gmail.com Tue Aug 21 12:10:39 2012

 Instead, as Baptiste advised me:
 cd /usr/ports/textproc/p5-XML-SAX-Expat
 make install FORCE_PKG_REGISTER=1

 In the case of pkgng the above command should do the right thing in 
this case
 (in-place upgrade).

Glad to see I remembered it correctly in my next message.

Chris

yes, this worked fine, thank you

Anton
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org