trouble switching to dports

Pierre Abbat phma at bezitopo.org
Mon Dec 2 07:24:12 PST 2013


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.

> In the meantime, providing the output of "pkg -vv" may help.
> 
> The HowTo is slightly out of date as it doesn't handle pkg v1.2.x yet
> (repo conf files exist and need to be installed).  I'm fairly sure
> that's your issue, but you didn't respond to my previous mail on the topic.

# pkg clean
Unable to open remote database "repo". Try running 'pkg update' first.
# pkg -vv
version: 1.0.11
abi: dragonfly:3.6:x86:64
db dir: /var/db/pkg
cache dir: /var/cache/pkg
ports dir: /usr/dports
Log into syslog: yes
Assume always yes: no
Repository: http://avalon.dragonflybsd.org/dports/dragonfly:3.6:x86:64/RELEASE

Pierre
-- 
.i toljundi do .ibabo mi'afra tu'a do
.ibabo damba do .ibabo do jinga
.icu'u la ma'atman.




More information about the Users mailing list