[Solved] system & program updating wont work.

Linux Kernel, Network, and Services configuration.
Post Reply
Message
Author
lindis68
Posts: 9
Joined: 2024-11-14 15:52

[Solved] system & program updating wont work.

#1 Post by lindis68 »

Hi everyone.

I have been trying to run update on my installed deb 12 , but doesnt seem to work.
also tried trough terminal with update - there i get an error .

╰─ sudo apt update ─╯
Bra:1 http://debian.lth.se/debian bookworm InRelease
Bra:2 http://debian.lth.se/debian bookworm-updates InRelease
Ign:3 https://deb.debian.org/debian bookworm-security InRelease
Fel:4 https://deb.debian.org/debian bookworm-security Release
404 Not Found [IP: 2a04:4e42:14::644 443]
Bra:5 https://dl.google.com/linux/chrome/deb stable InRelease
Läser paketlistor… Färdig
E: The repository 'https://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.


what to do.!
can somebody give some advice to get it working properly.

/ lindis68
Last edited by lindis68 on 2024-11-15 10:23, edited 1 time in total.

User avatar
Hallvor
Global Moderator
Global Moderator
Posts: 2096
Joined: 2009-04-16 18:35
Location: Kristiansand, Norway
Has thanked: 160 times
Been thanked: 226 times

Re: system & program updating wont work.

#2 Post by Hallvor »

Hej!

Short version: It indicates that there is something wrong with your sources.list

This is a sources.list that will work:

Code: Select all

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

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

# bookworm-updates, to get updates before a point release is made;
# see https://www.debian.org/doc/manuals/debian-reference/ch02.en.html#_updates_and_backports
deb http://deb.debian.org/debian/ bookworm-updates main contrib non-free-firmware
#deb-src http://deb.debian.org/debian/ bookworm-updates main contrib non-free non-free-firmware
Then add your google chrome repository, save the file and type (as root or sudo)

Code: Select all

apt update
[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

lindis68
Posts: 9
Joined: 2024-11-14 15:52

Re: system & program updating wont work.

#3 Post by lindis68 »

thank you Hallvor.

seems to work now.

to add google repo , is that in sources file or in the software&updates - other software

/ lindis68

User avatar
Hallvor
Global Moderator
Global Moderator
Posts: 2096
Joined: 2009-04-16 18:35
Location: Kristiansand, Norway
Has thanked: 160 times
Been thanked: 226 times

Re: [Solved] system & program updating wont work.

#4 Post by Hallvor »

Just paste it into sources.list
[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

Post Reply