Okay so just 'pkg update' followed by 'pkg upgrade' after svn update?

> On Apr 4, 2014, at 11:09 PM, Warren Block <wbl...@wonkity.com> wrote:
> 
>> On Fri, 4 Apr 2014, sindrome wrote:
>> From: Warren Block [mailto:wbl...@wonkity.com]
>> Sent: Friday, April 04, 2014 9:23 PM
>> To: sindrome
>> Cc: 'Robert Huff'; po...@freebsd.org
>> Subject: RE: pkgng vs. portupgrade reporting ports outdated
>> 
>>> On Fri, 4 Apr 2014, sindrome wrote:
>>> 
>>> There is a major inconsistency with what pkg_version -v says is
>>> outdated and what pkgng says.
>> 
>> Of course.  pkg_version looks at the text files in /var/db/pkg, while pkg
>> looks at the database local.sqlite in that directory.  The first step in
>> using pkg is running pkg2ng, which imports the old information from the text
>> files into the sqlite table.  After that, pkg_version should not be used.
>> It's getting information from an outdated database.
>> 
>> 
>> So now the way to keep ports up-to-date is to execute 'pkg update' and 'pkg
>> upgrade'?
>> 
>> Are you saying I shouldn't svn update the ports tree anymore?
> 
> No, I did not say that.
> 
> By switching from the old pkg_* tools to pkg, all you have done is changed 
> which database is being used to track what is installed. Nothing else needs 
> to change.
_______________________________________________
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Reply via email to