"pkg upgrade" is trying to install phantom dependencies
Baptiste Daroussin
bapt at FreeBSD.org
Thu May 22 07:02:16 UTC 2014
On Thu, May 22, 2014 at 12:47:30PM +0700, Victor Sudakov wrote:
> The same problem, a different view. Please see output below.
> Who installed gettext and why? It's not required by any package:
>
> [root at ftp ~] pkg upgrade -y
> Updating repository catalogue
> Upgrades have been requested for the following 5 packages:
>
> Installing gettext: 0.18.3.1_1 [sibptus]
> Upgrading py27-subversion: 1.8.8_2 -> 1.8.9 [sibptus]
> Upgrading sqlite3: 3.8.4.2 -> 3.8.4.3 [sibptus]
> Upgrading subversion: 1.8.8_2 -> 1.8.9 [sibptus]
> Upgrading vim-lite: 7.4.265 -> 7.4.281 [FreeBSD]
>
> The upgrade will require 9 MB more space
>
> 9 MB to be downloaded
> gettext-0.18.3.1_1.txz 100% 2066KB 2.0MB/s 2.0MB/s 00:00
> py27-subversion-1.8.9.txz 100% 525KB 525.3KB/s 525.3KB/s 00:00
> sqlite3-3.8.4.3.txz 100% 629KB 629.3KB/s 629.3KB/s 00:00
> subversion-1.8.9.txz 100% 2138KB 2.1MB/s 2.1MB/s 00:00
> vim-lite-7.4.281.txz 100% 4643KB 1.5MB/s 1.3MB/s 00:03
> Checking integrity... done
> [1/5] Installing gettext-0.18.3.1_1... done
> [2/5] Upgrading py27-subversion from 1.8.8_2 to 1.8.9... done
> [3/5] Upgrading sqlite3 from 3.8.4.2 to 3.8.4.3... done
> [4/5] Upgrading subversion from 1.8.8_2 to 1.8.9... done
> [5/5] Upgrading vim-lite from 7.4.265 to 7.4.281... done
> [root at ftp ~] pkg info -r gettext
> gettext-0.18.3.1_1:
> [root at ftp ~]
> [root at ftp ~] pkg autoremove
> Deinstallation has been requested for the following 1 packages:
>
> gettext-0.18.3.1_1
>
> The deinstallation will free 9 MB
>
> Proceed with deinstalling packages [y/N]: y
> [1/1] Deleting gettext-0.18.3.1_1... done
> [root at ftp ~]
>
> Why does pkg bother to install gettext at all?
Because of a bug in the solver in pkg 1.2 with multirepo it has been solved in pkg 1.3
regards,
Bapt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-pkg/attachments/20140522/9edbac20/attachment.sig>
More information about the freebsd-pkg
mailing list