Register for the iXsystems Community to get an ad-free experience and exclusive discounts in our eBay Store.

Plex pkg updating

Western Digital Drives - The Preferred Drives of FreeNAS and TrueNAS CORE
Status
Not open for further replies.

bed

Member
Joined
Jun 17, 2011
Messages
34
I know Plex updating is talked about a lot but my searches did not help me find the answer.

Im running 11.2 beta 3 with a plex jail and its working well enough though I could use some of the TV tuner updates in the newer versions.

I installed plexmediaserver-plexpass through the freenas plugin/jail installation GUI. I assume pkg is what the GUI uses to install the plugin.

I have changed /etc/pkg/FreeBSD.conf from quarterly to latest.
pkg info

root@plex:/ # pkg info
compat10x-amd64-10.3.1003000.20170608 Convenience package to install the compat10x libraries
compat9x-amd64-9.3.903000.20170608 Convenience package to install the compat9x libraries
gettext-runtime-0.19.8.1_1 GNU gettext runtime libraries and programs
gmp-6.1.2 Free library for arbitrary precision arithmetic
indexinfo-0.3.1 Utility to regenerate the GNU info page index
mpfr-4.0.1 Library for multiple-precision floating-point computations
pkg-1.10.5_4 Package manager
plexmediaserver-plexpass-1.13.5.5291 Plex Media Server component


Doing a search shows both older and new.

root@plex:/ # pkg search plexmediaserver-plexpass
plexmediaserver-plexpass-1.13.8.5395 Plex Media Server component
plexmediaserver-plexpass-1.13.5.5291 Plex Media Server component


pkg update shows everything is up to date.

root@plex:/ # pkg update
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
Updating iocage-plugins repository catalogue...
iocage-plugins repository is up to date.
All repositories are up to date.


According to the 11.2 documentation:
13.2. Update
When a newer version of a plugin becomes available in the official repository, update the plugin jail by navigating to the Jails page and clicking ⋮ (Options) and Update.
Does official mean quarterly?

So my question is why can I not update to the latest version listed in pkg?

Here is what my FreeBSD.conf says

root@plex:/ # less /etc/pkg/FreeBSD.conf
# $FreeBSD: releng/11.2/etc/pkg/FreeBSD.conf 333474 2018-05-10 23:58:33Z gjb $
#
# To disable this repository, instead of modifying or removing this file,
# create a /usr/local/etc/pkg/repos/FreeBSD.conf file:
#
# mkdir -p /usr/local/etc/pkg/repos
# echo "FreeBSD: { enabled: no }" > /usr/local/etc/pkg/repos/FreeBSD.conf
#

FreeBSD: {
url: "pkg+http://pkg.FreeBSD.org/${ABI}/latest",
mirror_type: "srv",
signature_type: "fingerprints",
fingerprints: "/usr/share/keys/pkg",
enabled: yes
}
/etc/pkg/FreeBSD.conf (END)


As always, any help is greatly appreciated.
 

SavageAUS

Senior Member
Joined
Jul 9, 2016
Messages
418
I know Plex updating is talked about a lot but my searches did not help me find the answer.

Im running 11.2 beta 3 with a plex jail and its working well enough though I could use some of the TV tuner updates in the newer versions.

I installed plexmediaserver-plexpass through the freenas plugin/jail installation GUI. I assume pkg is what the GUI uses to install the plugin.

I have changed /etc/pkg/FreeBSD.conf from quarterly to latest.
pkg info

root@plex:/ # pkg info
compat10x-amd64-10.3.1003000.20170608 Convenience package to install the compat10x libraries
compat9x-amd64-9.3.903000.20170608 Convenience package to install the compat9x libraries
gettext-runtime-0.19.8.1_1 GNU gettext runtime libraries and programs
gmp-6.1.2 Free library for arbitrary precision arithmetic
indexinfo-0.3.1 Utility to regenerate the GNU info page index
mpfr-4.0.1 Library for multiple-precision floating-point computations
pkg-1.10.5_4 Package manager
plexmediaserver-plexpass-1.13.5.5291 Plex Media Server component


Doing a search shows both older and new.

root@plex:/ # pkg search plexmediaserver-plexpass
plexmediaserver-plexpass-1.13.8.5395 Plex Media Server component
plexmediaserver-plexpass-1.13.5.5291 Plex Media Server component


pkg update shows everything is up to date.

root@plex:/ # pkg update
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
Updating iocage-plugins repository catalogue...
iocage-plugins repository is up to date.
All repositories are up to date.


According to the 11.2 documentation:
13.2. Update
When a newer version of a plugin becomes available in the official repository, update the plugin jail by navigating to the Jails page and clicking ⋮ (Options) and Update.
Does official mean quarterly?

So my question is why can I not update to the latest version listed in pkg?

Here is what my FreeBSD.conf says

root@plex:/ # less /etc/pkg/FreeBSD.conf
# $FreeBSD: releng/11.2/etc/pkg/FreeBSD.conf 333474 2018-05-10 23:58:33Z gjb $
#
# To disable this repository, instead of modifying or removing this file,
# create a /usr/local/etc/pkg/repos/FreeBSD.conf file:
#
# mkdir -p /usr/local/etc/pkg/repos
# echo "FreeBSD: { enabled: no }" > /usr/local/etc/pkg/repos/FreeBSD.conf
#

FreeBSD: {
url: "pkg+http://pkg.FreeBSD.org/${ABI}/latest",
mirror_type: "srv",
signature_type: "fingerprints",
fingerprints: "/usr/share/keys/pkg",
enabled: yes
}
/etc/pkg/FreeBSD.conf (END)


As always, any help is greatly appreciated.
The iocage plugin isn’t updated as Plex releases new updates. Your best bet is to manually create a iocage jail and pkg install what you need to keep it more up to date.


Sent from my iPhone using Tapatalk
 

Rusty!

Junior Member
Joined
May 24, 2017
Messages
20
Edit the pkg conf files to disable the iocage repo and go back to the standard one. Works for me.
 

bed

Member
Joined
Jun 17, 2011
Messages
34
I ended up creating a new jail. Would have been quicker to edit the pkg conf files I'm sure, that is if I was familiar with the process.
Thanks for the replies.
 
Status
Not open for further replies.
Top