Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Nov 2012 14:40:40 -0800
From:      Stanislav Sedov <stas@FreeBSD.org>
To:        Baptiste Daroussin <bapt@FreeBSD.org>
Cc:        svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org, Eitan Adler <eadler@freebsd.org>
Subject:   Re: svn commit: r243554 - in head/usr.sbin/pkg_install: add create delete info lib updating version
Message-ID:  <20121130144040.99559ed924a48b909cbd3c4b@FreeBSD.org>
In-Reply-To: <20121129073846.GG97474@ithaqua.etoilebsd.net>
References:  <201211260511.qAQ5B7DQ002346@svn.freebsd.org> <20121128170032.730be5fab68dba2a09aaa14e@FreeBSD.org> <CAF6rxgk8y_g803nLPQd=O0eSH836UnD3SbGx8WM_Lehx=h4U7w@mail.gmail.com> <20121128183422.714562856f27371c95d2a84e@FreeBSD.org> <20121129073846.GG97474@ithaqua.etoilebsd.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 29 Nov 2012 08:38:47 +0100
Baptiste Daroussin <bapt@FreeBSD.org> mentioned:

> 
> pkg is no more experimental at all, it is not perfect there are large rooms for
> improvements, but it is perfectly ready to be used, if you have any concern
> about some missing "feature" just report it;
> 
> Concerning a landmine, when you have big flashy lights all over the place:
> http://lists.freebsd.org/pipermail/freebsd-ports-announce/2012-October/000032.html
> http://lists.freebsd.org/pipermail/freebsd-current/2012-October/037001.html
> a fanfare playing in front of it saying beware landsmine:
> http://svnweb.freebsd.org/ports?view=revision&revision=305637
> and maps available all over the places to explains where the mine are how to
> workaround them, or be mine proof:
> http://svnweb.freebsd.org/ports/head/CHANGES (entry 20121010)
> http://svnweb.freebsd.org/ports/head/UPDATING (entry 20121010)
> 
> I'd say in that case it is no more considered as a landmine but just a new safe
> way.

It is a new way forced on users.  I didn't ask to use pkgng on my system, neither
I got any warning when it silently stopped creating entries in /var/db/pkg.  Do
you expect all users to read UPDATING and/or svn commit logs each time they update?

Switching to pkgng was not a community descision, it was a decision made by a small
group of people (alledgedly, considering input from the community).  Personally,
I don't see why it should be that way, and why the default had to be forceably
changed.  It is an open question (at least for me) whether pkgng is any better
than the old tools, and there is at least on drawback in using pkgng, namely sqlite
database, which will make you lose all packages in the case of a small fs corruption.
That problem was raised before numerous times starting when developing a new pkg
tool was proposed.  But it is a design decision, and I respect it.  What I don't
like is that the switch to the new pkg system lacks any legitemacy, as it was largely
a portmgr descision.  If instead you ran it alongside for some time and it ended up
being used by majority of users compared to the legacy pkg, and then pulled the switch,
then it'd a different story.

The bottom line is that I ended up with a corrupted pkg database for no particular
reason.  And it didn't have to be that way.

-- 
Stanislav Sedov
ST4096-RIPE

()  ascii ribbon campaign - against html e-mail 
/\  www.asciiribbon.org   - against proprietary attachments



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