Comments (4)
A check has been added in da8e07a to exit on name resolution failures.
from apt-select.
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.
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.
Addressed in 467917c
from apt-select.
Related Issues (20)
- parsing sources.list with https fails
- TypeError: not enough arguments for format string HOT 4
- mirrors.txt only has a single mirror to choose from HOT 6
- UnicodeEncodeError when listing mirror info with unicode chars HOT 2
- Traceback on Ubuntu 17.10 HOT 2
- UnicodeDecodeError: 'ascii' codec can't decode byte 0xe5 in position 5: ordinal not in range(128) HOT 2
- Fails to consider `mirror` scheme HOT 5
- No instructions for uninstall provided HOT 4
- Invalid country. latam is not in ISO 3166-1 alpha-2 format HOT 3
- `AttributeError: 'Sources' object has no attribute 'APT_FILE'` HOT 2
- Provide more detailed environment usage instructions
- apt-select : Command not recognized HOT 1
- show scheme in output
- add verbose flag
- option to only select https HOT 4
- Option to search all mirrors or multiple mirrors HOT 2
- Linux Mint support HOT 3
- Skipping file generation - Connection refused
- Support for Ubuntu 24.04
- Has this been abandoned? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from apt-select.