[Solved] Had a power outage while updating my fedora system, and now dnf has file conflicts. Is it recoverable?

The system booted normally after the energy was cut, but if I try to run a dnf update again, I get this error:


<span style="color:#323232;">Last metadata expiration check: 0:51:09 ago on Fri 26 Jan 2024 05:02:36 PM -03.
</span><span style="color:#323232;">Dependencies resolved.
</span><span style="color:#323232;">
</span><span style="color:#323232;"> Problem: The operation would result in removing the following protected packages: systemd, systemd-udev
</span><span style="color:#323232;">================================================================================
</span><span style="color:#323232;"> Package                         Arch     Version               Repo       Size
</span><span style="color:#323232;">================================================================================
</span><span style="color:#323232;">Upgrading:
</span><span style="color:#323232;"> ImageMagick                     x86_64   1:7.1.1.26-2.fc39     updates    81 k
</span><span style="color:#323232;"> ImageMagick-c++                 x86_64   1:7.1.1.26-2.fc39     updates   201 k
</span><span style="color:#323232;"> at-spi2-atk                     i686     2.50.1-1.fc39         updates    92 k
</span><span style="color:#323232;"> at-spi2-core                    i686     2.50.1-1.fc39         updates   378 k
</span><span style="color:#323232;"> atk                             i686     2.50.1-1.fc39         updates    82 k
</span><span style="color:#323232;"> bluez-libs                      i686     5.72-1.fc39           updates    88 k
</span><span style="color:#323232;"> chkconfig                       x86_64   1.26-1.fc39           updates   176 k
</span><span style="color:#323232;"> crun                            x86_64   1.13-1.fc39           updates   218 k
</span><span style="color:#323232;"> darktable                       x86_64   4.6.0-1.fc39          updates   7.2 M
</span><span style="color:#323232;"> device-mapper-persistent-data   x86_64   1.0.9-1.fc39          updates   1.0 M
</span><span style="color:#323232;"> eog                             x86_64   45.2-1.fc39           updates   1.6 M
</span><span style="color:#323232;"> epiphany-runtime                x86_64   1:45.2-1.fc39         updates   853 k
</span><span style="color:#323232;"> fluidsynth-libs                 x86_64   2.3.4-2.fc39          updates   235 k
</span><span style="color:#323232;"> folks                           x86_64   1:0.15.7-1.fc39       updates   588 k
</span><span style="color:#323232;"> gnome-maps                      x86_64   45.3-1.fc39           updates   1.0 M
</span><span style="color:#323232;"> gtk3                            i686     3.24.41-1.fc39        updates   5.8 M
</span><span style="color:#323232;"> gtk3-devel                      x86_64   3.24.41-1.fc39        updates   4.3 M
</span><span style="color:#323232;"> gvfs-afc                        x86_64   1.52.2-1.fc39         updates    57 k
</span><span style="color:#323232;"> gvfs-afp                        x86_64   1.52.2-1.fc39         updates    67 k
</span><span style="color:#323232;"> gvfs-archive                    x86_64   1.52.2-1.fc39         updates    23 k
</span><span style="color:#323232;"> gvfs-fuse                       x86_64   1.52.2-1.fc39         updates    29 k
</span><span style="color:#323232;"> gvfs-goa                        x86_64   1.52.2-1.fc39         updates    67 k
</span><span style="color:#323232;"> gvfs-gphoto2                    x86_64   1.52.2-1.fc39         updates    61 k
</span><span style="color:#323232;"> gvfs-mtp                        x86_64   1.52.2-1.fc39         updates    61 k
</span><span style="color:#323232;"> iwlegacy-firmware               noarch   20240115-2.fc39       updates   146 k
</span><span style="color:#323232;"> iwlwifi-dvm-firmware            noarch   20240115-2.fc39       updates   1.8 M
</span><span style="color:#323232;"> iwlwifi-mvm-firmware            noarch   20240115-2.fc39       updates    50 M
</span><span style="color:#323232;"> kde-settings                    noarch   39.1-1.fc39           updates    40 k
</span><span style="color:#323232;"> krb5-libs                       i686     1.21.2-3.fc39         updates   809 k
</span><span style="color:#323232;"> libblockdev-lvm-dbus            x86_64   3.1.0-1.fc39          updates    48 k
</span><span style="color:#323232;"> libblockdev-plugins-all         x86_64   3.1.0-1.fc39          updates    10 k
</span><span style="color:#323232;"> libdecor                        i686     0.2.2-1.fc39          updates    60 k
</span><span style="color:#323232;"> libdrm                          i686     2.4.120-1.fc39        updates   172 k
</span><span style="color:#323232;"> libertas-firmware               noarch   20240115-2.fc39       updates   1.3 M
</span><span style="color:#323232;"> libmwaw                         x86_64   0.3.22-1.fc39         updates   2.6 M
</span><span style="color:#323232;"> libpeas                         x86_64   2.0.1-1.fc39          updates   117 k
</span><span style="color:#323232;"> librbd1                         x86_64   2:18.2.1-4.fc39       updates   3.5 M
</span><span style="color:#323232;"> libva                           i686     2.20.0-2.fc39         updates   113 k
</span><span style="color:#323232;"> libwpg                          x86_64   0.3.4-1.fc39          updates    74 k
</span><span style="color:#323232;"> libwps                          x86_64   0.4.14-1.fc39         updates   879 k
</span><span style="color:#323232;"> libxmlb                         x86_64   0.3.15-1.fc39         updates   115 k
</span><span style="color:#323232;"> lutris                          x86_64   0.5.16-2.fc39         updates   1.9 M
</span><span style="color:#323232;"> papirus-icon-theme              noarch   20231201-2.fc39       updates    39 M
</span><span style="color:#323232;"> perl-common-sense               x86_64   3.7.5-15.fc39         updates    29 k
</span><span style="color:#323232;"> publicsuffix-list-dafsa         noarch   20240107-1.fc39       updates    58 k
</span><span style="color:#323232;"> python3-audit                   x86_64   3.1.2-6.fc39          updates    87 k
</span><span style="color:#323232;"> python3-beautifulsoup4          noarch   4.12.3-1.fc39         updates   320 k
</span><span style="color:#323232;"> python3-blockdev                x86_64   3.1.0-1.fc39          updates    37 k
</span><span style="color:#323232;"> python3-fonttools               x86_64   4.43.1-1.fc39         updates   2.9 M
</span><span style="color:#323232;"> python3-jinja2                  noarch   3.1.3-1.fc39          updates   507 k
</span><span style="color:#323232;"> python3-pyatspi                 noarch   2.46.1-1.fc39         updates   112 k
</span><span style="color:#323232;"> python3-pyrate-limiter          noarch   3.2.0-1.fc39          updates    65 k
</span><span style="color:#323232;"> qadwaitadecorations-qt6         x86_64   0.1.3-5.fc39          updates    65 k
</span><span style="color:#323232;"> qt5-srpm-macros                 noarch   5.15.12-1.fc39        updates   8.4 k
</span><span style="color:#323232;"> readline                        i686     8.2-6.fc39            updates   218 k
</span><span style="color:#323232;"> sos                             noarch   4.6.1-1.fc39          updates   1.2 M
</span><span style="color:#323232;"> syncthing                       x86_64   1.27.2-1.fc39         updates   8.8 M
</span><span style="color:#323232;"> systemd-boot-unsigned           x86_64   254.8-2.fc39          updates    98 k
</span><span style="color:#323232;"> systemd-libs                    i686     254.8-2.fc39          updates   727 k
</span><span style="color:#323232;"> vim-filesystem                  noarch   2:9.1.031-1.fc39      updates    17 k
</span><span style="color:#323232;"> wine                            x86_64   9.0-1.fc39            updates    10 k
</span><span style="color:#323232;"> wine-alsa                       i686     9.0-1.fc39            updates    86 k
</span><span style="color:#323232;"> wine-core                       i686     9.0-1.fc39            updates    88 M
</span><span style="color:#323232;"> wine-opencl                     i686     9.0-1.fc39            updates    72 k
</span><span style="color:#323232;"> wine-pulseaudio                 i686     9.0-1.fc39            updates    62 k
</span><span style="color:#323232;"> wine-twain                      i686     9.0-1.fc39            updates   136 k
</span><span style="color:#323232;"> zenity                          x86_64   4.0.1-1.fc39          updates   3.2 M
</span><span style="color:#323232;">
</span><span style="color:#323232;">Transaction Summary
</span><span style="color:#323232;">================================================================================
</span><span style="color:#323232;">Upgrade  67 Packages
</span><span style="color:#323232;">
</span><span style="color:#323232;">Total size: 233 M
</span><span style="color:#323232;">Is this ok [y/N]: y
</span><span style="color:#323232;">Downloading Packages:
</span><span style="color:#323232;">[SKIPPED] ImageMagick-7.1.1.26-2.fc39.x86_64.rpm: Already downloaded           
</span><span style="color:#323232;">[SKIPPED] ImageMagick-c++-7.1.1.26-2.fc39.x86_64.rpm: Already downloaded       
</span><span style="color:#323232;">[SKIPPED] at-spi2-atk-2.50.1-1.fc39.i686.rpm: Already downloaded               
</span><span style="color:#323232;">[SKIPPED] at-spi2-core-2.50.1-1.fc39.i686.rpm: Already downloaded              
</span><span style="color:#323232;">[SKIPPED] atk-2.50.1-1.fc39.i686.rpm: Already downloaded                       
</span><span style="color:#323232;">[SKIPPED] bluez-libs-5.72-1.fc39.i686.rpm: Already downloaded                  
</span><span style="color:#323232;">[SKIPPED] chkconfig-1.26-1.fc39.x86_64.rpm: Already downloaded                 
</span><span style="color:#323232;">[SKIPPED] crun-1.13-1.fc39.x86_64.rpm: Already downloaded                      
</span><span style="color:#323232;">[SKIPPED] darktable-4.6.0-1.fc39.x86_64.rpm: Already downloaded                
</span><span style="color:#323232;">[SKIPPED] device-mapper-persistent-data-1.0.9-1.fc39.x86_64.rpm: Already downloaded
</span><span style="color:#323232;">[SKIPPED] eog-45.2-1.fc39.x86_64.rpm: Already downloaded                       
</span><span style="color:#323232;">[SKIPPED] epiphany-runtime-45.2-1.fc39.x86_64.rpm: Already downloaded          
</span><span style="color:#323232;">[SKIPPED] fluidsynth-libs-2.3.4-2.fc39.x86_64.rpm: Already downloaded          
</span><span style="color:#323232;">[SKIPPED] folks-0.15.7-1.fc39.x86_64.rpm: Already downloaded                   
</span><span style="color:#323232;">[SKIPPED] gnome-maps-45.3-1.fc39.x86_64.rpm: Already downloaded                
</span><span style="color:#323232;">[SKIPPED] gtk3-3.24.41-1.fc39.i686.rpm: Already downloaded                     
</span><span style="color:#323232;">[SKIPPED] gtk3-devel-3.24.41-1.fc39.x86_64.rpm: Already downloaded             
</span><span style="color:#323232;">[SKIPPED] gvfs-afc-1.52.2-1.fc39.x86_64.rpm: Already downloaded                
</span><span style="color:#323232;">[SKIPPED] gvfs-afp-1.52.2-1.fc39.x86_64.rpm: Already downloaded                
</span><span style="color:#323232;">[SKIPPED] gvfs-archive-1.52.2-1.fc39.x86_64.rpm: Already downloaded            
</span><span style="color:#323232;">[SKIPPED] gvfs-fuse-1.52.2-1.fc39.x86_64.rpm: Already downloaded               
</span><span style="color:#323232;">[SKIPPED] gvfs-goa-1.52.2-1.fc39.x86_64.rpm: Already downloaded                
</span><span style="color:#323232;">[SKIPPED] gvfs-gphoto2-1.52.2-1.fc39.x86_64.rpm: Already downloaded            
</span><span style="color:#323232;">[SKIPPED] gvfs-mtp-1.52.2-1.fc39.x86_64.rpm: Already downloaded                
</span><span style="color:#323232;">[SKIPPED] iwlegacy-firmware-20240115-2.fc39.noarch.rpm: Already downloaded     
</span><span style="color:#323232;">[SKIPPED] iwlwifi-dvm-firmware-20240115-2.fc39.noarch.rpm: Already downloaded  
</span><span style="color:#323232;">[SKIPPED] iwlwifi-mvm-firmware-20240115-2.fc39.noarch.rpm: Already downloaded  
</span><span style="color:#323232;">[SKIPPED] kde-settings-39.1-1.fc39.noarch.rpm: Already downloaded              
</span><span style="color:#323232;">[SKIPPED] krb5-libs-1.21.2-3.fc39.i686.rpm: Already downloaded                 
</span><span style="color:#323232;">[SKIPPED] libblockdev-lvm-dbus-3.1.0-1.fc39.x86_64.rpm: Already downloaded     
</span><span style="color:#323232;">[SKIPPED] libblockdev-plugins-all-3.1.0-1.fc39.x86_64.rpm: Already downloaded  
</span><span style="color:#323232;">[SKIPPED] libdecor-0.2.2-1.fc39.i686.rpm: Already downloaded                   
</span><span style="color:#323232;">[SKIPPED] libdrm-2.4.120-1.fc39.i686.rpm: Already downloaded                   
</span><span style="color:#323232;">[SKIPPED] libertas-firmware-20240115-2.fc39.noarch.rpm: Already downloaded     
</span><span style="color:#323232;">[SKIPPED] libmwaw-0.3.22-1.fc39.x86_64.rpm: Already downloaded                 
</span><span style="color:#323232;">[SKIPPED] libpeas-2.0.1-1.fc39.x86_64.rpm: Already downloaded                  
</span><span style="color:#323232;">[SKIPPED] librbd1-18.2.1-4.fc39.x86_64.rpm: Already downloaded                 
</span><span style="color:#323232;">[SKIPPED] libva-2.20.0-2.fc39.i686.rpm: Already downloaded                     
</span><span style="color:#323232;">[SKIPPED] libwpg-0.3.4-1.fc39.x86_64.rpm: Already downloaded                   
</span><span style="color:#323232;">[SKIPPED] libwps-0.4.14-1.fc39.x86_64.rpm: Already downloaded                  
</span><span style="color:#323232;">[SKIPPED] libxmlb-0.3.15-1.fc39.x86_64.rpm: Already downloaded                 
</span><span style="color:#323232;">[SKIPPED] lutris-0.5.16-2.fc39.x86_64.rpm: Already downloaded                  
</span><span style="color:#323232;">[SKIPPED] papirus-icon-theme-20231201-2.fc39.noarch.rpm: Already downloaded    
</span><span style="color:#323232;">[SKIPPED] perl-common-sense-3.7.5-15.fc39.x86_64.rpm: Already downloaded       
</span><span style="color:#323232;">[SKIPPED] publicsuffix-list-dafsa-20240107-1.fc39.noarch.rpm: Already downloaded
</span><span style="color:#323232;">[SKIPPED] python3-audit-3.1.2-6.fc39.x86_64.rpm: Already downloaded            
</span><span style="color:#323232;">[SKIPPED] python3-beautifulsoup4-4.12.3-1.fc39.noarch.rpm: Already downloaded  
</span><span style="color:#323232;">[SKIPPED] python3-blockdev-3.1.0-1.fc39.x86_64.rpm: Already downloaded         
</span><span style="color:#323232;">[SKIPPED] python3-fonttools-4.43.1-1.fc39.x86_64.rpm: Already downloaded       
</span><span style="color:#323232;">[SKIPPED] python3-jinja2-3.1.3-1.fc39.noarch.rpm: Already downloaded           
</span><span style="color:#323232;">[SKIPPED] python3-pyatspi-2.46.1-1.fc39.noarch.rpm: Already downloaded         
</span><span style="color:#323232;">[SKIPPED] python3-pyrate-limiter-3.2.0-1.fc39.noarch.rpm: Already downloaded   
</span><span style="color:#323232;">[SKIPPED] qadwaitadecorations-qt6-0.1.3-5.fc39.x86_64.rpm: Already downloaded  
</span><span style="color:#323232;">[SKIPPED] qt5-srpm-macros-5.15.12-1.fc39.noarch.rpm: Already downloaded        
</span><span style="color:#323232;">[SKIPPED] readline-8.2-6.fc39.i686.rpm: Already downloaded                     
</span><span style="color:#323232;">[SKIPPED] sos-4.6.1-1.fc39.noarch.rpm: Already downloaded                      
</span><span style="color:#323232;">[SKIPPED] syncthing-1.27.2-1.fc39.x86_64.rpm: Already downloaded               
</span><span style="color:#323232;">[SKIPPED] systemd-boot-unsigned-254.8-2.fc39.x86_64.rpm: Already downloaded    
</span><span style="color:#323232;">[SKIPPED] systemd-libs-254.8-2.fc39.i686.rpm: Already downloaded               
</span><span style="color:#323232;">[SKIPPED] vim-filesystem-9.1.031-1.fc39.noarch.rpm: Already downloaded         
</span><span style="color:#323232;">[SKIPPED] wine-9.0-1.fc39.x86_64.rpm: Already downloaded                       
</span><span style="color:#323232;">[SKIPPED] wine-alsa-9.0-1.fc39.i686.rpm: Already downloaded                    
</span><span style="color:#323232;">[SKIPPED] wine-core-9.0-1.fc39.i686.rpm: Already downloaded                    
</span><span style="color:#323232;">[SKIPPED] wine-opencl-9.0-1.fc39.i686.rpm: Already downloaded                  
</span><span style="color:#323232;">[SKIPPED] wine-pulseaudio-9.0-1.fc39.i686.rpm: Already downloaded              
</span><span style="color:#323232;">[SKIPPED] wine-twain-9.0-1.fc39.i686.rpm: Already downloaded                   
</span><span style="color:#323232;">[SKIPPED] zenity-4.0.1-1.fc39.x86_64.rpm: Already downloaded                   
</span><span style="color:#323232;">Running transaction check
</span><span style="color:#323232;">Transaction check succeeded.
</span><span style="color:#323232;">Running transaction test
</span><span style="color:#323232;">The downloaded packages were saved in cache until the next successful transaction.
</span><span style="color:#323232;">You can remove cached packages by executing 'dnf clean packages'.
</span><span style="color:#323232;">Error: Transaction test error:
</span><span style="color:#323232;">  file /usr/share/doc/at-spi2-core/NEWS from install of at-spi2-core-2.50.1-1.fc39.i686 conflicts with file from package at-spi2-core-2.50.0-1.fc39.x86_64
</span><span style="color:#323232;">  file /usr/share/doc/gtk3/NEWS from install of gtk3-3.24.41-1.fc39.i686 conflicts with file from package gtk3-3.24.39-1.fc39.x86_64
</span><span style="color:#323232;">  file /usr/share/gtk-3.0/emoji/de.gresource from install of gtk3-3.24.41-1.fc39.i686 conflicts with file from package gtk3-3.24.39-1.fc39.x86_64
</span><span style="color:#323232;">  file /usr/share/gtk-3.0/emoji/es.gresource from install of gtk3-3.24.41-1.fc39.i686 conflicts with file from package gtk3-3.24.39-1.fc39.x86_64
</span><span style="color:#323232;">  file /usr/share/gtk-3.0/emoji/fr.gresource from install of gtk3-3.24.41-1.fc39.i686 conflicts with file from package gtk3-3.24.39-1.fc39.x86_64
</span><span style="color:#323232;">  file /usr/share/gtk-3.0/emoji/zh.gresource from install of gtk3-3.24.41-1.fc39.i686 conflicts with file from package gtk3-3.24.39-1.fc39.x86_64
</span><span style="color:#323232;">  file /usr/share/locale/he/LC_MESSAGES/gtk30.mo from install of gtk3-3.24.41-1.fc39.i686 conflicts with file from package gtk3-3.24.39-1.fc39.x86_64
</span><span style="color:#323232;">  file /usr/share/man/man1/broadwayd.1.gz from install of gtk3-3.24.41-1.fc39.i686 conflicts with file from package gtk3-3.24.39-1.fc39.x86_64
</span><span style="color:#323232;">  file /usr/share/man/man1/gtk-launch.1.gz from install of gtk3-3.24.41-1.fc39.i686 conflicts with file from package gtk3-3.24.39-1.fc39.x86_64
</span><span style="color:#323232;">  file /usr/share/man/man1/gtk-query-immodules-3.0.1.gz from install of gtk3-3.24.41-1.fc39.i686 conflicts with file from package gtk3-3.24.39-1.fc39.x86_64
</span><span style="color:#323232;">  file /usr/share/doc/wine-core/AUTHORS from install of wine-core-9.0-1.fc39.i686 conflicts with file from package wine-core-8.19-1.fc39.x86_64
</span><span style="color:#323232;">  file /usr/share/doc/wine-core/LICENSE from install of wine-core-9.0-1.fc39.i686 conflicts with file from package wine-core-8.19-1.fc39.x86_64
</span><span style="color:#323232;">  file /usr/share/doc/wine-core/VERSION from install of wine-core-9.0-1.fc39.i686 conflicts with file from package wine-core-8.19-1.fc39.x86_64
</span><span style="color:#323232;">  file /usr/share/man/man5/k5identity.5.gz from install of krb5-libs-1.21.2-3.fc39.i686 conflicts with file from package krb5-libs-1.21.2-2.fc39.x86_64
</span><span style="color:#323232;">  file /usr/share/man/man5/k5login.5.gz from install of krb5-libs-1.21.2-3.fc39.i686 conflicts with file from package krb5-libs-1.21.2-2.fc39.x86_64
</span><span style="color:#323232;">  file /usr/share/man/man5/krb5.conf.5.gz from install of krb5-libs-1.21.2-3.fc39.i686 conflicts with file from package krb5-libs-1.21.2-2.fc39.x86_64
</span><span style="color:#323232;">
</span><span style="color:#323232;">
</span>

The error mentions using “dnf clean packages”, but it only downloads the packages again, and the same error happens. I tried searching for a solution, and found people recommending running "dnf upgrade --allowerasing --best " and “dnf distro-sync”, but both these commands result in an error saying that the operation would lead to systemd and systemd-udev being removed.

Did someone experience similar issues? How did you solve it?

EDIT: I ran “dnf reinstall” on the conflicting packages, and it seemed to work for most of them, except for at-spi2-core. However, I noticed that the conflict was between the i686 and the x86_64 package, so I removed wine along with all i686 packages and tried again. It worked, and I managed to complete the upgrade, but I would still get the following error when running “dnf update”:


<span style="color:#323232;">Last metadata expiration check: 1:20:21 ago on Fri 26 Jan 2024 05:02:36 PM -03.
</span><span style="color:#323232;">Dependencies resolved.
</span><span style="color:#323232;">
</span><span style="color:#323232;"> Problem: The operation would result in removing the following protected packages: systemd, systemd-udev
</span><span style="color:#323232;">Nothing to do.
</span><span style="color:#323232;">Complete!
</span>

So I did a dnf reinstall systemd systemd-udev and it finally solved the issue.

Thanks for the interest in helping. I will leave the post here in case someone else has a similar problem and google for it.

bushvin,
@bushvin@lemmy.world avatar

dnf upgradeAnd package-cleanup --cleandupesShould have fixed it.

mvirts,

Yes

hellvolution,

I don’t know about fedora, but when you do that on Debian, using apt, apt-get or aptitude, is super easy to fix it…gotta learn your distro’s tools

PS: just a tip, if you have no no-breaks, never use xfs/reiser as a filesystem

SnotFlickerman,

This is honestly why anyone and everyone should invest in at least a small UPS that can keep your PC powered for at least five minutes so in this kind of scenario you can cancel the update, shut down safely, and resume when the power is back.

Infiltrated_ad8271,
Infiltrated_ad8271 avatar

Ideally yes, but using btrfs with something like timeshift is enough.

rizoid,

This is why my main personal machine will always be a laptop.

SnotFlickerman,

I have far too many networking appliances for that, myself.

LostXOR,

Any recommendations for a fairly cheap one? It would definitely come in handy.

SnotFlickerman,

Well for one, are we in the same country? US here. I’m not as savvy on pricings in the EU or anywhere else for that matter.

For two, it’s helpful to assume what you need is based on your PCs max wattage input imho. That way, if it can run your machine drawing max power (wattage) for 5 minutes, it can run it for longer when its drawing less power than that.

LostXOR,

I'm in the US too. I'm not sure what my PC's max wattage is, but it has an 850W power supply IIRC so no more than that.

PoliticalCustard,
@PoliticalCustard@lemmygrad.ml avatar

It was the least fun thing I bought for my pc but at least I can relax during bios updates. I got mine because there was some work being done on the house and I was always fearful that an electrician would turn off the power. I would never have a pc without one now.

user224,
@user224@lemmy.sdf.org avatar

It was the least fun thing I bought…

Knowing myself, I’d end up playing with it more than with the PC for the next 3 months trying it with the most random stuff. In the end I would probably have a spreadsheet with average and minimum power times with the most random stuff that doesn’t exceed its power limit. I am pretty sure it would also end up in my back pack for absolutely no reason at some point.

But of course, all of that only after watching every YouTube video about UPSs for 2 months prior to the purchase.

PoliticalCustard,
@PoliticalCustard@lemmygrad.ml avatar

I like your thinking, I guess with Linux everything is a potential project (or two)!

iopq,

Or use a system that has rollbacks so you can use the last known good configuration

russjr08,

Btrfs snapshots + Timeshift that is configured to run pre-update is great for this, though I cannot remember if Fedora’s layout is compatible with Timeshift’s expected configuration.

OP, If you really want to go 100% with this, something like NixOS (which is definitely an extreme investment) or an Atomic distro like Fedora Silverblue works very well for this.

Lichtblitz,

As you mentioned, with Fedora the best alternatives are immutable spins. Updating means downloading a new base image, applying overlays and additional installations to it and on the next reboot you start from that image. You can configure it to keep as many previous versions as you need and boot into those directly on startup. Since you never change your current image once it’s built, you can’t break a known good system. You can only ever break your next version and in that case, just boot the previous.

I’ve created an Ansible playbook that configures a vanilla Kinoite the way I want it. No need to back up the system if I can recreate it with less than a megabyte of text files. Secrets are in my password vault, personal files are in my personal cloud and get synced to and from the laptop continuously. I would never go back to backing up system files as opposed to recreating it with a playbook. That seems so wasteful in hindsight.

RiderExMachina,

Are you sure its removing those packages and not updating them?

nossaquesapao,

yes, the last 2 mentioned commands throw the error below and won’t continue the operation:


<span style="color:#323232;">Error: 
</span><span style="color:#323232;"> Problem: The operation would result in removing the following protected packages: systemd, systemd-udev
</span><span style="color:#323232;">
</span>
prettybunnys,

First things first, run the command you want to run and provide us the error output.

nossaquesapao,

I was running dnf update when the system was shut down, and I rebooted when the power was back. The system apparently booted normally, and I tried to complete the upgrade process, to avoid issued. Now, the “dnf update” command shows the error message I posted.

In the original post, the error was in portuguese. Now I changed system language to english and posted the entire output of dnf update in the original post, to make it more readable for the community.

prettybunnys, (edited )

I’m not seeing your error output but I do see your paraphrasing of the error output.

Idk if it’s my app not showing it or what.

It was the Memmy app everyone, shame

nossaquesapao,

That’s strange, but anyway, I managed to solve the problem and edited the post with the solution. Thank you for the support.

PseudoSpock,
@PseudoSpock@lemmy.dbzer0.com avatar

I suggest a filesystem that supports taking snapshots in the future. It’s a lifesaver for moments like these.

nossaquesapao,

I’m using btrfs, but I still need to read more about how it works. I will try to use this experience as a motivator, thank you.

SnotFlickerman, (edited )

Error: Problem: cannot install both at-spi2-core-2.50.1-1.fc39.x86_64 from updates and at-spi2-core-2.50.0-1.fc39.x86_64 from fedora

  • conflicting requests (try to add ‘–allowerasing’ to command line to replace conflicting packages or ‘–skip-broken’ to skip uninstallable packages)

Not OP, but this looks like the error message.

prettybunnys,

Are you using markdown or something?

My app is only showing “Not OP, but this looks like the error message” and nothing else.

we’re out here troubleshooting all kinds of shit

SnotFlickerman,

I am, I will remove the codeblock markdown.

Edit: removed, let me know if you can see it now.

prettybunnys,

Yes, and that is the nail in the coffin of the Memmy app for me.

Thanks!

BigFatNips,

Shows up fine on voyager (Android)

prettybunnys,

Memmy App on iOS and it doesn’t seem to show code blocks. Lame

  • All
  • Subscribed
  • Moderated
  • Favorites
  • linux@lemmy.ml
  • ngwrru68w68
  • rosin
  • GTA5RPClips
  • osvaldo12
  • love
  • Youngstown
  • slotface
  • khanakhh
  • everett
  • kavyap
  • mdbf
  • DreamBathrooms
  • thenastyranch
  • magazineikmin
  • megavids
  • InstantRegret
  • normalnudes
  • tacticalgear
  • cubers
  • ethstaker
  • modclub
  • cisconetworking
  • Durango
  • anitta
  • Leos
  • tester
  • provamag3
  • JUstTest
  • All magazines