Bug 5116 - Duplicate and missing entries in "apt-get-debian-lenny.sh"
Summary: Duplicate and missing entries in "apt-get-debian-lenny.sh"
Status: CLOSED WONTFIX
Alias: None
Product: Koha
Classification: Unclassified
Component: Installation and upgrade (command-line installer) (show other bugs)
Version: master
Hardware: All Linux
: P5 - low minor (vote)
Assignee: Ricardo Dias Marques
QA Contact: Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-11 16:40 UTC by Ricardo Dias Marques
Modified: 2014-12-07 20:02 UTC (History)
1 user (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Who signed the patch off:
Text to go in the release notes:
Version(s) released in:


Attachments
Fix for Bug 5116 (78 bytes, text/plain)
2010-08-11 17:43 UTC, Ricardo Dias Marques
Details

Note You need to log in before you can comment on or make changes to this bug.
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.