[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Strange architechture problem



Greetings all;

I apparently play with the amd64 architecture in my dpkg architecture 
list long enough to screw it up, but not fatally so far.

I have a libexpat1:amd64 files installed, but so far I have been 
unsuccessful at getting it replaced with the next version of that file 
in i386 format, which matches the install.

My last attempt generated this failure, so I need a dpkg guru again.
==========================
gene@coyote:/var/cache/apt/archives$ sudo 
dpkg -i --force-remove-reinstreq libexpat1_2.1.0-1+deb7u3_i386.deb 
libexpat1-dev_2.1.0-1+deb7u3_i386.deb
(Reading database ... 421567 files and directories currently installed.)
Preparing to replace libexpat1:i386 2.1.0-1+deb7u3 (using 
libexpat1_2.1.0-1+deb7u3_i386.deb) ...
Unpacking replacement libexpat1:i386 ...
Preparing to replace libexpat1-dev 2.1.0-1+deb7u3 (using 
libexpat1-dev_2.1.0-1+deb7u3_i386.deb) ...
Unpacking replacement libexpat1-dev ...
dpkg: error processing libexpat1:i386 (--install):
 package libexpat1:i386 2.1.0-1+deb7u3 cannot be configured because 
libexpat1:amd64 is at a different version (2.1.0-1+deb7u2)
dpkg: dependency problems prevent configuration of libexpat1-dev:
 libexpat1-dev depends on libexpat1 (= 2.1.0-1+deb7u3); however:
  Package libexpat1:i386 is not configured yet.

dpkg: error processing libexpat1-dev (--install):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 libexpat1:i386
 libexpat1-dev
gene@coyote:/var/cache/apt/archives$ 
=================================
I haven't tried removing the -dev package by itself yet, but that just 
failed too.

How can I force dpkg to replace the erroneously installed amd64 version 
without its destroying the rest of the system because of the many 
dependencies would cause it to nuke at least another 50 packages?

Where is the dpkg unconditional "--force-replace" option IOW?

Thanks folks.

Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page <http://geneslinuxbox.net:6309/gene>


Reply to: