Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Errors setting up HandyHost on Debian "bullseye" #76

Open
esaumell opened this issue Apr 16, 2022 · 1 comment
Open

Errors setting up HandyHost on Debian "bullseye" #76

esaumell opened this issue Apr 16, 2022 · 1 comment

Comments

@esaumell
Copy link

esaumell commented Apr 16, 2022

# dpkg -i handyhost_v0.5.4.deb || apt install -f -y
dpkg: regarding handyhost_v0.5.4.deb containing handyhost, pre-dependency problem:
 handyhost pre-depends on gnupg
  gnupg is not installed.

So gnupg has to be installed first with apt install gnupg

Then dpkg -i handyhost_v0.5.4.deb

(Reading database ... 27977 files and directories currently installed.)
Preparing to unpack handyhost_v0.5.4.deb ...
deb [signed-by=/usr/share/keyrings/kubernetes-archive-keyring.gpg] https://apt.kubernetes.io/ kubernetes-xenial main
Hit:1 http://deb.debian.org/debian bullseye InRelease
Hit:2 http://security.debian.org/debian-security bullseye-security InRelease
Hit:3 http://deb.debian.org/debian bullseye-updates InRelease                
Ign:4 https://download.docker.com/linux/ubuntu bullseye InRelease            
Err:5 https://download.docker.com/linux/ubuntu bullseye Release
  404  Not Found [IP: 2600:9000:2042:f800:3:db06:4200:93a1 443]
Get:6 https://packages.cloud.google.com/apt kubernetes-xenial InRelease [9.383 B]
Get:7 https://packages.cloud.google.com/apt kubernetes-xenial/main amd64 Packages [54,7 kB]
Reading package lists... Done      
E: The repository 'https://download.docker.com/linux/ubuntu bullseye 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.
dpkg: error processing archive handyhost_v0.5.4.deb (--install):
 new handyhost package pre-installation script subprocess returned error exit status 100
Errors were encountered while processing:
 handyhost_v0.5.4.deb

ubuntu should be replaced with debian in /etc/apt/sources.list.d/docker.list

deb [arch=amd64 signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/ubuntu bullseye stable
should be
deb [arch=amd64 signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/debian bullseye stable

We need to replace ubuntu with debian: sed -i 's/ubuntu/debian/' /etc/apt/sources.list.d/docker.list

After you change that, run dpkg -i handyhost_v0.5.4.deb || apt install -f -y again and installation will run smoothly on Debian bullseye

@snormonster
Copy link

Thanks for this, I was running into trouble installing docker on Raspberry Pi, your workaround fixed my issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants