trouble switching to dports
John Marino
dragonflybsd at marino.st
Mon Dec 2 07:48:45 PST 2013
On 12/2/2013 16:24, Pierre Abbat wrote:
> On Monday, December 02, 2013 16:13:17 John Marino wrote:
>> It doesn't matter when you switch kernel or world. You can just upgrade
>> or wipe out /usr/local + /var/db/pkg and start again followed by "pkg clean"
>
> The question about when he switched was for Joris. I renamed /var/db/pkg.
> Wiping out /usr/local would erase pkg.
Yes, and?
cd /usr/ && make pkg-bootstrap
> # pkg clean
> Unable to open remote database "repo". Try running 'pkg update' first.
> # pkg -vv
> version: 1.0.11
Well, there you go.
pkg 1.0 is not compatible with pkg 1.1 or 1.2
It's very old. Where did you get it?
Remove it and either:
1) build from /usr/dports/ports-mgmt/pkg
2) install the bootstrap and let it update itself
John
More information about the Users
mailing list