Skip to main content

Thread: Cannot install g++ and build-essential


i don't have g++:
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>
so try install it:

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)
i try install build-essential, , same results.

try complete configuration manually by:
code:
sudo dpkg --configure -a
and same results.

tried "sudo apt-get update" , "dpkg --purge g++", didn't help.

here apt-cache:

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
can me?

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

Popular posts from this blog

How to set the order of FAQs instead of alphabetical

Thread: Get UK Keyboard working

how do I change the e-mail address for my merchant account