Jump to content

I cant install emby on ubuntu 15.04


Zekesdad
Go to solution Solved by fc7,

Recommended Posts

Zekesdad

emby just wouldnt update so i ran:

 

sudo apt-get --purge autoremove emby-server-beta

 

then I did this:

 

chris@mediaserver:/etc/systemd/system$ sudo apt-get install mono-runtime mediainfo libsqlite3-dev imagemagick-6.q8 libmagickwand-6.q8-2 libmagickcore-6.q8-2
Reading package lists... Done
Building dependency tree
Reading state information... Done
mediainfo is already the newest version.
libsqlite3-dev is already the newest version.
libmagickwand-6.q8-2 is already the newest version.
imagemagick-6.q8 is already the newest version.
mono-runtime is already the newest version.
libmagickcore-6.q8-2 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
chris@mediaserver:/etc/systemd/system$ sudo apt-get install emby-server
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package emby-server is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
  emby-server-beta
E: Package 'emby-server' has no installation candidate
chris@mediaserver:/etc/systemd/system$ sudo apt-get install emby-server-beta
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package emby-server-beta is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'emby-server-beta' has no installation candidate

 

now im stuck and dont know what to do...

Link to comment
Share on other sites

I will try to help you.

 

Can you share the output of:

ls -l /etc/apt/sources.list.d/

cat /etc/apt/sources.list.d/emby-server.list
Link to comment
Share on other sites

Zekesdad

 

I will try to help you.

 

Can you share the output of:

ls -l /etc/apt/sources.list.d/

cat /etc/apt/sources.list.d/emby-server.list

Thank you very much!

chris@mediaserver:~$ ls -l /etc/apt/sources.list.d/
total 12
-rw-r--r-- 1 root root 73 Aug 27 10:10 emby-server.list
-rw-r--r-- 1 root root 70 May 27 10:49 plexmediaserver.list
-rw-r--r-- 1 root root 70 May 27 10:49 plexmediaserver.list.save

AND

chris@mediaserver:~$ cat /etc/apt/sources.list.d/emby-server.list
deb http://download.opensuse.org/repositories/home:/emby/{Repository}/ /
Link to comment
Share on other sites

  • Solution

Ok. At first glance you problem seems to be easy to fix. :)

 

I guess you copied and pasted the commands from the installations instructions in the website without reading them carefully.

You have the wrong URL for the repository. I will let you find what's wrong.

 

To fix it you should run this comands:

sudo rm /etc/apt/sources.list.d/emby-server.list
wget -qO - http://download.opensuse.org/repositories/home:emby/xUbuntu_15.04/Release.key | sudo apt-key add -
sudo sh -c "echo 'deb http://download.opensuse.org/repositories/home:/emby/xUbuntu_15.04/ /' >> /etc/apt/sources.list.d/emby-server.list"
sudo apt-get update
sudo apt-get install emby-server

That should be all. If you want to try the latest beta instead, in the last command just replace emby-server with emby-server-beta.

  • Like 1
Link to comment
Share on other sites

Where did this even come from? {Repository}

 

Because i have removed all of that from the website.

Link to comment
Share on other sites

Zekesdad

Ok. At first glance you problem seems to be easy to fix. :)

 

I guess you copied and pasted the commands from the installations instructions in the website without reading them carefully.

You have the wrong URL for the repository. I will let you find what's wrong.

 

To fix it you should run this comands:

sudo rm /etc/apt/sources.list.d/emby-server.list
wget -qO - http://download.opensuse.org/repositories/home:emby/xUbuntu_15.04/Release.key | sudo apt-key add -
sudo sh -c "echo 'deb http://download.opensuse.org/repositories/home:/emby/xUbuntu_15.04/ /' >> /etc/apt/sources.list.d/emby-server.list"
sudo apt-get update
sudo apt-get install emby-server

That should be all. If you want to try the latest beta instead, in the last command just replace emby-server with emby-server-beta.

 

 

thank you, unfortunately now I get this output:

chris@mediaserver:~$ sudo apt-get install emby-server-beta
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
  emby-server-beta
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/13.5 MB of archives.
After this operation, 48.2 MB of additional disk space will be used.
Preconfiguring packages ...
Selecting previously unselected package emby-server-beta.
(Reading database ... 132956 files and directories currently installed.)
Preparing to unpack .../emby-server-beta_3.0.5713.4.gitbe34ec8_all.deb ...
Unpacking emby-server-beta (3.0.5713.4.gitbe34ec8) ...
Setting up emby-server-beta (3.0.5713.4.gitbe34ec8) ...
chris@mediaserver:~$ sudo service emby-server-beta start
Failed to start emby-server-beta.service: Unit emby-server-beta.service failed to load: No such file or directory.
chris@mediaserver:~$
Link to comment
Share on other sites

That's because you are trying to start emby-server-beta service which doesn't exist.

Again, please follow the instructions in the website carefully.

 

Please instead do:

sudo service emby-server start
Link to comment
Share on other sites

Zekesdad

i didn't install emby-server, i installed emby-server-beta.  wouldn't that change the 'sudo service *** start" command?

Link to comment
Share on other sites

i didn't install emby-server, i installed emby-server-beta.  wouldn't that change the 'sudo service *** start" command?

 

Yes I undestand, but no it will not. The package name and the server code is different but all the rest remains the same.

Trust me. :)

 

Please instead do:

sudo service emby-server start
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...