[Koha-devel] dselect non-funcitonal on Ubuntu

Mason James mtj at kohaaloha.com
Wed Oct 3 07:14:26 CEST 2012


On 2012-10-3, at 5:23 PM, Robin Sheat wrote:

> 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.
> 

nice one Robin :)




More information about the Koha-devel mailing list