Portupgrade Broke?

Khairil Yusof kaeru at pd.jaring.my
Sat Aug 9 23:46:40 PDT 2003


On Sat, 2003-08-09 at 22:07, Bob Perry wrote:
> I run FreeBSD 4.7 RELEASE.  Just ran the portversion command for the 
> first time since last Saturday and the ouptut indicated that my 
> installed packages were up-to-date.  Thought it odd so I ran pkg_version 
> command and picked up 9 packages in need up upgrade and several 
> "orphaned" packages listed.  Is there a known problem with the 
> portupgrade system or was there some warning I missed previously?

If I'm not wrong, portversion/pkg_version relies on ports index (man 8
portupgrade) which needs to be up to date in order for portversion to be
accurate. This is not done on a daily basis for the ports tree (as it
takes some time).

What you should try to do is check that your pkgdb is ok and fix any
problems:

#pkgdb -F

then update the ports index (which takes a while)

#portsdb -Uu

Then run your portversion/pkg_version which should give more accurate
results.

Hope this helps.

--
"Optimized, readable, on time; Pick any two." 

FreeBSD 5.1-CURRENT i386 
2:42PM up 7 days, 16:15, 4 users, load averages: 1.05, 0.60, 0.63
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: This is a digitally signed message part
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20030810/98f36cb5/attachment.bin


More information about the freebsd-questions mailing list