Skip site navigation (1)Skip section navigation (2)
Date:      04 Nov 2002 23:06:26 +1030
From:      "Daniel O'Connor" <doconnor@gsoft.com.au>
To:        freebsd-current@freebsd.org
Subject:   Ports funkyness
Message-ID:  <1036413389.21699.15.camel@chowder.localdomain>

next in thread | raw e-mail | index | archive | help
OK, so I update my ancient -current box and then realise I have to
update all my packages too..

No problem except I get funky stuff like ->
[guppy 23:02] /usr/ports/sysutils/portupgrade >sudo portupgrade windowmaker-0.65.1_1                                                    
[Updating the pkgdb <format:bdb1_btree> in /var/db/pkg ... - 98 packages found (-61 +4) (...)(? mkisofs-1.15.a21)(? sysutils/pkg_tarup).... done]
anonymous: Not in due form: <name>-<version>

Hmm..
OK, lets do some package deletion manually..

[guppy 23:03] /var/db/pkg >sudo pkg_delete mozilla-headers-1.0.rc1_1,1                                 
pkg_delete: package 'mozilla-headers-1.0.rc1_1,1' doesn't have a prefix

OK, maybe -f will work

[guppy 23:03] /var/db/pkg >sudo pkg_delete -f mozilla-headers-1.0.rc1_1,1
pkg_delete: package 'mozilla-headers-1.0.rc1_1,1' doesn't have a prefix

[guppy 23:03] /var/db/pkg >ls -la /var/db/pkg/mozilla-headers-1.0.rc1_1,1 
total 7
-rw-r--r--    1 root  wheel    52 May  9 21:56 +COMMENT
-rw-r--r--    1 root  wheel     0 Nov  3 15:59 +CONTENTS
-rw-r--r--    1 root  wheel    83 May  9 21:56 +DESC
drwxr-xr-x    2 root  wheel   512 Nov  3 15:59 .
drwxr-xr-x  100 root  wheel  4096 Nov  4 23:02 ..

Guess not.
Now what do I do? :)

Ahh, hmm.. guess that zero length +CONTENTS might have something to do with it.

Yech, wonder how that happened :(

Lots of my ports appear to be damaged the same way :(

-- 
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
  -- Andrew Tanenbaum
GPG Fingerprint - 9A8C 569F 685A D928 5140  AE4B 319B 41F4 5D17 FDD5


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




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