Bug 5116

Summary: Duplicate and missing entries in "apt-get-debian-lenny.sh"
Product: Koha Reporter: Ricardo Dias Marques <ricmarques>
Component: Installation and upgrade (command-line installer)Assignee: Ricardo Dias Marques <ricmarques>
Status: CLOSED WONTFIX QA Contact: Bugs List <koha-bugs>
Severity: minor    
Priority: P5 - low CC: mirko
Version: Main   
Hardware: All   
OS: Linux   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:
Attachments: Fix for Bug 5116

Description Ricardo Dias Marques 2010-08-11 16:40:29 UTC
Today (11-Aug-2010), I did a git clone from the Koha "master" branch - the branch that will lead to the 3.2 version - to a machine running Debian 5.0.5 (Debian "lenny")

I ran the "apt-get-debian-lenny.sh" install script - located at "install_misc/apt-get-debian-lenny.sh"

I noticed, in that script, there were some missing lines for packages that exist for Debian Lenny and that have versions that satisfy the requirements of the Koha Installer, listed in the "PerlDependencies.pm" file - located at "C4/Installer/PerlDependencies.pm" - namely:

- libnet-server-perl 
"Net::Server" module. "PerlDependencies.pm" requires version 0.97 ('min_ver'  => '0.97') and the debian package for Lenny - http://packages.debian.org/lenny/libnet-server-perl - is version "0.97-1", thus satisfying the version requirement.

- libpdf-table-perl
"PDF::Table" module.  "PerlDependencies.pm" requires version 0.9.3 ('min_ver'  => '0.9.3') and the debian package for Lenny - http://packages.debian.org/lenny/libpdf-table-perl - is version "0.9.3-2", thus satisfying the version requirement.


I also noticed, in that same "apt-get-debian-lenny.sh" script, that there were some duplicate entries / lines for other modules.


So:

1 - I added the missing "libnet-server-perl" and "libpdf-table-perl" lines

2 - I removed the duplicate entries 


I'll submit a patch, through git, and link it to this Bug Report.
Comment 1 Ricardo Dias Marques 2010-08-11 17:43:02 UTC
Created attachment 2506 [details]
Fix for Bug 5116

Patch sent through git send-email

- Adds two missing lines for "libnet-server-perl" (for the 
"Net::Server" module) and "libpdf-table-perl" (for the "PDF::Table" 
module).

- Removes duplicate (repeated) entries / lines for other modules, 
namely: libdate-calc-perl, libdbd-mysql-perl, libemail-date-perl, 
libgd-barcode-perl, libhtml-scrubber-perl, liblingua-stem-perl, 
libmail-sendmail-perl, libmime-lite-perl, libnet-ldap-perl 
and libpoe-perl.