Date: Mon, 30 Jan 2006 18:38:22 +0200 From: Panagiotis Astithas <past@ebs.gr> To: Doug Barton <dougb@FreeBSD.org> Cc: freebsd ports <freebsd-ports@FreeBSD.org> Subject: Re: New /bin/sh based script to manage ports Message-ID: <43DE40FE.6000507@ebs.gr> In-Reply-To: <43D610B6.5080008@FreeBSD.org> References: <43BCF31F.8050900@FreeBSD.org> <1136501778.40648.17.camel@localhost> <43C38A38.1020408@FreeBSD.org> <1136893017.2410.9.camel@pav.hide.vol.cz> <43C8E446.5010603@FreeBSD.org> <20060114144016.1dc9fdd0@Magellan.Leidinger.net> <43C97BEB.3030601@FreeBSD.org> <43CA33E4.40809@ebs.gr> <43D610B6.5080008@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Doug Barton wrote: > Panagiotis Astithas wrote: > >> Can portmaster be used to do something like 'portupgrade -rf gnutls' >> (i.e. rebuild all dependent applications), like it is often requested in >> UPDATING? > > Thanks for this suggestion. I just added this feature, and updated the web > page. > > http://dougbarton.us/portmaster.html Thank you! Now, while working towards replacing portupgrade with portmaster in my daily system maintenance I encountered a couple of other issues: % portmaster -aiv ===>>> Starting check of installed ports for available updates grep: /var/db/pkg/pkgdb.db/+CONTENTS: Not a directory ===>>> Checking installed port: birda-1.3 ===>>> Checking installed port: ca-roots-1.1 ===>>> Checking installed port: cabextract-1.1 ===>>> Checking installed port: cscope-15.5_1 ===>>> Checking installed port: cvsup-without-gui-16.1h_2 ===>>> Checking installed port: freebsd-update-1.6_2 ===>>> Checking installed port: hcidump-1.5.1 ===>>> Checking installed port: iftop-0.16_1 ===>>> Checking installed port: iwi-firmware-2.4_2 ===>>> Checking installed port: last.fm-player-1.0.3 ===>>> This port has been deleted: ===>>> Aborting update The first grep error comes from portupgrade, which creates a pkgdb.db file in that directory. Can portmaster be smart enough to skip that, or even better, not consider regular files (i.e. not directories) at all? The seconf error comes from my installation of a package that does not come from a port (last.fm-player-1.0.3). I installed it directly from the vendor's site (http://last.fm). Can portmaster not error when encountering such packages, but rather just produce a warning? Thanks, Panagiotis
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?43DE40FE.6000507>