[Bug 192703] New: pkg install uses the wrong repository for some packages
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sat Aug 16 11:58:34 UTC 2014
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=192703
Bug ID: 192703
Summary: pkg install uses the wrong repository for some
packages
Product: Ports Tree
Version: Latest
Hardware: amd64
OS: Any
Status: Needs Triage
Severity: Affects Some People
Priority: ---
Component: Infrastructure
Assignee: freebsd-ports-bugs at FreeBSD.org
Reporter: jmc-freebsd2 at milibyte.co.uk
Created attachment 145869
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=145869&action=edit
FreeBSD.conf
curlew:/root# uname -a
FreeBSD curlew.lan 10.0-RELEASE-p7 FreeBSD 10.0-RELEASE-p7 #0: Tue Jul 8
06:37:44 UTC 2014
root at amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64
curlew:/root# pkg info -E pkg
pkg-1.3.6
curlew:/root# ls /usr/local/etc/pkg/repos/
FreeBSD.conf FreeBSD_new_xorg.conf
Attempts to install the following packages cause them to be downloaded from the
FreeBSD repository
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
curlew:/root# pkg install -f xf86-input-mouse xf86-video-vesa xf86-video-nv
xf86-input-keyboard nepomuk-core nepomuk-widgets
Updating repository catalogue
FreeBSD repository is up-to-date
FreeBSD_new_xorg repository is up-to-date
All repositories are up-to-date
The following 6 packages will be affected (of 0 checked):
Installed packages to be REINSTALLED:
xf86-input-mouse-1.9.0_3 [FreeBSD]
nepomuk-core-4.12.5 [FreeBSD]
nepomuk-widgets-4.12.5 [FreeBSD]
xf86-video-vesa-2.3.3_3 [FreeBSD]
xf86-video-nv-2.1.20_4 [FreeBSD]
xf86-input-keyboard-1.8.0_2 [FreeBSD]
The process will require 10 KB more space
128 KB to be downloaded
Proceed with this action [y/N]:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
But they exist in FreeBSD_new_xorg as well as FreeBSD
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
curlew:/root# pkg rquery "%n %v %R" xf86-input-mouse xf86-video-vesa
xf86-video-nv xf86-input-keyboard nepomuk-core nepomuk-widgets
xf86-input-mouse 1.9.0_3 FreeBSD
xf86-input-mouse 1.9.0_3 FreeBSD_new_xorg
xf86-video-vesa 2.3.3_3 FreeBSD
xf86-video-vesa 2.3.3_3 FreeBSD_new_xorg
xf86-video-nv 2.1.20_4 FreeBSD
xf86-video-nv 2.1.20_4 FreeBSD_new_xorg
xf86-input-keyboard 1.8.0_2 FreeBSD
xf86-input-keyboard 1.8.0_2 FreeBSD_new_xorg
nepomuk-core 4.12.5 FreeBSD
nepomuk-core 4.12.5 FreeBSD_new_xorg
nepomuk-widgets 4.12.5 FreeBSD
nepomuk-widgets 4.12.5 FreeBSD_new_xorg
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
The correct versions are only installed if I use the -r option.
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
curlew:/root# pkg install -f -r FreeBSD_new_xorg xf86-input-mouse
xf86-video-vesa xf86-video-nv xf86-input-keyboard nepomuk-core nepomuk-widgets
Updating "FreeBSD_new_xorg" repository catalogue
FreeBSD_new_xorg repository is up-to-date
All repositories are up-to-date
Checking integrity... done (0 conflicting)
The following 6 packages will be affected (of 0 checked):
Installed packages to be REINSTALLED:
xf86-input-mouse-1.9.0_3 [FreeBSD_new_xorg]
nepomuk-core-4.12.5 [FreeBSD_new_xorg]
nepomuk-widgets-4.12.5 [FreeBSD_new_xorg]
xf86-video-vesa-2.3.3_3 [FreeBSD_new_xorg]
xf86-video-nv-2.1.20_4 [FreeBSD_new_xorg]
xf86-input-keyboard-1.8.0_2 [FreeBSD_new_xorg]
Proceed with this action [y/N]: n
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
This workaround solved the immediate problem but does require knowledge of
which repository must be used for each package.
I can't check to see if pkg upgrade will have the same problem because all my
packages are up to date but it will be a more serious problem if it does.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list