Jail repository wrong ABI

Status
Not open for further replies.

LGSONE

Dabbler
Joined
Mar 8, 2014
Messages
19
Running the latest nightlies on Dell T5500 x64 with Dual Xeon 2.13Ghz with 24GB-EEC Ram, 5 500gb z2

Went to create a new jail and it downloaded freenas-standard-11-release.tgz
the below is what happened.

Thoughts.. I did some searching on here but missed anything relative if already here.


login as: root
root@172.20.2.22's password:
Last login: Mon Apr 17 23:28:31 2017 from 172.20.2.189
FreeBSD 11.0-STABLE (FreeNAS.amd64) #0 ae7e9fd16(freenas/11-stable): Tue Apr 18 04:37:58 UTC 2017


[root@LGSONE-NAS] ~# jexec 3 tcsh
root@Test:/ # pkg update
Updating FreeBSD repository catalogue...
Repository FreeBSD has a wrong packagesite, need to re-create database
[Test] Fetching meta.txz: 100% 944 B 0.9kB/s 00:01
[Test] Fetching packagesite.txz: 100% 6 MiB 3.0MB/s 00:02
Processing entries: 0%
pkg: wrong architecture: freebsd:10:x86:64 instead of FreeBSD:11:amd64
pkg: repository FreeBSD contains packages with wrong ABI: freebsd:10:x86:64
Processing entries: 100%
Unable to update repository FreeBSD
root@Test:/ # pkg upgrade
Updating FreeBSD repository catalogue...
Repository FreeBSD has a wrong packagesite, need to re-create database
[Test] Fetching meta.txz: 100% 944 B 0.9kB/s 00:01
[Test] Fetching packagesite.txz: 100% 6 MiB 3.0MB/s 00:02
Processing entries: 0%
pkg: wrong architecture: freebsd:10:x86:64 instead of FreeBSD:11:amd64
pkg: repository FreeBSD contains packages with wrong ABI: freebsd:10:x86:64
Processing entries: 100%
Unable to update repository FreeBSD
All repositories are up-to-date.
Repository FreeBSD has a wrong packagesite, need to re-create database
pkg: Repository FreeBSD cannot be opened. 'pkg update' required
Checking for upgrades (0 candidates): 100%
Processing candidates (0 candidates): 100%
Checking integrity... done (0 conflicting)
Your packages are up to date.

root@Test:/ # pkg info
apr-1.5.2.1.5.4_2 Apache Portability Library
ca_root_nss-3.29 Root certificate bundle from the Mozilla Project
curl-7.52.1_1 Non-interactive tool to get files from FTP, GOPHER, HTTP(S) servers
cvsps-2.1_2 Create patchset information from CVS
db5-5.3.28_6 Oracle Berkeley DB, revision 5.3
expat-2.2.0_1 XML 1.0 parser written in C
gdbm-1.12 GNU database manager
gettext-runtime-0.19.8.1_1 GNU gettext runtime libraries and programs
git-2.11.1 Distributed source code management tool
indexinfo-0.2.6 Utility to regenerate the GNU info page index
libffi-3.2.1 Foreign Function Interface
libnghttp2-1.19.0 HTTP/2.0 C Library
p5-Authen-SASL-2.16_1 Perl5 module for SASL authentication
p5-Digest-HMAC-1.03_1 Perl5 interface to HMAC Message-Digest Algorithms
p5-Error-0.17024 Error/exception handling in object-oriented programming style
p5-GSSAPI-0.28_1 Perl extension providing access to the GSSAPIv2 library
pcre-8.40 Perl Compatible Regular Expressions library
perl5-5.24.1 Practical Extraction and Report Language
pkg-1.9.4_1 Package manager
python27-2.7.13_1 Interpreted object-oriented programming language
readline-6.3.8 Library for editing command lines as they are typed
serf-1.3.9_1 Serf HTTP client library
sqlite3-3.16.2 SQL database engine in a C library
subversion-1.9.5 Version control system
root@Test:/ # pkg -vv
Version : 1.9.4
PKG_DBDIR = "/var/db/pkg";
PKG_CACHEDIR = "/var/cache/pkg";
PORTSDIR = "/usr/ports";
INDEXDIR = "";
INDEXFILE = "INDEX-11";
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:11:amd64";
ALTABI = "freebsd:11: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 {
}
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:10:x86:64/latest",
enabled : yes,
priority : 0,
mirror_type : "SRV",
signature_type : "FINGERPRINTS",
fingerprints : "/usr/share/keys/pkg"
}
root@Test:/ #
root@Test:/ # pkg rquery %n-%v
pkg: wrong architecture: freebsd:10:x86:64 instead of FreeBSD:11:amd64
pkg: repository FreeBSD contains packages with wrong ABI: freebsd:10:x86:64
Repository FreeBSD has a wrong packagesite, need to re-create database
pkg: Repository FreeBSD cannot be opened. 'pkg update' required
root@Test:/ # pkg update
Updating FreeBSD repository catalogue...
Repository FreeBSD has a wrong packagesite, need to re-create database
[Test] Fetching meta.txz: 100% 944 B 0.9kB/s 00:01
[Test] Fetching packagesite.txz: 100% 6 MiB 3.0MB/s 00:02
Processing entries: 0%
pkg: wrong architecture: freebsd:10:x86:64 instead of FreeBSD:11:amd64
pkg: repository FreeBSD contains packages with wrong ABI: freebsd:10:x86:64
Processing entries: 100%
Unable to update repository FreeBSD
root@Test:/ #
root@Test:/ # pkg update
Updating FreeBSD repository catalogue...
Repository FreeBSD has a wrong packagesite, need to re-create database
[Test] Fetching meta.txz: 100% 944 B 0.9kB/s 00:01
[Test] Fetching packagesite.txz: 100% 6 MiB 3.0MB/s 00:02
Processing entries: 0%
root@Test:/ # pkg: wrong architecture: freebsd:10:x86:64 instead of FreeBSD:11:amd64
pkg: repository FreeBSD contains packages with wrong ABI: freebsd:10:x86:64
Processing entries: 100%
root@Test:/ #
 

Jailer

Not strong, but bad
Joined
Sep 12, 2014
Messages
4,977
Follow the direction in this post and change your repository from 10 latest to 11 latest. It's a bug that's been reported by other members.
 

LGSONE

Dabbler
Joined
Mar 8, 2014
Messages
19
File did not have any current data (see pic) Updated per instruction in post and still the same error.
 

Attachments

  • Capture.PNG
    Capture.PNG
    66.7 KB · Views: 522

Zyrusvirus

Dabbler
Joined
May 14, 2012
Messages
23
Hello,
i use a FreeNAS11 and i create a new Jail for CalmAV.
When I give into the ssh "pkg update" command, says the Jail System, repo error.
when edit vi /usr/local/etc/pkg/repos/FreeBSD.conf and save the Config, the error remains.

Can you help me?
 
Status
Not open for further replies.
Top