[Bug 8489] New: Revised ubuntu-pkg-check.sh, renamed ubuntu package files, tweaked 12.04 package file.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8489 Priority: P5 - low Change sponsored?: --- Bug ID: 8489 Assignee: gmcharlt@gmail.com Summary: Revised ubuntu-pkg-check.sh, renamed ubuntu package files, tweaked 12.04 package file. Severity: enhancement Classification: Unclassified OS: All Reporter: mtompset@hotmail.com Hardware: All Status: NEW Version: rel_3_6 Component: Installation and upgrade (command-line installer) Product: Koha This may overlap with bug 8478. The ubuntu-pkg-chk.sh script hardcoded the use of ubuntu.packages. By using an `lsb_release -r | cut -f2 -d'{tab}'` we can determine the version number of the ubuntu (tested on 10.04 and 12.04). If the user is running on a non-LTS, the script will inform the user and use the latest one, because NOTE: ubuntu.packages SHOULD ALWAYS BE A COPY OF THE LATEST VERSION!!! ubuntu.packages became ubuntu.10.04.packages ubuntu_maverick.packages became ubuntu.10.10.packages ubuntu.precise.packages became ubuntu.12.04.package (was created from 8488) This supersedes bug 8488, by renaming ubuntu.precise.packages to ubuntu.12.04.packages and updating the libmysqlclient16 to mylibsqlclient18 and removing the libmysqlclient16-dev. There were no known dependencies in the perl libraries. Feel free to confirm otherwise. I then copied ubuntu.12.04.packages back to ubuntu.packages after modifications, as the INSTALL.ubuntu install instructions say: $ sudo dpkg --set-selections < install_misc/ubuntu.packages The goal of this script is that: ./ubuntu-pkg-check.sh | grep none should produce no output if all dependencies are installed (optional or otherwise). However, it should be noted that the wiki instructions do not reference the file ubuntu-pkg-check.sh and it is currently only mentioned in the INSTALL.ubuntu.lucid instructions. The figures generated by: # A = $ ./install_misc/ubuntu-pkg-check | wc $ ./koha_perl_deps.pl -a # and B = the total modules reported number should have A>=B. And, if the ubuntu packages were installed with dselect, there should be 0 modules listed for: $ ./koha_perl_deps.pl -m -u To the cleanest 3.6.X version install yet! :) -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8489 M. Tompsett <mtompset@hotmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Revised |Revised |ubuntu-pkg-check.sh, |ubuntu-pkg-check.sh, |renamed ubuntu package |renamed ubuntu package |files, tweaked 12.04 |files, tweaked 12.04 |package file. |package file, copied 12.04 | |package file to | |ubuntu.packages -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8489 --- Comment #1 from M. Tompsett <mtompset@hotmail.com> --- Created attachment 11063 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=11063&action=edit 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. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8489 M. Tompsett <mtompset@hotmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #11063|0 |1 is obsolete| | --- Comment #2 from M. Tompsett <mtompset@hotmail.com> --- Created attachment 11064 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=11064&action=edit 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. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8489 M. Tompsett <mtompset@hotmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |Needs Signoff -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8489 --- Comment #3 from M. Tompsett <mtompset@hotmail.com> --- *** Bug 8488 has been marked as a duplicate of this bug. *** -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8489 --- Comment #4 from Jared Camins-Esakov <jcamins@cpbibliography.com> --- A version of this will also be needed for Master and 3.6.x. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8489 --- Comment #5 from M. Tompsett <mtompset@hotmail.com> --- Once 3.6.7 is out the door with this, I'll work on a patch for master, but as a separate bug report. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8489 M. Tompsett <mtompset@hotmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #11064|0 |1 is obsolete| | --- Comment #6 from M. Tompsett <mtompset@hotmail.com> --- Created attachment 11065 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=11065&action=edit 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. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8489 Jared Camins-Esakov <jcamins@cpbibliography.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |Signed Off -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8489 Jared Camins-Esakov <jcamins@cpbibliography.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #11065|0 |1 is obsolete| | --- Comment #7 from Jared Camins-Esakov <jcamins@cpbibliography.com> --- Created attachment 11066 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=11066&action=edit 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> -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8489 Jared Camins-Esakov <jcamins@cpbibliography.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Signed Off |Passed QA --- Comment #8 from 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. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8489 Jared Camins-Esakov <jcamins@cpbibliography.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Passed QA |Pushed to Stable -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8489 --- Comment #9 from M. Tompsett <mtompset@hotmail.com> --- The patch for master will be done on bug 8478. -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org