package gcc 4:4.4.3-1ubuntu1 failed to install/upgrade:
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
hardening-wrapper (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Hi,
First I tried to install postfix dependencies using.
apt-get build-dep postfix
But this command failed with an error. (But I could not write down the error).
After that gcc stopped working.
I looked at synpatic package manager. gcc was available in it.
Then I tried to upgrade gcc. But still it gave an error.
Removing and reinstalling also failed.
Finally i tried to upgrade ubuntu to varsion 10 from 9 using Update Manager.
Everything worked fine except for gcc. Update Manager also reported the problem automatically.
Ubuntu version (now) =10.04 LTS
apt-cache policy gcc =
gcc:
Installed: 4:4.4.3-1ubuntu1
Candidate: 4:4.4.3-1ubuntu1
Version table:
*** 4:4.4.3-1ubuntu1 0
500 http://
100 /var/lib/
Thanks.
ProblemType: Package
DistroRelease: Ubuntu 10.04
Package: gcc 4:4.4.3-1ubuntu1
ProcVersionSign
Uname: Linux 2.6.31-22-generic i686
Architecture: i386
Date: Fri Sep 3 05:59:50 2010
ErrorMessage:
ErrorMessage: subprocess installed post-installation script returned error exit status 2
SourcePackage: gcc-defaults
Title: package gcc 4:4.4.3-1ubuntu1 failed to install/upgrade:
tags: | added: dist-upgrade |
output of ls -l /usr/bin/gcc* is
lrwxrwxrwx 1 root root 21 2010-09-06 11:14 /usr/bin/gcc -> /usr/bin/gcc-4.4 gcc-4.4. real
-rwxr-xr-x 1 root root 220428 2010-03-27 03:46 /usr/bin/
It seems link is created to a wrong file.
I deleted /usr/bin/gcc and recreated gcc to link to gcc-4.4.real.
Not gcc command seems to work fine.