The source list /etc/apt/sources.list and the files contained in /etc/apt/sources.list.d/
are designed to support any number of active sources and a variety of source media. The
files list one source per line (one-line style) or contain multiline stanzas defining one
or more sources per stanza (deb822 style), with the most preferred source listed first (in
case a single version is available from more than one source). The information available
from the configured sources is acquired by apt-get update (or by an equivalent command
from another APT front-end).
## fix the apt update error
.1 you can visit here to read about this [ Ссылка ]
2. now open the source.list file in sudo priveldge
$ pluma /etc/apt/sources.list
3. now paste these all lines
```
deb [ Ссылка ] parrot main contrib non-free
deb [ Ссылка ] bookworm main non-free-firmware
## deb-src [ Ссылка ] bookworm main non-free-firmware
deb [ Ссылка ] bookworm-security main non-free-firmware
## deb-src [ Ссылка ] bookworm-security main non-free-firmware
deb [ Ссылка ] bookworm-updates main non-free-firmware
## deb-src [ Ссылка ] bookworm-updates main non-free-firmware
```
4. after this save and run ``` apt update ``` command
![](https://s2.save4k.ru/pic/oz-uzrtuTYw/maxresdefault.jpg)