Date: Thu, 18 Dec 2014 20:37:25 +0100 From: gabor@zahemszky.hu To: <freebsd-pkg@freebsd.org> Subject: pkg override =?UTF-8?Q?HOW=3F?= Message-ID: <9553450c6ecd0a68d00e0805b37d2827@zahemszky.hu>
next in thread | raw e-mail | index | archive | help
(I tried freebsd-questions, but got nothing, so 2nd try) Hi! In man pkg-repository, there is a description, on how to use more repositories, and how to override the default precedence. The critical steps are: 1) install the package from the preferred repo with: pkg install -r PreferredRepoName PACKAGEname 2) and after installation, make an annotation on that package with: pkg annotate -A PACKAGEname repository PreferredRepoName There are at least two problems with it: a) The annotation halted with an error message: "Cannot add annotation" Because the package HAS the correct "repository" annotation - and every package has repository annotations - the packages, which was installed from remote has the "FreeBSD" tag, and the local-sourced package has the local-repo-name.) b) The bigger problem is that it doesn't work. It means: I have a local package (mail/faces), which has a default GTK-1.2 and GLIB-1.2 dependency. I don't need them (but faces), so I made a local package. Made the above steps, but the pkg update / upgrade commands updated it from the main FreeBSD repository. So what do I need to do, to make the package from my local repo is the preferred package? Thanks, Zahemszky, Gábor < Gabor at Zahemszky dot HU >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9553450c6ecd0a68d00e0805b37d2827>