Hello everyone, i have a problem with file system.

I was installing updates and then restarted my PC,but after that i saw Emergancy mode and i had to run fsck -y /dev/sda4 to run the system.

sometimes i work and the system freezes and crash and again i have to run fsck -y /dev/sda4 to run the system.

I dont know what to do with this 🙁

Now i have a probem when use termenal command 'screenfetch':

Program terminated.
Unable to read file (/var/lib/eopkg/package/curl-7.66.0-53/metadata.xml): [Errno 2] No such file or directory: '/var/lib/eopkg/package/curl-7.66.0-53/metadata.xml'

Ooohhh, that doesn't sound good. File system errors can have a variety of causes. Most of the time the hard disk is too old or the computer has been hard reset several times.

You have checked your hardware for loose contacts and other errors?

Now we have to work on at least two fronts at the same time:
sudo eopkg up
sudo usysconf run -f

Do you have a dual boat with Grub installed?
If so, then please:
less /etc/default/grub so that we can insert an autocorrection of your file system at the right place.
Additionally you can also
inxi -F und sudo parted -l show. We need information to help you.

greets

    picnerd

    Do you have a dual boat with Grub installed?

    Yes, i have.

    less /etc/default/grub

     WARNING: terminal is not fully functional
    # If you change this file, run 'update-grub' afterwards to update
    # /boot/grub/grub.cfg.
    
    GRUB_DEFAULT=0
    GRUB_TIMEOUT=5
    GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Solus`
    GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
    GRUB_CMDLINE_LINUX=""
    GRUB_BACKGROUND=""
    GRUB_COLOR_NORMAL="black/white"
    GRUB_COLOR_HIGHLIGHT="light-blue/white"
    
    # Uncomment to enable BadRAM filtering, modify to suit your needs
    # This works with Linux (no patch required) and with any kernel that obtains
    # the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
    #GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"
    
    # Uncomment to disable graphical terminal (grub-pc only)
    #GRUB_TERMINAL=console
    
    # The resolution used on graphical terminal
    # note that you can use only modes which your graphic card supports via VBE
    # you can see them in real GRUB with the command `vbeinfo'
    #GRUB_GFXMODE=640x480
    
    # Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
    #GRUB_DISABLE_LINUX_UUID=true
    
    # Uncomment to disable generation of recovery mode menu entries
    #GRUB_DISABLE_LINUX_RECOVERY="true"
    :
    # Uncomment to get a beep at grub start
    #GRUB_INIT_TUNE="480 440 1"

    inxi -F

    System:
      Host: wiedymi Kernel: 5.2.9-125.current x86_64 bits: 64 Desktop: Budgie 10.5 
      Distro: Solus 4.0 
    Machine:
      Type: Desktop System: Gigabyte product: A320M-S2H V2 v: N/A 
      serial: <root required> 
      Mobo: Gigabyte model: A320M-S2H V2-CF v: x.x serial: <root required> 
      UEFI [Legacy]: American Megatrends v: F1 date: 10/16/2018 
    CPU:
      Topology: Quad Core model: AMD Ryzen 3 1200 bits: 64 type: MCP 
      L2 cache: 2048 KiB 
      Speed: 1375 MHz min/max: 1550/3100 MHz Core speeds (MHz): 1: 1375 2: 1391 
      3: 1350 4: 2608 
    Graphics:
      Device-1: NVIDIA GF116 [GeForce GTX 550 Ti] driver: nvidia v: 390.129 
      Display: x11 server: X.Org 1.20.5 driver: nvidia resolution: 1920x1080~60Hz 
      OpenGL: renderer: GeForce GTX 550 Ti/PCIe/SSE2 v: 4.6.0 NVIDIA 390.129 
    Audio:
      Device-1: NVIDIA GF116 High Definition Audio driver: snd_hda_intel 
      Device-2: AMD Family 17h HD Audio driver: snd_hda_intel 
      Sound Server: ALSA v: k5.2.9-125.current 
    Network:
      Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet driver: r8169 
      IF: enp8s0 state: up speed: 100 Mbps duplex: full mac: b4:2e:99:02:5e:ad 
    Drives:
      Local Storage: total: 931.51 GiB used: 83.24 GiB (8.9%) 
      ID-1: /dev/sda vendor: Seagate model: ST1000DM010-2EP102 size: 931.51 GiB 
    Partition:
      ID-1: / size: 95.62 GiB used: 83.24 GiB (87.1%) fs: ext4 dev: /dev/sda4 
    Sensors:
      System Temperatures: cpu: 41.2 C mobo: N/A gpu: nvidia temp: 52 C 
      Fan Speeds (RPM): N/A gpu: nvidia fan: 30% 
    Info:
      Processes: 261 Uptime: 1h 40m Memory: 7.80 GiB used: 3.49 GiB (44.8%) 
      Shell: bash inxi: 3.0.34 

    sudo parted -l

    Model: ATA ST1000DM010-2EP1 (scsi)
    Disk /dev/sda: 1000GB
    Sector size (logical/physical): 512B/4096B
    Partition Table: msdos
    Disk Flags: 
    
    Number  Start  End    Size   Type     File system  Flags
     1      524MB  628MB  104MB  primary  ntfs         boot
     2      633MB  105GB  104GB  primary  ntfs
     3      105GB  891GB  786GB  primary  ntfs
     4      891GB  996GB  105GB  primary  ext4

    picnerd

    sudo eopkg up

    Updating repositories
    Updating repository: Solus
    eopkg-index.xml.xz.sha1sum     (40.0  B)100%      1.23 MB/s [00:00:00] [complete]
    Solus repository information is up-to-date.
    System error. Program terminated.
    [Errno 2] No such file or directory: '/var/lib/eopkg/package/tzdata-2019c-13/metadata.xml'
    Please use 'eopkg help' for general help.
    Use --debug to see a traceback.

    picnerd

    sudo usysconf run -f

    [✓] Syncing filesystems                                                success
     [✓] Updating dynamic library cache                                     success
     [✓] Updating clr-boot-manager                                          success
     [✓] Registering QoL migration on next boot                             success
     [✓] Running depmod on kernel 5.2.9-125.current                         success
     [✓] Updating hwdb                                                      success
     [✓] Updating graphical driver configuration                            success
     [✓] Updating system users                                              success
     [✓] Updating systemd tmpfiles                                          success
     [✓] Reloading systemd configuration                                    success
     [✓] Re-executing systemd                                               success
     [✓] Compiling AppArmor profiles                                        success
     [✓] Reloading AppArmor profiles                                        success
     [✓] Compiling glib-schemas                                             success
     [✓] Rebuilding font cache                                              success
     [✓] Updating mimetype database                                         success
     [✓] Updating icon theme cache: hicolor                                 success
     [✓] Updating icon theme cache: gnome                                   success
     [✓] Updating icon theme cache: solus-sc                                success
     [✓] Updating icon theme cache: mate                                    success
     [✓] Updating icon theme cache: Papirus-Light                           success
     [✓] Updating icon theme cache: Adwaita                                 success
     [✓] Updating icon theme cache: Papirus                                 success
     [✓] Updating icon theme cache: HighContrast                            success
     [✓] Updating icon theme cache: mate-black                              success
     [✓] Updating icon theme cache: Papirus-Adapta-Nokto                    success
     [✓] Updating icon theme cache: Papirus-Adapta                          success
     [✓] Updating icon theme cache: menta                                   success
     [✓] Updating icon theme cache: ContrastHigh                            success
     [✓] Updating icon theme cache: breeze-dark                             success
     [✓] Updating icon theme cache: Papirus-Dark                            success
     [✓] Updating icon theme cache: breeze                                  success
     [✓] Updating icon theme cache: breeze_cursors                          success
     [✓] Updating icon theme cache: default                                 success
     [✓] Updating desktop database                                          success
     [✓] Rebuilding dconf database                                          success
     [✓] Updating GTK2 input module cache                                   success
     [✓] Updating GTK3 input module cache                                   success
     [✓] Updating manpages database                                         success
     [✓] Updating SSL certificates                                          success
    unlink(/var/log/usysconf.rewind.log): Cannot remove old log file: Read-only file system
    unlink(/var/log/usysconf.rewind.log): Cannot remove old log file: Read-only file system
    unlink(/var/log/usysconf.rewind.log): Cannot remove old log file: Read-only file system
     [✓] Reloading udev rules                                               success
     [✓] Applying udev rules                                                success
    unlink(/var/log/usysconf.rewind.log): Cannot remove old log file: Read-only file system
    fopen(): /var/lib/usysconf/status Read-only file system
    Failed to write state file!

    Okay, first of all, we'll try to fix your file system error.
    sudo nano /etc/default/grub
    and insert the option fsck.repair=preen into the line GRUB_CMDLINE_LINUX_DEFAULT="quiet splash". It should look like this afterwards:
    GRUB_CMDLINE_LINUX_DEFAULT="quiet splash fsck.repair=preen"
    This will cause a check to take place at each start and will attempt to correct it.
    To save Ctrl+o, confirm with Enter and close nano with Ctrl+x.

    For package management try this:
    sudo rm -rf /var/lib/eopkg/*
    sudo eopkg ar Solus https://mirrors.rit.edu/solus/packages/shannon/eopkg-index.xml.xz
    sudo eopkg rdb
    sudo eopkg ur
    sudo eopkg up

    If everything went through without errors, please restart the system. If errors occur post here.

    You're sure that your screen freezes aren't caused by the graphics card? I'm not an expert on that either. Maybe start another thread again.

    greets

    EDIT: Why usysconf only displays read-only rights is difficult for me right now.
    Please show:
    cd /var/lib/usysconf/
    ls -pla

      picnerd

      I did everything

      cd /var/lib/usysconf/
      ls -pla

      total 36
      drwxr-xr-x  2 root root  4096 Mar 17  2019 ./
      drwxr-xr-x 26 root root  4096 Aug 25 16:24 ../
      -rw-r--r--  1 root root 26509 Sep 12 21:56 status

      picnerd

      sudo eopkg up

      Installing 22 / 107
      sqlite3-3.29.0-33-1-x86_64.eopkg [cached]
      Installing sqlite3, version 3.29.0, release 33
      Extracting the files of sqlite3
      Installed sqlite3
      Installing 23 / 107
      util-linux-2.33.2-25-1-x86_64.eopkg [cached]
      Installing util-linux, version 2.33.2, release 25
      python3 dependency of package util-linux is not satisfied
       [✓] Syncing filesystems                                                success
       [✓] Updating dynamic library cache                                     success
       [✓] Updating clr-boot-manager                                          success
       [✓] Running depmod on kernel 5.2.9-125.current                         success
       [✓] Updating systemd tmpfiles                                          success
       [✓] Compiling glib-schemas                                             success
       [✓] Updating icon theme cache: hicolor                                 success
       [✓] Updating icon theme cache: gnome                                   success
       [✓] Updating icon theme cache: solus-sc                                success
       [✓] Updating icon theme cache: mate                                    success
       [✓] Updating icon theme cache: Papirus-Light                           success
       [✓] Updating icon theme cache: Adwaita                                 success
       [✓] Updating icon theme cache: Papirus                                 success
       [✓] Updating icon theme cache: HighContrast                            success
       [✓] Updating icon theme cache: mate-black                              success
       [✓] Updating icon theme cache: Papirus-Adapta-Nokto                    success
       [✓] Updating icon theme cache: Papirus-Adapta                          success
       [✓] Updating icon theme cache: menta                                   success
       [✓] Updating icon theme cache: ContrastHigh                            success
       [✓] Updating icon theme cache: breeze-dark                             success
       [✓] Updating icon theme cache: Papirus-Dark                            success
       [✓] Updating icon theme cache: breeze                                  success
       [✓] Updating icon theme cache: breeze_cursors                          success
       [✓] Updating icon theme cache: default                                 success
       [✓] Updating desktop database                                          success
       [✓] Updating manpages database                                         success
       [✓] Updating SSL certificates                                          success
      Program terminated.
      util-linux package cannot be installed unless the dependencies are satisfied
      Please use 'eopkg help' for general help.

        Do the following sudo eopkg rdb && sudo usysconf run -f && sudo eopkg up

          Girtablulu I don't know if the pendencies can be satisfied by that.

          wiedymi
          Slowly we get ahead and your system spits out information.
          Please still execute if the command of Girtablulu does not lead to the hoped for goal.
          sudo eopkg it util-linux python3 --ignore-dependency
          sudo eopkg up
          sudo usysconf run -f

          Dann sollte aber auch alles endlich wieder laufen.

          greets

            I'm glad to hear that. But you should still do a little.
            Remove superfluous dependencies with it:
            sudo eopkg rmo

            Leave the additional command in Grub and possibly inform you further.
            The command is a kernel startup parameter that can also be passed for single installations. See here:
            https://www.freedesktop.org/software/systemd/man/systemd-fsck@.service.html and here: https://getsol.us/articles/troubleshooting/boot-management/en/

            If your screen continues to freeze, you will need to open a new thread and report problems with your nvidia video card.

            Greetings