The Debian package builds (.debs) have recently been updated to declare
some additional dependencies on external packages.

This may cause some initial difficulty for those users who use -dpkg- to
install LMS. Users who use -apt-get-, or a similar package manager,
should experience no issues, as the package manager should automatically
fetch and install the dependencies.

However, dpkg will not complete the installation if any of the required
packages are not already installed on the system. See below for a trace
of a failed installation and a suggested resolution.

The additional package dependencies are:


libgomp1
libio-socket-ssl-perl (a.k.a. IO::Socket::SSL)
libgcc1
libstc++6
zlib1g


-libgomp1- is required to support the bundled Sox binary, which may be
used in some transcoding schemes. Hitherto, Sox would simply fail if
libgomp1 is not present, and the failure is hard to diagnose. This
should now be resolved.

-IO::Socket::SSL- is required to support HTTPS streaming. An increasing
number of streaming services are moving to HTTPS, so having that support
automatically installed should offer a better user experience.

The other packages are required by a variety of supporting LMS modules.
They are present on almost all systems anyway.


DPKG ISSUE

Refer below for a trace of an initially unsuccessful install on a
Raspberry Pi, which did not have libgomp1 installed.

__Suggested_resolution:_
One solution is to use apt-get to fetch the dependencies and complete
the failed installation for us. Here is a sequence of commands that
might be used:

Code:
--------------------
    
  # Try to install LMS
  sudo dpkg -i  logitechmediaserver_7.9.1~1518978430_arm.deb
  
  # If it should fail due to missing packages, then:
  # a) Ensure the list of available packages is up to date
  sudo apt-get update
  # b) Ask apt-get to fix things for us. This should install the
  #    missing packages, and complete the installation of LMS
  sudo apt-get -f install
  
--------------------


_Trace_of_initially_unsuccessful_installation_attempt:_

> 
> sudo dpkg -i  logitechmediaserver_7.9.1~1518978430_arm.deb
> Selecting previously unselected package logitechmediaserver.
> (Reading database ... 52260 files and directories currently installed.)
> Preparing to unpack logitechmediaserver_7.9.1~1518978430_arm.deb ...
> Unpacking logitechmediaserver (7.9.1~1518978430) ...
> dpkg: dependency problems prevent configuration of logitechmediaserver:
> logitechmediaserver depends on libgomp1 (>= 4.2.1); however:
> Package libgomp1:armhf is not installed.
> 
> dpkg: error processing package logitechmediaserver (--install):
> dependency problems - leaving unconfigured
> Processing triggers for systemd (215-17+deb8u7) ...
> Errors were encountered while processing:
> logitechmediaserver
> 

_A_trace_of_the_successful_resolution,_using_-apt-get_-f_install-:_

> 
> sudo apt-get -f install
> Reading package lists... Done
> Building dependency tree       
> Reading state information... Done
> Correcting dependencies... Done
> The following extra packages will be installed:
> libgomp1
> The following NEW packages will be installed:
> libgomp1
> 0 upgraded, 1 newly installed, 0 to remove and 15 not upgraded.
> 1 not fully installed or removed.
> Need to get 0 B/34.7 kB of archives.
> After this operation, 91.1 kB of additional disk space will be used.
> Do you want to continue? [Y/n] Y
> Selecting previously unselected package libgomp1:armhf.
> (Reading database ... 56108 files and directories currently installed.)
> Preparing to unpack .../libgomp1_4.9.2-10+deb8u1_armhf.deb ...
> Unpacking libgomp1:armhf (4.9.2-10+deb8u1) ...
> Setting up libgomp1:armhf (4.9.2-10+deb8u1) ...
> Setting up logitechmediaserver (7.9.1~1518978430) ...
> Adding system user `squeezeboxserver' (UID 113) ...
> Adding new user `squeezeboxserver' (UID 113) with group `nogroup' ...
> Not creating home directory `/usr/share/squeezeboxserver'.
> Processing triggers for libc-bin (2.19-18+deb8u10) ...
> Processing triggers for systemd (215-17+deb8u7) ...
>


------------------------------------------------------------------------
mrw's Profile: http://forums.slimdevices.com/member.php?userid=38299
View this thread: http://forums.slimdevices.com/showthread.php?t=108744

_______________________________________________
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix

Reply via email to