Debian 11 apt update 404 issue

Support and queries relating to third party Live CDs and DVD, VM images and other packaged distributions
Post Reply
yep
Posts: 1
Joined: Sun Apr 10, 2022 4:23 am

Debian 11 apt update 404 issue

Post by yep »

I was following the wiki for installing ZM on debian and ran into 404s when trying to pull from the repo.

Code: Select all

Err:5 https://zmrepo.zoneminder.com/debian/release-1.34 bullseye Release
  404  Not Found [IP: 158.69.226.113 443]
I started debugging the update to see what was going on.

Code: Select all

sudo apt -oDebug::pkgAcquire::Worker=1 update

Code: Select all

0% [Working] <- https:102%20Status%0aMessage:%20Waiting%20for%20headers%0aURI:%20https://zmrepo.zoneminder.com/debian/release-1.34/dists/bullseye/Release
 <- https:400%20URI%20Failure%0aFailReason:%20HttpError404%0aMessage:%20404%20%20Not%20Found%20[IP:%20158.69.226.113%20443]%0aURI:%20https://zmrepo.zoneminder.com/debian/release-1.34/dists/bullseye/Release
Err:5 https://zmrepo.zoneminder.com/debian/release-1.34 bullseye Release
  404  Not Found [IP: 158.69.226.113 443]
 
Seems it was expecting a /dists directory which is not present in the repo.

I changed the source.list to this in order to account for the missing directory in the repo.

Code: Select all

deb https://zmrepo.zoneminder.com/debian/release-1.36 ../bullseye main
I figured I would share this here for awareness.

EDIT:

Nevermind, it solved the 404, but now it doesn't like the distribution name.

Code: Select all

Hit:5 https://zmrepo.zoneminder.com/debian/release-1.36 ../bullseye Release
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.
W: Conflicting distribution: https://zmrepo.zoneminder.com/debian/release-1.36 ../bullseye Release (expected ../bullseye but got bullseye)
EDIT2:

It seems since the repo as it's hosted right now does not support Debian 11's definition of a repo because it is not contained in this /dists directory: https://wiki.debian.org/DebianRepositor ... e.22_files

I'll install the 1.34 version in the meantime from Debian official source.
hotelmode
Posts: 11
Joined: Tue Apr 12, 2022 11:21 pm

Re: Debian 11 apt update 404 issue

Post by hotelmode »

The instructions for Debian 11 don't work for me either, but the following string DOES work for me:

Code: Select all

deb https://zmrepo.zoneminder.com/debian/release-1.36 bullseye/
Post Reply