Jump to content

Massive Update for Debian and Ubuntu


hurricanehrndz

Recommended Posts

hurricanehrndz

Ubuntu and Debian package updates are complete. Here are the summary of changes made:


 


  • We are now building and publishing a stripped version of imagemagick with a custom package name that should be non conflicting with the standard imagemagick package.
  • Package is named libembymagickwand.
  • Since emby can work without imagemagick we have made libembymagickwand a recommend rather than a hard dependency. (Performance will degrade over WAN)
  • We have also made libmediainfo a recommended dependency, additionally we have made this recommend to be either libmediainfo0 or libmediainfo0v5 (No Media Info)
  • We have upgraded the mono version to the latest stable being distributed by the mono project.
  • Ubuntu 15.10 is now supported.

Issues:


  • libembymagickwand for debian 7 still needs finishing touches.
  • front page instructions still need updating.

Currently OBS is busy building all our updates. You can check the progress here.


 


For download instructions please see here for now.


  • Like 2
Link to comment
Share on other sites

jmperezbeth

Supposedly OBS built already Ubuntu 15.10 packages, but libembymagickwand does not install, the package has some error (some OS messages localized in Spanish):

 

$ sudo apt-get install libembymagickwand-6.q8-2
Leyendo lista de paquetes... Hecho
Creando árbol de dependencias       
Leyendo la información de estado... Hecho
Se instalarán los siguientes paquetes extras:
  libembymagickcore-6.q8-2
Se instalarán los siguientes paquetes NUEVOS:
  libembymagickcore-6.q8-2 libembymagickwand-6.q8-2
0 actualizados, 2 nuevos se instalarán, 0 para eliminar y 0 no actualizados.
Se necesita descargar 0 B/1.601 kB de archivos.
Se utilizarán 6.519 kB de espacio de disco adicional después de esta operación.
¿Desea continuar? [s/n]
Seleccionando el paquete libembymagickcore-6.q8-2:amd64 previamente no seleccionado.
(Leyendo la base de datos ... 363075 ficheros o directorios instalados actualmente.)
Preparando para desempaquetar .../libembymagickcore-6.q8-2_8%3a6.9.2-8_amd64.deb ...
Desempaquetando libembymagickcore-6.q8-2:amd64 (8:6.9.2-8) ...
dpkg: error al procesar el archivo /var/cache/apt/archives/libembymagickcore-6.q8-2_8%3a6.9.2-8_amd64.deb (--unpack):
 intentando sobreescribir `/usr/lib/x86_64-linux-gnu/libMagickCore-6.Q8.so.2.0.0', que está también en el paquete libmagickcore-6.q8-2:amd64 8:6.9.1-2
dpkg-deb: error: el subproceso copiado fue terminado por la señal (Tubería rota)
Seleccionando el paquete libembymagickwand-6.q8-2:amd64 previamente no seleccionado.
Preparando para desempaquetar .../libembymagickwand-6.q8-2_8%3a6.9.2-8_amd64.deb ...
Desempaquetando libembymagickwand-6.q8-2:amd64 (8:6.9.2-8) ...
dpkg: error al procesar el archivo /var/cache/apt/archives/libembymagickwand-6.q8-2_8%3a6.9.2-8_amd64.deb (--unpack):
 intentando sobreescribir `/usr/lib/x86_64-linux-gnu/libMagickWand-6.Q8.so.2.0.0', que está también en el paquete libmagickwand-6.q8-2:amd64 8:6.9.1-2
dpkg-deb: error: el subproceso copiado fue terminado por la señal (Tubería rota)
Se encontraron errores al procesar:
 /var/cache/apt/archives/libembymagickcore-6.q8-2_8%3a6.9.2-8_amd64.deb
 /var/cache/apt/archives/libembymagickwand-6.q8-2_8%3a6.9.2-8_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

 

It seems this package is trying to write to same locations as the distro package. I think that shouldn't be done... maybe I have not fully understood the motivation for the new package and it's working as intended...

 

Also I am suffering the problem described in other thread: http://emby.media/community/index.php?/topic/27997-library-scan-fails-and-hangs-in-web-gui/. Home page doesn't display anything, in browser or Android App. In server settings library an busy animation spins and does not display library paths etc.

 

Both issues seem unrelated to me but...

 

Thank you for your efforts. Hope this gets sorted out soon for us Ubuntu 15.10 users.

Edited by jmperezbeth
Link to comment
Share on other sites

grygabrielphon
gryphon@sentinel:~$ sudo apt-get install emby-server
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  linux-headers-4.2.0-16 linux-headers-4.2.0-16-generic linux-image-4.2.0-16-generic linux-image-extra-4.2.0-16-generic
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  libembymagickcore-6.q8-2 libembymagickwand-6.q8-2
The following NEW packages will be installed:
  emby-server libembymagickcore-6.q8-2 libembymagickwand-6.q8-2
0 upgraded, 3 newly installed, 0 to remove and 144 not upgraded.
Need to get 15.0 MB of archives.
After this operation, 55.3 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://download.opensuse.org/repositories/home:/emby/xUbuntu_15.10/  emby-server 3.0.5781.4 [13.4 MB]
Get:2 http://download.opensuse.org/repositories/home:/emby/xUbuntu_15.10/  libembymagickcore-6.q8-2 8:6.9.2-8 [1,352 kB]                                                                                   
Get:3 http://download.opensuse.org/repositories/home:/emby/xUbuntu_15.10/  libembymagickwand-6.q8-2 8:6.9.2-8 [244 kB]                                                                                     
Fetched 15.0 MB in 9s (1,628 kB/s)                                                                                                                                                                         
Preconfiguring packages ...
Selecting previously unselected package emby-server.
(Reading database ... 257505 files and directories currently installed.)
Preparing to unpack .../emby-server_3.0.5781.4_all.deb ...
Unpacking emby-server (3.0.5781.4) ...
Preparing to unpack .../libembymagickcore-6.q8-2_8%3a6.9.2-8_amd64.deb ...
Unpacking libembymagickcore-6.q8-2:amd64 (8:6.9.2-8) ...
dpkg: error processing archive /var/cache/apt/archives/libembymagickcore-6.q8-2_8%3a6.9.2-8_amd64.deb (--unpack):
 trying to overwrite '/usr/lib/x86_64-linux-gnu/libMagickCore-6.Q8.so.2.0.0', which is also in package libmagickcore-6.q8-2:amd64 8:6.9.1-2
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Preparing to unpack .../libembymagickwand-6.q8-2_8%3a6.9.2-8_amd64.deb ...
Unpacking libembymagickwand-6.q8-2:amd64 (8:6.9.2-8) ...
dpkg: error processing archive /var/cache/apt/archives/libembymagickwand-6.q8-2_8%3a6.9.2-8_amd64.deb (--unpack):
 trying to overwrite '/usr/lib/x86_64-linux-gnu/libMagickWand-6.Q8.so.2.0.0', which is also in package libmagickwand-6.q8-2:amd64 8:6.9.1-2
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Processing triggers for systemd (225-1ubuntu9) ...
Processing triggers for ureadahead (0.100.0-19) ...
ureadahead will be reprofiled on next reboot
Errors were encountered while processing:
 /var/cache/apt/archives/libembymagickcore-6.q8-2_8%3a6.9.2-8_amd64.deb
 /var/cache/apt/archives/libembymagickwand-6.q8-2_8%3a6.9.2-8_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Having a similar problem on 15.10. Before installing I apt-get removed and purged emby-server, cleared out old repositories, added the opensuse one for 15.10. Do I need to remove the other package that it appears to be conflicting with? Also do I have to do anything special to reenable the emby-server service once the new version is installed? Thanks!

Link to comment
Share on other sites

hurricanehrndz

Thanks for the info:

 

Please remove the old packages like so

sudo apt-get remove --purge libmagickwand-6.q8-2 libmagickcore-6.q8-2 imagemagick-common emby-server

Then run

sudo apt-get install emby-server

To enable emby run the following

sudo systemctl enable emby-server.service
sudo systemctl start emby-server.service

Currently I'm pushing a new build to fix some issue with libsqlite, so please wait for it to finish. Check the progress here:

https://build.opensuse.org/package/show/home:emby/emby-server

Link to comment
Share on other sites

hurricanehrndz

Supposedly OBS built already Ubuntu 15.10 packages, but libembymagickwand does not install, the package has some error (some OS messages localized in Spanish):

 

$ sudo apt-get install libembymagickwand-6.q8-2

Leyendo lista de paquetes... Hecho

Creando árbol de dependencias       

Leyendo la información de estado... Hecho

Se instalarán los siguientes paquetes extras:

  libembymagickcore-6.q8-2

Se instalarán los siguientes paquetes NUEVOS:

  libembymagickcore-6.q8-2 libembymagickwand-6.q8-2

0 actualizados, 2 nuevos se instalarán, 0 para eliminar y 0 no actualizados.

Se necesita descargar 0 B/1.601 kB de archivos.

Se utilizarán 6.519 kB de espacio de disco adicional después de esta operación.

¿Desea continuar? [s/n]

Seleccionando el paquete libembymagickcore-6.q8-2:amd64 previamente no seleccionado.

(Leyendo la base de datos ... 363075 ficheros o directorios instalados actualmente.)

Preparando para desempaquetar .../libembymagickcore-6.q8-2_8%3a6.9.2-8_amd64.deb ...

Desempaquetando libembymagickcore-6.q8-2:amd64 (8:6.9.2-8) ...

dpkg: error al procesar el archivo /var/cache/apt/archives/libembymagickcore-6.q8-2_8%3a6.9.2-8_amd64.deb (--unpack):

 intentando sobreescribir `/usr/lib/x86_64-linux-gnu/libMagickCore-6.Q8.so.2.0.0', que está también en el paquete libmagickcore-6.q8-2:amd64 8:6.9.1-2

dpkg-deb: error: el subproceso copiado fue terminado por la señal (Tubería rota)

Seleccionando el paquete libembymagickwand-6.q8-2:amd64 previamente no seleccionado.

Preparando para desempaquetar .../libembymagickwand-6.q8-2_8%3a6.9.2-8_amd64.deb ...

Desempaquetando libembymagickwand-6.q8-2:amd64 (8:6.9.2-8) ...

dpkg: error al procesar el archivo /var/cache/apt/archives/libembymagickwand-6.q8-2_8%3a6.9.2-8_amd64.deb (--unpack):

 intentando sobreescribir `/usr/lib/x86_64-linux-gnu/libMagickWand-6.Q8.so.2.0.0', que está también en el paquete libmagickwand-6.q8-2:amd64 8:6.9.1-2

dpkg-deb: error: el subproceso copiado fue terminado por la señal (Tubería rota)

Se encontraron errores al procesar:

 /var/cache/apt/archives/libembymagickcore-6.q8-2_8%3a6.9.2-8_amd64.deb

 /var/cache/apt/archives/libembymagickwand-6.q8-2_8%3a6.9.2-8_amd64.deb

E: Sub-process /usr/bin/dpkg returned an error code (1)

 

It seems this package is trying to write to same locations as the distro package. I think that shouldn't be done... maybe I have not fully understood the motivation for the new package and it's working as intended...

 

Also I am suffering the problem described in other thread: http://emby.media/community/index.php?/topic/27997-library-scan-fails-and-hangs-in-web-gui/. Home page doesn't display anything, in browser or Android App. In server settings library an busy animation spins and does not display library paths etc.

 

Both issues seem unrelated to me but...

 

Thank you for your efforts. Hope this gets sorted out soon for us Ubuntu 15.10 users.

Please follow the same instructions I posted above. 

Link to comment
Share on other sites

Web_Spider

FYI, I am seeing this on Ubuntu 14.04.3 LTS as well.

 

I will apply the same fix and let you know if I run into the same issues,

Link to comment
Share on other sites

I had this kind of issue as well, I followed the instructions provided above and they worked, kind of...

The problem I had after the upgrade was related  (I think) to the binary files, I had this line in my /etc/emby-server.conf:

EMBY_BIN="/usr/lib/emby-server/MediaBrowser.Server.Mono.exe"

But after the upgrade with this line it simply doesn't work.

I removed it and now is working again

Link to comment
Share on other sites

  • 2 weeks later...
Eventyret

I finnaly got this working after hours of testing looking and really trying my best!

The script worked, I'm running a NON fresh Wheezy Pi2.

What did it for me was this 

sudo apt-get remove --purge libmagickwand-6.q8-2 libmagickcore-6.q8-2 imagemagick-common emby-server

This worked some, then i had to manually remove mon-devel 

sudo apt-get remove mono-devel

Finnaly i installed mono-devel again, from Debian 7.

Also changed the guide here to use debian 7 instead of ubuntu reps.

 

Question i have now is.  Since this command auto started it.

sudo apt-get install emby-server

How can i start the service on a pi

sudo systemctl enable emby-server.service
sudo systemctl start emby-server.service

These two does not work for me sadly :(

 

EDIT: For those that wonder its simple.

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

  • 2 weeks later...

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...