Comment 26 for bug 1821251

Revision history for this message
Valters Jansons (sigv) wrote :

TEST CASE:
1. Deploy fresh (up-to-date) Ubuntu 20.10 (Groovy) machine.
2. apt install -qqy debmirror=1:2.27ubuntu1
3. debmirror -a amd64 -d groovy -s main --nosource --passive --method=http -h archive.ubuntu.com -r ubuntu --keyring=/usr/share/keyrings/ubuntu-archive-keyring.gpg --progress /opt/debmirror
4. echo 'deb file:///opt/debmirror groovy main' > /etc/apt/sources.list.d/file.list
5. apt update # expected E: failed to fetch file:/opt/debmirror/dists/groovy/main/cnf/Commands-amd64 File not found
6. apt install -qqy debmirror=1:2.27ubuntu2.20.10.1
7. debmirror -a amd64 -d groovy -s main --nosource --passive --method=http -h archive.ubuntu.com -r ubuntu --keyring=/usr/share/keyrings/ubuntu-archive-keyring.gpg --progress /opt/debmirror
8. echo 'deb file:///opt/debmirror groovy main' > /etc/apt/sources.list.d/file.list
9. apt update # All packages are up to date.

VERIFICATION DONE
Mirror is usable with updated `debmirror` package.