package gcc 4:7.3.0-3ubuntu2.1 failed to install/upgrade: installed gcc package post-installation script subprocess returned error exit status 2
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gcc-defaults (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
i dont understand..i am new to ubuntu.
my c++ programm is not compiled..
ProblemType: Package
DistroRelease: Ubuntu 18.04
Package: gcc 4:7.3.0-3ubuntu2.1
ProcVersionSign
Uname: Linux 4.15.0-34-generic x86_64
ApportVersion: 2.20.9-0ubuntu7.2
Architecture: amd64
Date: Sat Oct 6 14:04:57 2018
DuplicateSignature:
package:
Setting up gcc (4:7.3.
update-
dpkg: error processing package gcc (--configure):
installed gcc package post-installation script subprocess returned error exit status 2
ErrorMessage: installed gcc package post-installation script subprocess returned error exit status 2
InstallationDate: Installed on 2018-07-04 (93 days ago)
InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Release amd64 (20180426)
Python3Details: /usr/bin/python3.6, Python 3.6.5, python3-minimal, 3.6.5-3ubuntu1
PythonDetails: /usr/bin/python2.7, Python 2.7.15rc1, python-minimal, 2.7.15~rc1-1
RelatedPackageV
dpkg 1.19.0.5ubuntu2
apt 1.6.3ubuntu0.1
SourcePackage: gcc-defaults
Title: package gcc 4:7.3.0-3ubuntu2.1 failed to install/upgrade: installed gcc package post-installation script subprocess returned error exit status 2
UpgradeStatus: No upgrade log present (probably fresh install)
tags: | removed: need-duplicate-check |
you messed around with the gcc symlink. don't do this, and revert what you did.
Setting up gcc (4:7.3. 0-3ubuntu2. 1) ... alternatives: error: alternative path /usr/bin/gcc doesn't exist
update-
dpkg: error processing package gcc (--configure):
installed gcc package post-installation script subprocess returned error exit status 2