A number of small issues turned up when installing Koha from trunk on a fresh install of Ubuntu 10.04 LTS (Lucid Lynx). These include: 1 - install_misc/ubuntu.packages : not all available and needed packages are listed in the file (including a number of the CPAN modules listed later for manual install) : at least one typo in package name "bmarc-record-perl" (should be libmarc-record-perl) : due to random order of file, hard to sort out what is there or not : some duplicated lines : also somewhat difficult to see what has been successfully installed as dselect appears to quietly ignore any problems it has with problems in this file (such as the "bmarc-" typo) 2 - INSTALL.ubuntu : Most of CPAN modules listed for manual install are now available as ubuntu packages (except Locale::Currency::Format) : Manual CPAN modules needed (but not listed) include: HTTP::OAI, Memoize::Memcached, PDF::API2::Simple Storable Text::CSV::Encoded : Install of PDF::API2::Simple has a dependency on Module::Install which can be installed as a package (libmodule-install-perl). : Entire section on "DBD::mysql Install" (sect 2.4) can be removed for Lucid as the needed version (actually later) can be installed as a package (libdbd-mysql-perl).
Created attachment 2619 [details] [review] Proposed Patch Files
What I have done in the three patch files: (1) Created a separate "INSTALL.ubuntu.lucid" file based on the original "INSTALL.ubuntu". Decided it was best to simply create a new version of the file so that references to old needs did not have to be kept. Not entirely updated as yet -- just worked on packages and cpan. (2) Updated the ubuntu.packages file with the various packages available for lucid and corrected the various issues I found with typos, duplicates, etc. Decided not worth creating a separate version specifically for lucid as dselect appears to ignore stuff it cannot find/recognize. So, that shouldn't hurt installs on earlier versions. (3) Added a script utility (install_misc/ubuntu-pkg-check.sh) mentioned in "INSTALL.ubuntu.lucid". Basically what this does is read the file "ubuntu.packages" and use "apt-cache policy" to report the version of each package that is found installed (if not installed, the version will be "(none)" or "" depending on apt-cache's reaction to a given package name). This should make it a little easier to see what dselect was and was not able to install.
As of current master, the following CPAN modules are not installed by ubuntu.packages: Business::ISBN (exists) CGI::Session::Driver::memcached (not packaged for 10.04) Gravatar::URL (exists) HTTP::OAI (not packaged for 10.04) Locale::Currency::Format (not packaged for 10.04) Memoize::Memcached (not packaged for 10.04) Modern::Perl (exists) PDF::API2::Simple (not packaged for 10.04). Text::CSV::Encoded (not packaged for 10.04)
*** This bug has been marked as a duplicate of bug 8478 ***