Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[SOLVED] Broken repositories

Featured Replies

Hi

I want to install some packages, but it not found on sources. When i do update repositories by sudo apt update command, the following messages shown that means the repositories is broken.

Err:1 http://httpredir.debian.org/debian stretch InRelease
  Could not resolve 'httpredir.debian.org'
Err:2 http://httpredir.debian.org/debian stretch-updates InRelease
  Could not resolve 'httpredir.debian.org'
Err:3 http://httpredir.debian.org/debian stretch-backports InRelease
  Could not resolve 'httpredir.debian.org'
Err:4 http://security.debian.org stretch/updates InRelease
  Could not resolve 'security.debian.org'
Err:5 http://apt.armbian.com stretch InRelease
  Could not resolve 'apt.armbian.com'
Reading package lists... Done
Building dependency tree
Reading state information... Done
3 packages can be upgraded. Run 'apt list --upgradable' to see them.
W: Failed to fetch http://httpredir.debian.org/debian/dists/stretch/InRelease  Could not resolve 'httpredir.debian.org'
W: Failed to fetch http://httpredir.debian.org/debian/dists/stretch-updates/InRelease  Could not resolve 'httpredir.debian.org'
W: Failed to fetch http://httpredir.debian.org/debian/dists/stretch-backports/InRelease  Could not resolve 'httpredir.debian.org'
W: Failed to fetch http://security.debian.org/dists/stretch/updates/InRelease  Could not resolve 'security.debian.org'
W: Failed to fetch http://apt.armbian.com/dists/stretch/InRelease  Could not resolve 'apt.armbian.com'
W: Some index files failed to download. They have been ignored, or old ones used instead.

Also i tried sudo apt update --fix-missing and sudo aptitude update or sudo apt-get update but nothing changed.

I'm using Armbian_5.38_Cubietruck_Debian_stretch_next_4.14.14

How can i fix this? Is there a new source list to replace?

Thanks.

  • Author
1 minute ago, Igor said:

Problem is DNS related. If you are getting IP via DHPC server, which is default, this is what you need to do:


rm /etc/network/interfaces
reboot

I'm using static IP, but my internet connection is shared true another Ethernet connection that gets IP from DHCP server.

is it works for my situation?

 

  • Author
16 minutes ago, Igor said:

Don't know. This error indicates that something is wrong with your network, most likely DNS settings. Unrelated to Allwinner A20 or Armbian.

Thanks a lot!

  • Author

@Igor

True, the problem was related to DNS. I've fixed it by adding DNS nameservers as follow:

 

$ sudo vi /etc/resolv.conf


Modify or enter nameserver as follows:
nameserver 8.8.8.8
nameserver 4.2.2.4

 

Thank you once again!

Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.