Git Product home page Git Product logo

Comments (4)

jblakeman avatar jblakeman commented on August 19, 2024

A check has been added in da8e07a to exit on name resolution failures.

from apt-select.

tiberiuichim avatar tiberiuichim commented on August 19, 2024

the solution is wrong. The traceback says that it's at 83% checking, it resolved 5 out of 6 hosts. Obviously the net connection was working and the fix to just exit is not a good one.

from apt-select.

jblakeman avatar jblakeman commented on August 19, 2024

It looks like this error can be caused by many things including improper DNS forwarding or a misconfigured DHCP server on your network. Depending on the cause, the problem probably won't just go away. If you run the script with these DNS errors, and the list of mirrors is long, it would needlessly try to resolve each mirror name before reporting nothing, and there would likely be later problems updating or installing using apt-get.

I agree that error handling shouldn't ignore unlikely scenarios like this or a dead mirror address provided by Canonical, but it should probably exit on deadly ones. However, if the script doesn't exit here, nothing really bad will happen so I agree we should just continue to let it run.

from apt-select.

jblakeman avatar jblakeman commented on August 19, 2024

Addressed in 467917c

from apt-select.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.