[Koha-devel] dselect non-funcitonal on Ubuntu

Robin Sheat robin at catalyst.net.nz
Wed Oct 3 06:23:30 CEST 2012


Mark Tompsett schreef op di 02-10-2012 om 10:33 [+0800]:
> With bug 8840, instead of writing:   $ sudo apt-get install dselect
> $ sudo dpkg --set-selections < install_misc/ubuntu.packages
> $ sudo dselect 

You shouldn't really use dselect. You can use apt-get dselect-upgrade
however. I've found this bug, which seems to the be the issue:

https://bugs.launchpad.net/ubuntu/+source/apt/+bug/879324

I tested a workaround, Ubuntu 12.04.1 64-bit:

$ sudo dpkg --set-selections < ubuntu.packages
$ sudo apt-get update
# Turn off multiarch
$ sudo perl -p -i -e 's/^/#/' /etc/dpkg/dpkg.cfg.d/multiarch
$ sudo apt-get dselect-upgrade -u --no-install-recommends
# Turn multiarch back on
$ sudo perl -p -i -e 's/^#//' /etc/dpkg/dpkg.cfg.d/multiarch

this worked. I don't have a 32-bit install handy but, I think this
shouldn't cause problems there either (although there may be no
multiarch file, so that bit may error.) It isn't necessary on Debian.

-- 
Robin Sheat
Catalyst IT Ltd.
✆ +64 4 803 2204
GPG: 5957 6D23 8B16 EFAB FEF8  7175 14D3 6485 A99C EB6D
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: </pipermail/koha-devel/attachments/20121003/4873e8db/attachment.pgp>


More information about the Koha-devel mailing list