Ubuntu ppa install removes essential packages from my server?

Support for the Debian/Ubuntu package, created by JCFP.
Forum rules
Help us help you:
  • Are you using the latest stable version of SABnzbd? Downloads page.
  • Tell us what system you run SABnzbd on.
  • Adhere to the forum rules.
  • Do you experience problems during downloading?
    Check your connection in Status and Interface settings window.
    Use Test Server in Config > Servers.
    We will probably ask you to do a test using only basic settings.
  • Do you experience problems during repair or unpacking?
    Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
Post Reply
braska
Newbie
Newbie
Posts: 4
Joined: October 22nd, 2018, 10:34 am

Ubuntu ppa install removes essential packages from my server?

Post by braska »

Hi all,

sorry, but I need some help installing Sabnzbd+ on my virtual server.

The server is running Ubuntu 14.04.5 LTS, with Plesk Onyx 17.8.11 as virtualization software.


I have followed several instructions or manuals, and all of them work fine until I get to the point where I am actually installing sabnzbd+ with

Code: Select all

sudo apt-get -o APT::Install-Recommends=1 install sabnzbdplus
or

Code: Select all

sudo apt-get install sabnzbdplus python-sabyenc
by SSHing as root on the server.


I then get this message:

Code: Select all

The following extra packages will be installed:
  avahi-daemon consolekit javascript-common libavahi-compat-libdnssd1
  libavahi-core7 libdaemon0 libjs-excanvas libjs-jquery libjs-jquery-ui
  libjs-mochikit libnss-mdns libpam-ck-connector libpolkit-gobject-1-0
  p7zip-full par2 python-cheetah python-configobj python-dbus python-dbus-dev
  python-gi python-six unrar
Suggested packages:
  avahi-autoipd libjs-jquery-ui-docs p7zip-rar python-markdown python-pygments
  python-memcache python-dbus-doc python-dbus-dbg python-gi-cairo python-gtk2
  python-notify
The following packages will be REMOVED:
  libpam-plesk plesk-base plesk-completion plesk-core
  plesk-courier-imap-driver plesk-ext-catalog plesk-ext-rest-api plesk-l10n
  plesk-mail-pc-driver plesk-management-node plesk-modsecurity-configurator
  plesk-service-node-utilities plesk-web-hosting plesk-wp-upgrade
  pp-sitebuilder psa-courier-imap psa-drweb-configurator psa-firewall
  psa-horde psa-imp psa-ingo psa-kronolith psa-libxml-proxy
  psa-locale-base-en-us psa-logrotate psa-mail-driver-common psa-mnemo
  psa-passwd psa-php5-configurator psa-phpfpm-configurator psa-phpmyadmin
  psa-proftpd psa-pylibplesk psa-spamassassin psa-turba psa-updates psa-vhost
  psa-vpn wpb-core wpb-headers
The following NEW packages will be installed:
  avahi-daemon consolekit javascript-common libavahi-compat-libdnssd1
  libavahi-core7 libdaemon0 libjs-excanvas libjs-jquery libjs-jquery-ui
  libjs-mochikit libnss-mdns libpam-ck-connector libpolkit-gobject-1-0
  p7zip-full par2 python-cheetah python-configobj python-dbus python-dbus-dev
  python-gi python-sabyenc python-six sabnzbdplus unrar

The second section is the tricky one, because it removes packages that are (apparently?) essential for Plesk to run. If I execute this command, the vitualization software gets problems and I have no other option then to reset my whole server installation.

I have tried both using these instructions, they result in the same outcome:
forums.sabnzbd. org/viewtopic.php?f=16&t=387
sabnzbd. org/wiki/installation/install-ubuntu-repo

Am I overlooking something? Had sabnzbd running on this server in the past, but had to reset due to other circumstances and now cannot get it working again. Sorry if this is a stupid problem, but I am not very experienced with Linux and server management.

Thank you for your support!
User avatar
sander
Release Testers
Release Testers
Posts: 8811
Joined: January 22nd, 2008, 2:22 pm

Re: Ubuntu ppa install removes essential packages from my server?

Post by sander »

Without installing sabnzbdplus, what is the output of:

Code: Select all

sudo apt-get update
sudo apt-get upgrade
braska
Newbie
Newbie
Posts: 4
Joined: October 22nd, 2018, 10:34 am

Re: Ubuntu ppa install removes essential packages from my server?

Post by braska »

Ok, so

sudo apt-get update

gives me this: (I replaced my hoster by xxx and had to space out the links because it would not let me post otherwise)

Code: Select all

Ign http:// ftp.xxx. de trusty InRelease
Hit http:// ppa.launchpad. net trusty InRelease
Hit http:// autoinstall.plesk. com trusty InRelease
Get:1 http:// ftp.xxx. de trusty-security InRelease [65.9 kB]
Hit http:// autoinstall.plesk. com trusty InRelease
Hit http:// ppa.launchpad. net trusty InRelease
Hit http:// autoinstall.plesk. com trusty InRelease
Hit http:// autoinstall.plesk. com trusty/all amd64 Packages
Get:2 http:// ftp.xxx. de trusty-updates InRelease [65.9 kB]
Hit http:// ppa.launchpad. net trusty InRelease
Hit http:// ftp.xxx. de trusty Release.gpg
Hit http:// autoinstall.plesk. com trusty/extras amd64 Packages
Hit http:// autoinstall.plesk. com trusty/extras i386 Packages
Hit http:// ppa.launchpad .net trusty InRelease
Get:3 http:// ftp.xxx. de trusty-security/main amd64 Packages [781 kB]
Hit http:// autoinstall.plesk. com trusty/all amd64 Packages
Hit http:// autoinstall.plesk. com trusty/all i386 Packages
Hit http:// ppa.launchpad. net trusty/main amd64 Packages
Hit http:// ppa.launchpad. net trusty/main i386 Packages
Ign http:// autoinstall.plesk. com trusty/all Translation-en
Hit http:// ppa.launchpad. net trusty/main Translation-en
Get:4 http:// ftp.xxx. de trusty-security/restricted amd64 Packages [14.2 kB]
Hit http:// ppa.launchpad. net trusty/main amd64 Packages
Get:5 http:// ftp.xxx. de trusty-security/universe amd64 Packages [266 kB]
Get:6 http:// ftp.xxx. de trusty-security/multiverse amd64 Packages [4805 B]
Hit http:// ppa.launchpad. net trusty/main i386 Packages
Get:7 http:// ftp.xxx. de trusty-security/main i386 Packages [718 kB]
Hit http:// ppa.launchpad. net trusty/main Translation-en
Get:8 http:// ftp.xxx. de trusty-security/restricted i386 Packages [13.9 kB]
Hit http:// ppa.launchpad. net trusty/main amd64 Packages
Get:9 http:// ftp.xxx. de trusty-security/universe i386 Packages [253 kB]
Hit http:// ppa.launchpad. net trusty/main i386 Packages
Get:10 http:// ftp.xxx. de trusty-security/multiverse i386 Packages [4945 B]
Get:11 http:// ftp.xxx. de trusty-security/main Translation-en [420 kB]
Hit http:// ppa.launchpad. net trusty/main Translation-en
Get:12 http:// ftp.xxx. de trusty-security/multiverse Translation-en [2564 B]
Get:13 http:// ftp.xxx. de trusty-security/restricted Translation-en [3556 B]
Hit http:// ppa.launchpad. net trusty/main amd64 Packages
Get:14 http:// ftp.xxx. de trusty-security/universe Translation-en [142 kB]
Hit http:// ftp.xxx. de trusty Release
Hit http:// ppa.launchpad. net trusty/main i386 Packages
Get:15 http:// ftp.xxx. de trusty-updates/main amd64 Packages [1115 kB]
Hit http:// ppa.launchpad. net trusty/main Translation-en
Get:16 http:// ftp.xxx. de trusty-updates/restricted amd64 Packages [17.2 kB]
Get:17 http:// ftp.xxx. de trusty-updates/universe amd64 Packages [496 kB]
Get:18 http:// ftp.xxx. de trusty-updates/multiverse amd64 Packages [14.6 kB]
Get:19 http:// ftp.xxx. de trusty-updates/main i386 Packages [1055 kB]
Get:20 http:// ftp.xxx. de trusty-updates/restricted i386 Packages [17.1 kB]
Get:21 http:// ftp.xxx. de trusty-updates/universe i386 Packages [481 kB]
Get:22 http:// ftp.xxx. de trusty-updates/multiverse i386 Packages [15.0 kB]
Get:23 http:// ftp.xxx. de trusty-updates/main Translation-en [555 kB]
Get:24 http:// ftp.xxx. de trusty-updates/multiverse Translation-en [7616 B]
Get:25 http:// ftp.xxx. de trusty-updates/restricted Translation-en [4021 B]
Get:26 http:// ftp.xxx. de trusty-updates/universe Translation-en [264 kB]
Hit http:// ftp.xxx. de trusty/main amd64 Packages
Hit http:// ftp.xxx. de trusty/restricted amd64 Packages
Hit http:// ftp.xxx. de trusty/multiverse amd64 Packages
Hit http:// ftp.xxx. de trusty/universe amd64 Packages
Hit http:// ftp.xxx. de trusty/main i386 Packages
Hit http:// ftp.xxx. de trusty/restricted i386 Packages
Hit http:// ftp.xxx. de trusty/multiverse i386 Packages
Hit http:// ftp.xxx. de trusty/universe i386 Packages
Hit http:// ftp.xxx. de trusty/main Translation-en
Hit http:// ftp.xxx. de trusty/multiverse Translation-en
Hit http:// ftp.xxx. de trusty/restricted Translation-en
Hit http:// ftp.xxx. de trusty/universe Translation-en
Fetched 6798 kB in 2s (2380 kB/s)
Reading package lists... Done

Doing

sudo apt-get upgrade

then produces:

Code: Select all

Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
User avatar
sander
Release Testers
Release Testers
Posts: 8811
Joined: January 22nd, 2008, 2:22 pm

Re: Ubuntu ppa install removes essential packages from my server?

Post by sander »

Ah ... good for you, but not good for my hypothesis: I though that regardless of sabnzbdplus your system wanted to remove stuff.

Not so. Then I don't know what is going on on your system.
braska
Newbie
Newbie
Posts: 4
Joined: October 22nd, 2018, 10:34 am

Re: Ubuntu ppa install removes essential packages from my server?

Post by braska »

sander wrote: October 23rd, 2018, 2:09 am Ah ... good for you, but not good for my hypothesis: I though that regardless of sabnzbdplus your system wanted to remove stuff.

Not so. Then I don't know what is going on on your system.
Nevermind, thanks for trying!
User avatar
jcfp
Release Testers
Release Testers
Posts: 986
Joined: February 7th, 2008, 12:45 pm

Re: Ubuntu ppa install removes essential packages from my server?

Post by jcfp »

Something in that list of plesky stuff to be removed has been designed to conflict with something in the list of mostly bog standard packages to be installed. I have a hunch it's going to be avahi or consolekit, but since I don't run anything plesk the fastest way to figure that out the details is for you to simply try them one at a time:

Code: Select all

for pkg in \
 avahi-daemon consolekit javascript-common libavahi-compat-libdnssd1 \
 libavahi-core7 libdaemon0 libjs-excanvas libjs-jquery libjs-jquery-ui \
 libjs-mochikit libnss-mdns libpam-ck-connector libpolkit-gobject-1-0 \
 p7zip-full par2 python-cheetah python-configobj python-dbus python-dbus-dev \
 python-gi python-sabyenc python-six sabnzbdplus unrar; do
	sudo apt-get -s -V install $pkg
	echo; echo "current package is $pkg - anything being removed?"; echo "ENTER to continue..."
	read pause
done
Save the above to a text file, then run /bin/sh filename on the affected system. It will ask for your sudo password, but only simulate package installs (i.e. no changes will be made to your system). Take note of the package(s) that trigger removals, hopefully they didn't screw with anything essential to sab.
braska
Newbie
Newbie
Posts: 4
Joined: October 22nd, 2018, 10:34 am

Re: Ubuntu ppa install removes essential packages from my server?

Post by braska »

Thank you for following up on this. I got it running now. As you write, something conflicts with the installations. This is how to proceed to get this done, in case anybody else encounters this problem. The issue seems also to be mentioned here: https://forums.sabnzbd. org/viewtopic.php?t=19917

What you need to do:

Follow the instructions from here:
forums.sabnzbd. org/viewtopic.php?f=16&t=387
sabnzbd. org/wiki/installation/install-ubuntu-repo

Do NOT install Sabnzbd however as they mention. Instead, use the --no-install-recommends parameter so that it looks like this:

Code: Select all

sudo apt-get install sabnzbdplus python-sabyenc --no-install-recommends
This should install it. Now follow the other instructions. I then also ran into an issue to actually launch the program.

What you need to do for this is NOT launch it via the sabnzbdplus command, but add a user (if not happened already:):

Code: Select all

sudo adduser [user]
Apart from password, all other entries are optional.

Once the user is set up, edit the config file

Code: Select all

sudo nano /etc/default/sabnzbdplus
and add the details for the user (and IP/port).

Save, then from the command line start the program with

Code: Select all

sudo service sabnzbdplus start

Then you can enter the wizard via the webbrowser.
Post Reply