Unable to apt update my workstation through ui or cli | keyring error

  • Hi,

    I'm encountering errors when updating or applying configuration changes on my system.

    • When I try to update through the web UI, I receive a 500 Internal Server Error.
    • When updating via the command line, I get keyring errors and cannot run sudo apt update successfully.

    I've included additional details in the pastebin link below. I've already tried some troubleshooting steps from forum posts, but the issue persists.

    Any assistance would be greatly appreciated!


    = OS/Debian information

    Distributor ID: Debian

    Description: Debian GNU/Linux 12 (bookworm)

    Release: 12

    Codename: bookworm

    = openmediavault information

    Release: 7.7.18-1

    Codename: Sandworm

    = System information

    Linux omv1 6.12.38+deb12-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.38-1~bpo12+1 (2025-07-27) x86_64 GNU/Linux

    = Uptime

    13:13:05 up 24 days, 12 min, 1 user, load average: 0.00, 0.00, 0.04


    Additional details

    More info on apt update - Pastebin.com
    Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
    pastebin.com


    Logs

    500 internal error while updating - Pastebin.com
    Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
    pastebin.com

  • chente

    Approved the thread.
    • Official Post

    Post the output of omv-aptclean repos in a code box


  • Code
    Err:11 https://deb.debian.org/debian stable InRelease
    
      The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 6ED0E7B82643E131 NO_PUBKEY 78DBA3BC47EF2265 NO_PUBKEY 762F67A0B2C39DE4

    One of the repos is pointing to stable which means is now pointing to Trixie (which is a no-no)

    Do as macom said.


    If it doesn't solve it, post the output (in a CODE box) of:
    grep -r stable /etc/apt/*

  • Hello,

    thanks for the help!

    Ran the command then tried sudo apt update. Still showing the error.


    Code
    $ grep -r stable /etc/apt/*
    /etc/apt/sources.list:#deb [signed-by=/usr/share/keyrings/debian-archive-keyring.gpg] https://deb.debian.org/debian stable main
    /etc/apt/sources.list.d/tailscale.list:deb [signed-by=/usr/share/keyrings/tailscale-archive-keyring.gpg] https://pkgs.tailscale.com/stable/debian bookworm main
    /etc/apt/sources.list.d/omvdocker.sources:Components: stable
    /etc/apt/sources.list.d/openmediavault-custom-87825ba7-831f-4bee-9549-e38ae255bd9e.sources:Suites: stable

    This is the output for the second suggested command.

  • etc/apt/sources.list:#deb [signed-by=/usr/share/keyrings/debian-archive-keyring.gpg] https://deb.debian.org/debian stable main

    Outputs of

    cat /etc/apt/sources.list


    You can either remove that line ir change stable to bookworm

  • Hi,


    sources.list contains the below items, I am not able to see the mentioned line.

    Code
    $ cd sources.list.d
    $ ls
    omvdocker.sources  openmediavault-custom-87825ba7-831f-4bee-9549-e38ae255bd9e.sources  openmediavault.list        openmediavault-os-security.list
    omvextras.sources  openmediavault-kernel-backports.list                                openmediavault-local.list  tailscale.list
    $

    What about this?

  • I am not able to see the mentioned line.

    It's line #10


    Althiug it's strange why its hitting it since the line is commented

  • Hello,


    After removing the commented line the output for sources is:

    Code
    $  grep -r stable /etc/apt/*
    /etc/apt/sources.list.d/tailscale.list:deb [signed-by=/usr/share/keyrings/tailscale-archive-keyring.gpg] https://pkgs.tailscale.com/stable/debian bookworm main
    /etc/apt/sources.list.d/omvdocker.sources:Components: stable
    /etc/apt/sources.list.d/openmediavault-custom-87825ba7-831f-4bee-9549-e38ae255bd9e.sources:Suites: stable

    But, sudo apt update still fails. I have checked the files in sources.list.d dir too but didn't find that link.

  • Hello,

    Is there any workaround for this issue? Any way I can apply config changes while this is pending?
    I am able to still upgrade the workstation so far from the UI but config changes (Yellow Banner) are not being applied.

    Thanks for the assistance so far!

  • I did fix half of my issue. Now I am able to apply the config changes and the UI shows no error.

    I removed all of the docker related items and restarted the workstation and tried to apply changes which worked!


    As for update, that is still broken. sudo apt update does not work but, sudo apt upgrade works.

    • Official Post

    sudo apt update does not work but, sudo apt upgrade works.

    Those are two different things.

    "update" updates the information of the repositories and is check if new/updated packages are available

    "upgrade" will upgrade, add or remove packages as per the result of "update"


    apt(8) — apt — Debian trixie — Debian Manpages

  • I did fix half of my issue. Now I am able to apply the config changes and the UI shows no error.

    I removed all of the docker related items and restarted the workstation and tried to apply changes which worked!


    As for update, that is still broken. sudo apt update does not work but, sudo apt upgrade works.

    Post the output of:

    sudo cat /etc/os-release
    dpkg -l | grep openm
    sudo omv-aptclean repos

    sudo omv-upgrade

  • Happy New Year folks!


    I have added the outputs of the command to a pastebin file as it exceeds 10000 characters


    OMV update output - Pastebin.com
    Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
    pastebin.com

  • Happy New Year folks!


    I have added the outputs of the command to a pastebin file as it exceeds 10000 characters


    https://pastebin.com/fqs2SkDU


    Code
    Err:10 https://deb.debian.org/debian stable InRelease
      The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 6ED0E7B82643E131 NO_PUBKEY 78DBA3BC47EF2265 NO_PUBKEY 762F67A0B2C39DE4


    You have a wrong REPO (stable is Trixie and you are on bookworm)


    sudo grep -r stable /etc/apt/*

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!