Expert Novice
Member
I've been investigating Linux world recently, currently running Ubuntu 20.04 from a live USB drive (128gb) with full persistence on a Lenovo Thinkpad T400 (Core 2 duo 2.53, 64bit with 4gb RAM). I'm getting on quite well and enjoying exploring something new. Ideally I'd like to move away from Windoze altogether but there's one program to which I really want to retain access so before I wipe Windoze from my hard drive and jump into Linux with both feet I want to get Wine working and check whether the program is compatible and is going to work with Wine.
I've gone through the install process given here but it ends with a complaint about unmet dependencies.
I've copied the terminal output below. Could someone have a look and tell me what's going wrong or at least give me some pointers towards where to look?
ubuntu@ubuntu:~$ sudo dpkg --add-architecture i386
ubuntu@ubuntu:~$ wget -nc https://dl.winehq.org/wine-builds/winehq.key
File ‘winehq.key’ already there; not retrieving.
ubuntu@ubuntu:~$ sudo apt-key add winehq.key
OK
ubuntu@ubuntu:~$ sudo add-apt-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ focal main'
Ign:1 cdrom://Ubuntu 20.04.1 LTS _Focal Fossa_ - Release amd64 (20200731) focal InRelease
Hit:2 cdrom://Ubuntu 20.04.1 LTS _Focal Fossa_ - Release amd64 (20200731) focal Release
Ign:4 cdrom://Ubuntu 20.04.1 LTS _Focal Fossa_ - Release amd64 (20200731) focal/main i386 Packages
Ign:5 cdrom://Ubuntu 20.04.1 LTS _Focal Fossa_ - Release amd64 (20200731) focal/restricted i386 Packages
Ign:4 cdrom://Ubuntu 20.04.1 LTS _Focal Fossa_ - Release amd64 (20200731) focal/main i386 Packages
Ign:5 cdrom://Ubuntu 20.04.1 LTS _Focal Fossa_ - Release amd64 (20200731) focal/restricted i386 Packages
Ign:4 cdrom://Ubuntu 20.04.1 LTS _Focal Fossa_ - Release amd64 (20200731) focal/main i386 Packages
Ign:5 cdrom://Ubuntu 20.04.1 LTS _Focal Fossa_ - Release amd64 (20200731) focal/restricted i386 Packages
Err:4 cdrom://Ubuntu 20.04.1 LTS _Focal Fossa_ - Release amd64 (20200731) focal/main i386 Packages
Please use apt-cdrom to allow APT to recognise this CD-ROM. 'apt-get update' cannot be used to add new CD-ROMs
Ign:5 cdrom://Ubuntu 20.04.1 LTS _Focal Fossa_ - Release amd64 (20200731) focal/restricted i386 Packages
Hit:6 https://dl.winehq.org/wine-builds/ubuntu groovy InRelease
Hit:7 https://dl.winehq.org/wine-builds/ubuntu focal InRelease
Hit:8 http://archive.ubuntu.com/ubuntu focal InRelease
Hit:9 http://archive.ubuntu.com/ubuntu focal-updates InRelease
Hit:10 http://security.ubuntu.com/ubuntu focal-security InRelease
Reading package lists... Done
E: Failed to fetch cdrom://Ubuntu 20.04.1 LTS _Focal Fossa_ - Release amd64 (20200731)/dists/focal/main/binary-i386/Packages Please use apt-cdrom to allow APT to recognise this CD-ROM. 'apt-get update' cannot be used to add new CD-ROMs
E: Some index files failed to download. They have been ignored, or old ones used instead.
ubuntu@ubuntu:~$ sudo apt update
Ign:1 cdrom://Ubuntu 20.04.1 LTS _Focal Fossa_ - Release amd64 (20200731) focal InRelease
Hit:2 cdrom://Ubuntu 20.04.1 LTS _Focal Fossa_ - Release amd64 (20200731) focal Release
Hit:3 http://security.ubuntu.com/ubuntu focal-security InRelease
Hit:4 http://archive.ubuntu.com/ubuntu focal InRelease
Hit:5 https://dl.winehq.org/wine-builds/ubuntu groovy InRelease
Hit:6 http://archive.ubuntu.com/ubuntu focal-updates InRelease
Ign:8 cdrom://Ubuntu 20.04.1 LTS _Focal Fossa_ - Release amd64 (20200731) focal/main i386 Packages
Ign:9 cdrom://Ubuntu 20.04.1 LTS _Focal Fossa_ - Release amd64 (20200731) focal/restricted i386 Packages
Ign:8 cdrom://Ubuntu 20.04.1 LTS _Focal Fossa_ - Release amd64 (20200731) focal/main i386 Packages
Ign:9 cdrom://Ubuntu 20.04.1 LTS _Focal Fossa_ - Release amd64 (20200731) focal/restricted i386 Packages
Ign:8 cdrom://Ubuntu 20.04.1 LTS _Focal Fossa_ - Release amd64 (20200731) focal/main i386 Packages
Ign:9 cdrom://Ubuntu 20.04.1 LTS _Focal Fossa_ - Release amd64 (20200731) focal/restricted i386 Packages
Err:8 cdrom://Ubuntu 20.04.1 LTS _Focal Fossa_ - Release amd64 (20200731) focal/main i386 Packages
Please use apt-cdrom to allow APT to recognise this CD-ROM. 'apt-get update' cannot be used to add new CD-ROMs
Ign:9 cdrom://Ubuntu 20.04.1 LTS _Focal Fossa_ - Release amd64 (20200731) focal/restricted i386 Packages
Hit:10 https://dl.winehq.org/wine-builds/ubuntu focal InRelease
Reading package lists... Done
E: Failed to fetch cdrom://Ubuntu 20.04.1 LTS _Focal Fossa_ - Release amd64 (20200731)/dists/focal/main/binary-i386/Packages Please use apt-cdrom to allow APT to recognise this CD-ROM. 'apt-get update' cannot be used to add new CD-ROMs
E: Some index files failed to download. They have been ignored, or old ones used instead.
ubuntu@ubuntu:~$ sudo apt install --install-recommends winehq-stable
Reading package lists... Done
Building dependency tree
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 (= 5.0.3~groovy)
E: Unable to correct problems, you have held broken packages.
ubuntu@ubuntu:~$
I've gone through the install process given here but it ends with a complaint about unmet dependencies.
I've copied the terminal output below. Could someone have a look and tell me what's going wrong or at least give me some pointers towards where to look?
ubuntu@ubuntu:~$ sudo dpkg --add-architecture i386
ubuntu@ubuntu:~$ wget -nc https://dl.winehq.org/wine-builds/winehq.key
File ‘winehq.key’ already there; not retrieving.
ubuntu@ubuntu:~$ sudo apt-key add winehq.key
OK
ubuntu@ubuntu:~$ sudo add-apt-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ focal main'
Ign:1 cdrom://Ubuntu 20.04.1 LTS _Focal Fossa_ - Release amd64 (20200731) focal InRelease
Hit:2 cdrom://Ubuntu 20.04.1 LTS _Focal Fossa_ - Release amd64 (20200731) focal Release
Ign:4 cdrom://Ubuntu 20.04.1 LTS _Focal Fossa_ - Release amd64 (20200731) focal/main i386 Packages
Ign:5 cdrom://Ubuntu 20.04.1 LTS _Focal Fossa_ - Release amd64 (20200731) focal/restricted i386 Packages
Ign:4 cdrom://Ubuntu 20.04.1 LTS _Focal Fossa_ - Release amd64 (20200731) focal/main i386 Packages
Ign:5 cdrom://Ubuntu 20.04.1 LTS _Focal Fossa_ - Release amd64 (20200731) focal/restricted i386 Packages
Ign:4 cdrom://Ubuntu 20.04.1 LTS _Focal Fossa_ - Release amd64 (20200731) focal/main i386 Packages
Ign:5 cdrom://Ubuntu 20.04.1 LTS _Focal Fossa_ - Release amd64 (20200731) focal/restricted i386 Packages
Err:4 cdrom://Ubuntu 20.04.1 LTS _Focal Fossa_ - Release amd64 (20200731) focal/main i386 Packages
Please use apt-cdrom to allow APT to recognise this CD-ROM. 'apt-get update' cannot be used to add new CD-ROMs
Ign:5 cdrom://Ubuntu 20.04.1 LTS _Focal Fossa_ - Release amd64 (20200731) focal/restricted i386 Packages
Hit:6 https://dl.winehq.org/wine-builds/ubuntu groovy InRelease
Hit:7 https://dl.winehq.org/wine-builds/ubuntu focal InRelease
Hit:8 http://archive.ubuntu.com/ubuntu focal InRelease
Hit:9 http://archive.ubuntu.com/ubuntu focal-updates InRelease
Hit:10 http://security.ubuntu.com/ubuntu focal-security InRelease
Reading package lists... Done
E: Failed to fetch cdrom://Ubuntu 20.04.1 LTS _Focal Fossa_ - Release amd64 (20200731)/dists/focal/main/binary-i386/Packages Please use apt-cdrom to allow APT to recognise this CD-ROM. 'apt-get update' cannot be used to add new CD-ROMs
E: Some index files failed to download. They have been ignored, or old ones used instead.
ubuntu@ubuntu:~$ sudo apt update
Ign:1 cdrom://Ubuntu 20.04.1 LTS _Focal Fossa_ - Release amd64 (20200731) focal InRelease
Hit:2 cdrom://Ubuntu 20.04.1 LTS _Focal Fossa_ - Release amd64 (20200731) focal Release
Hit:3 http://security.ubuntu.com/ubuntu focal-security InRelease
Hit:4 http://archive.ubuntu.com/ubuntu focal InRelease
Hit:5 https://dl.winehq.org/wine-builds/ubuntu groovy InRelease
Hit:6 http://archive.ubuntu.com/ubuntu focal-updates InRelease
Ign:8 cdrom://Ubuntu 20.04.1 LTS _Focal Fossa_ - Release amd64 (20200731) focal/main i386 Packages
Ign:9 cdrom://Ubuntu 20.04.1 LTS _Focal Fossa_ - Release amd64 (20200731) focal/restricted i386 Packages
Ign:8 cdrom://Ubuntu 20.04.1 LTS _Focal Fossa_ - Release amd64 (20200731) focal/main i386 Packages
Ign:9 cdrom://Ubuntu 20.04.1 LTS _Focal Fossa_ - Release amd64 (20200731) focal/restricted i386 Packages
Ign:8 cdrom://Ubuntu 20.04.1 LTS _Focal Fossa_ - Release amd64 (20200731) focal/main i386 Packages
Ign:9 cdrom://Ubuntu 20.04.1 LTS _Focal Fossa_ - Release amd64 (20200731) focal/restricted i386 Packages
Err:8 cdrom://Ubuntu 20.04.1 LTS _Focal Fossa_ - Release amd64 (20200731) focal/main i386 Packages
Please use apt-cdrom to allow APT to recognise this CD-ROM. 'apt-get update' cannot be used to add new CD-ROMs
Ign:9 cdrom://Ubuntu 20.04.1 LTS _Focal Fossa_ - Release amd64 (20200731) focal/restricted i386 Packages
Hit:10 https://dl.winehq.org/wine-builds/ubuntu focal InRelease
Reading package lists... Done
E: Failed to fetch cdrom://Ubuntu 20.04.1 LTS _Focal Fossa_ - Release amd64 (20200731)/dists/focal/main/binary-i386/Packages Please use apt-cdrom to allow APT to recognise this CD-ROM. 'apt-get update' cannot be used to add new CD-ROMs
E: Some index files failed to download. They have been ignored, or old ones used instead.
ubuntu@ubuntu:~$ sudo apt install --install-recommends winehq-stable
Reading package lists... Done
Building dependency tree
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 (= 5.0.3~groovy)
E: Unable to correct problems, you have held broken packages.
ubuntu@ubuntu:~$