Jump to content

Recommended Posts

Posted

Who can share their valid /etc/apt/sources.list for an armhf SBC?

 

Some past update has messed mine up a bit.

 

Mine is:

 

# deb http://gb.archive.ubuntu.com/ubuntu/ jammy main universe restricted multiverse
deb [arch=armhf] http://ports.ubuntu.com/ubuntu-ports/ jammy main universe restricted multiverse

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
# deb http://archive.ubuntu.com/ubuntu/ jammy main restricted
# deb-src http://archive.ubuntu.com/ubuntu/ jammy main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb [arch=armhf] http://archive.ubuntu.com/ubuntu/ jammy-updates restricted
# deb-src http://archive.ubuntu.com/ubuntu/ jammy-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
# deb http://archive.ubuntu.com/ubuntu/ jammy universe
# deb-src http://archive.ubuntu.com/ubuntu/ jammy universe
deb [arch=armhf] http://archive.ubuntu.com/ubuntu/ jammy-updates universe
# deb-src http://archive.ubuntu.com/ubuntu/ jammy-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
# deb http://archive.ubuntu.com/ubuntu/ jammy multiverse
# deb-src http://archive.ubuntu.com/ubuntu/ jammy multiverse
deb [arch=armhf] http://archive.ubuntu.com/ubuntu/ jammy-updates multiverse
# deb-src http://archive.ubuntu.com/ubuntu/ jammy-updates multiverse

## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
# deb http://archive.ubuntu.com/ubuntu/ jammy-backports main restricted universe multiverse
# deb-src http://archive.ubuntu.com/ubuntu/ jammy-backports main restricted universe multiverse

deb [arch=armhf] http://security.ubuntu.com/ubuntu/ jammy-security restricted
# deb-src http://security.ubuntu.com/ubuntu/ jammy-security main restricted
deb [arch=armhf] http://security.ubuntu.com/ubuntu/ jammy-security universe
# deb-src http://security.ubuntu.com/ubuntu/ jammy-security universe
deb [arch=armhf] http://security.ubuntu.com/ubuntu/ jammy-security multiverse
# deb-src http://security.ubuntu.com/ubuntu/ jammy-security multiverse

deb [arch=armhf] http://archive.canonical.com/ubuntu focal partner

 

Posted

Is this regarding the orange pi zero? How big of an upgrade was it? What are the specific apt-get error messages you see?

 

I run debian in my orange pi zero, not ubuntu

 

I think it will be quicker if you reload an old OS image in a different microSD and see what changed.

 

(if you change something manually and mess it up even further, you are on your own XD )

 

If there's no solution or workaround, I would personally start from a new armbian OS image.

 

Unless someone else can share the sources.list

Posted

No.  It's a BananaPi Pro, but the question, in general, covers all SBCs that use the armhf processor and the Ubuntu operating system.

 

This is what happens when I try and perform an apt update:

 

Hit:1 http://ports.ubuntu.com/ubuntu-ports jammy InRelease
Hit:2 http://archive.canonical.com/ubuntu focal InRelease
Hit:4 https://download.docker.com/linux/ubuntu jammy InRelease
Hit:5 http://ppa.launchpad.net/eivnaes/network-manager-sstp/ubuntu focal InRelease
Get:6 http://security.ubuntu.com/ubuntu jammy-security InRelease [129 kB]
Get:7 http://archive.ubuntu.com/ubuntu jammy-updates InRelease [128 kB]
Hit:3 http://netcup.armbian.com/apt jammy InRelease
Hit:8 https://github.armbian.com/configurator stable InRelease
E: Repository 'http://security.ubuntu.com/ubuntu jammy-security InRelease' changed its 'Origin' value from 'Armbian' to 'Ubuntu'
E: Repository 'http://security.ubuntu.com/ubuntu jammy-security InRelease' changed its 'Label' value from 'Armbian' to 'Ubuntu'
N: Repository 'http://security.ubuntu.com/ubuntu jammy-security InRelease' changed its 'Version' value from '' to '22.04'
N: Repository 'http://security.ubuntu.com/ubuntu jammy-security InRelease' changed its 'Suite' value from 'jammy' to 'jammy-security'
N: This must be accepted explicitly before updates for this repository can be applied. See apt-secure(8) manpage for details.
Do you want to accept these changes and continue updating from this repository? [y/N] y
E: Repository 'http://archive.ubuntu.com/ubuntu jammy-updates InRelease' changed its 'Origin' value from 'Armbian' to 'Ubuntu'
E: Repository 'http://archive.ubuntu.com/ubuntu jammy-updates InRelease' changed its 'Label' value from 'Armbian' to 'Ubuntu'
N: Repository 'http://archive.ubuntu.com/ubuntu jammy-updates InRelease' changed its 'Version' value from '' to '22.04'
N: Repository 'http://archive.ubuntu.com/ubuntu jammy-updates InRelease' changed its 'Suite' value from 'jammy' to 'jammy-updates'
N: This must be accepted explicitly before updates for this repository can be applied. See apt-secure(8) manpage for details.
Do you want to accept these changes and continue updating from this repository? [y/N] y
Ign:9 http://archive.ubuntu.com/ubuntu jammy-updates/restricted armhf Packages
Get:10 http://archive.ubuntu.com/ubuntu jammy-updates/restricted armhf DEP-11 Metadata [158 B]
Get:11 http://archive.ubuntu.com/ubuntu jammy-updates/restricted DEP-11 48x48 Icons [29 B]
Get:12 http://archive.ubuntu.com/ubuntu jammy-updates/restricted DEP-11 64x64 Icons [29 B]
Ign:13 http://archive.ubuntu.com/ubuntu jammy-updates/universe armhf Packages
Get:14 http://archive.ubuntu.com/ubuntu jammy-updates/universe armhf DEP-11 Metadata [489 kB]
Get:15 http://archive.ubuntu.com/ubuntu jammy-updates/universe DEP-11 48x48 Icons [247 kB]
Get:16 http://archive.ubuntu.com/ubuntu jammy-updates/universe DEP-11 64x64 Icons [398 kB]
Ign:17 http://archive.ubuntu.com/ubuntu jammy-updates/multiverse armhf Packages
Get:18 http://archive.ubuntu.com/ubuntu jammy-updates/multiverse armhf DEP-11 Metadata [159 B]
Get:19 http://archive.ubuntu.com/ubuntu jammy-updates/multiverse DEP-11 48x48 Icons [1,867 B]
Get:20 http://archive.ubuntu.com/ubuntu jammy-updates/multiverse DEP-11 64x64 Icons [2,497 B]
Ign:9 http://archive.ubuntu.com/ubuntu jammy-updates/restricted armhf Packages
Ign:13 http://archive.ubuntu.com/ubuntu jammy-updates/universe armhf Packages
Ign:17 http://archive.ubuntu.com/ubuntu jammy-updates/multiverse armhf Packages
Ign:9 http://archive.ubuntu.com/ubuntu jammy-updates/restricted armhf Packages
Ign:13 http://archive.ubuntu.com/ubuntu jammy-updates/universe armhf Packages
Ign:17 http://archive.ubuntu.com/ubuntu jammy-updates/multiverse armhf Packages
Ign:9 http://archive.ubuntu.com/ubuntu jammy-updates/restricted armhf Packages
Ign:13 http://archive.ubuntu.com/ubuntu jammy-updates/universe armhf Packages
Ign:17 http://archive.ubuntu.com/ubuntu jammy-updates/multiverse armhf Packages
Ign:9 http://archive.ubuntu.com/ubuntu jammy-updates/restricted armhf Packages
Ign:13 http://archive.ubuntu.com/ubuntu jammy-updates/universe armhf Packages
Ign:17 http://archive.ubuntu.com/ubuntu jammy-updates/multiverse armhf Packages
Err:9 http://archive.ubuntu.com/ubuntu jammy-updates/restricted armhf Packages
  404  Not Found [IP: 2620:2d:4000:1::103 80]
Ign:13 http://archive.ubuntu.com/ubuntu jammy-updates/universe armhf Packages
Ign:17 http://archive.ubuntu.com/ubuntu jammy-updates/multiverse armhf Packages
Fetched 1,396 kB in 27s (50.9 kB/s)
Reading package lists... Done
N: Ignoring file 'azlux.zip' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
E: Failed to fetch http://security.ubuntu.com/ubuntu/dists/jammy-security/InRelease
E: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/jammy-updates/restricted/binary-armhf/Packages  404  Not Found [IP: 2620:2d:4000:1::103 80]
E: Some index files failed to download. They have been ignored, or old ones used instead.

 

I'm aware of the issue relating to `azlux.zip`.  I've just not yet moved that zip file out of sources.list.d.

Posted

It is good that you mention 'Ubuntu' as that differs of course from Debian (what I use for my armhf boards). I have always done in-place full/dist-upgrade, the boards work fine, for years already with Armbian (Bookworm now).

 

What I do in such cases is download a minimal latest/working image and loop mount it somewhere and look what is in the files there.

 

But it also can simply be some internet routing issue or something not in sync or so. Or maybe prepare for transition to noble, that is a bit guessing, but maybe that gets more care now.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines