Bug 39396 - cpp9 = 9.3.1-alt2 is needed by gcc9-9.3.1-alt2.x86_64
Summary: cpp9 = 9.3.1-alt2 is needed by gcc9-9.3.1-alt2.x86_64
Status: CLOSED NOTABUG
Alias: None
Product: Sisyphus
Classification: Development
Component: gcc9 (show other bugs)
Version: unstable
Hardware: x86 Linux
: P5 normal
Assignee: Gleb F-Malinovskiy
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-12-07 12:21 MSK by Gremlin from Kremlin
Modified: 2020-12-08 12:41 MSK (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gremlin from Kremlin 2020-12-07 12:21:39 MSK
В хешере:
<13>Dec  7 09:02:42 rpmi: gcc9-9.3.1-alt2 sisyphus+262764.600.4.1 1606851957 installed
<13>Dec  7 09:02:42 rpmi: gcc-9-alt2 sisyphus+251923.100.2.2 1589881406 installed
[...]
error: Failed dependencies:
	cpp9 = 9.3.1-alt2 is needed by gcc9-9.3.1-alt2.x86_64
hsh-initroot: RPM database update failed.

То же самое и на живой системе (алиасы для apt-get очевидны):
# agu
# agi gcc9
Reading Package Lists... Done
Building Dependency Tree... Done
The following extra packages will be installed:
  cpp9 libasan5 libatomic1 libgcc1 libitm1 liblsan0 libstdc++6 libtsan0
  libubsan1 libvtv0
The following packages will be upgraded
  cpp9 gcc9 libasan5 libatomic1 libgcc1 libitm1 liblsan0 libstdc++6 libtsan0
  libubsan1 libvtv0
11 upgraded, 0 newly installed, 0 removed and 1126 not upgraded.
Need to get 23.8MB of archives.
After unpacking 8144B disk space will be freed.
Do you want to continue? [Y/n] 
Get:1 http://ftp.altlinux.org Sisyphus/x86_64/classic gcc9 9.3.1-alt2 [13.0MB]
Get:2 http://ftp.altlinux.org Sisyphus/x86_64/classic cpp9 9.3.1-alt2 [9018kB]
Get:3 http://ftp.altlinux.org Sisyphus/x86_64/classic libubsan1 9.3.1-alt2 [157kB]
Get:4 http://ftp.altlinux.org Sisyphus/x86_64/classic libstdc++6 9.3.1-alt2 [582kB]
Get:5 http://ftp.altlinux.org Sisyphus/x86_64/classic libatomic1 9.3.1-alt2 [36.4kB]
Get:6 http://ftp.altlinux.org Sisyphus/x86_64/classic libitm1 9.3.1-alt2 [55.0kB]
Get:7 http://ftp.altlinux.org Sisyphus/x86_64/classic libtsan0 9.3.1-alt2 [323kB]
Get:8 http://ftp.altlinux.org Sisyphus/x86_64/classic liblsan0 9.3.1-alt2 [166kB]
Get:9 http://ftp.altlinux.org Sisyphus/x86_64/classic libvtv0 9.3.1-alt2 [41.0kB]
Get:10 http://ftp.altlinux.org Sisyphus/x86_64/classic libasan5 9.3.1-alt2 [418kB]
Get:11 http://ftp.altlinux.org Sisyphus/x86_64/classic libgcc1 9.3.1-alt2 [68.0kB]
Fetched 23.8MB in 0s (56.1MB/s)  
	cpp9 = 9.3.1-alt2 is needed by gcc9-9.3.1-alt2.x86_64
E: Transaction set check failed

И даже при явном указании пакета:
# agi gcc9 cpp9
Reading Package Lists... Done
Building Dependency Tree... Done
The following extra packages will be installed:
  libasan5 libatomic1 libgcc1 libitm1 liblsan0 libstdc++6 libtsan0 libubsan1
  libvtv0
The following packages will be upgraded
  cpp9 gcc9 libasan5 libatomic1 libgcc1 libitm1 liblsan0 libstdc++6 libtsan0
  libubsan1 libvtv0
11 upgraded, 0 newly installed, 0 removed and 1126 not upgraded.
Need to get 0B/23.8MB of archives.
After unpacking 8144B disk space will be freed.
Do you want to continue? [Y/n] 
	cpp9 = 9.3.1-alt2 is needed by gcc9-9.3.1-alt2.x86_64
E: Transaction set check failed
Comment 1 Dmitry V. Levin 2020-12-07 13:24:32 MSK
rpm -q apt rpm
Comment 2 Gremlin from Kremlin 2020-12-08 10:36:25 MSK
(Ответ для Dmitry V. Levin на комментарий #1)
> rpm -q apt rpm
apt-0.5.15lorg2-alt58.x86_64
rpm-4.13.0.1-alt1.x86_64

Обновил до
apt-0.5.15lorg2-alt71.3.x86_64
rpm-4.13.0.1-alt24.x86_64

вроде профукалось. Что поломали - неочевидно.
Comment 3 Dmitry V. Levin 2020-12-08 12:41:36 MSK
Могу предположить, что не хватало поддержки %disttag в rpm >= 4.13.0.1-alt9.