NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
zennit
Feb 24, 2012Aspirant
perl issues on duo
trying to install gitolite on my readynas duo which uses perl but getting Can't locate English.pm
how would I go about adding this to perl?
Do I have to apt-get some modules?
how would I go about adding this to perl?
Do I have to apt-get some modules?
42 Replies
Replies have been turned off for this discussion
- WhoCares_MentorYou could try re-installing the perl-modules package using apt-get. While it is being reported as being installed it was heavily stripped afterwards before so the firmware on the ReadyNAS only contains a subset of the originally included modules.
-Stefan - zennitAspirantapt-get --reinstall install perl-modules
Reading Package Lists... Done
Building Dependency Tree... Done
Reinstallation of perl-modules is not possible, it cannot be downloaded.
You might want to run `apt-get -f install' to correct these:
The following packages have unmet dependencies:
php5-ldap: Depends: libsasl2 (>= 2.1.19.dfsg1) but it is not installable
W: Couldn't stat source package list http://www.readynas.com readynas/ Packages (/var/lib/apt/lists/www.readynas.com_packages_readynas_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://archive.debian.org sarge/main Packages (/var/lib/apt/lists/archive.debian.org_debian_dists_sarge_main_binary-sparc_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://archive.debian.org sarge/contrib Packages (/var/lib/apt/lists/archive.debian.org_debian_dists_sarge_contrib_binary-sparc_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://archive.debian.org sarge/non-free Packages (/var/lib/apt/lists/archive.debian.org_debian_dists_sarge_non-free_binary-sparc_Packages) - stat (2 No such file or directory)
W: You may want to run apt-get update to correct these problems
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution). - mdgm-ntgrNETGEAR Employee RetiredWhat version of RAIDiator? Did you do the "apt-get update" as suggested?
- zennitAspirantRAIDiator 4.1.8
I haven't done apt-get update , didn't want to break anything, should I run apt-get update? - WhoCares_MentorThe "couldn't stat source" messages suggest that something is wrong with the DNS settings on your ReadyNAS.
-Stefan
Edit: Yes, you should run apt-get update otherwise the system has no info whatsoever about where to actually find modules. And since apt-get update only updates the local database but doesn't install anything, it's safe to run. - mdgm-ntgrNETGEAR Employee RetiredNot sure if this is compatible with installing the perl modules thing, but WhoCares?'s PHP add-on (http://readynasxtras.com/readynas-sparc-add-ons/php-53-sparc) includes a newer version of php5-ldap than would be available via apt-get. If you plan to seriously use PHP for lots of different things this add-on would be well worth having.
As mentioned "apt-get update" is fine. The thing you don't want to do is "apt-get upgrade" which upgrades packages (some of which are kept on old versions for a reason) and breaks Frontview (web-interface of the ReadyNAS) and quite possibly other things as well. - zennitAspirantnas-C7-F3-68:/opt/git# apt-get update
Get:1 http://archive.debian.org sarge/main Packages [4405kB]
Get:2 http://www.readynas.com readynas/ Packages [26.3kB]
Get:3 http://www.readynas.com readynas/ Release [740B]
Get:4 http://archive.debian.org sarge/main Release [99B]
Get:5 http://archive.debian.org sarge/contrib Packages [62.7kB]
Get:6 http://archive.debian.org sarge/contrib Release [102B]
Get:7 http://archive.debian.org sarge/non-free Packages [53.2kB]
Get:8 http://archive.debian.org sarge/non-free Release [103B]
Get:9 http://archive.debian.org sarge/main Sources [1323kB]
Get:10 http://archive.debian.org sarge/main Release [100B]
Get:11 http://archive.debian.org sarge/contrib Sources [24.7kB]
Get:12 http://archive.debian.org sarge/contrib Release [103B]
Get:13 http://archive.debian.org sarge/non-free Sources [23.5kB]
Get:14 http://archive.debian.org sarge/non-free Release [104B]
Fetched 5920kB in 22s (259kB/s)
Reading Package Lists... Done
nas-C7-F3-68:/opt/git# apt-get --reinstall install perl-modules
Reading Package Lists... Done
Building Dependency Tree... Done
You might want to run `apt-get -f install' to correct these:
The following packages have unmet dependencies:
php5-ldap: Depends: libsasl2 (>= 2.1.19.dfsg1) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
nas-C7-F3-68:/opt/git# gitolite/src/gl-system-install
Can't locate English.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl .) at gitolite/src/gl-system-install line 4.
BEGIN failed--compilation aborted at gitolite/src/gl-system-install line 4. - zennitAspirantshould I run apt-get -f install?
- mdgm-ntgrNETGEAR Employee RetiredDon't think so. That might break things. I'd probably try installing WhoCares?'s add-on then if what you want to install still won't install attempt to install the perl-modules again.
If you prefer you could try "apt-get install php5-ldap" and see what output that produces. - zennitAspiranttried a find on English.pm and it's still not there, seem to be part of the perl core, can I apt-get the core?
http://perldoc.perl.org/English.html
Related Content
NETGEAR Academy
Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!