"pkg search" gives different results, or host does not see a package

Victor Sudakov vas at mpeks.tomsk.su
Mon Sep 8 10:30:56 UTC 2014


Colleagues,

There are two boxes running FreeBSD 9.3 using the same repository
(built with poudriere). However, the output of "pkg search" is
different:

[root at admin ~] pkg search postgre
postgresql92-client-9.2.9
postgresql92-server-9.2.9

root at pg02-sibptus ~] pkg search postgre
postgresql90-client-9.0.18
postgresql90-server-9.0.18
postgresql92-client-9.2.9
postgresql92-server-9.2.9

"pkg -vv" reports the same repository on both hosts. I have already
tried "pkg update -f" on the host "admin", which did not improve the
situation. Still:

[root at admin ~] pkg install -n postgresql90-server
Updating sibptus repository catalogue...
sibptus repository is up-to-date.
All repositories are up-to-date.
pkg: No packages available to install matching 'postgresql90-server'
have been found in the repositories
[root at admin ~]

[root at pg02-sibptus ~] pkg install -n postgresql90-server
Updating sibptus repository catalogue...
sibptus repository is up-to-date.
All repositories are up-to-date.
The following 2 packages will be affected (of 0 checked):

New packages to be INSTALLED:
        postgresql90-server: 9.0.18
        postgresql90-client: 9.0.18

The process will require 14 MB more space.
3 MB to be downloaded.
[root at pg02-sibptus ~]

What gives?


-- 
Victor Sudakov,  VAS4-RIPE, VAS47-RIPN
sip:sudakov at sibptus.tomsk.ru


More information about the freebsd-pkg mailing list