[PLUG] Need Help with Aptitude on Debian

Mark Phillips mark at phillipsmarketing.biz
Fri May 21 00:43:17 UTC 2010


Well, dpkg didn't work....

orca:/tmp# dpkg -i libmpg123-0_1.10.0-2_i386.deb
dpkg: error processing libmpg123-0_1.10.0-2_i386.deb (--install):
 package architecture (i386) does not match system (amd64)
Errors were encountered while processing:
 libmpg123-0_1.10.0-2_i386.deb

Now I am stumped. How do I install a i386 package on an amd64 machine?

Mark

On Thu, May 20, 2010 at 5:34 PM, Mark Phillips
<mark at phillipsmarketing.biz>wrote:

>
>
> On Thu, May 20, 2010 at 5:21 PM, Carlos Konstanski <
> ckonstanski at pippiandcarlos.com> wrote:
>
>> On 05/20/2010 06:03 PM, Mike Connors wrote:
>> >>
>> >> How the heck do I tell aptitude to install the
>> >> i386 version of the libmysqlclient-dev?
>> >>
>> >
>> > AFIK this isn't possible as any "package manager" is going to download
>> > packages per the results of a "uname" query. You could find and download
>> the
>> > .deb file for your version of Debian =>
>> > http://packages.debian.org/search?keywords=libmysqlclient-dev
>> >
>> > and then use "dpkg -i" to install it.
>> >
>> > HTH!
>>
>> I don't know that this is always true. In 64-bit gentoo you can certainly
>> install 32-bit programs if you have the appropriate 32-bit libraries to
>> link
>> with. Is there no /lib32 directory in Debian Squeeze?
>>
>
> I have a /lib32, so I assume I can somehow install an i386 package. I just
> don't know how. I thought of  dpkg -i, with the right deb, but I wantted to
> make sure it wouldn't screw up anything.
>
>>
>> Another option: build a 32-bit chroot.
>>
> I have no idea how to do that.
>
>>
>> Carlos
>> _______________________________________________
>> PLUG mailing list
>> PLUG at lists.pdxlinux.org
>> http://lists.pdxlinux.org/mailman/listinfo/plug
>>
>
>



More information about the PLUG mailing list