Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Oct 2015 00:09:22 +0300
From:      Arto Pekkanen <isoa@kapsi.fi>
To:        freebsd-pkg@freebsd.org
Subject:   pkg always tries to install graphics/jpeg as bogus dependency
Message-ID:  <0e4a66578a8ad68e97dd320458bec514@kapsi.fi>

next in thread | raw e-mail | index | archive | help
Here follows the console output:
"""
# pkg install wifimgr
Updating FreeBSD repository catalogue...
FreeBSD repository is up-to-date.
Updating Local repository catalogue...
Local repository is up-to-date.
All repositories are up-to-date.
The following 2 package(s) will be affected (of 0 checked):

New packages to be INSTALLED:
         wifimgr: 1.11_1 [FreeBSD]
         jpeg: 8_6 [FreeBSD]

The process will require 2 MiB more space.
94 KiB to be downloaded.

Proceed with this action? [y/N]: y
Fetching wifimgr-1.11_1.txz: 100%   94 KiB  96.7kB/s    00:01
Checking integrity... done (2 conflicting)
Checking integrity... done (0 conflicting)
Conflicts with the existing packages have been found.
One more solver iteration is needed to resolve them.
The following 1 package(s) will be affected (of 0 checked):

New packages to be INSTALLED:
         wifimgr: 1.11_1 [FreeBSD]

The process will require 405 KiB more space.

Proceed with this action? [y/N]: y
[1/1] Installing wifimgr-1.11_1...
[1/1] Extracting wifimgr-1.11_1: 100%

[root@leno ~]# pkg info jpeg
pkg: No package(s) matching jpeg

[root@leno ~]# pkg rquery "%n-%v [%R]" jpeg
jpeg-8_6 [FreeBSD]
jpeg-8_6 [Local]

[root@leno ~]# pkg rquery "%n-%v [%R] %rn" jpeg
[root@leno ~]#
"""

Why does pkg try to install jpeg8_6 even if no package run-depends on 
it?

It does not prevent packages from installing, but it does waste time 
with the conflict resolution.

What should I do to resolve this issue?

PS. The "Local" repository is my overlay repository where I've built 
some packages with specific options. It is configured with priority 100.

-- 
Arto Pekkanen




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