NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.

Forum Discussion

BMuuN's avatar
BMuuN
Aspirant
Sep 20, 2014

Unable to install or start apps that rely on Perl

Could one of you exerts here shed some light on my situation? I think may need a full factory reset :(

I think my downfall came by issuing the "apt-get upgrade" command which after reading a few articles in the forum is a bad idea and I think this is what broke my NAS.
This command appears to have updated Perl from v5.8.8 to v5.14.2 and as a result any application that has a dependency on Perl fails to install or start:


  • With installed apps if I try to turn the app "On" there's no error, the web page refreshes and the application is still in it's "Off" state.

  • If I try to install a new app that has a dependency on Perl it won't install.


For example: I'm unable to install SABnzbd via the web interface. Once I click to install it asks if I want to update the sources list:



Clicking "No" dismisses the message and clicking "Yes" successfully updates the list but fails to install SABnzbd:



If I SSH into the NAS and try "apt-get install sabnzbd" I get the following error:


# apt-get install sabnzbd
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
sabnzbd : Depends: libcgi-pm-perl (>= 3.50~)
E: Unable to correct problems, you have held broken packages.


I then try to install the missing dependency:


# apt-get install libcgi-pm-perl
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package libcgi-pm-perl is a virtual package provided by:
perl-modules 5.14.2-21+deb7u1 [Not candidate version]

E: Package 'libcgi-pm-perl' has no installation candidate


Running the command "perl -v" tells me I'm using Perl v5.14 subversion 2. Here's the list of the installed Perl packages on the NAS:


# dpkg -l | grep perl
ii libclass-isa-perl 0.36-3 all report the search path for a class's ISA tree
ii liblocale-gettext-perl 1.05-7+b1 armel module using libc functions for internationalization in Perl
ii libperl5.14 5.14.2-21 armel shared Perl library
ii libtext-charwidth-perl 0.04-7+b1 armel get display widths of characters on the terminal
ii libtext-iconv-perl 1.7-5 armel converts between character sets in Perl
ii libtext-wrapi18n-perl 0.06-7 all internationalized substitute of Text::Wrap
ii perl-base 5.14.2-21 armel minimal Perl system
ic perl-modules 5.14.2-21+deb7u1 all Core Perl modules


Is there a way to save my system or do I have to bite the bullet and perform a full factory reset?

FYI: I'm running a ReadyNAS 104 with firmware v6.1.9.

Any help would be greatly appreciated.

2 Replies

Replies have been turned off for this discussion

NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology! 

Join Us!

ProSupport for Business

Comprehensive support plans for maximum network uptime and business peace of mind.

 

Learn More