Page 1 of 1

FreeNAS installation isn't working

Posted: Wed Jan 15, 2020 12:52 am
by Wolfeman0101
When I ran a pkg upgrade a few days ago it removed deluge and now I can't reinstall it.

Code: Select all

root@deluge:/usr/ports/net-p2p/deluge # pkg install deluge
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
Updating database digests format: 100%
pkg: No packages available to install matching 'deluge' have been found in the repositories

Re: FreeNAS installation isn't working

Posted: Fri Jan 17, 2020 5:48 am
by spock_capone
I am having the same issue. What type of poor support is being provided here .. doing pkg update removes the entire previous install? Then we cannot locate the package .. this is pathetic.

Re: FreeNAS installation isn't working

Posted: Sun Jan 19, 2020 9:51 am
by squirt
This was frustrating, however, I assume deluge was removed due to the upgraded dependencies breaking deluge.

Please also note the package ports are maintained independently.

I am running deluge-cli and did the following to get it working again on my FreeNAS system.

1. Download the following packages
- deluge-cli-1.3.15_9
- py27-libtorrent-rasterbar-1.1.10_2
- libtorrent-rasterbar-1.1.10_2
- boost-libs-1.69.0_2
- py27-boost-libs-1.69.0

from https://pkg0.jinx.freebsd.org/FreeBSD:1 ... ase_3/All/

2. Copy the above packages to somewhere available within your Deluge Jail

3. Go into the deluge jail console via

Code: Select all

iocage console <Deluge Jail Name>
4. Uninstall the existing versions of the above packages by running the following code in the Deluge Jail

Code: Select all

pkg delete <Package Name>
5. Add the new packages my running

Code: Select all

pkg add /<Directory>/deluge-cli-1.3.15_9.txz
if all the dependent packages are in the same directory they will automatically be installed

6. Lock the packages so that they will not be upgraded

Code: Select all

pkg lock deluge-cli
pkg lock py27-libtorrent-rasterbar
pkg lock libtorrent-rasterbar
pkg lock boost-libs
pkg lock py27-boost-libs
7. Rerun all the "registering code" again

Code: Select all

sysrc "deluged_enable=YES"
sysrc "deluged_user=deluge"
sysrc "deluged_confdir=/config"
sysrc "deluge_web_enable=YES"
sysrc "deluge_web_confdir=/config"
sysrc "deluge_web_user=deluge"
chmod u+x /usr/local/etc/rc.d/deluged
chmod u+x /usr/local/etc/rc.d/deluge_web
8. Start the services

Code: Select all

service deluged start
service deluge_web start