Date: Tue, 12 Aug 2003 20:47:39 +0200 From: Stefan Walter <sw@gegenunendlich.de> To: ports@freebsd.org Cc: Adam Weinberger <adamw@FreeBSD.org> Subject: Re: uncommitted new ports Message-ID: <20030812184739.GB31693@kyuzo.dunkelkammer.void> In-Reply-To: <20030812182401.GH18091@toxic.magnesium.net> References: <20030812164958.GA5821@merlin.emma.line.org> <20030812181531.GA31693@kyuzo.dunkelkammer.void> <20030812182401.GH18091@toxic.magnesium.net>
next in thread | previous in thread | raw e-mail | index | archive | help
--t0UkRYy7tHLRMCai Content-Type: multipart/mixed; boundary="V0207lvV8h4k8FAm" Content-Disposition: inline --V0207lvV8h4k8FAm Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, Adam Weinberger, 12.08.03, 20:24h CEST: > >> (08.12.2003 @ 1415 PST): Stefan Walter said, in 2.0K: << > > o [2003/07/27] ports/54912 ports-bugs New port: pkg_cutleaves - Perl = script for finding/pkg_deinstalling 'leaf' packages > >> end of "Re: uncommitted new ports" from Stefan Walter << >=20 > I'm confused about the -R option of pkg_cutleaves. How can there be > packages which depend upon a package "not referenced by any other > installed package?" Oops, my fault: It should read "packages the deinstalled 'leaf' packages depend(ed) on". It just invokes pkg_deinstall with '-R'. Thanks for the hint, I've corrected the man page (see attached patch); the script does the right thing, though. ;) Stefan, occasionally confusing 'pkg_deinstall -R' and 'pkg_deinstall -r' --=20 PGP key: 0x12B9E0B3 || 85D8 6A49 22C7 6CD9 B011 5D6A 5691 111B 12B9 E0B3 --V0207lvV8h4k8FAm Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="pkg_cutleaves.1.patch" --- pkg_cutleaves.1.old Tue Aug 12 20:40:15 2003 +++ pkg_cutleaves.1 Tue Aug 12 20:42:45 2003 @@ -24,8 +24,8 @@ .IP -x Exclude packages matching expressions given in the exclude file. .IP -R -Run 'pkg_deinstall -R' instead of plain 'pkg_deinstall', so packages -depending on removed leaf packages will be deinstalled, too. +Run 'pkg_deinstall -R' instead of plain 'pkg_deinstall', so packages the +removed leaf packages depend(ed) on will be deinstalled, too. .SH FILES .I /usr/local/etc/pkg_leaves.exclude .RS --V0207lvV8h4k8FAm-- --t0UkRYy7tHLRMCai Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (FreeBSD) iQGVAwUBPzk2S1aRERsSueCzAQLdMwv9EhmAD+L5NFGfrGUusEXJpcdse6nh54vY 4YbpD/uhqo6Kew3BoDYHWVHO/U8G5brSUYZ4f+dSKP9pr6W4teg4z0rDJIKoC6z8 zFA4O2D4fozM8s13DrzI/PcF/oRn96c1NYutcN7vsJfnhRSiG9VwiBWVsoswKpZU rKcUSFtbMi/CoDrGtWSJrpqsbO0WVIh0xlX3VGn9vollyFUzEkUWYuAZdg54Lu6z VRsHn+dD3KMXOQtA80r9PKp4PBwSoRKMq6vX05libtuBq9UsFw0YuF2qNBbWfoZe XI0DtCoXbool86W8wuKExILUwUPxcXlUFUh7p+h/ij2uhTZHf+hpPDFT/imSg6/k RY4YvF9DrGGa5ceRKbtQuH7puT27PA0Zos88+UatJozjpniQ8qIb9G1tVqudkt94 lpYwOMmYIllVui3tnByDDQf8Y1luM/PB4n2ZGNM2TCjtdPcOH55be5mW5AuT+xNb hE8lNaJWEK5czHngYoJDrNeB91VdAH8c =mSpl -----END PGP SIGNATURE----- --t0UkRYy7tHLRMCai--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030812184739.GB31693>