HEADS UP for portmaster users: Mandatory upgrade

Mark Kane mark at mkproductions.org
Sun Aug 5 22:22:21 UTC 2007


On Sat, Aug 04, 2007, at 22:20:28 -0700, Doug Barton wrote:
> Howdy,
> 
> The short version is that the DESTDIR changes that were made to
> ports/Mk/bsd.port.mk today broke the method that portmaster was using
> to detect variable PORTSDIR and PKG_DBDIR. It's fixed now, but in
> order to keep using portmaster you must upgrade.
> 
> You won't be able to use portmaster to do the upgrade, so you'll have
> to do it the old fashioned way:
> pkg_delete portmaster*
> cd /usr/ports/ports-mgmt/portmaster
> make clean ; make install
> 
> After that you should be fine.
> 
> Regards,
> 
> Doug

Hi.

Unfortunately I didn't see this before trying portmaster on a machine.
I ran portmaster -L and it said that six ports were out of date which
sounded right since I've been working on putting the machine together
recently and I had a recent ports tree. I ran portmaster -a and let it
do it's thing, however afterwards there are a lot of corrupted package
infos (pasted below). 

Only 28 of 450+ come up as corrupted however I'm not sure how to fix
them as I've never had corrupted package data before.
In /var/db/pkg/name on the corrupted ones, some directories are
entirely empty (such as portmaster, intltool, ghostscript-gpl, etc
which portmaster was trying to update) and others such as gimp and vlc
are missing +CONTENTS files even though they weren't being updated.

Are there any quick fixes for this? If not, what's the best way to
proceed? This is on an older slower machine (900MHz) that I've been
compiling on for the last few days and it was just about all ready to
go, so I'd rather not have to recompile a bunch of ports if at all
possible.

Thanks a lot in advance.

-Mark

P.S. Sorry about the paste, some lines wouldn't fit correctly.

-----------------------------------------------------------------------
pkg_info: the package info for package 'Terminal-0.2.6_3' is corrupt
pkg_info: the package info for package 'Thunar-0.8.0_5' is corrupt
pkg_info: the package info for package 'abiword-2.4.6_1' is corrupt
pkg_info: the package info for package 'claws-mail-2.10.0_1' is corrupt
pkg_info: the package info for package 'cups-pstoraster-8.15.4_1' is
corrupt
pkg_info: the package info for package 'gail-1.18.0_1' is
corrupt 
pkg_info: the package info for package 'ghostscript-gpl-8.57_1'
is corrupt 
pkg_info: the package info for package 'gimp-2.2.17,2' is
corrupt 
pkg_info: the package info for package 'gimp-app-2.2.17,1' is
corrupt 
pkg_info: the package info for package 'gimp-gutenprint-5.1.3'
is corrupt 
pkg_info: the package info for package 'gstreamer-0.10.14'
is corrupt 
pkg_info: the package info for package 'gstreamer-plugins-0.10.14,3' is
corrupt 
pkg_info: the package info for package 'gutenprint-cups-5.1.3' is
corrupt 
pkg_info: the package info for package 'intltool-0.36.0' is
corrupt 
pkg_info: the package info for package 'libexo-0.3.2_3' is
corrupt 
pkg_info: the package info for package 'libglade2-2.6.2' is
corrupt 
pkg_info: the package info for package 'libgnomecanvas-2.14.0_3' is
corrupt 
pkg_info: the package info for package 'libgnomeprintui-2.18.0_1' is
corrupt 
pkg_info: the package info for package 'libgtkhtml-2.11.0_3' is
corrupt 
pkg_info: the package info for package 'portmaster-1.19' is
corrupt 
pkg_info: the package info for package 'sane-frontends-1.0.14_3' is
corrupt 
pkg_info: the package info for package 'vlc-0.8.6.c_2,2' is corrupt
pkg_info: the package info for package 'wxgtk2-common-2.8.4' is corrupt
pkg_info: the package info for package 'wxgtk2-unicode-2.8.4' is
corrupt 
pkg_info: the package info for package 'xfce-4.4.1_1' is corrupt
pkg_info: the package info for package 'xfce4-desktop-4.4.1_1' is
corrupt 
pkg_info: the package info for package 'xfce4-session-4.4.1_1' is
corrupt 
pkg_info: the package info for package 'xsane-0.991_3' is corrupt
-----------------------------------------------------------------------


-- 
Internet Radio:
Party107 (Trance/Electronic) - http://www.party107.com
Rock 101.9 The Edge (Rock) - http://www.rock1019.net

IRC:
MIXXnet IRC Network - irc.mixxnet.net (Nick: MIXX941)


More information about the freebsd-ports mailing list