[HEADSUP] pkg(8) is now the only package management tool

Peter Wemm peter at wemm.org
Tue Sep 2 02:35:09 UTC 2014


On Tuesday 02 September 2014 03:44:26 Michelle Sullivan wrote:
> Chuck Burns wrote:
> > On Tuesday, September 02, 2014 2:19:19 AM Michelle Sullivan wrote:
> >> Baptiste Daroussin wrote:
> >>> Hi all,
> >>> 
> >>> The ports tree has been modified to only support pkg(8) as package
> >>> management system for all supported version of FreeBSD.
> >>> 
> >>> if you were still using pkg_install (pkg_* tools) you will have to
> >>> upgrade
> >>> your system.
> >>> 
> >>> The simplest way is
> >>> cd /usr/ports/ports-mgmt/pkg
> >>> make install
> >>> then run
> >>> pkg2ng
> >>> 
> >>> You will have lots of warning, don't be scared, they are expected, pkg_*
> >>> databases used to get easily mangled. pkg2ng is most of the time able to
> >>> deal with it.
> >>> 
> >>> If however you encounter a problem then please report to pkg at FreeBSD.org
> >>> 
> >>> A tag has been applied to the ports tree if you need to get the latest
> >>> ports tree before the EOL of pkg_install:
> >>> https://svn.FreeBSD.org/ports/tags/PKG_INSTALL_EOL
> >>> 
> >>> A branch has been created if some committers want to provides updates on
> >>> the for pkg_install users:
> >>> https://svn.FreeBSD.org/ports/branches/pkg_install
> >>> 
> >>> Please note that this branch is not officially maintained and that we
> >>> strongly recommend that you do migrate to pkg(8)
> >>> 
> >>> Best regards,
> >>> Bapt on behalf of portmgr
> >> 
> >> And for the portsnap users?
> > 
> > Uhh.. continue using portsnap?  Why would that matter??
> 
> Because those who have not changed to pkg because of the continual
> changes and issues (and that I have 50+ servers to migrate - and was
> told that bapt was going to *knowingly* break the ports tree for anyone
> not upgraded on Sept 1 - just 1 day after the EOL - with just 20 odd
> days notice) 

20 days notice?!?  Where have you been?


The first mention I can find of an actual deprecation is October 2012 where it 
says it'll be on or after April 2014, after the EOL of the last release that 
used pkg_install - which was 8.3:
https://lists.freebsd.org/pipermail/freebsd-ports/2012-October/078937.html

There was a series of larger notices, eg:
Oct 10, 2012:
[FreeBSD-Ports-Announce] [HEADSUP] current switched by default to pkgng
July 2013:
[FreeBSD-Ports-Announce] [HEADSUP] No more pkg_install on HEAD by default

October 30, 2013:
[FreeBSD-Ports-Announce] Official FreeBSD Binary Packages now available for 
pkgng
.. which includes
"The pkg_install suite of tools pkg_create(1), pkg_add(1), and
pkg_info(1) (which ports also use), are deprecated and will be
discontinued in roughly 6 months."

4 months later, (Feb 2014) formally gave an additional 6 month warning:
https://lists.freebsd.org/pipermail/freebsd-ports-announce/2014-February/000077.html

And a giant flashing light was added at the same time in Feb 2014:

------------------------------------------------------------------------
r342537 | bapt | 2014-02-04 06:23:08 -0800 (Tue, 04 Feb 2014) | 6 lines

Add a user warning so that everyone get a notice about the upcoming EoL of 
pkg_install
Add a end user NO_WARNING_PKG_INSTALL_EOL to allow users willing to stay a bit 
more with pkg_install
to not get bothered all the time with the warning
------------------------------------------------------------------------

It's really loud and annoying:

+.if !defined(WITH_PKGNG) && !defined(NO_WARNING_PKG_INSTALL_EOL)
+WARNING+=	"pkg_install EOL is scheduled for 2014-09-01. Please consider 
migrating to pkgng"
...
+.if !defined(WITH_PKGNG)
+	@${ECHO_CMD} "@exec echo pkg_install EOL is scheduled for 2014-09-01. 
Please consider migrating to pkgng" >> ${TMPPLIST}

Those warnings are kind of hard to miss.

This has been in the pipeline for years and was highly visible.

-- 
Peter Wemm - peter at wemm.org; peter at FreeBSD.org; peter at yahoo-inc.com; KI6FJV
UTF-8: for when a ' or ... just won\342\200\231t do\342\200\246
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20140901/9900c843/attachment.sig>


More information about the freebsd-stable mailing list