Hi, could someone explain the following and maybe give a hand too:
Recently I upgraded my ports database on a FreeBSD 9.2-RELEASE system to pkgng. However, now when I do
With -I, everything seems OK:
Now there are two things I don’t understand:
Could it be I’ve misused the portmaster and portsnap commands somehow? I’m a newbie to FreeBSD and find it difficult sometimes with so many different tools to use. I’ve already tried to search this forum (and googled even farther afield) but it’s tricky with the short command and switch names.
Recently I upgraded my ports database on a FreeBSD 9.2-RELEASE system to pkgng. However, now when I do
pkg version without the -I switch I get only “?” statuses, as in the following snippet:
Code:
tn@bahtin [~]$ pkg version -v
apr-1.4.8.1.5.3 ? orphaned: devel/apr1
atk-2.8.0 ? orphaned: accessibility/atk
autoconf-2.69 ? orphaned: devel/autoconf
With -I, everything seems OK:
Code:
tn@bahtin [~]$ pkg version -Iv
apr-1.4.8.1.5.3 = up-to-date with index
atk-2.8.0 = up-to-date with index
autoconf-2.69 = up-to-date with index
Now there are two things I don’t understand:
- First, according to
man pkg-version“?” means “The installed package does not appear in the index”. However, -I specifically uses the INDEX file. Are there two different indices or am I just not understanding something? - Second, according to the same man page, “This could be due to an out of date index” but there’re no pointers as to how to get the index up-to-date. What command to run?
Could it be I’ve misused the portmaster and portsnap commands somehow? I’m a newbie to FreeBSD and find it difficult sometimes with so many different tools to use. I’ve already tried to search this forum (and googled even farther afield) but it’s tricky with the short command and switch names.