libstdc++-dev:i386 cannot be installed on 64bit system.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gcc-4.6 (Ubuntu) |
Won't Fix
|
Wishlist
|
Unassigned | ||
gcc-4.7 (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
lsb_release -rd
Description: Ubuntu precise (development branch)
Release: 12.04
uname -a
Linux inspiron1521 3.2.0-21-generic #34-Ubuntu SMP Fri Mar 30 04:25:35 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
I don't see why libstdc should try to install g++-4.6:i386
The 64bit version of gcc has the -m32 option to build 32bit binary output, even though compiling on a 64bit system.
So, in this case, installing libstdc+
I can see the current multiarch allowing for 64bit and 32bit library files having the same filename, but I cannot see how you can have a 32bit gcc binary installed on a 64bit system, because the location and filename are the same.
Do we need to introduce /usr/bin and /usr/bin32, similar to /usr/lib32 and /usr/lib?
aptitude install libstdc+
The following NEW packages will be installed:
binutils:i386{ab} cpp-4.6:i386{ab} g++-4.6:i386{ab} gcc-4.6:i386{ab} libc6-dev:i386{a} libgmp10:i386{a} libgomp1:i386{a}
libmpc2:i386{a} libmpfr4:i386{a} libquadmath0:
0 packages upgraded, 12 newly installed, 0 to remove and 0 not upgraded.
Need to get 29.1 MB of archives. After unpacking 82.6 MB will be used.
The following packages have unmet dependencies:
g++-4.6 : Conflicts: g++-4.6:i386 but 4.6.3-1ubuntu3 is to be installed.
g++-4.6:i386 : Conflicts: g++-4.6 but 4.6.3-1ubuntu3 is installed.
gcc-4.6 : Conflicts: gcc-4.6:i386 but 4.6.3-1ubuntu3 is to be installed.
gcc-4.6:i386 : Conflicts: gcc-4.6 but 4.6.3-1ubuntu3 is installed.
libstdc++6-4.6-dev : Conflicts: libstdc+
libstdc+
cpp-4.6 : Conflicts: cpp-4.6:i386 but 4.6.3-1ubuntu3 is to be installed.
cpp-4.6:i386 : Conflicts: cpp-4.6 but 4.6.3-1ubuntu3 is installed.
binutils : Conflicts: binutils:i386 but 2.22-6ubuntu1 is to be installed.
binutils:i386 : Conflicts: binutils but 2.22-6ubuntu1 is installed.
affects: | ubuntu → gcc-4.6 (Ubuntu) |
Thank you for taking the time to report this bug and helping to make Ubuntu better. It seems that your bug report is not filed about a specific source package though, rather it is just filed against Ubuntu in general. It is important that bug reports be filed about source packages so that people interested in the package can find the bugs about it. You can find some hints about determining what package your bug might be about at https:/ /wiki.ubuntu. com/Bugs/ FindRightPackag e. You might also ask for help in the #ubuntu-bugs irc channel on Freenode.
To change the source package that this bug is filed about visit https:/ /bugs.launchpad .net/ubuntu/ +bug/973240/ +editstatus and add the package name in the text box next to the word Package.
[This is an automated message. I apologize if it reached you inappropriately; please just reply to this message indicating so.]