This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # Fedora 43 -> 44 upgrade rescue script | |
| set -e | |
| echo "=== Step 1: Find duplicate fc43 packages with fc44 counterparts ===" | |
| > /tmp/to-erase.txt | |
| rpm -qa --qf '%{NAME}|%{VERSION}-%{RELEASE}|%{ARCH}\n' | while IFS='|' read name verrel arch; do | |
| case "$verrel" in | |
| *.fc43) ;; | |
| *) continue ;; |