I am having an Update problem in Debian 12 (bookworm).

Questions about Wine on Linux
Post Reply
Noidly1
Newbie
Newbie
Posts: 4
Joined: Sat Oct 05, 2024 9:01 pm

I am having an Update problem in Debian 12 (bookworm).

Post by Noidly1 »

I tried to use APT update and got a response saying the repository is not correct.
What am I missing?

Code: Select all

noid@Laptop:~$ sudo apt update
Hit:1 http://security.debian.org/debian-security bookworm-security InRelease
Hit:2 http://deb.debian.org/debian bookworm InRelease                                                              
Hit:3 http://deb.debian.org/debian bookworm-updates InRelease                                                      
Hit:4 https://packages.microsoft.com/debian/12/prod bookworm InRelease
Hit:5 http://deb.debian.org/debian bookworm-backports InRelease
Hit:6 https://dl.winehq.org/wine-builds/debian bookworm InRelease
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list.d/winehq-bookworm.sources:1
W: Target Packages (main/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list.d/winehq-bookworm.sources:1
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list.d/winehq-bookworm.sources:1
W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list.d/winehq-bookworm.sources:1
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list.d/winehq-bookworm.sources:1
W: Target DEP-11 (main/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list.d/winehq-bookworm.sources:1
W: Target DEP-11 (main/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list.d/winehq-bookworm.sources:1
W: Target DEP-11-icons-small (main/dep11/icons-48x48.tar) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list.d/winehq-bookworm.sources:1
W: Target DEP-11-icons (main/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list.d/winehq-bookworm.sources:1
W: Target DEP-11-icons-hidpi (main/dep11/[email protected]) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list.d/winehq-bookworm.sources:1
W: Target DEP-11-icons-large (main/dep11/icons-128x128.tar) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list.d/winehq-bookworm.sources:1
W: Skipping acquire of configured file 'non-free-firmware/binary-i386/Packages' as repository 'https://dl.winehq.org/wine-builds/debian bookworm InRelease' doesn't have the component 'non-free-firmware' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'non-free-firmware/binary-amd64/Packages' as repository 'https://dl.winehq.org/wine-builds/debian bookworm InRelease' doesn't have the component 'non-free-firmware' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'non-free-firmware/binary-all/Packages' as repository 'https://dl.winehq.org/wine-builds/debian bookworm InRelease' doesn't have the component 'non-free-firmware' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'non-free-firmware/i18n/Translation-en_US' as repository 'https://dl.winehq.org/wine-builds/debian bookworm InRelease' doesn't have the component 'non-free-firmware' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'non-free-firmware/i18n/Translation-en' as repository 'https://dl.winehq.org/wine-builds/debian bookworm InRelease' doesn't have the component 'non-free-firmware' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'non-free-firmware/dep11/Components-all.yml' as repository 'https://dl.winehq.org/wine-builds/debian bookworm InRelease' doesn't have the component 'non-free-firmware' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'non-free-firmware/dep11/Components-amd64.yml' as repository 'https://dl.winehq.org/wine-builds/debian bookworm InRelease' doesn't have the component 'non-free-firmware' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'non-free-firmware/dep11/icons-48x48.tar' as repository 'https://dl.winehq.org/wine-builds/debian bookworm InRelease' doesn't have the component 'non-free-firmware' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'non-free-firmware/dep11/icons-64x64.tar' as repository 'https://dl.winehq.org/wine-builds/debian bookworm InRelease' doesn't have the component 'non-free-firmware' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'non-free-firmware/dep11/[email protected]' as repository 'https://dl.winehq.org/wine-builds/debian bookworm InRelease' doesn't have the component 'non-free-firmware' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'non-free-firmware/dep11/icons-128x128.tar' as repository 'https://dl.winehq.org/wine-builds/debian bookworm InRelease' doesn't have the component 'non-free-firmware' (component misspelt in sources.list?)
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list.d/winehq-bookworm.sources:1
W: Target Packages (main/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list.d/winehq-bookworm.sources:1
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list.d/winehq-bookworm.sources:1
W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list.d/winehq-bookworm.sources:1
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list.d/winehq-bookworm.sources:1
W: Target DEP-11 (main/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list.d/winehq-bookworm.sources:1
W: Target DEP-11 (main/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list.d/winehq-bookworm.sources:1
W: Target DEP-11-icons-small (main/dep11/icons-48x48.tar) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list.d/winehq-bookworm.sources:1
W: Target DEP-11-icons (main/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list.d/winehq-bookworm.sources:1
W: Target DEP-11-icons-hidpi (main/dep11/[email protected]) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list.d/winehq-bookworm.sources:1
W: Target DEP-11-icons-large (main/dep11/icons-128x128.tar) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list.d/winehq-bookworm.sources:1
noid@Laptop:~$ 
Thanks.
Noidly1
Newbie
Newbie
Posts: 4
Joined: Sat Oct 05, 2024 9:01 pm

Re: I am having an Update problem in Debian 12 (bookworm).

Post by Noidly1 »

Update;
I found this post while searching "repository"
viewtopic.php?p=146846&hilit=repository#p146846
and tried the recommended code>

Code: Select all

grep wine /etc/apt/sources.list.d/*
/etc/apt/sources.list.d/winehq-bookworm.sources:URIs: https://dl.winehq.org/wine-builds/debian
/etc/apt/sources.list.d/winehq-bookworm.sources:Signed-By: /etc/apt/keyrings/winehq-archive.key
and ended up with this >

Code: Select all

oid@Laptop:~$ grep wine /etc/apt/sources.list.d/*
/etc/apt/sources.list.d/winehq-bookworm.sources:URIs: https://dl.winehq.org/wine-builds/debian
/etc/apt/sources.list.d/winehq-bookworm.sources:Signed-By: /etc/apt/keyrings/winehq-archive.key
/etc/apt/sources.list.d/winehq-bookworm.sources:URIs: https://dl.winehq.org/wine-builds/debian
/etc/apt/sources.list.d/winehq-bookworm.sources:Signed-By: /etc/apt/keyrings/winehq-archive.key
bash: /etc/apt/sources.list.d/winehq-bookworm.sources:URIs:: No such file or directory
bash: /etc/apt/sources.list.d/winehq-bookworm.sources:Signed-By:: No such file or directory
noid@Laptop:~$ 
What is up with this?
Thanks.
rdepaoli
Level 2
Level 2
Posts: 30
Joined: Wed Jan 29, 2025 11:43 am

Re: I am having an Update problem in Debian 12 (bookworm).

Post by rdepaoli »

Good evening Noidly1.

It looks as if your sources files were messed up...

Here the minimalist contents for Debian 12.10.0 64-bit KDE after setting up Wine-10.12-Staging as per https://gitlab.winehq.org/wine/wine/-/w ... ian-Ubuntu:

Code: Select all

$ cat /etc/apt/sources.list
# deb cdrom:[Debian GNU/Linux 12.10.0 _Bookworm_ - Official amd64 DVD Binary-1 with firmware 20250315-10:10]/ bookworm non-free-firmware main contrib  

deb https://deb.debian.org/debian/ bookworm main 

deb-src https://deb.debian.org/debian/ bookworm main 
deb https://security.debian.org/debian-security/ bookworm-security main

Code: Select all

$ cat /etc/apt/sources.list.d/winehq-bookworm.sources 
Types: deb
URIs: https://dl.winehq.org/wine-builds/debian
Suites: bookworm
Components: main
Architectures: amd64 i386
Signed-By: /etc/apt/keyrings/winehq-archive.key
This is all that is needed to keep Debian and Wine-10.12 happy on my test system, and apt update reports this:

Code: Select all

$ sudo apt update
Hit:1 https://deb.debian.org/debian bookworm InRelease
Hit:2 https://security.debian.org/debian-security bookworm-security InRelease
Hit:3 https://dl.winehq.org/wine-builds/debian bookworm InRelease     
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
I hope this helps.
Post Reply