Debian 11 apt update 404 issue
Posted: Sun Apr 10, 2022 4:31 am
I was following the wiki for installing ZM on debian and ran into 404s when trying to pull from the repo.
I started debugging the update to see what was going on.
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.
I figured I would share this here for awareness.
EDIT:
Nevermind, it solved the 404, but now it doesn't like the distribution name.
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.
Code: Select all
Err:5 https://zmrepo.zoneminder.com/debian/release-1.34 bullseye Release
404 Not Found [IP: 158.69.226.113 443]
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]
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
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)
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.