Bug 9400

Summary: On a multi-arch debian system, parts of the INSTALL.debian fail
Product: Koha Reporter: Hugh Davenport <hugh>
Component: PackagingAssignee: Galen Charlton <gmcharlt>
Status: CLOSED INVALID QA Contact:
Severity: minor    
Priority: P5 - low CC: katrin.fischer, magnus, mirko
Version: Main   
Hardware: PC   
OS: Linux   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:

Description Hugh Davenport 2013-01-16 03:15:44 UTC
I have a multiarch debian wheezy (current testing) setup, using http://wiki.debian.org/Multiarch/HOWTO

I was following the instructions at http://git.koha-community.org/gitweb/?p=koha.git;a=blob;f=INSTALL.debian;hb=HEAD and came into some errors at the 
 sudo dpkg --set-selections < install_misc/debian.packages
on line 73

The error I get is 
hugh@hugh-desktop:~/code/koha (master)$ sudo dpkg --set-selections < install_misc/debian.packages
<snip> 
dpkg: error: illegal package name at line 25: ambiguous package name 'libgcrypt11' with more than one installed instance
hugh@hugh-desktop:~/code/koha (master)$ 

Below is some diagnostics, showing that their are indeed two instances installed.

The debian.packages file will need to be altered to be able to operate on multi-arch systems.




hugh@hugh-desktop:~/code/koha (master)$ apt-cache policy libgcrypt11:i386
libgcrypt11:i386:
  Installed: 1.5.0-3
  Candidate: 1.5.0-3
  Version table:
 *** 1.5.0-3 0
        500 http://ftp.nz.debian.org/debian/ wheezy/main i386 Packages
        500 http://ftp.nz.debian.org/debian/ sid/main i386 Packages
        100 /var/lib/dpkg/status
     1.4.5-2 0
        500 http://ftp.nz.debian.org/debian/ squeeze/main i386 Packages
hugh@hugh-desktop:~/code/koha (master)$ apt-cache policy libgcrypt11:amd64
libgcrypt11:
  Installed: 1.5.0-3
  Candidate: 1.5.0-3
  Version table:
 *** 1.5.0-3 0
        500 http://ftp.nz.debian.org/debian/ wheezy/main amd64 Packages
        500 http://ftp.nz.debian.org/debian/ sid/main amd64 Packages
        100 /var/lib/dpkg/status
     1.4.5-2 0
        500 http://ftp.nz.debian.org/debian/ squeeze/main amd64 Packages
hugh@hugh-desktop:~/code/koha (master)$
Comment 1 Hugh Davenport 2013-01-16 03:16:53 UTC
The packages that it complained about were:

libgcrypt11
libxml2
libxslt1.1

Cheers,

Hugh
Comment 2 Magnus Enger 2017-08-01 06:13:58 UTC
Bug 17626 removed the INSTALL.* files, so the part of this bug that relates to INSTALL.debian is no longer relevant. 

debian.packages might still need to be fixed, though?
Comment 3 Katrin Fischer 2019-04-28 08:32:08 UTC
Adding Mirko, wondering if this can be closed?
Comment 4 Mirko Tietgen 2019-04-30 08:55:06 UTC
We dropped support for Debian Wheezy some time ago and we removed INSTALL.debian.
Closing as invalid.
Comment 5 Katrin Fischer 2019-04-30 09:11:47 UTC
(In reply to Mirko Tietgen from comment #4)
> We dropped support for Debian Wheezy some time ago and we removed
> INSTALL.debian.
> Closing as invalid.

Thx!