package gcc 4:9.2.1-3.1ubuntu1 failed to install/upgrade: installed gcc package post-installation script subprocess returned error exit status 2

Bug #1872050 reported by IGOR
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
gcc-defaults (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

1 error.

ProblemType: Package
DistroRelease: Ubuntu 19.10
Package: gcc 4:9.2.1-3.1ubuntu1
ProcVersionSignature: Ubuntu 5.3.0-46.38-generic 5.3.18
Uname: Linux 5.3.0-46-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.20.11-0ubuntu8.8
AptOrdering:
 gcc:amd64: Install
 libstdc++-9-dev:amd64: Install
 g++-9:amd64: Install
 g++:amd64: Install
 NULL: ConfigurePending
Architecture: amd64
Date: Fri Apr 10 06:29:50 2020
ErrorMessage: installed gcc package post-installation script subprocess returned error exit status 2
InstallationDate: Installed on 2020-03-25 (15 days ago)
InstallationMedia: Ubuntu 19.10 "Eoan Ermine" - Release amd64 (20191017)
Python3Details: /usr/bin/python3.7, Python 3.7.5, python3-minimal, 3.7.5-1
PythonDetails: /usr/bin/python2.7, Python 2.7.17, python-minimal, 2.7.17-1
RelatedPackageVersions:
 dpkg 1.19.7ubuntu2
 apt 1.9.4
SourcePackage: gcc-defaults
Title: package gcc 4:9.2.1-3.1ubuntu1 failed to install/upgrade: installed gcc package post-installation script subprocess returned error exit status 2
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
IGOR (gor1980) wrote :
Revision history for this message
Seth Arnold (seth-arnold) wrote : Bug is not a security issue

Thanks for taking the time to report this bug and helping to make Ubuntu better. We appreciate the difficulties you are facing, but this appears to be a "regular" (non-security) bug. I have unmarked it as a security issue since this bug does not show evidence of allowing attackers to cross privilege boundaries nor directly cause loss of data/privacy. Please feel free to report any other bugs you may find.

information type: Private Security → Public
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in gcc-defaults (Ubuntu):
status: New → Confirmed
Revision history for this message
Matthias Klose (doko) wrote :

(Чтение базы данных … на данный момент установлено 191889 � �айлов и каталогов.)
Подготовка к распаковке …/gcc_4%3a9.2.1-3.1ubuntu1_amd64.deb …
Распаковывается gcc (4:9.2.1-3.1ubuntu1) …
Выбор ранее не выбранного пакета libstdc++-9-dev:amd64.
Подготовка к распаковке …/libstdc++-9-dev_9.2.1-9ubuntu2_amd64.deb …
Распаковывается libstdc++-9-dev:amd64 (9.2.1-9ubuntu2) …
Выбор ранее не выбранного пакета g++-9.
Подготовка к распаковке …/g++-9_9.2.1-9ubuntu2_amd64.deb …
Распаковывается g++-9 (9.2.1-9ubuntu2) …
Выбор ранее не выбранного пакета g++.
Подготовка к распаковке …/g++_4%3a9.2.1-3.1ubuntu1_amd64.deb …
Распаковывается g++ (4:9.2.1-3.1ubuntu1) …
Настраивается пакет libstdc++-9-dev:amd64 (9.2.1-9ubuntu2) …
Настраивается пакет gcc (4:9.2.1-3.1ubuntu1) …
update-alternatives: ошибка: не удалось выполнить stat для файла «/usr/bin/gcc-9»: Слишком много уровней символьных ссылок
dpkg: ошибка при обработке пакета gcc (--configure):
 installed gcc package post-installation script subprocess returned error exit status 2

Is this still the case?

Changed in gcc-defaults (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Dimitri John Ledkov (xnox) wrote :

Настраивается пакет gcc (4:9.2.1-3.1ubuntu1) …
update-alternatives: ошибка: не удалось выполнить stat для файла «/usr/bin/gcc-9»: Слишком много уровней символьных ссылок
dpkg: ошибка при обработке пакета gcc (--configure):

Setting up package gcc (4:9.2.1-3.1ubuntu)
update-alternatives: error: could not perform stat on file </usr/bin/gcc-9>: Too many levels of symbolic links
dpkg: error while processing package gcc (--configure):

I think /usr/bin/gcc-9 is a recursive symlink to anywhere?

Revision history for this message
Dimitri John Ledkov (xnox) wrote :

I think /usr/bin/gcc-9 is a recursive symlink to **nowhere**

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for gcc-defaults (Ubuntu) because there has been no activity for 60 days.]

Changed in gcc-defaults (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.