How do I reinstall gcc/g++?
NoOp
glgxg at sbcglobal.net
Wed Feb 16 21:11:05 UTC 2011
On 02/16/2011 12:24 PM, MR ZenWiz wrote:
> On Wed, Feb 16, 2011 at 12:04 PM, NoOp <glgxg at sbcglobal.net> wrote:
>> On 02/16/2011 10:07 AM, Neil Cherry wrote:
>>> Somehow my gcc/cpp/g++ are linked to nothing:
>>>
>>> $ ls -l /usr/bin/gcc*
>>> lrwxrwxrwx 1 root root 7 2011-02-16 13:05 /usr/bin/gcc -> gcc-4.4
>>> -rw-r--r-- 1 root root 0 2011-02-16 12:40 /usr/bin/gcc-4.4
>>>
> :
>> Looks to me like it's linked to the proper file: /urs/bin/gcc-4-4. Or am
>> I misunderstanding?
>>
>
> I think you missed an important detail - size of his gcc-4.4 is 0.
>
I did indeed - thanks :-)
@Neil:
$ apt-cache policy gcc-4.4
gcc-4.4:
Installed: 4.4.4-14ubuntu5
Candidate: 4.4.4-14ubuntu5
Version table:
*** 4.4.4-14ubuntu5 0
500 http://us.archive.ubuntu.com/ubuntu/ maverick/main i386 Packages
100 /var/lib/dpkg/status
You said you reinstalled; did you try?
$ sudo apt-get install --reinstall gcc-4.4
You may have to also reinstall 'gcc-4.4-base' - but I think reinstalling
gcc-4-4 should pull in base.
Added note, Neil: please do not cc me on your replies - I read the list
thanks & really don't need to have an extra copy.
More information about the ubuntu-users
mailing list