Quantcast
Channel: Linux Device Hacking
Viewing all articles
Browse latest Browse all 3247

Perl in Debian Jessis rootfs - installed but not installed? Error in rootfs? (5 replies)

$
0
0
Hi

I followed up on the installation of LMS (logitech media server) on Jessie and found something curios.

Everything is done on a pogoplug E02 running Wheezy.

1) Installed a I brand new rootfs installation on a new USB stick
2) chroot into it
3) installed logitechmediaserver_7.9.0~1466175427_arm.deb and got the following output:

root@lms:~# dpkg --install logitechmediaserver_7.9.0~1466175427_arm.deb
Selecting previously unselected package logitechmediaserver.
(Reading database ... 12657 files and directories currently installed.)
Preparing to unpack logitechmediaserver_7.9.0~1466175427_arm.deb ...
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
Unpacking logitechmediaserver (7.9.0~1466175427) ...
dpkg: dependency problems prevent configuration of logitechmediaserver:
 logitechmediaserver depends on perl (>= 5.8.8); however:
  Package perl is not installed.

dpkg: error processing package logitechmediaserver (--install):
 dependency problems - leaving unconfigured
Processing triggers for systemd (215-17+deb8u3) ...
Errors were encountered while processing:
 logitechmediaserver
root@lms:~#

but got

root@lms:~# perl --version
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
	LANGUAGE = (unset),
	LC_ALL = "en_US.UTF-8",
	LC_CTYPE = "UTF-8",
	LANG = "C"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").

This is perl 5, version 20, subversion 2 (v5.20.2) built for arm-linux-gnueabi-thread-multi-64int
(with 45 registered patches, see perl -V for more detail)

Copyright 1987-2015, Larry Wall

Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.

Complete documentation for Perl, including FAQ lists, should be found on
this system using "man perl" or "perldoc perl".  If you have access to the
Internet, point your browser at http://www.perl.org/, the Perl Home Page.

root@lms:~#

So I assume perl is installed. But when now ri=unning

root@lms:~# apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
  acl libbind9-80 libcryptsetup4 libdb5.1 libdns88 libgcrypt11 libgnutls26 libgssglue1 libisc84 libisccc80 libisccfg82 liblwres80 libprocps0 libsystemd-login0 libtasn1-3 systemd
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  perl perl-modules
Suggested packages:
  perl-doc libterm-readline-gnu-perl libterm-readline-perl-perl make libb-lint-perl libcpanplus-dist-build-perl libcpanplus-perl libfile-checktree-perl liblog-message-simple-perl liblog-message-perl
  libobject-accessor-perl
Recommended packages:
  rename libarchive-extract-perl libmodule-pluggable-perl libpod-latex-perl libterm-ui-perl libtext-soundex-perl libcgi-pm-perl libmodule-build-perl libpackage-constants-perl
The following NEW packages will be installed:
  perl perl-modules
0 upgraded, 2 newly installed, 0 to remove and 4 not upgraded.
1 not fully installed or removed.
Need to get 4589 kB of archives.
After this operation, 26.5 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Err http://ftp.us.debian.org/debian/ jessie/main perl-modules all 5.20.2-3+deb8u3
  404  Not Found [IP: 2610:148:1f10:3::89 80]
Err http://ftp.us.debian.org/debian/ jessie/main perl armel 5.20.2-3+deb8u3
  404  Not Found [IP: 2610:148:1f10:3::89 80]
E: Failed to fetch http://ftp.us.debian.org/debian/pool/main/p/perl/perl-modules_5.20.2-3+deb8u3_all.deb  404  Not Found [IP: 2610:148:1f10:3::89 80]

E: Failed to fetch http://ftp.us.debian.org/debian/pool/main/p/perl/perl_5.20.2-3+deb8u3_armel.deb  404  Not Found [IP: 2610:148:1f10:3::89 80]

E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
root@lms:~#

Equally,

root@lms:~# apt-get --fix-missing install
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these.
The following packages have unmet dependencies:
 logitechmediaserver : Depends: perl (>= 5.8.8) but it is not installed
E: Unmet dependencies. Try using -f.
root@lms:~#

So is there siomething wrong eith the rootfs? Because on the one hand it is telling me that perl is not installed, but I can use it?

root@lms:~# which perl
/usr/bin/perl
root@lms:~#

Any ideas?

Viewing all articles
Browse latest Browse all 3247

Trending Articles