Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 May 2014 20:45:39 +0200
From:      =?UTF-8?B?TmFneSBMw6FzemzDsyBac29sdA==?= <gandalf@shopzeus.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: pkg upgrade not working properly [was: pkgng messed up]
Message-ID:  <537CF453.7090105@shopzeus.com>
In-Reply-To: <537CD7E3.6020501@freebsd.org>
References:  <5374C16E.6000000@shopzeus.com> <44k39n2kg1.fsf@lowell-desk.lan> <5375B772.2050700@shopzeus.com> <537C4D66.6010306@shopzeus.com> <537C53E9.50905@FreeBSD.org> <537CD47A.6050802@shopzeus.com> <537CD7E3.6020501@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

> You need to identify every package generating these sort of conflicts,
> and then tell pkg that it should use a different port (identified by
> port origin) for any upgrades using 'pkg set' like so:
>
>      pkg set -o category/old-port:category/new-port
>
> So in the case of replacing postgresql93-client with postgresql90-client
> you run:
>
>     pkg set -o databases/postgresql93-client:databases/postgresql90-client
>
> Now when you run your 'pkg upgrade' it will tell you it is upgrading
> (sic) postgresql93-client to postgresql90-client.

Thank you. It is funny I have already tried this but in the other 
direction e.g.

	pkg set -o databases/postgresql90-client:databases/postgresql93-client

I guess I did that because it was that way with the old portmaster.

This trick helped me with postgresql, but not with perl. Here is the 
problem:

     pkg set -o lang/perl5.16:lang/perl5.12
     pkg upgrade

Then I still get these messages:

pkg: WARNING: locally installed perl-5.12.4_4 conflicts on 
/usr/local/man/man1/xsubpp.1.gz with:
         - perl5-5.16.3_9

Which is silly because the locally installed perl is NOT 5.12 but 5.14:

root@backup:/usr/ports # perl -version

This is perl 5, version 14, subversion 4 (v5.14.4) built for amd64-freebsd

And hey, perl5.12 is not under ports/lang anymore. What can I do with this?

(And still don't understand that if this conflict is an error, then why 
am I getting warnings only?)




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?537CF453.7090105>