StuRa Diskussion:Install-Party/Fedora

Aus Wiki StuRa HTW Dresden
Zur Navigation springen Zur Suche springen

Probleme und Lösungen

Treiber fehlen (nach dem versehentlichen Löschen durch dnf mit --allowerasing)

dnf install mesa-dri-drivers

wayland oder xorg

echo $XDG_SESSION_TYPE
wayland

Verwaltung von Partionen

dnf search blivet-gui
dnf install -y blivet-gui

Fedora Silverblue

Suchen von Paketen

rpm-ostree bietet keine Suche für Pakete.

Erstellen von einem allgemeinen Container, falls noch keiner erstellt ist

toolbox -y create
Created container: fedora-toolbox-33
Enter with: toolbox enter

Aulisten aller (nun verfügbaren) Abbilder für Container

toolbox list -i
IMAGE ID      IMAGE NAME                                        CREATED
92d6fdd7ebda  registry.fedoraproject.org/f33/fedora-toolbox:33  12 days ago

Aulisten aller (nun verfügbaren) Container

toolbox list -c
CONTAINER ID  CONTAINER NAME     CREATED        STATUS      IMAGE NAME
1234567890ab  fedora-toolbox-33  5 minutes ago  configured  registry.fedoraproject.org/f33/fedora-toolbox:33

Suchen von einem Paket (beispielsweise dem Paket ddate) mit dem standardmäßigen Programm zur Verwaltung von Paketen dnf von außerhalb vom Container im Container

toolbox run dnf search ddate

ddate.x86_64 : Convert Gregorian dates to Discordian dates

Entfernen vom allgemeinen Container, falls er nicht mehr gebraucht wird

toolbox rm fedora-toolbox-33

Entfernen vom Abbild für einen allgemeinen Container, falls es nicht mehr gebraucht wird

toolbox rmi registry.fedoraproject.org/f33/fedora-toolbox:33

Experiment KDE (Wayland) Silverblue

toolbox run sudo dnf group info kde


Group: KDE
 Description: The KDE Plasma Workspaces, a highly-configurable graphical user interface which includes a panel, desktop, system icons and desktop widgets, and many powerful KDE applications.
 Mandatory Packages:
   NetworkManager-config-connectivity-fedora
   abrt-desktop
   adwaita-gtk2-theme
   akregator
   bluedevil
   breeze-icon-theme
   colord-kde
   cups-pk-helper
   dnfdragora
   dolphin
   earlyoom
   firewall-config
   glibc-all-langpacks
   gnome-keyring-pam
   gwenview
   initial-setup-gui
   kaddressbook
   kamera
   kcalc
   kcharselect
   kcm_systemd
   kcolorchooser
   kde-gtk-config
   kde-partitionmanager
   kde-print-manager
   kde-settings-pulseaudio
   kdegraphics-thumbnailers
   kdeplasma-addons
   kdialog
   kdnssd
   keditbookmarks
   kf5-akonadi-server
   kf5-akonadi-server-mysql
   kf5-baloo-file
   kf5-kipi-plugins
   kfind
   kget
   kgpg
   khelpcenter
   khotkeys
   kinfocenter
   kmag
   kmail
   kmenuedit
   kmousetool
   kmouth
   konsole5
   kontact
   korganizer
   kruler
   kscreen
   kscreenlocker
   ksshaskpass
   ksysguard
   kwalletmanager5
   kwebkitpart
   kwin
   kwrite
   pam-kwallet
   phonon-qt5-backend-gstreamer
   pinentry-qt
   plasma-breeze
   plasma-desktop
   plasma-desktop-doc
   plasma-discover
   plasma-drkonqi
   plasma-nm
   plasma-nm-l2tp
   plasma-nm-openconnect
   plasma-nm-openswan
   plasma-nm-openvpn
   plasma-nm-pptp
   plasma-nm-vpnc
   plasma-pa
   plasma-pk-updates
   plasma-user-manager
   plasma-workspace
   plasma-workspace-geolocation
   polkit-kde
   qt5-qtbase-gui
   qt5-qtdeclarative
   sddm
   sddm-breeze
   sddm-kcm
   spectacle
   xorg-x11-drv-libinput
 Conditional Packages:
   qt-at-spi

https://pagure.io/workstation-ostree-config/blob/master/f/kde-desktop-pkgs.yaml

btw
2020-11-16:
rpm-ostree install plasma-drkonqi

failed

rpm-ostree install initial-setup-gui

failed


systemctl disable gdm
systemctl enable sddm

Auswaehlen von Plasma (Wayland) bei der Anmeldung

echo $XDG_SESSION_TYPE
wayland

Logo Fedora Silverblue

wget -c https://silverblue.fedoraproject.org/public/silverblue-logo.svg
wget -c https://silverblue.fedoraproject.org/public/silverblue-black.svg
wget -c https://silverblue.fedoraproject.org/public/silverblue-white.svg

systemd management GUI

systemd control module von KDE

Installieren vom Paket kcm_systemd ()

sudo dnf -y install kcm_systemd

Starten der Anwendung kcm_systemd

kcmshell5 kcm_systemd

System von USB (live) erreichen

Mit dem Programm (GUI) Disks den Massenspeicher vom System entschluesseln.

sudo mount /dev/mapper/luks-d7064367-0e36-4dce-a0de-94401230d6f4 /mnt -t btrfs -o subvol=root
ls /mnt
sudo mount /dev/mapper/luks-d7064367-0e36-4dce-a0de-94401230d6f4 /mnt/home -t btrfs -o subvol=home
ls /mnt/home/
sudo mount /dev/nvme0n1p2 /mnt/boot
sudo mount /dev/nvme0n1p1 /mnt/boot/efi
sudo mount --bind /dev /mnt/dev
sudo mount -t proc /proc /mnt/proc
sudo mount -t sysfs /sys /mnt/sys
sudo mount -t tmpfs tmpfs /mnt/run
mkdir -p /mnt/run/systemd/resolve/
echo 'nameserver 9.9.9.9' > /mnt/run/systemd/resolve/stub-resolv.conf
sudo chroot /mnt

ping heise.de
sudo flatpak update
sudo dnf update
ls -l /lib64/libcrypto.so.3
rm /lib64/libcrypto.so.3
ln /lib64/libcrypto.so.3.0.5 /lib64/libcrypto.so.3
sudo dnf update
rm /lib64/libssl.so.3
ln -s /lib64/libssl.so.3.0.5 /lib64/libssl.so.3
sudo dnf update
rm /lib64/liblzma.so.5
ln -s /lib64/liblzma.so.5.2.5 /lib64/liblzma.so.5

    1* dnf update 
    2  ls /lib64/libcrypto.so.3
    3  ls -l /lib64/libcrypto.so.3
    4  sudo dnf update 
    5  ping 8.8.8.8
    6  ping heise.de
    7  systemctl status resolv
    8  ls /run/sys
    9  ls /run/
   10  exit
   11  ping heise.de
   12  dnf update
   13  flatpak update
   14  sudo flatpak update
   15  sudo dnf update
   16  ls -l /lib64/libcrypto.so.
   17  ls -l /lib64/libcrypto.so.3
   18  btrfs 
   19  btrfs filesystem 
   20  btrfs filesystem du
   21  btrfs filesystem du /
   22  btrfs filesystem df /
   23  sudo dnf install ddate
   24  cat /lib64/libcrypto.so.3
   25  cat /lib64/libcrypto.so.3.0.5 
   26  rm /lib64/libcrypto.so.3
   27  rm /lib64/libcrypto.so.3
   28  ln /lib64/libcrypto.so.3.0.5 /lib64/libcrypto.so.3
   29  dnf update
   30  ln -l /lib64/liblzma.so.5
   31  ls -l /lib64/liblzma.so.5
   32  sudo dnf update
   33  cat  /lib64/libssl.so.3
   34  ln -s /lib64/libssl.so.3
   35  ls -l /lib64/libssl.so.3
   36  ls -l /lib64/libssl.so.3.0.8 
   37  cat /lib64/libssl.so.3.0.8 
   38  cat /lib64/libssl.so.3.0.5 
   39  cd /home/
   40  ls
   41  ls Ich-5/
   42  ls Ich-5/Videos/
   43  ls Ich-5/Schreibtisch/
   44  sudo dnf update
   45  ln -s /lib64/libssl.so.3 /lib64/libssl.so.3.0.5 
   46  ln -s /lib64/libssl.so.3 /lib64/libssl.so.3.0.5 
   47  ln -s /lib64/libssl.so.3 /lib64/libssl.so.3.0.5 
   48  rm /lib64/libssl.so.3
   49  ln -s /lib64/libssl.so.3.0.5 /lib64/libssl.so.3 
   50  sudo dnf update
   51  rm /lib64/liblzma.so.5 
   52  ln -s /lib64/liblzma.so.5.2.5 /lib64/liblzma.so.5
   53  history 
   54  flatpak update 
   55  dnf update
   56  cat /etc/fstab 
   57  cat /etc/crypttab 
   58  dnf autoremove
   59  dnf update --refresh 
   60  ls /boot/efi/
   61  ls /boot/efi/System/
   62  ls /boot/efi/EFI/
   63  ls /boot/efi/EFI/BOOT/
   64  su Ich-5 
   65  adduser
   66  id
   67  ls /root/
   68  ls -al /root/
   69  useradd 
   70  useradd vater
   71  passwd vater
   72  passwd vater
   73  passwd vater
   74  passwd vater
   75  userdel vater 
   76  userdel vater 
   77  cat /etc/passwd
   78  useradd vater
   79  cat /etc/passwd
   80  userdel vater 
   81  rm -rf /home/vater
   82  useradd vater
   83  nano /etc/sudoers
   84  passwd -G wheel
   85  passwd -g wheel
   86  nano /etc/passwd
   87  nano /etc/group
   88  reboot
   89  passwd vater
   90  passwd -v vater
   91  su vater
   92  passwd vater
   93  cd /etc/grub.d/
   94  ls
   95  grep -Rin live ./
   96  grep -Rin live /etc/grub2-efi.cfg 
   97  grep -Rin live /etc/grub2.cfg 
   98  less /etc/grub2.cfg 
   99  less /etc/grub2-efi.cfg 
  100  grep -Rin live /boot/grub2/
  101  grep -Rin live /boot/grub*
  102  nano /boot/grub.cfg
  103  nano /boot/grub2/grub.cfg 
  104  dracut --regenerate-all 
  105  dracut --regenerate-all -f
  106  dracut --regenerate-all 
  107  cp /boot/grub2/grub.cfg /root/boot_grub2_grub.cfg_2023-03-01
  108  grub2-mkconfig -o /boot/grub2/grub.cfg
  109  cat /etc/fstab 
  110  dnf reinstall grub2-efi grub2-efi-modules shim
  111  dnf reinstall 
  112  nano /boot/grub2/grub.cfg 
  113  ls /etc/grub.d/41_custom 
  114  nano /etc/grub.d/41_custom 
  115  nano /etc/grub.d/10_linux 
  116  nano /etc/grub.d/40_custom 
  117  nano /etc/grub.d/30_os-prober 
  118  ls -l /lib64/libcrypto.so.3
  119  ls -al /lib64/libcrypto.so.3
  120  cat /lib64/libcrypto.so.3.0.8
  121  cat /lib64/libcrypto.so.3
  122* libcrypto.so.3
  123  dnf search ssl
  124  dnf provides libcrypto
  125  dnf provides libcrypto.so
  126  dnf provides libcrypto*
  127  dnf install openssl
  128* dnf reinstall openssl
  129  dnf provides libcrypto.so*
  130  dnf provides libcrypto.so.3*
  131  dnf reinstall openssl-libs
  132  dnf provides liblzma.so.*
  133  dnf reinstall xz-libs
  134  dnf reinstall --allowerasing xz-libs
  135  dnf --allowerasing install xz-libs
  136  dnf update xz-libs
  137  dnf reinstall xz-libs
  138  dnf reinstall xz-libs-5.2
  139  dnf reinstall xz-libs-5
  140  dnf reinstall xz-libs
  141  dnf reinstall xz-libs-5.2.5-9.fc36.x86_64
  142  dnf reinstall xz-libs-5.4.1-1.fc36.x86_64
  143  dnf provides libssl.so.3*
  144  dnf provides libQt
  145  dnf provides libQt*
  146  dnf update
  147  dnf provides libQt5EglFSDeviceIntegration.so.5*
  148  dnf reinstall qt5-qtbase-gui
  149  dnf provides libQt5Qml.so.5*
  150  dnf reinstall qt5-qtdeclarative
  151  dnf provides libQt5Concurrent.so.5*
  152  dnf reinstall qt5-qtbase
  153  dnf provides libQt5WaylandClient.so.5*
  154  dnf reinstall qt5-qtwayland
  155  dnf provides libKF5CoreAddons.so.5*
  156  dnf reinstall kf5-kcoreaddons
  157  dnf provides libKF5ConfigCore.so.5*
  158  dnf reinstall kf5-kconfig-core
  159  dnf provides libKF5I18n.so.5*
  160  dnf reinstall kf5-ki18n
  161  dnf provides libKF5WidgetsAddons.so.5*
  162  dnf reinstall kf5-kwidgetsaddons
  163  dnf provides libQt5X11Extras.so.5*
  164  dnf reinstall qt5-qtx11extras
  165  dnf provides libKF5WindowSystem.so.5.*
  166  dnf provides libKF5WindowSystem.so.5*
  167  dnf reinstall kf5-kwindowsystem
  168  dnf provides libKF5ConfigGui.so.5*
  169  dnf reinstall kf5-kconfig-gui
  170  dnf provides ibKF5DBusAddons.so.5*
  171  dnf provides libKF5DBusAddons.so.5*
  172  dnf reinstall libKF5DBusAddons
  173  dnf reinstall kf5-kdbusaddons
  174  dnf provides libKF5Service.so.5*
  175  dnf reinstall kf5-kservice
  176  dnf provides libKF5GuiAddons.so.5*
  177  dnf reinstall kf5-kguiaddons
  178  dnf provides libKF5Archive.so.5*
  179  dnf reinstall kf5-karchive
  180  dnf provides libKF5Completion.so.5*
  181  dnf reinstall kf5-kcompletion
  182  dnf provides libKF5JobWidgets.so.5*
  183  dnf reinstall kf5-kjobwidgets
  184  dnf provides libKF5Crash.so.5*
  185  dnf reinstall kf5-kcrash
  186  dnf provides libKF5Auth.so.5*
  187  dnf reinstall kf5-kauth-
  188  dnf reinstall kf5-kauth
  189  dnf provides libKF5Codecs.so.5*
  190  dnf reinstall kf5-kcodecs
  191  dnf provides libKF5ItemViews.so.5*
  192  dnf reinstall kf5-kitemviews
  193  dnf provides libKF5Solid.so.5
  194  dnf reinstall kf5-solid
  195  dnf provides libKF5SonnetCore.so.5
  196  dnf reinstall kf5-sonnet-core
  197  dnf provides libQt5Location.so.5*
  198  dnf reinstall qt5-qtlocation
  199  dnf provides libQt5TextToSpeech.so.5*
  200  dnf reinstall qt5-qtspeech
  201  dnf provides libKF5Notifications.so.5*
  202  dnf reinstall kf5-knotifications
  203  dnf provides dnf provides libQt5WebChannel.so.5*
  204  dnf provides libQt5WebChannel.so.5*
  205  dnf reinstall qt5-qtwebchannel
  206  history