( BTW this is on a system recently upgraded from mga6 to cauldron ) # urpmi gcc-c++ installerar gcc-c++-7.3.0-1.mga7.x86_64.rpm från /var/cache/urpmi/rpms Förbereder... ################################################################################################## 1/1: gcc-c++ ################################################################################################## administrationskatalogen /var/lib/alternatives är ogiltig administrationskatalogen /var/lib/alternatives är ogiltig varning: %post(gcc-c++-7.3.0-1.mga7.x86_64)-skript misslyckades, slutstatus 2 ERROR: 'script' failed for gcc-c++-7.3.0-1.mga7.x86_64 And maybe that failed script is the reason qt-creator do not find g++ when i try to open a project that needs it? (QElectroTech)
Assignee: bugsquad => basesystemCC: (none) => marja11
not a gcc bug. you have a broken install somewhere if /var/lib/alternatives is missing... is chkconfig installed ?
Source RPM: gcc-7.3.0-1.mga7.src.rpm => (none)CC: (none) => tmb
Yes chkconfig is installed # ls -al /var/lib/alt* lrwxrwxrwx 1 root root 16 okt 15 02:31 /var/lib/alternatives -> rpm/alternatives
Oh! : the pointed /var/lib/run/alternatives is missing ! I now created it, and gcc-c++ installs OK and qt-creator finds it But of course rest of content in alternatives is missing... whatever should be there... Strange that that folder was gone - I can not now tell if it existed before upgrade from mga6 (i could but it is much work as i only have a full disk image of it)
Summary: gcc-7.3.0-1 install script fails => /var/lib/run/alternatives was missing ... why?