Note that you need to remove all packages of that architecture before removing it: apt-get purge '.:' Note that the Ubuntu dpkg in natty (1.16.0ubuntu7 (reports 1.15.8.10)), oneiric and precise (1.16.1.2ubuntu7) uses a different syntax: echo 'foreign-architecture armhf' /etc/dpkg//architectures Setting up apt sources Apt defaults to using the set of architectures reported by dpkg, and any unqualified architecture deb lines in /etc/apt/sources.list, which is usually what you wanted. To remove an architecture dpkg -remove-architecture dpkg architectures are stored in /var/lib/dpkg/arch. You double click on it and it opens in the Software Center application and you install it from. Dpkg -add-architecture armhf Note that nothing will really change until you do an apt-get update to update the available package lists. Installing applications from a deb file is quite simple. Usage Configuring architectures To add an extra architecture (in Debian from dpkg 1.16.2 onwards): dpkg -add-architecture e.g. (dpkg: error: -configure needs a valid package name but 'gcc-4.7-base' is not: ambiguous package name 'gcc-4.7-base' with more than one installed instance) dpkg -configure -a will unbung this. I could successfully install and run the UFRII driver with: apt-get install qemu-user undeclared dependencies of UFRII driver package apt-get install libcupsimage2:i386 libjpeg62:i386 libstdc++6:i386 libxml2:i386 ghostscript:i386 apt-get install /path/to/b. Prior to apt 0.9 in Debian, dpkg can get stuck (but only if multiarch is enabled) during upgrades when it is not told which arch package it should be configuring by apt.
0 Comments
Leave a Reply. |