Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A10-Olinuxino-lime #8

Closed
xtrinch opened this issue Jun 14, 2022 · 4 comments
Closed

A10-Olinuxino-lime #8

xtrinch opened this issue Jun 14, 2022 · 4 comments

Comments

@xtrinch
Copy link

xtrinch commented Jun 14, 2022

First of all thank you for your hard work,

I've booted into the A10-Olinuxino-lime image, and I'm unable to get apt to work, it says Temporary failure resolving. It appears I'm connected and have an IP on eth0 (Can see it in the ifconfig). Can't ping since ping isn't installed.

Can confirm same ethernet port connection setup works with official Olimex images.

What could it be?

@johang
Copy link
Owner

johang commented Jun 15, 2022

Can't reproduce. Maybe the DHCP/DNS problem in your local network.

@evil-publishing
Copy link

evil-publishing commented Jun 17, 2022

Hello there,

i have the same issue here with the bookworm image. Guess it could have something to do with the hostname. Will see if i can resolve this. But one question: which editor to edit files in the vanilla version is standard? Tried the usual suspects (vi, nano) but neither seem to be installed.

Thanks for any hint on this.

Regards,

Boris

Addendum: changing the routers setup didn't solve it. Here's the output from apt update:

root@debian:~# apt update
Ign:1 http://deb.debian.org/debian bookworm InRelease
Ign:2 http://security.debian.org/debian-security bookworm-security InRelease
Ign:3 http://deb.debian.org/debian bookworm-updates InRelease
Ign:2 http://security.debian.org/debian-security bookworm-security InRelease
Ign:1 http://deb.debian.org/debian bookworm InRelease
Ign:2 http://security.debian.org/debian-security bookworm-security InRelease
Ign:3 http://deb.debian.org/debian bookworm-updates InRelease
Err:2 http://security.debian.org/debian-security bookworm-security InRelease
  Temporary failure resolving 'security.debian.org'
Ign:1 http://deb.debian.org/debian bookworm InRelease
Ign:3 http://deb.debian.org/debian bookworm-updates InRelease
Err:1 http://deb.debian.org/debian bookworm InRelease
  Temporary failure resolving 'deb.debian.org'
Err:3 http://deb.debian.org/debian bookworm-updates InRelease
  Temporary failure resolving 'deb.debian.org'
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.
W: Failed to fetch http://deb.debian.org/debian/dists/bookworm/InRelease  Temporary failure resolving 'deb.debian.org'
W: Failed to fetch http://deb.debian.org/debian/dists/bookworm-updates/InRelease  Temporary failure resolving 'deb.debian.org'
W: Failed to fetch http://security.debian.org/debian-security/dists/bookworm-security/InRelease  Temporary failure resolving 'security.debian.org'
W: Some index files failed to download. They have been ignored, or old ones used instead.

Unfortunately it gets no packages, either (i think that was clear, but hopes die at least):

root@debian:~# apt install nano
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package nano

This is strange, too:

root@debian:~# ping
-bash: ping: command not found

Maybe there's something gone wrong with the debian-base-system?

Any hint, how i can find out, what's wrong here?

@evil-publishing
Copy link

evil-publishing commented Jun 17, 2022

Gotcha. In /etc/resolv.conf the nameserver is set to 192.168.2.1 but in my case it should be 192.168.178.1

root@debian:/etc# apt update
Get:1 http://security.debian.org/debian-security bookworm-security InRelease [35.6 kB]
Get:2 http://deb.debian.org/debian bookworm InRelease [130 kB]
Get:3 http://deb.debian.org/debian bookworm-updates InRelease [36.8 kB]
Reading package lists... Done
E: Release file for http://security.debian.org/debian-security/dists/bookworm-security/InRelease is not valid yet (invalid for another 92d 2h 50min 11s). Updates for this repository will not be applied.
E: Release file for http://deb.debian.org/debian/dists/bookworm/InRelease is not valid yet (invalid for another 93d 20h 11min 46s). Updates for this repository will not be applied.
E: Release file for http://deb.debian.org/debian/dists/bookworm-updates/InRelease is not valid yet (invalid for another 93d 20h 11min 45s). Updates for this repository will not be applied.

Looks way better - but installing nano and some sort of ping command thru .deb-files and scp wasn't soo nice ;)

Next thing was the time and date was not set correctly and where a little offset. a date -s corrected this one.
Now apt update && apt upgrade works as expected.

Another note: it seems to be no dialog installed, so apt goes to crash-recover with the readline interface... maybe there are some issues with the base-packages...

@johang johang closed this as completed in 8e9569e Jun 17, 2022
@johang
Copy link
Owner

johang commented Jun 17, 2022

Nice catch. I made a fix for it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants