modify dependencies in local pkgng database

Alfred Bartsch bartsch at dssgmbh.de
Fri Feb 20 14:25:02 UTC 2015


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,
recently I installed a new desktop using FreeBSD-10.1-RELEASE image.

After adding some (>1000) packages from default pkg repository, I was
able to start working with kde4, libreoffice, firefox ...

I then tried to switch the gs port (print/ghostscript9) to the more
recent agpl-gs (print/ghostscript9-agpl), both packages are available
in the standard repository:

$ pkg install print/ghostscript9-agpl

This command first suggested to remove all ghostscript dependent stuff
(more than 50 packages , including most of kde4) before installing the
new ghostscript port.

Letting pkg do its job would not help. Reinstalling www/kde4 would
first replace the new ghostscript version with the former one.

So, at last everything would be like before.

Is there a recommended procedure to solve this problem?

$ pkg set -a -o print/ghostscript9:print/ghostscript9-agpl

before trying to install print/ghostscript9-agpl did not help.

Another example would be switching database server from mysql to mariadb.

For now, I'm only able to modify /etc/make.conf, rebuild *all* related
packages, create an additional local package repository from these and
tell pkg to prefer installing packages from there.

- -- 
Sincerely
Alfred Bartsch
Data-Service GmbH
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAlTnQlcACgkQ5QGe2JdVf3h9jgCaA7HgafiHu+51q12qewzsay0/
0fcAnAxfkBmdXVVOx65CKK6/mNEuPwiX
=Zd16
-----END PGP SIGNATURE-----


More information about the freebsd-ports mailing list