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

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
Koha-devel mailing list
Koha-devel@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to