[Koha-bugs] [Bug 8489] New: Revised ubuntu-pkg-check.sh, renamed ubuntu package files, tweaked 12.04 package file.

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Sat Jul 21 15:35:37 CEST 2012


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8489

          Priority: P5 - low
 Change sponsored?: ---
            Bug ID: 8489
          Assignee: gmcharlt at 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 at 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.


More information about the Koha-bugs mailing list