Or stop using connman, which I'd say is even better.
On Sat, Mar 18, 2023 at 02:21:04AM +0200, Boian Bonev wrote:
> On Fri, 2023-03-17 at 20:15 -0400, Hendrik Boom wrote:
> > Connman also edits resolv.conf to point to localhost and the connman
> > process takes over all DNS resolution.
> > Result: if once you get a dud mirror, you always get the dud
> > mirror. connman doesn't even do a new DNS lookup because it's a
> > lnow-it-all.
> > I fixed it by hand-editing resolv.conf to use 220.127.116.11 or 18.104.22.168 or
> > the like nefore using aptitude *every time*. Then aptitude works
> > just fine until the next time connman is used. Which sometimes
> > happens during the upgrade if there's an updated connman package.
> [just a suggestion] In case you are on ext4, you can "chattr +i
> /etc/resolv.conf" and conman will no longer be able to change that
> file. "chattr -i resolv.conf" before editing it.
> With best regards,
> devuan-dev internal mailing list