Page 1 of 1

Apt not installing or uninstalling - ambiguous package

Posted: Sun Feb 10, 2013 1:49 pm
by billyharris
Hi there:

Just installed LMDE (XFCE version) and everything was looking good, but now apt seems to be playing up. Whenever I try to install or remove anything I get:

dpkg: error: --configure needs a valid package name but 'libstdc++6' is not: ambiguous package name 'libstdc++6' with more than one installed instance

Last thing I did before this problem was install MSOffice (needed for work) through PlayOnLinux. That went okay, but I had to add enable multiarch support on dpkg. Thought initially that this might have something to do with it (that I had a 32 bit and a 64 bit version installed) , but I've no idea how to resolve the problem. Checked using find and I appear not to have any files called libstdc++6 on my system, only a directory in usr/docs.

Any suggestions gratefully received.

Billy.

Re: Apt not installing or uninstalling - ambiguous package

Posted: Sun Feb 10, 2013 9:35 pm
by zerozero
i've seen the same issue already;
let's see if was like this:
- you installed lmde;
- added multiarch support because you needed playonlinux before fully updating the system;
- now you get this mismatch;

as far as i can see the problem is:
- multiarch is still a work in progress (in general i would say) but specially in lmde and was a lot worst in the UP5-UP6 transition
- the dpkg version that you were running at the time you added multiarch didn't supported it completely but at the same time some app (like wine/p.o.l.) were dependent on it;
- all would be a lot easier if you would update to UP6 and only after enabled multiarch and try to install the foreign arch packages

anyway see if this helps (i have little faith to be honest)
http://forums.linuxmint.com/viewtopic.p ... dc#p684217