Apt not installing or uninstalling - ambiguous package

All Gurus once were Newbies
Forum rules

Apt not installing or uninstalling - ambiguous package

Postby billyharris on Sun Feb 10, 2013 1:49 pm

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.

Level 1
Level 1
Posts: 1
Joined: Sun Feb 10, 2013 1:41 pm

Linux Mint is funded by ads and donations.

Re: Apt not installing or uninstalling - ambiguous package

Postby zerozero on Sun Feb 10, 2013 9:35 pm

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)

[ bliss of ignorance ]
Level 16
Level 16
Posts: 6521
Joined: Tue Jul 07, 2009 2:29 pm

Return to Newbie Questions

Who is online

Users browsing this forum: No registered users and 4 guests