Browse files

Bug 9267 - Ubuntu 12.04 install docs broken

Current install instructions are broken in the (1.6) step. On amd64
architectures it breaks the whole dependency tree, pulling i386 packages.

This patch replaces the 'dpkg --set-selections' combo and replacess some spaces
for tabs in one line.

This should be cherry-picked for other releases that have 12.04 install instructions
as the problem is related to multiarch.


Signed-off-by: Galen Charlton <>
Signed-off-by: Elliott Davis <>
Signed-off-by: Jared Camins-Esakov <>
Signed-off-by: Chris Cormack <>
  • Loading branch information...
1 parent 76ae9d2 commit 07e7f60835ad4c1f119670fedd5d5ecf91c68b01 @tomascohen tomascohen committed with ranginui Dec 11, 2012
Showing with 16 additions and 23 deletions.
  1. +15 −22 INSTALL.ubuntu.12.04
  2. +1 −1 install_misc/ubuntu.12.04.packages
@@ -106,24 +106,22 @@ sudo privileges, however some need to be run directly as root.
1.5 Get Koha
- There are three suggested ways to install Koha. If you will be
- participating in Koha's development, the Download from Git
- is the recommended way (See 1.5.1 below).
- If you would like to skip some of these tedious tasks, visit
- the following URL:
- If you will not be, then follow the Download from Tarball
- instructions (See 1.5.2 below).
+ There are two ways to install Koha. The easy way is using Debian/Ubuntu
+ packages (check
+ for further instructions).
+ The other way is installing from sources. You can get Koha's source
+ either using git (see 1.5.1) or downloading the stable release tarball.
1.5.1 Download from Git
Install Git:
- $ sudo apt-get install git-core
+ $ sudo apt-get install git
- Download Koha:
+ Download Koha (the 3.10.x branch):
$ git clone git:// kohaclone
$ cd kohaclone
- $ git checkout -b myinstall origin
+ $ git checkout -b myinstall origin/3.10.x
NOTE: for more information about Git, please see the Koha Git
Usage Guide:
@@ -141,24 +139,19 @@ sudo privileges, however some need to be run directly as root.
Determine the version and change directory:
$ ls
- koha-3.08.03 koha-lastest.tar.gz
- $ cd koha-3.08.03
+ koha-3.10.00 koha-latest.tar.gz
+ $ cd koha-3.10.00
1.6 Install additional Ubuntu dependencies
Several Koha dependencies have been conveniently packaged and
- will be installed issuing the following commands:
- $ sudo apt-get install dselect
- $ sudo dpkg --set-selections < install_misc/ubuntu.packages
- $ sudo dselect
+ will be installed issuing the following command:
- Choose [I]nstall and accept packages to be installed and hit
- return. Be patient. This may take a long time.
- Choose [C]onfigure, [R]emove and [Q]uit until dselect has
- completed.
+ $ sudo apt-get install `cat install_misc/ubuntu.12.04.packages | \
+ cut -f1 | grep -v '#' | grep -v -e '^$'`
+ Confirm that you want to install the required packages when prompted,
1.7 Install Perl dependencies that aren't packaged
@@ -64,7 +64,7 @@ libdate-manip-perl install
libdatetime-perl install
libdatetime-event-ical-perl install
libdatetime-format-dateparse-perl install
-libdatetime-format-ical-perl install
+libdatetime-format-ical-perl install
libdatetime-format-mail-perl install
libdatetime-format-mysql-perl install
libdatetime-format-strptime-perl install

0 comments on commit 07e7f60

Please sign in to comment.