portmaster -af and databases/db41

Matthew Seaman m.seaman at infracaninophile.co.uk
Thu May 15 21:31:38 UTC 2014


On 15/05/2014 16:36, Gary Aitken wrote:
> Trying to update everything after quite a while;
>   portmaster -af 
> failed at x11/damageproto:
> 
>   ===>>> All >> db41-4.1.25_4 (61/61)
> 
>   ===>>> Currently installed version: db41-4.1.25_4
>   ===>>> Port directory: /usr/ports/databases/db41
> 
>         ===>>> This port is marked DEPRECATED
>         ===>>> Please use databases/db5 or db6 for new installs.
> 
> 
>         ===>>> If you are sure you can build it, remove the
>                DEPRECATED line in the Makefile and try again.
> 
>   ===>>> Update for db41-4.1.25_4 failed
>   ===>>> Aborting update
> 
> as per UPDATING 20131216
> added
>   WITH_BDB_VER=5
> to
>   /etc/make.conf
> but still get the error.
> 
> What did I miss?

If you have an earlier version of db41 installed, then portmaster -af
will try and upgrade it to a later version of the db41 port, with the
observed warning about the port being deprecated.

You need to tell portmaster to replace db41 with db5 --

   portmaster -o db5 db41

and then force reinstall everything that used to depend on db41 but that
now depends on db5 ---

   portmaster -fr db5

before proceeding with trying to update everything else.

	Cheers,

	Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.

PGP: http://www.infracaninophile.co.uk/pgpkey
JID: matthew at infracaninophile.co.uk

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 1036 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20140515/c351ece1/attachment.sig>


More information about the freebsd-questions mailing list