Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Feb 2015 15:19:03 +0100
From:      Alfred Bartsch <bartsch@dssgmbh.de>
To:        ports@freebsd.org
Subject:   modify dependencies in local pkgng database
Message-ID:  <54E74257.4060500@dssgmbh.de>

next in thread | raw e-mail | index | archive | help
-----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-----



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?54E74257.4060500>