[Koha-bugs] [Bug 8840] ubuntu-pkg-check.sh fix and extend functionality

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Sep 28 19:37:41 CEST 2012


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

M. Tompsett <mtompset at hotmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #12594|0                           |1
        is obsolete|                            |

--- Comment #3 from M. Tompsett <mtompset at hotmail.com> ---
Created attachment 12599
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=12599&action=edit
Replaced ubuntu-pkg-check.sh with one that works properly.

Test
------

Prove The Problem
=================
1) Fresh install of Ubuntu 12.04 (Spanish)
2) ./install_misc/ubuntu-pkg-check.sh
-- This is to get the base output to compare.
3) sudo apt-get install libyaml-perl
4) ./install_misc/ubuntu-pkg-check.sh
-- Identical output, even though we installed a dependency!
5) apply patch
6) ./install_misc/ubuntu-packages.sh -r
-- Should be one line difference now!

5) Fresh install of Ubuntu 12.04 (English)
6) ./install_misc/ubuntu-pkg-check.sh
-- Indentical to first output, no dependencies installed yet.
7) sudo apt-get install libyaml-perl
8) ./install_misc/ubuntu-pkg-check.sh
-- It should match the one line difference output.
9) apply patch
10) ./install_misc/ubuntu-packages.sh -r
-- It should match the one line difference output.

Test New Features (Help)
========================
11) ./install_misc/ubuntu-packages.sh -h
12) echo $?
-- It should give a nice help screen. And the echo result of 0.
13) ./install_misc/ubuntu-packages.sh
14) echo $?
-- It should give a nice help screen. And the echo result of 1 -- based you
gave incorrect parameters.
15) ./install_misc/ubuntu-packages.sh -badparm
16) echo $?
-- It should give a nice help screen. And the echo result of 1 -- based you
gave incorrect parameters.

Test New Features (Sudo apt-get command output)
===============================================
17) ./install_misc/ubuntu-packages.sh -ic
-- It should output an appropriate sudo apt-get command to install the
dependencies.
18) Cut and paste the command, then press enter!
-- install everything!
19) ./install_misc/ubuntu-packages.sh -ic
-- It should say it thinks everything is installed, and tell you to run a
koha_perl_deps.pl -m -u.

-- Yes, koha_perl_deps.pl may list outstanding items. That's a different bug
report to come.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list