Troubles with PKG updates on 11.1-U5

Status
Not open for further replies.

ninjai

Explorer
Joined
Apr 6, 2015
Messages
98
I don't know what to do anymore. I have a jail in which Plex is installed, and I used to update it like this:
Code:
pkg update
pkg upgrade


Then something happened with jails between 11.0 and 11.1 or something, so then I'd always get a package version warning:
Code:
root@plex_media_server:/ # pkg update
Updating FreeBSD repository catalogue...
[plex_media_server] Fetching meta.txz: 100%	944 B   0.9kB/s	00:01
[plex_media_server] Fetching packagesite.txz: 100%	6 MiB   3.4MB/s	00:02
Processing entries:   0%
Newer FreeBSD version for package peps:
To ignore this error set IGNORE_OSVERSION=yes
- package: 1004000
- running kernel: 1003000
Allow missmatch now?[Y/n]: n
pkg: repository FreeBSD contains packages for wrong OS version: FreeBSD:10:amd64
Processing entries: 100%
Unable to update repository FreeBSD
Error updating repositories!


I read around about this a while back and learned I needed to obtain the updates for the correct version I was running, and found I had to run this:
Code:
root@plex_media_server:/ # uname -KU
1101505 1003000


Which in turn, meant I needed to specify the package repository with version 1101505. So I used to do that and it would update. Now, however, it's just always saying the packages are up to date when freshports is showing I am definitely not up to date:

Code:
root@plex_media_server:~ # pkg -o OSVERSION=1101505 update
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
root@plex_media_server:~ # pkg -o OSVERSION=1101505 search plexmediaserver-plexpass
plexmediaserver-plexpass-1.13.5.5291 Plex Media Server component


You can see that it's showing version 1.13.5.XXXX is the latest version.

FreshPorts, however, is showing that version 1.13.7.XXXX is the latest version:
https://www.freshports.org/search.p...leted&start=1&casesensitivity=caseinsensitive

I'm kind of stuck here and looking for some guidance. I would like to update my jails, but with whatever happened in the updates to FreeNAS that screwed up my jails is frustrating. I was able to run this procedure the last time there was a plex update, but now it's no longer working.
 

Jailer

Not strong, but bad
Joined
Sep 12, 2014
Messages
4,974
What is the output of freebsd-version from the plex jail?
 

ninjai

Explorer
Joined
Apr 6, 2015
Messages
98
What is the output of freebsd-version from the plex jail?
Code:
root@plex_media_server:/ #  freebsd-version
10.3-RELEASE


I'm guessing that's the problem? I should be using -o OSVERSION=1003000??

Ninja edit: Nope, same result with that
 

Jailer

Not strong, but bad
Joined
Sep 12, 2014
Messages
4,974
No you need to switch to iocage so you're on a supported version of FreeBSD.
 

ninjai

Explorer
Joined
Apr 6, 2015
Messages
98
I thought IOCage wasn't supported, or stable, and it was postponed to next major release?
 

Jailer

Not strong, but bad
Joined
Sep 12, 2014
Messages
4,974
It's been in FreeNAS for a while now, since 11.0 IIRC.
 
Status
Not open for further replies.
Top