Mark Levitt
Explorer
- Joined
- May 21, 2017
- Messages
- 56
Hi,
I'm running FreeNAS 11.0-U4. I have a Jail setup with Plex installed. Recently, when I try to update the packages in the jail using 'pkg update -f', I receive the following error:
From searching the forum and some googling, I've found a few threads that mention the need to upgrade the Jail itself. For example here:
https://www.reddit.com/r/freenas/comments/7s1cgb/pkg_repository_freebsd_contains_packages_for/
or here:
https://www.cyberciti.biz/faq/how-to-upgrade-freebsd-jail-vps/
However, I can't find any step by step guides to do that on FreeNAS (not just generic FreeBSD) while preserving my Plex installation (i.e., not loosing the config, etc).
I'm comfortable with CLI commands, but I just don't have a lot of experience with BSD jails and how they work.
Any advice offered would be greatly appreciated! :)
I'm running FreeNAS 11.0-U4. I have a Jail setup with Plex installed. Recently, when I try to update the packages in the jail using 'pkg update -f', I receive the following error:
Code:
Updating FreeBSD repository catalogue... [PlexJail] Fetching meta.txz: 100% 944 B 0.9kB/s 00:01 [PlexJail] Fetching packagesite.txz: 100% 6 MiB 6.2MB/s 00:01 Processing entries: 0% pkg: Newer FreeBSD version for package sets: - package: 1101001 - running kernel: 1100122 pkg: repository FreeBSD contains packages for wrong OS version: FreeBSD:11:amd64 Processing entries: 100% Unable to update repository FreeBSD Error updating repositories!
From searching the forum and some googling, I've found a few threads that mention the need to upgrade the Jail itself. For example here:
https://www.reddit.com/r/freenas/comments/7s1cgb/pkg_repository_freebsd_contains_packages_for/
or here:
https://www.cyberciti.biz/faq/how-to-upgrade-freebsd-jail-vps/
However, I can't find any step by step guides to do that on FreeNAS (not just generic FreeBSD) while preserving my Plex installation (i.e., not loosing the config, etc).
I'm comfortable with CLI commands, but I just don't have a lot of experience with BSD jails and how they work.
Any advice offered would be greatly appreciated! :)
Last edited: