On Tuesday 23 Sep 2014 20:46:29 Patrick Powell wrote: > I can't check this out right now, BUT are the keyboard/mouse > drivers on the WITH_NEW_XORG > repo server built correctly?
They appear to be built OK, curlew:/home/mike% pkg rquery "%n %v %R" xf86-input-mouse xf86-input-mouse 1.9.0_4 FreeBSD xf86-input-mouse 1.9.0_4 FreeBSD_new_xorg curlew:/home/mike% pkg rquery "%n %v %R" xf86-input-keyboard xf86-input-keyboard 1.8.0_5 FreeBSD xf86-input-keyboard 1.8.0_5 FreeBSD_new_xorg Both repos have the same version but when I ran pkg upgrade it used FreeBSD for both these drivers with the result that I couldn't log in with KDM until I forcibly installed them from FreeBSD_new_xorg > If that is the case then you can > force PKG to fetch them from that REPO > and then you can (using some magic I don't understand, setting > something in the comment field) force > PKG to always fetch from this repo. > > I have a plan B on this, which is to have a 'repo search order' > capability added to PKG. > IF you search the WITH_NEW_XORG repo first, THEN search the > standard repo AND if you have two packages with the same version, > etc, then you get it from the first > repository you searched. Would an alternative approach when upgrading a package be to check to see if the existing package is annotated with a repository tag and use its value to decide which repository to use. This would have worked in my above example. curlew:/home/mike% pkg query "%n %At %Av" xf86-input-mouse xf86-input- keyboard xf86-input-mouse repo_type binary xf86-input-mouse repository FreeBSD_new_xorg xf86-input-keyboard repo_type binary xf86-input-keyboard repository FreeBSD_new_xorg It would however require the repository to be specified by the user when initially installing the package. The instructions in https://lists.freebsd.org/pipermail/freebsd-ports/2013-November/087487.html give the impression that the value of the annotation should influence the choice of repository but this does not appear to happen. -- Mike Clarke _______________________________________________ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "[email protected]"
