Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Jan 2001 16:56:54 -0500
From:      Will Andrews <will@physics.purdue.edu>
To:        FreeBSD Ports <ports@FreeBSD.org>
Subject:   Re: [john@sixgirls.org: [dn-articles] FreeBSD problems: newsworthy?]
Message-ID:  <20010120165654.F1262@puck.firepipe.net>

next in thread | raw e-mail | index | archive | help

--HeFlAV5LIbMFYYuh
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

[ public copy of my private response ]

On Sat, Jan 20, 2001 at 01:30:38PM -0800, Gregory Sutter wrote:
> This person seems to be having some trouble with the state of his
> ports.
[.. details omitted ..]

This should probably be listed as a FAQ.  When you update your ports
tree, sometimes there are incompatible changes (like the PKGORIGIN
support that was added to pkg_add(1) and recently to bsd.port.mk).
There's no avoiding these; if we never did them, ports would never
improve.

So that's why we have these "compatibility packages" -- for people who
don't want to upgrade their entire world.  It usually contains newer
pkg_* binaries with the support compiled in, having been done on older
versions of the system.

I would recommend trying to install the 41upgrade.tgz and any newer
upgrade tarballs they can find.  It will not hurt; more likely, it'll
help them out.

Anyway, I found 40upgrade.tgz using ftpsearch.ntnu.no:

<1 5003-1> (16:44:40) [will@puck ~]% fetch
ftp://ftp.the.net/dev/local2/FreeBSD/ports/i386/packages-4-stable/Latest/40=
upgrade.tgz
Receiving 40upgrade.tgz (251216 bytes): 100%
251216 bytes transferred in 8.7 seconds (28.17 kBps)
<1 5004-0> (16:46:14) [will@puck ~]% tar tvfz 40upgrade.tgz=20
-rw-r--r-- root/wheel      327 Oct 19 00:39 2000 +CONTENTS
-rw-r--r-- root/wheel       71 Oct 19 00:39 2000 +COMMENT
-rw-r--r-- root/wheel      151 Oct 19 00:39 2000 +DESC
-rw-r--r-- root/wheel      102 Oct 19 00:39 2000 +INSTALL
-rw-r--r-- root/wheel      135 Oct 19 00:39 2000 +REQUIRE
-r--r--r-- root/wheel     6854 Oct 14 14:06 2000 etc/mtree/BSD.x11-4.dist
-r--r--r-- root/wheel   557640 Oct 14 13:59 2000 usr/lib/libc.so.4
lrwxr-xr-x root/wheel        0 Oct 19 00:33 2000 usr/lib/libxpg4.so -> libx=
pg4.so.3
-r--r--r-- root/wheel     2280 Oct 14 13:59 2000 usr/lib/libxpg4.so.3

Obviously, this won't help take care of pkg_* interface changes.  So,
more is needed.  Let us try 41upgrade.tgz:

<1 5010-0> (16:48:34) [will@puck ~]% fetch
ftp://ftp9.FreeBSD.org/pub/os/FreeBSD/ports/i386/packages-4-stable/Latest/4=
1upgrade.tgz
Receiving 41upgrade.tgz (68065 bytes): 100%
68065 bytes transferred in 0.1 seconds (734.91 kBps)
<1 5011-0> (16:48:44) [will@puck ~]% tar tvfz 41upgrade.tgz
-rw-r--r-- root/wheel      894 Jan 11 16:56 2001 +CONTENTS=20
-rw-r--r-- root/wheel       71 Jan 11 16:56 2001 +COMMENT
-rw-r--r-- root/wheel      151 Jan 11 16:56 2001 +DESC
-rw-r--r-- root/wheel      102 Jan 11 16:56 2001 +INSTALL
-rw-r--r-- root/wheel      135 Jan 11 16:56 2001 +REQUIRE
-r--r--r-- root/wheel     4819 Jan  8 14:58 2001 usr/share/man/man1/pkg_add=
.1.gz
-r--r--r-- root/wheel     5114 Jan  8 14:58 2001 usr/share/man/man1/pkg_cre=
ate.1.gz
-r--r--r-- root/wheel     2630 Jan  8 14:58 2001 usr/share/man/man1/pkg_del=
ete.1.gz
-r--r--r-- root/wheel     2269 Jan  8 14:58 2001 usr/share/man/man1/pkg_inf=
o.1.gz
-r--r--r-- root/wheel     3033 Jan  8 14:58 2001 usr/share/man/man1/pkg_ver=
sion.1.gz
-r--r--r-- root/wheel     6854 Jan  8 14:59 2001 etc/mtree/BSD.x11-4.dist
-r-xr-xr-x root/wheel    38692 Jan  8 14:58 2001 usr/sbin/pkg_add
-r-xr-xr-x root/wheel    29056 Jan  8 14:58 2001 usr/sbin/pkg_create
-r-xr-xr-x root/wheel    26456 Jan  8 14:58 2001 usr/sbin/pkg_delete
-r-xr-xr-x root/wheel    28772 Jan  8 14:58 2001 usr/sbin/pkg_info
-r-xr-xr-x root/wheel    12383 Jan  8 14:58 2001 usr/sbin/pkg_version

Obviously, you can't obtain all necessary changes by using just one
package.  Since 4.2-RELEASE has both pkg_* changes and the libc/libxpg
update, users of 4.2-* don't need any compat packages.

So, I suggest that you fetch the above packages and pkg_add them.  This
should fix your problem, but if not, just send me an email.  You *will*
need both xpg4/libc and pkg_* upgrades, since you are running 4.0-R.

Hope this helps.  The page you referred probably needs to be updated and
rewritten to reflect the nature of these packages.  I will handle that
today; first though, time to eat dinner.  :-)

--=20
wca

--HeFlAV5LIbMFYYuh
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.4 (FreeBSD)
Comment: For info see http://www.gnupg.org

iD8DBQE6agmkF47idPgWcsURAvehAJ9jBgZM5Qy06wKRr+pK9cL0UexTzwCfXMQ2
90xg6JcYXYrj/6TbPOXMVgw=
=Eoby
-----END PGP SIGNATURE-----

--HeFlAV5LIbMFYYuh--


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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