Summary: | Revised ubuntu-pkg-check.sh, renamed ubuntu package files, tweaked 12.04 package file, copied 12.04 package file to ubuntu.packages | ||
---|---|---|---|
Product: | Koha | Reporter: | Mark Tompsett <mtompset> |
Component: | Installation and upgrade (command-line installer) | Assignee: | Galen Charlton <gmcharlt> |
Status: | CLOSED FIXED | QA Contact: | |
Severity: | enhancement | ||
Priority: | P5 - low | ||
Version: | 3.6 | ||
Hardware: | All | ||
OS: | All | ||
Change sponsored?: | --- | Patch complexity: | --- |
Documentation contact: | Documentation submission: | ||
Text to go in the release notes: | Version(s) released in: | ||
Circulation function: | |||
Attachments: |
Restructured ubuntu .packages files to include versioning and to have the ubuntu-pkg-check.sh script use the versioning
Restructured ubuntu .packages files to include versioning and to have the ubuntu-pkg-check.sh script use the versioning Restructured ubuntu .packages files to include versioning and to have the ubuntu-pkg-check.sh script use the versioning (v3) Bug 8489: Revise Ubuntu install files |
Description
Mark Tompsett
2012-07-21 13:35:37 UTC
Created attachment 11063 [details] [review] Restructured ubuntu .packages files to include versioning and to have the ubuntu-pkg-check.sh script use the versioning It should be noted the the patches for the ubuntu.packages file represent the changes that I made from the old ubuntu.packages file while creating the ubuntu.12.04.packages file. It should also be noted that this requires versions of ubuntu .packages files on a forward basis. When LTS support is dropped, old versioned files can be dropped as well. The ubuntu.packages file should be identical to the more recent copy of the ubuntu.{version}.packages file. ubuntu.packages -> ubuntu.10.04.packages ubuntu_maverick.packages -> ubuntu.10.10.packages ubuntu.packages -> ubuntu.12.04.packages ubuntu.12.04.packages tweaked ubuntu.12.04.packages -> ubuntu.packages Added version login using lsb_release into ubuntu-pkg-check.sh ./install_misc/ubuntu-pkg-check.sh | grep none should produce empty output if everything (including optional modules) are installed. ./install_misc/ubuntu-pkg-check.sh | wc should generate a higher line count than the total modules required figure on ./koha_perl_deps.pl -a And if the there is empty output produced by ./install_misc/ubuntu-pkg-check.sh | grep none then there should be nothing missing for ./koha_perl_deps.pl -m -u optional or required. Created attachment 11064 [details] [review] Restructured ubuntu .packages files to include versioning and to have the ubuntu-pkg-check.sh script use the versioning Corrected a minor logic flaw which failed to tell the user which .packages file they were using properly in the ubuntu-pkg-check.sh file. Caught it after the fact. *** Bug 8488 has been marked as a duplicate of this bug. *** A version of this will also be needed for Master and 3.6.x. Once 3.6.7 is out the door with this, I'll work on a patch for master, but as a separate bug report. Created attachment 11065 [details] [review] Restructured ubuntu .packages files to include versioning and to have the ubuntu-pkg-check.sh script use the versioning (v3) Third revision includes better error handling as encountered problems on 10.04 (none)* means that only CPAN or an external repository will be able to install it. (none) means that there is a library to install Everything else should have a nice version number listed. Created attachment 11066 [details] [review] Bug 8489: Revise Ubuntu install files 1) Changed ubuntu-pkg-check.sh to use lsb_release to determine version of ubuntu.{version}.packages file. If a versioned file does not exist, the user is warned, and ubuntu.packages is used. Told the user which file is being used. Caught apt-cache policy errors nicely. NOTE: ubuntu.packages MUST BE A COPY OF THE LATEST ubuntu.{version}.packages FILE! 2) Moved: ubuntu.packages -> ubuntu.10.04.packages ubuntu_maverick.packages -> ubuntu.10.10.packages ubuntu.precise.packages -> ubuntu.12.04 packages (last file created new, but effectively supersedes bug 8488) 3) Tweaked ubuntu.12.04.packages: * changed yaz3 references to yaz4 * dropped libmysqlclient16-dev * changed libmysqlclient16 to libmysqlclient18 4) Copied the ubuntu.12.04.packages file to ubuntu.packages Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com> This patch has been included in 3.6.7 to enable the installation of 3.6.7 under Ubuntu per the instructions. |