Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Nov 2012 12:43:08 GMT
From:      Anton Shterenlikht <mexas@bristol.ac.uk>
To:        bapt@FreeBSD.org, mexas@bristol.ac.uk
Cc:        freebsd-ports@FreeBSD.org, az@FreeBSD.org
Subject:   Re: pkg install -fRx perl failed
Message-ID:  <201211061243.qA6Ch89B094871@mech-cluster241.men.bris.ac.uk>
In-Reply-To: <20121106122235.GA4862@ithaqua.etoilebsd.net>

next in thread | previous in thread | raw e-mail | index | archive | help
	From bapt@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@freebsd.org mailing list
	> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
	> To unsubscribe, send any mail to "freebsd-ports-unsubscribe@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



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