Page MenuHomePhabricator

reprepro unable to run checkupdate and import upgraded packages
Closed, ResolvedPublic

Description

Ran into this error while upgrading Grafana T263747 :

root@apt1001:~# reprepro --noskipold checkupdate
aptmethod error receiving 'https://artifacts.elastic.co/packages/5.x/apt/dists/stable/Release':
'404  Not Found [IP: 2600:1901:0:1d7:: 443]'
aptmethod error receiving 'https://artifacts.elastic.co/packages/5.x/apt/dists/stable/Release':
'404  Not Found [IP: 2600:1901:0:1d7:: 443]'
aptmethod error receiving 'https://packages.elastic.co/curator/5/debian9/dists/stable/Release':
'Redirection loop encountered [IP: 2600:1901:0:1d7:: 80]'
aptmethod error receiving 'https://packages.elastic.co/curator/5/debian9/dists/stable/Release.gpg':
'Redirection loop encountered [IP: 2600:1901:0:1d7:: 80]'
aptmethod error receiving 'https://archive.cloudera.com/p/cdh5/debian/jessie/amd64/cdh/dists/jessie-cdh5.16.1/InRelease':
'Redirection loop encountered [IP: 199.232.64.167 80]'
aptmethod error receiving 'https://archive.cloudera.com/p/cdh5/debian/jessie/amd64/cdh/dists/jessie-cdh5.16.1/Release':
'Redirection loop encountered [IP: 199.232.64.167 80]'
aptmethod error receiving 'https://archive.cloudera.com/p/cdh5/debian/jessie/amd64/cdh/dists/jessie-cdh5.16.1/Release.gpg':
'Redirection loop encountered [IP: 199.232.64.167 80]'
There have been errors!
root@apt1001:~#

Event Timeline

Change 664304 had a related patch set uploaded (by Muehlenhoff; owner: Muehlenhoff):
[operations/puppet@production] Remove obsolete cloudera config from reprepro

https://gerrit.wikimedia.org/r/664304

Note that the elastic 5 "not found" errors seem flappy, I just got a checkupdate run without those errors

Change 664304 merged by Muehlenhoff:
[operations/puppet@production] Remove obsolete cloudera config from reprepro

https://gerrit.wikimedia.org/r/664304

The underlying bug was fixed in apt 2.1.16 via https://salsa.debian.org/apt-team/apt/-/merge_requests/140 and will be part of bullseye. In the mean time elasticsearch-curator packages can still be imported via "includedeb".

Change 664528 had a related patch set uploaded (by Filippo Giunchedi; owner: Filippo Giunchedi):
[operations/puppet@production] aptrepo: fix elastic curator url

https://gerrit.wikimedia.org/r/664528

Change 664528 merged by Filippo Giunchedi:
[operations/puppet@production] aptrepo: fix elastic curator url

https://gerrit.wikimedia.org/r/664528

fgiunchedi claimed this task.

We're back:

root@apt1001:~# reprepro --noskipold checkupdate
Calculating packages to get...
Updates needed for 'buster-wikimedia|thirdparty/pyall|amd64':
Updates needed for 'buster-wikimedia|thirdparty/postgres96|source':
...