Here is the history of my terminal:
Code: Select all
gaoming@gaoming-ROG:/etc/apt/sources.list.d$ sudo dpkg --add-architecture i386
Code: Select all
gaoming@gaoming-ROG:/etc/apt/sources.list.d$ sudo mkdir -pm755 /etc/apt/keyrings
Code: Select all
gaoming@gaoming-ROG:/etc/apt/sources.list.d$ sudo wget -O /etc/apt/keyrings/winehq-archive.key https://dl.winehq.org/wine-builds/winehq.key
Resolving dl.winehq.org (dl.winehq.org)... 146.75.106.217
Connecting to dl.winehq.org (dl.winehq.org)|146.75.106.217|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 3220 (3.1K) [application/pgp-keys]
Saving to: ‘/etc/apt/keyrings/winehq-archive.key’
/etc/apt/keyrings/w 100%[===================>] 3.14K --.-KB/s in 0.001s
2024-02-24 20:15:20 (2.07 MB/s) - ‘/etc/apt/keyrings/winehq-archive.key’ saved [3220/3220]
Code: Select all
gaoming@gaoming-ROG:/etc/apt/sources.list.d$ sudo wget -NP /etc/apt/sources.list.d/ https://dl.winehq.org/wine-builds/ubuntu/dists/jammy/winehq-jammy.sources
Resolving dl.winehq.org (dl.winehq.org)... 146.75.106.217
Connecting to dl.winehq.org (dl.winehq.org)|146.75.106.217|:443... connected.
HTTP request sent, awaiting response... 304 Not Modified
File ‘/etc/apt/sources.list.d/winehq-jammy.sources’ not modified on server. Omitting download.
Code: Select all
gaoming@gaoming-ROG:/etc/apt/sources.list.d$ sudo apt install --install-recommends winehq-stable
Building dependency tree... Done
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
winehq-stable : Depends: wine-stable (= 9.0.0.0~mantic-1)
E: Unable to correct problems, you have held broken packages.
Is there any way to delete broken packages? I tried to do it in the files software, but no permission.