I can no longer update packages in my jail

Status
Not open for further replies.

Cosmo_Kramer

Contributor
Joined
Jan 9, 2013
Messages
103
Hello,
I have two jails and when I try to update my packages, no packages are seen as needed to be updated even though there should be.
Here is the output of the commands:
Code:
[root@owncloud /]# pkg update												  
Updating FreeBSD repository catalogue...										
FreeBSD repository is up-to-date.											  
All repositories are up-to-date.												
[root@owncloud /]# pkg upgrade												
Updating FreeBSD repository catalogue...										
FreeBSD repository is up-to-date.											  
All repositories are up-to-date.												
Checking for upgrades (0 candidates): 100%									
Processing candidates (0 candidates): 100%									
Checking integrity... done (0 conflicting)									
Your packages are up to date.												  


This is what `/etc/pkg/FreeBSD.conf` looks like:
Code:
FreeBSD: {																	
  url: "pkg+http://pkg.FreeBSD.org/${ABI}/latest",							
  mirror_type: "srv",														  
  signature_type: "fingerprints",											  
  fingerprints: "/usr/share/keys/pkg",										
  enabled: yes																
}


Here is the output of `pkg -vv`:
Code:
Version				 : 1.9.4
PKG_DBDIR = "/var/db/pkg";
PKG_CACHEDIR = "/var/cache/pkg";
PORTSDIR = "/usr/ports";
INDEXDIR = "";
INDEXFILE = "INDEX-9";
HANDLE_RC_SCRIPTS = false;
DEFAULT_ALWAYS_YES = false;
ASSUME_ALWAYS_YES = false;
REPOS_DIR [
	"/etc/pkg/",
	"/usr/local/etc/pkg/repos/",
]
PLIST_KEYWORDS_DIR = "";
SYSLOG = true;
ABI = "FreeBSD:9:amd64";
ALTABI = "freebsd:9:x86:64";
DEVELOPER_MODE = false;
VULNXML_SITE = "http://vuxml.freebsd.org/freebsd/vuln.xml.bz2";
FETCH_RETRY = 3;
PKG_PLUGINS_DIR = "/usr/local/lib/pkg/";
PKG_ENABLE_PLUGINS = true;
PLUGINS [
]
DEBUG_SCRIPTS = false;
PLUGINS_CONF_DIR = "/usr/local/etc/pkg/";
PERMISSIVE = false;
REPO_AUTOUPDATE = true;
NAMESERVER = "";
HTTP_USER_AGENT = "pkg/1.9.4";
EVENT_PIPE = "";
FETCH_TIMEOUT = 30;
UNSET_TIMESTAMP = false;
SSH_RESTRICT_DIR = "";
PKG_ENV {
}
PKG_SSH_ARGS = "";
DEBUG_LEVEL = 0;
ALIAS {
	all-depends = "query %dn-%dv";
	annotations = "info -A";
	build-depends = "info -qd";
	cinfo = "info -Cx";
	comment = "query -i \"%c\"";
	csearch = "search -Cx";
	desc = "query -i \"%e\"";
	download = "fetch";
	iinfo = "info -ix";
	isearch = "search -ix";
	prime-list = "query -e '%a = 0' '%n'";
	leaf = "query -e '%#r == 0' '%n-%v'";
	list = "info -ql";
	noauto = "query -e '%a == 0' '%n-%v'";
	options = "query -i \"%n - %Ok: %Ov\"";
	origin = "info -qo";
	provided-depends = "info -qb";
	raw = "info -R";
	required-depends = "info -qr";
	roptions = "rquery -i \"%n - %Ok: %Ov\"";
	shared-depends = "info -qB";
	show = "info -f -k";
	size = "info -sq";
}
CUDF_SOLVER = "";
SAT_SOLVER = "";
RUN_SCRIPTS = true;
CASE_SENSITIVE_MATCH = false;
LOCK_WAIT = 1;
LOCK_RETRIES = 5;
SQLITE_PROFILE = false;
WORKERS_COUNT = 0;
READ_LOCK = false;
PLIST_ACCEPT_DIRECTORIES = false;
IP_VERSION = 0;
AUTOMERGE = true;
VERSION_SOURCE = "";
CONSERVATIVE_UPGRADE = true;
PKG_CREATE_VERBOSE = false;
AUTOCLEAN = false;
DOT_FILE = "";
REPOSITORIES {
}
VALID_URL_SCHEME [
	"pkg+http",
	"pkg+https",
	"https",
	"http",
	"file",
	"ssh",
	"ftp",
	"ftps",
	"pkg+ssh",
	"pkg+ftp",
	"pkg+ftps",
]
ALLOW_BASE_SHLIBS = false;
WARN_SIZE_LIMIT = 1048576;
METALOG = "";


Repositories:
  FreeBSD: { 
	url			 : "pkg+http://pkg.FreeBSD.org/FreeBSD:9:amd64/latest",
	enabled		 : yes,
	priority		: 0,
	mirror_type	 : "SRV",
	signature_type  : "FINGERPRINTS",
	fingerprints	: "/usr/share/keys/pkg"
  }


Thank you for your help.
 
Last edited:

Jailer

Not strong, but bad
Joined
Sep 12, 2014
Messages
4,977
Is this possibly because my jail is based on FreeBSD 9 and that is EOL?
I'm betting so. Looks like it's time to update to 9.10.2. You'll have to rebuild your jails with the new template after you do but they should work fine once you do.
 
Status
Not open for further replies.
Top