Bug 2308526

Summary: Error installing libstdc++-14.2.1-1 i686 and x68 arch
Product: [Fedora] Fedora Reporter: airlangga
Component: gccAssignee: Jakub Jelinek <jakub>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 40CC: dmalcolm, fweimer, jakub, jlaw, josmyers, jwakely, mcermak, mpolacek, msebor, nickc, nixuser, sipoyare, travier
Target Milestone: ---Keywords: Regression, Upgrades
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-08-30 16:22:02 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2308663    
Bug Blocks:    

Description airlangga 2024-08-29 18:10:08 UTC
Currently this happen on Fedora 40 Silverblue.

Installing or updating any package that pulls libstdc++ i686 currently broke with error message below:

error: Checkout libstdc++-14.2.1-1.fc40.i686: Hardlinking ac/859321dfe787f24d016e20e585da522713d84edbf0f6fb4e021543ece37264.file to __init__.cpython-312.opt-1.pyc: File exists

This error can easily triggered simply using command:
$ rpm-ostree install libstdc++.i686

Workaround possible by downloading package manually and install using:
$ rpm-ostree install --force-replacefiles libstdc++-14.2.1-1.fc40.i686.rpm

References issues tracker on silverblue: https://github.com/fedora-silverblue/issue-tracker/issues/590

Reproducible: Always

Steps to Reproduce:
Currently this happen on Fedora 40 Silverblue.

This error can easily triggered simply using command:
$ rpm-ostree install libstdc++.i686
Actual Results:  
error: Checkout libstdc++-14.2.1-1.fc40.i686: Hardlinking ac/859321dfe787f24d016e20e585da522713d84edbf0f6fb4e021543ece37264.file to __init__.cpython-312.opt-1.pyc: File exists

Expected Results:  
Package installed successfully.

Workaround possible by downloading package manually and install using:
$ rpm-ostree install --force-replacefiles libstdc++-14.2.1-1.fc40.i686.rpm

References issues tracker on silverblue: https://github.com/fedora-silverblue/issue-tracker/issues/590

Comment 1 Jonathan Wakely 2024-08-30 10:46:57 UTC
See Bug 2308663 (which this could probably be closed as a dup of).

Comment 2 Timothée Ravier 2024-08-30 11:01:18 UTC
Looks like the same issue indeed.

Comment 3 Timothée Ravier 2024-08-30 16:22:02 UTC

*** This bug has been marked as a duplicate of bug 2308663 ***