pkg install -fRx perl failed

Anton Shterenlikht mexas at bristol.ac.uk
Tue Nov 6 12:43:14 UTC 2012


	From bapt at FreeBSD.org Tue Nov  6 12:32:59 2012

	On Tue, Nov 06, 2012 at 10:15:00AM +0000, Anton Shterenlikht wrote:
	> Following 20121104 entry in /usr/ports/UPDATING:
	>=20
	> # pkg install -fRx perl
	> Updating repository catalogue
	> pkg: ftp://ftp.freebsd.org/pub/pkgng/repo.txz: File unavailable (e.g., fi=
	le not found, no access)
	> #=20
	>=20
	> What's that about?
	>=20
	> Anton
	> _______________________________________________
	> freebsd-ports at freebsd.org mailing list
	> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
	> To unsubscribe, send any mail to "freebsd-ports-unsubscribe at freebsd.org"

	Where did you get this url for the packagesite of pkgng?

I guess here:

TZAV> cat /usr/local/etc/pkg.conf
# System-wide configuration file for pkg(1)
# For more information on the file format and 
# options please refer to the pkg.conf(5) man page

# Configuration options
PACKAGESITE         : ftp://ftp.freebsd.org/pub/pkgng
PKG_DBDIR           : /var/db/pkg
PKG_CACHEDIR        : /var/cache/pkg
PORTSDIR            : /usr/ports
PUBKEY              : /etc/ssl/pkg.conf
HANDLE_RC_SCRIPTS   : NO
PKG_MULTIREPOS      : NO
ASSUME_ALWAYS_YES   : NO
SYSLOG              : YES
SHLIBS              : NO 
AUTODEPS            : NO

# Repository definitions
repos:
  default : http://example.org/pkgng/
  repo1 : http://somewhere.org/pkgng/repo1/
  repo2 : http://somewhere.org/pkgng/repo2/

TZAV> 

	It won't work, the UPDATING entry concerning pkgng is only for people being=
	 in
	binary only mode. Which doesn't seems to be your case. It also concerns peo=
	ple
	building there own repository using poudriere/tinderbox

no, I don't use any of this. Should I?
I didn't think it was a requirement for
using pkgng.

	Don't know what you are using, but you should imho run portmaster or portup=
	grade
	to rebuild everything that depends on perl (sorry I don't remember the exact
	syntax).

sure, I can do this manually, but... 

	That said perl-after-update to be anyway be worked on so that it supports
	natively pkgng, but given perl-after-upgrade is a hack (ugly in my views :))
	don't know how complicated or easy it is to port it.

So if I want to stick to the new pkg tools,
and I don't want to use perl-after-upgrade
(which as you say, doesn't work with pkgng
yet anyway), what should I do?

Thanks

Anton


More information about the freebsd-ports mailing list