Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

[Software] Unable to update packages

New to Debian (Or Linux in general)? Ask your questions here!
Post Reply
Message
Author
berna
Posts: 5
Joined: 2023-01-05 21:58
Has thanked: 3 times

[Software] Unable to update packages

#1 Post by berna »

Hello,

I have some trouble updating packages via apt (using nala), with four distinct error messages. One error seems to be related to a problem with GPG key signature verification. The last error also mentions the lack of Release file for debian bookworm.

Code: Select all

(base) berna@grayswan:~$ sudo nala update
Error: http://deb.debian.org/debian bookworm-security Release
  404  Not Found [IP: 2a04:4e42:8e::644 80]
Error: http://deb.anydesk.com all InRelease
  The following signatures were invalid: EXPKEYSIG 18DF3741CDFFDE29 philandro Software GmbH 
<info@philandro.com>
╭─ Updating Package List ───────────────────────────────────────────────────────────────────────────────────╮
│No Change: http://deb.debian.org/debian bookworm InRelease                                                 │
│Ignored:   http://deb.debian.org/debian bookworm-security InRelease                                        │
│No Change: https://mirror.iway.ch/debian bookworm InRelease                                                │
│Updated:   http://deb.anydesk.com all InRelease [6 KB]                                                     │
│No Change: https://linux.teamviewer.com/deb stable InRelease                                               │
│Updated:   http://download.opensuse.org/repositories/home:/pbek:/QOwnNotes/Debian_12  InRelease [2 KB]     │
│No Change: https://packages.microsoft.com/repos/ms-teams stable InRelease                                  │
│No Change: https://debian.ethz.ch/debian bookworm InRelease                                                │
│No Change: https://repo.steampowered.com/steam stable InRelease                                            │
│Fetched 2 KB in 0s (0 bytes/s)                                                                             │
╰───────────────────────────────────────────────────────────────────────────────────────────────────────────╯
Warning: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://deb.anydesk.com all InRelease: The following signatures were invalid: EXPKEYSIG 18DF3741CDFFDE29 philandro Software GmbH <info@philandro.com>
Warning: See apt-secure(8) manpage for repository creation and user configuration details.
Warning: Updating from such a repository can't be done securely
Error: The repository 'http://deb.debian.org/debian bookworm-security Release' does not have a Release file.
(base) berna@grayswan:~$ 
Here is my sources.list file:

Code: Select all

# deb cdrom:[Debian GNU/Linux testing _Bookworm_ - Unofficial amd64 NETINST with firmware 20220912-03:33]/ bookworm contrib main non-free

deb http://deb.debian.org/debian/ bookworm main non-free contrib
deb-src http://deb.debian.org/debian/ bookworm main non-free contrib

deb http://deb.debian.org/debian/ bookworm-security main contrib non-free
deb-src http://deb.debian.org/debian/ bookworm-security main contrib non-free

# This system was installed using small removable media
# (e.g. netinst, live or single CD). The matching "deb cdrom"
# entries were disabled at the end of the installation process.
# For information about how to configure apt package sources,
# see the sources.list(5) manual.

Any help is much appreciated!
B
Last edited by berna on 2024-03-26 20:31, edited 1 time in total.

User avatar
FreewheelinFrank
Global Moderator
Global Moderator
Posts: 2117
Joined: 2010-06-07 16:59
Has thanked: 38 times
Been thanked: 232 times

Re: [Software]

#2 Post by FreewheelinFrank »

Welcome to the forum!

Please could you give your post a meaningful title so that members viewing the board will know what your issue is? Thank you.

User avatar
sunrat
Administrator
Administrator
Posts: 6511
Joined: 2006-08-29 09:12
Location: Melbourne, Australia
Has thanked: 119 times
Been thanked: 489 times

Re: [Software] Unable to update packages

#3 Post by sunrat »

Use code tags for terminal text and config files please. I fixed it for you this time.

Thanks for editing the title.
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!

User avatar
sunrat
Administrator
Administrator
Posts: 6511
Joined: 2006-08-29 09:12
Location: Melbourne, Australia
Has thanked: 119 times
Been thanked: 489 times

Re: [Software] Unable to update packages

#4 Post by sunrat »

Have you tried updating using plain apt? Nala is a new kid on the block and not default in Debian. It's mainly just a pretty apt.

Your anydesk error is likely at the repo end.
bookworm-security has no such issue on my system. It could be the local repo that the deb.debian CDN is directing to.
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!

User avatar
Hallvor
Global Moderator
Global Moderator
Posts: 2044
Joined: 2009-04-16 18:35
Location: Kristiansand, Norway
Has thanked: 151 times
Been thanked: 212 times

Re: [Software] Unable to update packages

#5 Post by Hallvor »

This line:

Code: Select all

deb http://deb.debian.org/debian/ bookworm-security main contrib non-free
Should be:

Code: Select all

deb http://deb.debian.org/debian-security/ bookworm-security main contrib non-free
[HowTo] Install and configure Debian bookworm
Debian 12 | KDE Plasma | ThinkPad T440s | 4 × Intel® Core™ i7-4600U CPU @ 2.10GHz | 12 GiB RAM | Mesa Intel® HD Graphics 4400 | 1 TB SSD

berna
Posts: 5
Joined: 2023-01-05 21:58
Has thanked: 3 times

Re: [Software] Unable to update packages

#6 Post by berna »

Thanks for the prompt response. I did indeed try directly with the apt package manager, but I get a similar output:

Code: Select all

(base) berna@grayswan:~$ sudo apt update
Hit:1 http://deb.debian.org/debian bookworm InRelease
Hit:2 https://packages.microsoft.com/repos/ms-teams stable InRelease                                        
Ign:3 http://deb.debian.org/debian bookworm-security InRelease                                              
Hit:4 https://linux.teamviewer.com/deb stable InRelease                                                     
Hit:5 https://mirror.iway.ch/debian bookworm InRelease                                                      
Err:6 http://deb.debian.org/debian bookworm-security Release                                                
  404  Not Found [IP: 2a04:4e42:8e::644 80]
Get:7 http://deb.anydesk.com all InRelease [5,588 B]                                                        
Get:8 http://download.opensuse.org/repositories/home:/pbek:/QOwnNotes/Debian_12  InRelease [1,518 B]        
Hit:9 https://debian.ethz.ch/debian bookworm InRelease                           
Hit:10 https://repo.steampowered.com/steam stable InRelease
Err:7 http://deb.anydesk.com all InRelease
  The following signatures were invalid: EXPKEYSIG 18DF3741CDFFDE29 philandro Software GmbH <info@philandro.com>
Reading package lists... Done
E: The repository 'http://deb.debian.org/debian bookworm-security Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://deb.anydesk.com all InRelease: The following signatures were invalid: EXPKEYSIG 18DF3741CDFFDE29 philandro Software GmbH <info@philandro.com>
N: Repository 'Debian bookworm' changed its 'non-free component' value from 'non-free' to 'non-free non-free-firmware'
N: More information about this can be found online in the Release notes at: https://www.debian.org/releases/bookworm/amd64/release-notes/ch-information.html#non-free-split

As for anydesk, i actually removed the software and don't know why the repo still shows up when i tried to update packages.

User avatar
FreewheelinFrank
Global Moderator
Global Moderator
Posts: 2117
Joined: 2010-06-07 16:59
Has thanked: 38 times
Been thanked: 232 times

Re: [Software] Unable to update packages

#7 Post by FreewheelinFrank »

Try

Code: Select all

https://deb.debian.org/debian-security/ bookworm-security main contrib non-free

User avatar
FreewheelinFrank
Global Moderator
Global Moderator
Posts: 2117
Joined: 2010-06-07 16:59
Has thanked: 38 times
Been thanked: 232 times

Re: [Software] Unable to update packages

#8 Post by FreewheelinFrank »

berna wrote: 2024-03-26 21:07 Thanks for the prompt response. I did indeed try directly with the apt package manager, but I get a similar output:

As for anydesk, i actually removed the software and don't know why the repo still shows up when i tried to update packages.
Anything in

Code: Select all

/etc/apt/sources.list.d
?

berna
Posts: 5
Joined: 2023-01-05 21:58
Has thanked: 3 times

Re: [Software] Unable to update packages

#9 Post by berna »

FreewheelinFrank wrote: 2024-03-26 21:15 Try

Code: Select all

https://deb.debian.org/debian-security/ bookworm-security main contrib non-free
It now works. Are these changes in url frequent? Seems odd that the link I was using became obsolete..
But thanks for the tip!

berna
Posts: 5
Joined: 2023-01-05 21:58
Has thanked: 3 times

Re: [Software] Unable to update packages

#10 Post by berna »

FreewheelinFrank wrote: 2024-03-26 21:18
berna wrote: 2024-03-26 21:07 Thanks for the prompt response. I did indeed try directly with the apt package manager, but I get a similar output:

As for anydesk, i actually removed the software and don't know why the repo still shows up when i tried to update packages.
Anything in

Code: Select all

/etc/apt/sources.list.d
?
Thanks for the tip. Some anydesk links were hiding there, indeed.

berna
Posts: 5
Joined: 2023-01-05 21:58
Has thanked: 3 times

Re: [Software] Unable to update packages

#11 Post by berna »

Hallvor wrote: 2024-03-26 21:03 This line:

Code: Select all

deb http://deb.debian.org/debian/ bookworm-security main contrib non-free
Should be:

Code: Select all

deb http://deb.debian.org/debian-security/ bookworm-security main contrib non-free
Problem solved using

Code: Select all

https://deb.debian.org/debian-security/ bookworm-security main contrib non-free
thank you
Last edited by berna on 2024-03-26 21:41, edited 1 time in total.

User avatar
FreewheelinFrank
Global Moderator
Global Moderator
Posts: 2117
Joined: 2010-06-07 16:59
Has thanked: 38 times
Been thanked: 232 times

Re: [Software] Unable to update packages

#12 Post by FreewheelinFrank »

berna wrote: 2024-03-26 21:38
FreewheelinFrank wrote: 2024-03-26 21:15 Try

Code: Select all

https://deb.debian.org/debian-security/ bookworm-security main contrib non-free
It now works. Are these changes in url frequent? Seems odd that the link I was using became obsolete..
But thanks for the tip!
There was a change Buster>Bullseye I think. Not a frequent thing, fortunately.

Post Reply