Some questions about pkgng

Hi all!
I have a questions with new generation package manager pkgng. Maybe I'm do something terrible wrong and now I'm in stuck.
I have FreeBSD 9.1-PRERELEASE #0: Thu Sep 6. First of all I'm proceed steps from /usr/ports/UPDATING to date 20121010. After that I'm portupgrade -ak (and all notes from UPDATING 10.11.2012 to 01.02.2013)

All proceeds ok, and there is new KDE in ports tree appears.
I'm do
# pkg_deinstall -f ... as notes in UPDATING and try to portupgrade -ak
I get error:
Code:
[Updating the pkgdb <format:bdb_btree> in /var/db/pkg ... USING PKGNG
- 1086 packages found (-0 +0)  done]
USING PKGNG
Stale dependency: kde-4.8.4 --> kdenetwork-4.8.4_1 -- manually run 'pkgdb -F' to fix, or specify -O to force.
I'm try pkgdb -F:
Code:
USING PKGNG
pkgdb -F not supported with PKGNG yet. Use 'pkg check' directly.
After that I'm read pkg-check(8) and try pkg check -d -a:
Code:
x11/kde4 has a missing dependency: x11/kde4-runtime
x11/kde4 has a missing dependency: x11/kde4-workspace
x11/kde4 has a missing dependency: multimedia/kdemultimedia4
x11/kde4 has a missing dependency: net/kdenetwork4
x11-themes/kdeartwork4 has a missing dependency: x11/kde4-workspace
deskutils/kdeplasma-addons has a missing dependency: x11/kde4-workspace
x11-clocks/kdetoys4 has a missing dependency: x11/kde4-workspace

>>> Missing package dependencies were detected.
>>> Found 4 issue(s) in total with your package database.

pkg: Package 'x11/kde4-runtime' was not found in the repositories
pkg: Package 'x11/kde4-workspace' was not found in the repositories
pkg: Package 'multimedia/kdemultimedia4' was not found in the repositories
pkg: Package 'net/kdenetwork4' was not found in the repositories

>>> Unable to find packages for installation.
After that I don't understand what I need to do and try pkg update with such pkg.conf:
Code:
PACKAGESITE         : http://pkg.freebsd.org/${ABI}/latest
And I get error:
Code:
Updating repository catalogue
pkg: http://pkg.freebsd.org/freebsd:9:x86:64/latest/repo.txz: No address record

After that I'm see that in /usr/ports/UPDATING note about migrating to pkgng related to FreeBSD-CURRENT and now I don't understand how can I solve problems and what I need to do.

Please help. If it possible, how can I migrate to old-style ports from that new generation package system?
 
What I need to do now?
Or for solve problem with missing dependencies, or for reverting to old ports management.
I think it my mistake to migrate to pkgng not carefully seeing that it needed for -Current, but I do this.
 
andersbo87 said:
Do you know if there are any plans to add such an official PKGNG repository? If so, when?

Yes, as far as I know it's going to be the default for 10.0. No idea about the timeframe though. It does work rather well if you set up your own repository.
 
SirDice said:
Yes, as far as I know it's going to be the default for 10.0. No idea about the timeframe though. It does work rather well if you set up your own repository.

OK, thanks. :D By setting up one's local repository, do you mean pkg create -a?
 
Back
Top