Page 1 of 2 12 LastLast
Results 1 to 10 of 19

Thread: The following packages have unmet dependencies: linux-modules-5.15.0-50-generic

  1. #1
    Join Date
    Apr 2023
    Beans
    6

    The following packages have unmet dependencies: linux-modules-5.15.0-50-generic

    I have updated my Ubuntu 22.04 LTS and I got some errors while updating and I coudn't able to install new softwares or run some of my old softwares.

    Upgrade:
    Code:
    
    
    Code:
    akhil@KHUSHI:~/.config$ sudo apt-get upgrade
    Reading package lists... Done
    Building dependency tree... Done
    Reading state information... Done
    You might want to run 'apt --fix-broken install' to correct these.
    The following packages have unmet dependencies:
    E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).


    Update:
    Code:
    
    
    Code:
    akhil@KHUSHI:~/.config$ sudo apt-get update
    Hit:1 https://deb.nodesource.com/node_16.x jammy InRelease
    Hit:2 http://packages.microsoft.com/repos/code stable InRelease                
    Hit:3 http://security.ubuntu.com/ubuntu jammy-security InRelease               
    Hit:4 https://packages.microsoft.com/repos/edge stable InRelease               
    Hit:5 https://dl.winehq.org/wine-builds/ubuntu jammy InRelease                 
    Hit:6 https://dl.google.com/linux/chrome/deb stable InRelease                  
    Hit:7 http://in.archive.ubuntu.com/ubuntu jammy InRelease     
    Hit:8 http://in.archive.ubuntu.com/ubuntu jammy-updates InRelease
    Hit:9 http://in.archive.ubuntu.com/ubuntu jammy-backports InRelease
    Reading package lists... Done
    W: https://dl.winehq.org/wine-builds/ubuntu/dists/jammy/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.


    Full Upgrade:
    Code:
    
    
    Code:
    akhil@KHUSHI:~/.config$ sudo apt full-upgrade
    Reading package lists... Done
    Building dependency tree... Done
    Reading state information... Done
    You might want to run 'apt --fix-broken install' to correct these.
    The following packages have unmet dependencies:
    E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).


    Fix Broken Packages:
    Code:
    
    
    Code:
    akhil@KHUSHI:~/.config$ sudo apt -f install
    Reading package lists... Done
    Building dependency tree... Done
    Reading state information... Done
    Correcting dependencies... Done
    The following additional packages will be installed:
      linux-image-unsigned-5.15.0-50-generic
    Suggested packages:
      fdutils linux-doc | linux-source-5.15.0 linux-tools
      linux-headers-5.15.0-50-generic linux-modules-extra-5.15.0-50-generic
    The following packages will be REMOVED:
      linux-image-5.15.0-50-generic
    The following NEW packages will be installed:
      linux-image-unsigned-5.15.0-50-generic
    0 upgraded, 1 newly installed, 1 to remove and 8 not upgraded.
    6 not fully installed or removed.
    Need to get 0 B/11.6 MB of archives.
    After this operation, 379 kB of additional disk space will be used.
    Do you want to continue? [Y/n] y
    dpkg: linux-image-5.15.0-50-generic: dependency problems, but removing anyway as
     you requested:
     linux-modules-5.15.0-50-generic depends on linux-image-5.15.0-50-generic | linu
    x-image-unsigned-5.15.0-50-generic; however:
      Package linux-image-5.15.0-50-generic is to be removed.
      Package linux-image-unsigned-5.15.0-50-generic is not installed.
    
    (Reading database ... 331119 files and directories currently installed.)
    Removing linux-image-5.15.0-50-generic (5.15.0-50.56) ...
    /etc/kernel/postrm.d/initramfs-tools:
    update-initramfs: Deleting /boot/initrd.img-5.15.0-50-generic
    /etc/kernel/postrm.d/zz-update-grub:
    /usr/sbin/grub-probe: error: failed to get canonical path of `rpool/ROOT/ubuntu_
    zs8jjk'.
    run-parts: /etc/kernel/postrm.d/zz-update-grub exited with return code 1
    dpkg: error processing package linux-image-5.15.0-50-generic (--remove):
     installed linux-image-5.15.0-50-generic package post-removal script subprocess 
    returned error exit status 1
    dpkg: too many errors, stopping
    Errors were encountered while processing:
     linux-image-5.15.0-50-generic
    Processing was halted because there were too many errors.
    E: Sub-process /usr/bin/dpkg returned an error code (1)



    Update GRUB:
    Code:
    akhil@KHUSHI:~$ sudo update-grub
    /usr/sbin/grub-probe: error: failed to get canonical path of `rpool/ROOT/ubuntu_zs8jjk'.
    Code:
    akhil@KHUSHI:~$ sudo apt-get install --reinstall grub-efi-amd64
    Reading package lists... Done
    Building dependency tree... Done
    Reading state information... Done
    You might want to run 'apt --fix-broken install' to correct these.
    The following packages have unmet dependencies:
     linux-modules-5.15.0-50-generic : Depends: linux-image-5.15.0-50-generic but it is not going to be installed or
                                                linux-image-unsigned-5.15.0-50-generic but it is not going to be installed
    E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

    Force remove linux-modules-5.15.0-50-generic:
    Code:
    
    
    Code:
    akhil@KHUSHI:~$ sudo dpkg --purge --force-remove-reinstreq linux-image-5.15.0-50-generic
    (Reading database ... 329778 files and directories currently installed.)
    Removing linux-image-5.15.0-50-generic (5.15.0-50.56) ...
    /etc/kernel/postrm.d/initramfs-tools:
    update-initramfs: Deleting /boot/initrd.img-5.15.0-50-generic
    /etc/kernel/postrm.d/zz-update-grub:
    /usr/sbin/grub-probe: error: failed to get canonical path of `rpool/ROOT/ubuntu_zs8jjk'.
    run-parts: /etc/kernel/postrm.d/zz-update-grub exited with return code 1
    dpkg: error processing package linux-image-5.15.0-50-generic (--purge):
     installed linux-image-5.15.0-50-generic package post-removal script subprocess returned error exit status 1
    Errors were encountered while processing:
     linux-image-5.15.0-50-generic


    Code:
    
    
    Code:
    akhil@KHUSHI:~$ sudo apt-get remove --purge linux-image-5.15.0-50-generic
    Reading package lists... Done
    Building dependency tree... Done
    Reading state information... Done
    The following packages will be REMOVED:
      linux-image-5.15.0-50-generic
    0 upgraded, 0 newly installed, 1 to remove and 22 not upgraded.
    2 not fully installed or removed.
    After this operation, 11.6 MB disk space will be freed.
    Do you want to continue? [Y/n] y
    (Reading database ... 329778 files and directories currently installed.)
    Removing linux-image-5.15.0-50-generic (5.15.0-50.56) ...
    /etc/kernel/postrm.d/initramfs-tools:
    update-initramfs: Deleting /boot/initrd.img-5.15.0-50-generic
    /etc/kernel/postrm.d/zz-update-grub:
    /usr/sbin/grub-probe: error: failed to get canonical path of `rpool/ROOT/ubuntu_zs8jjk'.
    run-parts: /etc/kernel/postrm.d/zz-update-grub exited with return code 1
    dpkg: error processing package linux-image-5.15.0-50-generic (--remove):
     installed linux-image-5.15.0-50-generic package post-removal script subprocess returned error exit status 1
    dpkg: too many errors, stopping
    Errors were encountered while processing:
     linux-image-5.15.0-50-generic
    Processing was halted because there were too many errors.
    E: Sub-process /usr/bin/dpkg returned an error code (1)


    I couldn't able to install new applications or run some of the existing apps or get software updates because of this issue.

    I trying for the solution from lot of days in the internet and I couldn't able to find the solution.

  2. #2
    Join Date
    Jul 2010
    Location
    ozarks, Arkansas, USA
    Beans
    14,351
    Distro
    Xubuntu 24.04 Noble Numbat

    Re: The following packages have unmet dependencies: linux-modules-5.15.0-50-generic

    akhilakkapelli; Hello

    As kernel version 5.15.0-50 is old; maybe we can best approach this with dpkg to purge it ?
    Though I do show that the -50 kernel is still supported in the repository.

    Currently 22.04 is running:
    sysop@x2204mini:~$ uname -r
    5.15.0-69-generic
    so to that end please show us:
    Code:
    uname -r
    dpkg -l | grep linux-
    as a place to start.
    //
    As to "error: failed to get canonical path of `rpool/ROOT/ubuntu_
    zs8jjk'." ... I have no idea of what is not taking place here. That will take some digging.

    longest journey starts with the 1st step
    THE current(cy) in Documentation:
    https://help.ubuntu.com/community/PopularPages

    Happy ubuntu'n !

  3. #3
    Join Date
    Apr 2023
    Beans
    6

    Re: The following packages have unmet dependencies: linux-modules-5.15.0-50-generic

    Uname:
    Code:
    akhil@KHUSHI:~$ uname -r
    5.15.0-52-generic
    Code:
    akhil@KHUSHI:~$ uname -r
    dpkg -l | grep linux-
    5.15.0-52-generic
    ii  binutils-x86-64-linux-gnu                  2.38-4ubuntu2.1                         amd64        GNU binary utilities, for x86-64-linux-gnu target
    ii  linux-base                                 4.5ubuntu9                              all          Linux image base package
    ii  linux-firmware                             20220329.git681281e4-0ubuntu3.12        all          Firmware for Linux kernel drivers
    ii  linux-generic-hwe-22.04                    5.19.0.40.41~22.04.13                   amd64        Complete Generic Linux kernel and headers
    ii  linux-headers-5.15.0-52                    5.15.0-52.58                            all          Header files related to Linux kernel version 5.15.0
    ii  linux-headers-5.15.0-52-generic            5.15.0-52.58                            amd64        Linux kernel headers for version 5.15.0 on 64 bit x86 SMP
    ii  linux-headers-5.19.0-40-generic            5.19.0-40.41~22.04.1                    amd64        Linux kernel headers for version 5.19.0 on 64 bit x86 SMP
    ii  linux-headers-generic-hwe-22.04            5.19.0.40.41~22.04.13                   amd64        Generic Linux kernel headers
    ii  linux-hwe-5.19-headers-5.19.0-40           5.19.0-40.41~22.04.1                    all          Header files related to Linux kernel version 5.19.0
    rc  linux-image-5.15.0-25-generic              5.15.0-25.25                            amd64        Signed kernel image generic
    rc  linux-image-5.15.0-37-generic              5.15.0-37.39                            amd64        Signed kernel image generic
    rc  linux-image-5.15.0-39-generic              5.15.0-39.42                            amd64        Signed kernel image generic
    rc  linux-image-5.15.0-41-generic              5.15.0-41.44                            amd64        Signed kernel image generic
    rc  linux-image-5.15.0-43-generic              5.15.0-43.46                            amd64        Signed kernel image generic
    rc  linux-image-5.15.0-46-generic              5.15.0-46.49                            amd64        Signed kernel image generic
    rc  linux-image-5.15.0-47-generic              5.15.0-47.51                            amd64        Signed kernel image generic
    rc  linux-image-5.15.0-48-generic              5.15.0-48.54                            amd64        Signed kernel image generic
    rH  linux-image-5.15.0-50-generic              5.15.0-50.56                            amd64        Signed kernel image generic
    ii  linux-image-5.15.0-52-generic              5.15.0-52.58                            amd64        Signed kernel image generic
    pF  linux-image-5.19.0-40-generic              5.19.0-40.41~22.04.1                    amd64        Signed kernel image generic
    ii  linux-image-generic-hwe-22.04              5.19.0.40.41~22.04.13                   amd64        Generic Linux kernel image
    ii  linux-libc-dev:amd64                       5.15.0-70.77                            amd64        Linux Kernel Headers for development
    rc  linux-modules-5.15.0-25-generic            5.15.0-25.25                            amd64        Linux kernel extra modules for version 5.15.0 on 64 bit x86 SMP
    rc  linux-modules-5.15.0-37-generic            5.15.0-37.39                            amd64        Linux kernel extra modules for version 5.15.0 on 64 bit x86 SMP
    rc  linux-modules-5.15.0-39-generic            5.15.0-39.42                            amd64        Linux kernel extra modules for version 5.15.0 on 64 bit x86 SMP
    rc  linux-modules-5.15.0-41-generic            5.15.0-41.44                            amd64        Linux kernel extra modules for version 5.15.0 on 64 bit x86 SMP
    rc  linux-modules-5.15.0-43-generic            5.15.0-43.46                            amd64        Linux kernel extra modules for version 5.15.0 on 64 bit x86 SMP
    rc  linux-modules-5.15.0-46-generic            5.15.0-46.49                            amd64        Linux kernel extra modules for version 5.15.0 on 64 bit x86 SMP
    rc  linux-modules-5.15.0-47-generic            5.15.0-47.51                            amd64        Linux kernel extra modules for version 5.15.0 on 64 bit x86 SMP
    rc  linux-modules-5.15.0-48-generic            5.15.0-48.54                            amd64        Linux kernel extra modules for version 5.15.0 on 64 bit x86 SMP
    ic  linux-modules-5.15.0-50-generic            5.15.0-50.56                            amd64        Linux kernel extra modules for version 5.15.0 on 64 bit x86 SMP
    ii  linux-modules-5.15.0-52-generic            5.15.0-52.58                            amd64        Linux kernel extra modules for version 5.15.0 on 64 bit x86 SMP
    ii  linux-modules-5.19.0-40-generic            5.19.0-40.41~22.04.1                    amd64        Linux kernel extra modules for version 5.19.0 on 64 bit x86 SMP
    rc  linux-modules-extra-5.15.0-25-generic      5.15.0-25.25                            amd64        Linux kernel extra modules for version 5.15.0 on 64 bit x86 SMP
    rc  linux-modules-extra-5.15.0-37-generic      5.15.0-37.39                            amd64        Linux kernel extra modules for version 5.15.0 on 64 bit x86 SMP
    rc  linux-modules-extra-5.15.0-39-generic      5.15.0-39.42                            amd64        Linux kernel extra modules for version 5.15.0 on 64 bit x86 SMP
    rc  linux-modules-extra-5.15.0-41-generic      5.15.0-41.44                            amd64        Linux kernel extra modules for version 5.15.0 on 64 bit x86 SMP
    rc  linux-modules-extra-5.15.0-43-generic      5.15.0-43.46                            amd64        Linux kernel extra modules for version 5.15.0 on 64 bit x86 SMP
    rc  linux-modules-extra-5.15.0-46-generic      5.15.0-46.49                            amd64        Linux kernel extra modules for version 5.15.0 on 64 bit x86 SMP
    rc  linux-modules-extra-5.15.0-48-generic      5.15.0-48.54                            amd64        Linux kernel extra modules for version 5.15.0 on 64 bit x86 SMP
    rc  linux-modules-extra-5.15.0-50-generic      5.15.0-50.56                            amd64        Linux kernel extra modules for version 5.15.0 on 64 bit x86 SMP
    ii  linux-modules-extra-5.15.0-52-generic      5.15.0-52.58                            amd64        Linux kernel extra modules for version 5.15.0 on 64 bit x86 SMP
    ii  linux-modules-extra-5.19.0-40-generic      5.19.0-40.41~22.04.1                    amd64        Linux kernel extra modules for version 5.19.0 on 64 bit x86 SMP
    rc  linux-modules-nvidia-510-5.15.0-25-generic 5.15.0-25.25                            amd64        Linux kernel nvidia modules for version 5.15.0-25
    rc  linux-modules-nvidia-510-5.15.0-37-generic 5.15.0-37.39                            amd64        Linux kernel nvidia modules for version 5.15.0-37
    rc  linux-modules-nvidia-510-5.15.0-39-generic 5.15.0-39.42                            amd64        Linux kernel nvidia modules for version 5.15.0-39
    rc  linux-modules-nvidia-510-5.15.0-41-generic 5.15.0-41.44+1                          amd64        Linux kernel nvidia modules for version 5.15.0-41
    rc  linux-modules-nvidia-515-5.15.0-47-generic 5.15.0-47.51                            amd64        Linux kernel nvidia modules for version 5.15.0-47
    rc  linux-objects-nvidia-510-5.15.0-25-generic 5.15.0-25.25                            amd64        Linux kernel nvidia modules for version 5.15.0-25 (objects)
    rc  linux-objects-nvidia-510-5.15.0-37-generic 5.15.0-37.39                            amd64        Linux kernel nvidia modules for version 5.15.0-37 (objects)
    rc  linux-objects-nvidia-510-5.15.0-39-generic 5.15.0-39.42                            amd64        Linux kernel nvidia modules for version 5.15.0-39 (objects)
    rc  linux-objects-nvidia-510-5.15.0-41-generic 5.15.0-41.44+1                          amd64        Linux kernel nvidia modules for version 5.15.0-41 (objects)
    rc  linux-objects-nvidia-510-5.15.0-43-generic 5.15.0-43.46+1                          amd64        Linux kernel nvidia modules for version 5.15.0-43 (objects)
    rc  linux-objects-nvidia-510-5.15.0-47-generic 5.15.0-47.51                            amd64        Linux kernel nvidia modules for version 5.15.0-47 (objects)
    rc  linux-objects-nvidia-515-5.15.0-47-generic 5.15.0-47.51                            amd64        Linux kernel nvidia modules for version 5.15.0-47 (objects)
    ii  linux-sound-base                           1.0.25+dfsg-0ubuntu7                    all          base package for ALSA and OSS sound systems

  4. #4
    Join Date
    Mar 2010
    Location
    USA
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: The following packages have unmet dependencies: linux-modules-5.15.0-50-generic

    This was installed as ZFS... Was this machine installed originally as 20.04 or 22.04.

    Please post the result of these commands:
    Code:
    df -H | grep -v 'tmpfs'
    sudo zpool list
    sudo zfs list
    sudo zfs list -t snapshot
    sudo zpool status -v
    sudo apt list zsys --installed
    What I see right off is many old kernels. The default Ubuntu ZFS install via the checkmark, creates a /boot within a pool called bpool. It is a set size. If it was installed as 20.04 and you did a do-release-upgrade, then back in 20.04, the install installed ZSys... which is a ZFS util that automaticially created snapshots very time there was some kind of update, or any other apt type of action, which if not maintained (rolling off the older snapshots), then it filled the bpool up, and ever though rpool had lots of room, the /boot container was full, so it would have upgrade error with broken package dependencies, because there was not enough run to complete the update.

    The thing that needs to be done is to remove/purge the older kernels, so there is enough room in bpool, to be able to run
    Code:
    sudo apt install -f
    If there is ZSys installed and snapshots in bpool, then the older snapshots need to be remove/destroyed, along with the corresponding rpool snapshots.

    That is what I see and suspect.
    Last edited by MAFoElffen; April 18th, 2023 at 03:59 PM.

    "Concurrent coexistence of Windows, Linux and UNIX..." || Ubuntu user # 33563, Linux user # 533637
    Sticky: Graphics Resolution | UbuntuForums 'system-info' Script | Posting Guidelines | Code Tags

  5. #5
    Join Date
    Apr 2023
    Beans
    6

    Re: The following packages have unmet dependencies: linux-modules-5.15.0-50-generic

    I installed Ubuntu 22.04 lts version directly to my empty hard disk nearly 10 months ago. I saw instructions from the internet and I found ZFS is better than the alternatives. am I wrong? I dont know what it means or how it works.

    Results of commands:

    Code:
    akhil@KHUSHI:~$ df -H | grep -v 'tmpfs'
    Filesystem                                        Size  Used Avail Use% Mounted on
    /dev/mapper/keystore-rpool                        459M   29k  423M   1% /run/keystore/rpool
    rpool/ROOT/ubuntu_zs8jjk                          357G   17G  340G   5% /
    rpool/USERDATA/root_pltcof                        354G   14G  340G   4% /root
    rpool/ROOT/ubuntu_zs8jjk/usr/local                341G  274M  340G   1% /usr/local
    rpool/ROOT/ubuntu_zs8jjk/srv                      340G  263k  340G   1% /srv
    rpool/ROOT/ubuntu_zs8jjk/var/games                340G  263k  340G   1% /var/games
    rpool/ROOT/ubuntu_zs8jjk/var/lib                  350G  9.9G  340G   3% /var/lib
    rpool/ROOT/ubuntu_zs8jjk/var/snap                 340G  8.4M  340G   1% /var/snap
    rpool/ROOT/ubuntu_zs8jjk/var/spool                340G  394k  340G   1% /var/spool
    rpool/ROOT/ubuntu_zs8jjk/var/www                  340G  263k  340G   1% /var/www
    rpool/ROOT/ubuntu_zs8jjk/var/mail                 340G  263k  340G   1% /var/mail
    rpool/ROOT/ubuntu_zs8jjk/var/lib/AccountsService  340G  394k  340G   1% /var/lib/AccountsService
    rpool/ROOT/ubuntu_zs8jjk/var/lib/apt              341G  113M  340G   1% /var/lib/apt
    rpool/ROOT/ubuntu_zs8jjk/var/lib/NetworkManager   340G  918k  340G   1% /var/lib/NetworkManager
    rpool/ROOT/ubuntu_zs8jjk/var/lib/dpkg             341G  131M  340G   1% /var/lib/dpkg
    rpool/USERDATA/akhil_pltcof                       437G   97G  340G  23% /home/akhil
    rpool/ROOT/ubuntu_zs8jjk/var/log                  341G   96M  340G   1% /var/log
    bpool/BOOT/ubuntu_zs8jjk                          1.9G  304M  1.6G  17% /boot
    /dev/sda1                                         536M   17M  520M   4% /boot/efi
    Code:
    akhil@KHUSHI:~$ sudo zpool list
    NAME    SIZE  ALLOC   FREE  CKPOINT  EXPANDSZ   FRAG    CAP  DEDUP    HEALTH  ALTROOT
    bpool  1.88G   292M  1.59G        -         -     0%    15%  1.00x    ONLINE  -
    rpool   460G   129G   331G        -         -    34%    27%  1.00x  DEGRADED  -
    Code:
    akhil@KHUSHI:~$ sudo zfs list
    NAME                                               USED  AVAIL     REFER  MOUNTPOINT
    bpool                                              292M  1.46G       96K  /boot
    bpool/BOOT                                         290M  1.46G       96K  none
    bpool/BOOT/ubuntu_zs8jjk                           290M  1.46G      290M  /boot
    rpool                                              129G   317G      192K  /
    rpool/ROOT                                        25.4G   317G      192K  none
    rpool/ROOT/ubuntu_zs8jjk                          25.4G   317G     15.6G  /
    rpool/ROOT/ubuntu_zs8jjk/srv                       216K   317G      216K  /srv
    rpool/ROOT/ubuntu_zs8jjk/usr                       261M   317G      192K  /usr
    rpool/ROOT/ubuntu_zs8jjk/usr/local                 260M   317G      260M  /usr/local
    rpool/ROOT/ubuntu_zs8jjk/var                      9.52G   317G      192K  /var
    rpool/ROOT/ubuntu_zs8jjk/var/games                 216K   317G      216K  /var/games
    rpool/ROOT/ubuntu_zs8jjk/var/lib                  9.42G   317G     9.20G  /var/lib
    rpool/ROOT/ubuntu_zs8jjk/var/lib/AccountsService   260K   317G      260K  /var/lib/AccountsService
    rpool/ROOT/ubuntu_zs8jjk/var/lib/NetworkManager    784K   317G      784K  /var/lib/NetworkManager
    rpool/ROOT/ubuntu_zs8jjk/var/lib/apt               107M   317G      107M  /var/lib/apt
    rpool/ROOT/ubuntu_zs8jjk/var/lib/dpkg              124M   317G      124M  /var/lib/dpkg
    rpool/ROOT/ubuntu_zs8jjk/var/log                  90.5M   317G     90.5M  /var/log
    rpool/ROOT/ubuntu_zs8jjk/var/mail                  216K   317G      216K  /var/mail
    rpool/ROOT/ubuntu_zs8jjk/var/snap                 7.94M   317G     7.94M  /var/snap
    rpool/ROOT/ubuntu_zs8jjk/var/spool                 324K   317G      324K  /var/spool
    rpool/ROOT/ubuntu_zs8jjk/var/www                   216K   317G      216K  /var/www
    rpool/USERDATA                                     103G   317G      192K  /
    rpool/USERDATA/akhil_pltcof                       90.1G   317G     90.1G  /home/akhil
    rpool/USERDATA/root_pltcof                        13.0G   317G     13.0G  /root
    rpool/keystore
    Code:
    akhil@KHUSHI:~$ sudo zfs list -t snapshot
    no datasets available
    Code:
    akhil@KHUSHI:~$ sudo zpool status -v
      pool: bpool
     state: ONLINE
      scan: scrub repaired 0B in 00:00:01 with 0 errors on Sun Apr  9 00:24:02 2023
    config:
    
    
        NAME                                    STATE     READ WRITE CKSUM
        bpool                                   ONLINE       0     0     0
          4f9732b2-2838-4e48-9aa1-62687a2c4315  ONLINE       0     0     0
    
    
    errors: No known data errors
    
    
      pool: rpool
     state: DEGRADED
    status: One or more devices has experienced an unrecoverable error.  An
        attempt was made to correct the error.  Applications are unaffected.
    action: Determine if the device needs to be replaced, and clear the errors
        using 'zpool clear' or replace the device with 'zpool replace'.
       see: https://openzfs.github.io/openzfs-docs/msg/ZFS-8000-9P
      scan: scrub repaired 0B in 00:02:33 with 0 errors on Sun Oct  9 00:26:34 2022
    config:
    
    
        NAME                                    STATE     READ WRITE CKSUM
        rpool                                   DEGRADED     0     0     0
          499a9b9e-724f-dc4c-95ad-71d1af5b0105  DEGRADED     0     0     0  too many errors
    
    
    errors: No known data errors
    Code:
    akhil@KHUSHI:~$ sudo apt list zsys --install
    E: Command line option --install is not understood in combination with the other options
    This error first appeared while I was updating and upgrading my Ubuntu after a long break.
    Last edited by akhilakkapelli; April 16th, 2023 at 10:29 PM.

  6. #6
    Join Date
    Mar 2010
    Location
    USA
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: The following packages have unmet dependencies: linux-modules-5.15.0-50-generic

    The rpool is degraded...

    I am just getting ready for work, about out the door, and have a 10 hours shift tonight. Will look at this when I get off or early tomorrow morning. Please have patience. The problem may just an out pf space issue somewhere.

    "Concurrent coexistence of Windows, Linux and UNIX..." || Ubuntu user # 33563, Linux user # 533637
    Sticky: Graphics Resolution | UbuntuForums 'system-info' Script | Posting Guidelines | Code Tags

  7. #7
    #&thj^% is offline I Ubuntu, Therefore, I Am
    Join Date
    Aug 2016
    Beans
    Hidden!

    Re: The following packages have unmet dependencies: linux-modules-5.15.0-50-generic

    Quote Originally Posted by MAFoElffen View Post
    The rpool is degraded...

    I am just getting ready for work, about out the door, and have a 10 hours shift tonight. Will look at this when I get off or early tomorrow morning. Please have patience. The problem may just an out pf space issue somewhere.
    Same with me, close to gone offline.
    Please run this:
    Code:
    sudo add-apt-repository ppa:mafoelffen/system-info
    sudo apt update
    sudo apt install system-info
    MAFoElffen is the Team Lead for that project, and it will gather important information so we don't have to ask willy nilly questions.
    Post the link back here so we can take a peek at possibles.
    EDIT: BTW this is a invalid request "sudo apt list zsys --install"
    Last edited by #&thj^%; April 17th, 2023 at 09:22 PM.

  8. #8
    Join Date
    Mar 2010
    Location
    USA
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: The following packages have unmet dependencies: linux-modules-5.15.0-50-generic

    LOL. Then run the report via
    Code:
    system-info --details
    When it offers to upload the report, enter <Y><Enter> for yes, then copy down the URL to post for us to go over the information it that report. The '--details' flag will toggle it to ask more details queries on ZFS.

    After seeing that info, that may show us more on what is happening.

    "Concurrent coexistence of Windows, Linux and UNIX..." || Ubuntu user # 33563, Linux user # 533637
    Sticky: Graphics Resolution | UbuntuForums 'system-info' Script | Posting Guidelines | Code Tags

  9. #9
    Join Date
    Mar 2010
    Location
    USA
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: The following packages have unmet dependencies: linux-modules-5.15.0-50-generic

    Dang. Typo corrected.
    Code:
    sudo apt list zsys --installed

    "Concurrent coexistence of Windows, Linux and UNIX..." || Ubuntu user # 33563, Linux user # 533637
    Sticky: Graphics Resolution | UbuntuForums 'system-info' Script | Posting Guidelines | Code Tags

  10. #10
    Join Date
    Mar 2010
    Location
    USA
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: The following packages have unmet dependencies: linux-modules-5.15.0-50-generic

    Your root pool is degraded. This happens for several reasons: capacity exceeded, disk or filesystem errors. It doesn't look like you have a storage full condition. Rather, you have too many errors reported (of an unknown type). But the stats are not showing those errors as read, write or checksum errors. (???)

    My initial thoughts would be that if you already had smartmontools installed, that I would ask you to run smartctl to check the errors on your drive's SMART data to see if it is healthy or if it has errors logged.
    Code:
    sudo smartctl -H /dev/sda
    But since your rpool is degraded and you have broken apt packages, unless you already had that installed, there is no way to install that now, to check that...

    ZFS does have have fsck, like ext4... But rather has it's own version which is called 'scrub'.

    Regardless of what the report says about your hardware (which would be great if we can see it, to point out what Linux see's there)... It first needs the filesystem checked to rule that problem out.
    Code:
    sudo zpool scrub rpool
    It will run in the background until it is finished. Your last scrub was on Sun Oct 9 00:26:34 2022 and took 00:01:33. That was 7 months ago... It is setup to run as a cron job to run automatically at midnight, on the second Sunday of the month. (There is a ZFS Trim job that happens on the first Sunday of the month.) Which means that computer needs to be on, for that to happen. Recommends are that pools on Commercial Enterprise grade drives get scrubbed once a month, and home type desktop drives get scrubbed once a week. If you are not going to leave your computer running for these to happens, then you should run them manually.

    Based on your last scrub job, I would let it run for about 10 minutes, then check it with
    Code:
    sudo zpool status -v rpool
    Hopefully it finds and corrects errors for you and goes back "online"...

    "Concurrent coexistence of Windows, Linux and UNIX..." || Ubuntu user # 33563, Linux user # 533637
    Sticky: Graphics Resolution | UbuntuForums 'system-info' Script | Posting Guidelines | Code Tags

Page 1 of 2 12 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •