Choosing the right architecture for DEB packages

I recently experienced a minor run-in with dpkg-deb. My system tells me, that

$ uname -a
Linux hoazin 2.6.28-16-generic #55-Ubuntu SMP Tue Oct 20 19:48:24 UTC 2009 i686 GNU/Linux

which seems to indicate that the Architecture field of the DEBIAN/control file should read ‘i686‘. Doing this results in the error:

deb Error: Wrong architecture 'i686'

Dismembering official packages reveals ‘i386‘ as the correct value.

Advertisements

Tags: , , , , , , ,

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


%d bloggers like this: