[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [2002-04-30] Release Status Update



On Thu, May 02, 2002 at 02:44:26PM -0400, Joey Hess wrote:
> Colin Watson wrote:
> > Those that have been filed have been closed out of hand or tagged
> > wontfix, e.g. #141838 ...
> I suppose it just hits upgrades from older versions of woody.
> We also forgot to turn --force-overwrite on by default in dpkg this time
> around.

Perhaps we should upload a new base-config that does 'echo force-overwrite
>>/etc/dpkg/dpkg.cfg' ?

Something like:

if [ -e /etc/dpkg/dpkg.cfg ] && ! grep -q force-overwrite /etc/dpkg/dpkg.cfg
then
	oldmd5=`md5sum < /etc/dpkg/dpkg.cfg | cut -d" " -f1`
	echo 'force-overwrite' >>/etc/dpkg/dpkg.cfg
	newmd5=`md5sum < /etc/dpkg/dpkg.cfg | cut -d" " -f1`
	(echo "%s, /etc/dpkg/dpkg.cfg $oldmd5, /etc/dpkg/dpkg.cfg $newmd5,"
	 echo "w"
	 echo "q") | ed - /var/lib/dpkg/status
fi

during the base configuration would probably work effectively. All those
commands are present in base.

Cheers,
aj

-- 
Anthony Towns <aj@humbug.org.au> <http://azure.humbug.org.au/~aj/>
I don't speak for anyone save myself. GPG signed mail preferred.

     ``BAM! Science triumphs again!'' 
                    -- http://www.angryflower.com/vegeta.gif

Attachment: pgpHjnEpl1RyV.pgp
Description: PGP signature


Reply to: