Thread: Cannot install g++ and build-essential
i don't have g++:
so try install it:code:erelsgl@ubuntu:/etc/apt$ g++ erelsgl@ubuntu:/etc/apt$ erelsgl@ubuntu:/etc/apt$ g++ program 'g++' can found in following packages: * g++ * pentium-builder try: sudo apt-get install <selected package>
i try install build-essential, , same results.code:erelsgl@ubuntu:~/srilm$ sudo apt-get install g++ ... setting g++ (4:4.4.3-1ubuntu1) ... update-alternatives: error: alternative path /usr/bin/g++ doesn't exist. dpkg: error processing g++ (--configure): subprocess installed post-installation script returned error exit status 2 errors encountered while processing: g++ e: sub-process /usr/bin/dpkg returned error code (1)
try complete configuration manually by:
and same results.code:sudo dpkg --configure -a
tried "sudo apt-get update" , "dpkg --purge g++", didn't help.
here apt-cache:
can me?code:erelsgl@ubuntu:~/srilm$ apt-cache policy g++ build-essential g++: installed: 4:4.4.3-1ubuntu1 candidate: 4:4.4.3-1ubuntu1 version table: *** 4:4.4.3-1ubuntu1 0 500 http://il.archive.ubuntu.com/ubuntu/ lucid/main packages 100 /var/lib/dpkg/status build-essential: installed: (none) candidate: 11.4build1 version table: 11.4build1 0 500 http://il.archive.ubuntu.com/ubuntu/ lucid/main packages
what /etc/apt/sources configured download mirror?
Forum The Ubuntu Forum Community Ubuntu Official Flavours Support General Help [ubuntu] Cannot install g++ and build-essential
Ubuntu
Comments
Post a Comment