Thanks chili. I have got the issue but not the solution. gcc-4.6 is not installed.
Code:
vel@vel-Satellite-C850:/media/E47478CF7478A5C8/install/g++/gcc/binutils/libstdc++6$ dpkg -s gcc-4.6
Package: gcc-4.6
Status: install ok unpacked
Priority: optional
Section: devel
Installed-Size: 15840
Maintainer: Ubuntu Core developers <ubuntu-devel-discuss@lists.ubuntu.com>
Architecture: amd64
Version: 4.6.1-9ubuntu3
Config-Version: 4.6.3-1ubuntu5
Provides: c-compiler
Depends: gcc-4.6-base (= 4.6.1-9ubuntu3), cpp-4.6 (= 4.6.1-9ubuntu3), binutils (>= 2.21.51~), libgcc1 (>= 1:4.6.1-9ubuntu3), libgomp1 (>= 4.6.1-9ubuntu3), libquadmath0 (>= 4.6.1-9ubuntu3), libc6 (>= 2.11), libgmp10, libmpc2, libmpfr4, zlib1g (>= 1:1.1.4)
Recommends: libc6-dev (>= 2.13-0ubuntu6)
Suggests: gcc-4.6-multilib, libmudflap0-4.6-dev (>= 4.6.1-9ubuntu3), gcc-4.6-doc (>= 4.6.1-8), gcc-4.6-locales (>= 4.6.1-8), libgcc1-dbg, libgomp1-dbg, libquadmath0-dbg, libmudflap0-dbg, binutils-gold (>= 2.21.51~)
Description: GNU C compiler
This is the GNU C compiler, a fairly portable optimizing compiler for C.
Homepage: http://gcc.gnu.org/
Original-Maintainer: Debian GCC Maintainers <debian-gcc@lists.debian.org>
vel@vel-Satellite-C850:/media/E47478CF7478A5C8/install/g++/gcc$ sudo dpkg -i gcc-4.6_4.6.1-9ubuntu3_amd64.deb
(Reading database ... 162923 files and directories currently installed.)
Preparing to replace gcc-4.6 4.6.1-9ubuntu3 (using gcc-4.6_4.6.1-9ubuntu3_amd64.deb) ...
Unpacking replacement gcc-4.6 ...
dpkg: dependency problems prevent configuration of gcc-4.6:
gcc-4.6 depends on gcc-4.6-base (= 4.6.1-9ubuntu3); however:
Version of gcc-4.6-base on system is 4.6.3-1ubuntu5.
gcc-4.6 depends on cpp-4.6 (= 4.6.1-9ubuntu3); however:
Version of cpp-4.6 on system is 4.6.3-1ubuntu5.
dpkg: error processing gcc-4.6 (--install):
dependency problems - leaving unconfigured
Processing triggers for man-db ...
Errors were encountered while processing:
gcc-4.6
Any suggestions??
Bookmarks