Reinstalling all base fedora packages from live USB or distro repair

today

Modified today

Viewed 4 times

0

I am an idiot.

I was browsing the internet as was told to install media codecs. I followed this guide and ran the below

sudo dnf install gstreamer1-plugins-{bad-\*,good-\*,base} gstreamer1-plugin-openh264 gstreamer1-libav --exclude=gstreamer1-plugins-bad-free-devel

It installed around 500MB worth packages which didn’t help my issue so I ran the same command again with a remove not an install.

This removed ~ 2GB worth of packages INCLUDING my desktop environment (Cinnamon)

I have the fedora 36 live ISO I used to install the system.

How can I reinstall all packages from the live ISO onto my broken install?

Or any other fixes

FYI I tried to run

sudo dnf history undo 25

where 25 was my transaction id but it failed and couldn’t reinstall anything.

I have also rebooted into the recovery environment and tried to run

sudo dnf -y group install “Cinnamon Desktop”

which appeared to work until i said yes install at which point it couldn’t find the mirror.

I tried to run nmcli but it doesn’t work despite NetworkManager still supposedly being installed.

I don’t want to reinstall and wipe my existing fedora install as it is a dual boot windows system and I have licensed software on both OSes it would be a drama to fix.

I have fixed my system thanks to this guide

It worked perfectly and I am so happy.

3 Likes