Date: Wed, 6 Apr 2016 16:01:19 +0200 From: Zsolt Ero <zsolt.ero@gmail.com> To: Brad Davis <brd@freebsd.org> Cc: pkg@freebsd.org Subject: Re: FreeBSD Port: ports-mgmt/pkg Message-ID: <CAKw-smAABMc3KxOnUPgJh%2BnKs7jvSWmt0udiXPg%2BmAWmYsf8QA@mail.gmail.com> In-Reply-To: <CAKw-smDu9%2BDu1rLYPQb1G09aqODY_oc%2BXq29qCQT%2B12P-K=bPA@mail.gmail.com> References: <CAKw-smCs2YycijBzAbwKypCtyCikL3k9kDVbSLZSOTUOh7D25g@mail.gmail.com> <20160405034626.GA1875@corpmail.liquidneon.com> <CAKw-smDu9%2BDu1rLYPQb1G09aqODY_oc%2BXq29qCQT%2B12P-K=bPA@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Thanks for the 1.7.2 update, do you know when will it appear on quarterly? On 5 April 2016 at 12:28, Zsolt Ero <zsolt.ero@gmail.com> wrote: > I don't know how those tools internally check the state of packages, > but anyone who self manages a server usually writes a long line of > "pkg install -y pkg1 pkg2 pkg3" in a script. I would think that 99% of > server deployment scripts are structured like this. > > Those lines are used in the sense of "make sure that pkg1, pkg2 and > pkg3 are all installed after this command". Now the new change totally > breaks this behaviour. > > Also, it breaks convention with known package managers from OS X or > the linux world, where ... install is usually used as "make sure that > ... is installed". > > Even if FreeBSD believes that such a huge change is somehow justified > at a minor point release, it should be clearly communicated with the > community. I would strongly recommend going back to the pre-1.7 way of > "make sure that ... is installed" behaviour. > > Since this is such a fresh change, I believe there will be many more > user reports coming in from broken install scripts soon. > > Zsolt > > On 5 April 2016 at 05:46, Brad Davis <brd@freebsd.org> wrote: >> On Tue, Apr 05, 2016 at 02:20:49AM +0200, Zsolt Ero wrote: >>> Hi, >>> >>> There is quite a serious regression in pkg 1.7.1: pkg install fails >>> with error code 70 if any of the listed packages is already installed. >> >> Most tools like Puppet, Salt Stack, etc look at the output of `pkg list`. >> What tool are you using? >> >> I don't think this is a regression at all. pkg was not able to install >> something, thus it should exit with a proper error code. >> >> >> Regards, >> Brad Davis >>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAKw-smAABMc3KxOnUPgJh%2BnKs7jvSWmt0udiXPg%2BmAWmYsf8QA>