Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#1016897: Temporary failure resolving 'deb.debian.org'

258 views
Skip to first unread message

probal basak

unread,
Aug 9, 2022, 7:20:04 AM8/9/22
to
Package: apt
Version: apt 2.2.4 (amd64)

We have GitHub actions setup for building/running some scripts.

However, we see some issues while the script is run.

Please note that with nslookup, deb.debian.org is getting resolved as expected.

Please find the error snippet below:

+ update
+ apt update
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
Ign:1 http://deb.debian.org/debian unstable InRelease
Ign:1 http://deb.debian.org/debian unstable InRelease
Ign:1 http://deb.debian.org/debian unstable InRelease
Err:1 http://deb.debian.org/debian unstable InRelease
  Temporary failure resolving 'deb.debian.org'
Reading package lists...
Building dependency tree...
All packages are up to date.
W: Failed to fetch http://deb.debian.org/debian/dists/unstable/InRelease  Temporary failure resolving 'deb.debian.org'
W: Some index files failed to download. They have been ignored, or old ones used instead.

Can you please look into the issue and suggest any way to avoid the issue?



--
Thanks,
Probal Basak.

Julian Andres Klode

unread,
Aug 9, 2022, 8:10:03 AM8/9/22
to
Control: tag -1 moreinfo

On Tue, Aug 09, 2022 at 04:41:44PM +0530, probal basak wrote:
> Package: apt
> Version: apt 2.2.4 (amd64)
>
> We have GitHub actions setup for building/running some scripts.
>
> However, we see some issues while the script is run.
>
> Please note that with nslookup, deb.debian.org is getting resolved as
> expected.

Note that APT does a whole bunch of SRV record look ups, and implements
happy eyeballs 2.

>
> Please find the error snippet below:
>
> + update
> + apt update
> WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
> Ign:1 http://deb.debian.org/debian unstable InRelease
> Ign:1 http://deb.debian.org/debian unstable InRelease
> Ign:1 http://deb.debian.org/debian unstable InRelease
> Err:1 http://deb.debian.org/debian unstable InRelease
> Temporary failure resolving 'deb.debian.org'
> Reading package lists...
> Building dependency tree...
> All packages are up to date.
> W: Failed to fetch
> http://deb.debian.org/debian/dists/unstable/InRelease Temporary
> failure resolving 'deb.debian.org'
> W: Some index files failed to download. They have been ignored, or old
> ones used instead.
>
> Can you please look into the issue and suggest any way to avoid the issue?

Can *you* please do that? You're the one who can reproduce that. Patches welcome.

--
debian developer - deb.li/jak | jak-linux.org - free software dev
ubuntu core developer i speak de, en

probal basak

unread,
Aug 9, 2022, 8:20:03 AM8/9/22
to
Sorry I may not have the required knowledge or expertise to fix or analyse the issue.
It would be helpful if you can please provide a resolution/fix.

If you need anything from my side please let me know. Will be happy to provide all the required information. Regards
--
Thanks,
Probal Basak.
Phone : +91-9681893111

David Kalnischkies

unread,
Aug 9, 2022, 11:00:04 AM8/9/22
to
On Tue, Aug 09, 2022 at 04:41:44PM +0530, probal basak wrote:
> We have GitHub actions setup for building/running some scripts.

We don't use GitHub or actions, but a simple search on GitHub
https://github.com/search?q=http%3A%2F%2Fdeb.debian.org+path%3A.github
finds more than a hundred matches.

This is not a recommendation for any of these projects/setups:
Some of the matches look dangerous if not used with extreme caution
even on the very short glance I gave the first page. And no, I don't
have a best-practice/recommendation for it as I am not using it.


The important part is that I doubt all these have broken CI lying around,
so its something about YOUR setup/action/project/… that you haven't told
us and you will have to figure out as we don't know your project.


So first come up with a reliable way to reproduce your problem by
stripping down your project to the bare minimum needed and share this
reproducer here with us.


Best regards

David Kalnischkies
signature.asc
0 new messages