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

System | Jessie arm64 + all jessie-backports packages have been removed from repo #2665

Closed
BerndKohl opened this issue Mar 25, 2019 · 19 comments
Labels
ARMv8 External bug 🐞 For bugs which are not caused by DietPi. Information ℹ️ Jessie Solution available 🥂 Definite solution has been done
Milestone

Comments

@BerndKohl
Copy link

BerndKohl commented Mar 25, 2019

# dietpi-update
[  OK  ] DietPi-Update | Root access verified.
[  OK  ] DietPi-Update | RootFS R/W access verified.


 DietPi-Update
─────────────────────────────────────────────────────
 Mode: Checking for DietPi updates

[ INFO ] DietPi-Update | Checking mirror: https://raw.githubusercontent.com/Fourdee/DietPi/master/dietpi/server_version-6
[  OK  ] DietPi-Update | Using update server: https://raw.githubusercontent.com/Fourdee/DietPi/master/dietpi/server_version-6

[  OK  ] DietPi-Update | Update available
[ INFO ] DietPi-Update | Current version : v6.21.1
[ INFO ] DietPi-Update | Latest version  : v6.22.3
[  OK  ] DietPi-Update | DietPi-Userdata validation: /mnt/dietpi_userdata
[  OK  ] DietPi-Update | Free space check: path=/ | available=61998 MB | required=100 MB
[ SUB1 ] DietPi-Services > stop
[  OK  ] DietPi-Services | stop : cron
[  OK  ] DietPi-Services | stop : syncthing
[  OK  ] DietPi-Services | stop : plexmediaserver
[  OK  ] DietPi-Services | stop : plexpy
[  OK  ] DietPi-Services | stop : nginx
[  OK  ] DietPi-Update | wget https://raw.githubusercontent.com/Fourdee/DietPi/master/dietpi/pre-patch_file -O pre-patch_file

 DietPi-Pre-patch
─────────────────────────────────────────────────────
 Mode: Applying critical pre-patches

[ WARN ] Pre-patch 3 | Storing global DietPi-Software password with enhanced security
[  OK  ] Successfully applied critical pre-patches

[  OK  ] DietPi-Update | APT update, please wait...
Hit http://dev2day.de jessie InRelease
Ign http://ftp.debian.org jessie InRelease
Get:1 http://ftp.debian.org jessie-updates InRelease [145 kB]
Get:2 http://fuzon.co.uk all InRelease [16.6 kB]
Get:3 http://fuzon.co.uk jessie InRelease [5,630 B]
Hit http://dev2day.de jessie/main armhf Packages
Get:4 http://ftp.debian.org jessie-backports InRelease [135 kB]
Get:5 http://fuzon.co.uk all/c2 arm64 Packages [4,216 B]
Hit http://ftp.debian.org jessie Release.gpg
Hit http://fuzon.co.uk all/main arm64 Packages
Hit http://ftp.debian.org jessie Release
Hit http://fuzon.co.uk all/testing arm64 Packages
Hit http://fuzon.co.uk all/main armhf Packages
Hit http://fuzon.co.uk all/testing armhf Packages
Get:6 http://ftp.debian.org jessie-updates/main arm64 Packages/DiffIndex [12.3 kB]
Ign http://dev2day.de jessie/main Translation-en_GB
Ign http://dev2day.de jessie/main Translation-en
Hit http://ftp.debian.org jessie-updates/contrib arm64 Packages
Get:7 http://ftp.debian.org jessie-updates/non-free arm64 Packages/DiffIndex [1,228 B]
Get:8 http://ftp.debian.org jessie-updates/main armhf Packages/DiffIndex [12.3 kB]
Hit http://ftp.debian.org jessie-updates/contrib armhf Packages
Hit http://fuzon.co.uk jessie/backports arm64 Packages
Get:9 http://ftp.debian.org jessie-updates/non-free armhf Packages/DiffIndex [1,228 B]
Hit http://fuzon.co.uk jessie/main arm64 Packages
Hit http://ftp.debian.org jessie-updates/contrib Translation-en
Get:10 http://fuzon.co.uk jessie/backports armhf Packages [85.9 kB]
Get:11 http://ftp.debian.org jessie-updates/main Translation-en/DiffIndex [4,180 B]
Get:12 http://ftp.debian.org jessie-updates/non-free Translation-en/DiffIndex [1,228 B]
Get:13 http://fuzon.co.uk jessie/main armhf Packages [79.5 kB]
Get:14 http://ftp.debian.org jessie-updates/main arm64 2019-03-24-1411.39.pdiff [28 B]
Get:15 http://ftp.debian.org jessie-backports/main arm64 Packages [32 B]
Get:16 http://ftp.debian.org jessie-updates/main arm64 2019-03-24-1411.39.pdiff [28 B]
Get:17 http://ftp.debian.org jessie-backports/contrib arm64 Packages [32 B]
Ign http://fuzon.co.uk all/c2 Translation-en_GB
Ign http://fuzon.co.uk all/c2 Translation-en
Ign http://fuzon.co.uk all/main Translation-en_GB
Ign http://fuzon.co.uk all/main Translation-en
Ign http://fuzon.co.uk all/testing Translation-en_GB
Ign http://fuzon.co.uk all/testing Translation-en
Ign http://fuzon.co.uk jessie/backports Translation-en_GB
Ign http://fuzon.co.uk jessie/backports Translation-en
Ign http://fuzon.co.uk jessie/main Translation-en_GB
Ign http://fuzon.co.uk jessie/main Translation-en
Get:18 http://ftp.debian.org jessie-backports/non-free arm64 Packages [32 B]
Get:19 http://ftp.debian.org jessie-backports/main armhf Packages [32 B]
Get:20 http://ftp.debian.org jessie-backports/contrib armhf Packages [32 B]
Get:21 http://ftp.debian.org jessie-backports/non-free armhf Packages [32 B]
Get:22 http://ftp.debian.org jessie-backports/contrib Translation-en [14 B]
Get:23 http://ftp.debian.org jessie-backports/main Translation-en [14 B]
Get:24 http://ftp.debian.org jessie-backports/non-free Translation-en [14 B]
Hit http://ftp.debian.org jessie/main armhf Packages
Hit http://ftp.debian.org jessie/contrib armhf Packages
Hit http://ftp.debian.org jessie/non-free armhf Packages
Hit http://ftp.debian.org jessie/contrib Translation-en
Hit http://ftp.debian.org jessie/main Translation-en
Hit http://ftp.debian.org jessie/non-free Translation-en
Get:25 http://ftp.debian.org jessie-updates/non-free arm64 2019-03-24-1411.39.pdiff [26 B]
Get:26 http://ftp.debian.org jessie-updates/non-free arm64 2019-03-24-1411.39.pdiff [26 B]
Get:27 http://ftp.debian.org jessie-updates/main armhf 2019-03-24-1411.39.pdiff [28 B]
Get:28 http://ftp.debian.org jessie-updates/main armhf 2019-03-24-1411.39.pdiff [28 B]
Get:29 http://ftp.debian.org jessie-updates/non-free armhf 2019-03-24-1411.39.pdiff [26 B]
Get:30 http://ftp.debian.org jessie-updates/non-free armhf 2019-03-24-1411.39.pdiff [26 B]
Get:31 http://ftp.debian.org jessie-updates/main 2019-03-24-1411.39.pdiff [28 B]
Get:32 http://ftp.debian.org jessie-updates/main 2019-03-24-1411.39.pdiff [28 B]
Get:33 http://ftp.debian.org jessie-updates/non-free 2019-03-24-1411.39.pdiff [26 B]
Get:34 http://ftp.debian.org jessie-updates/non-free 2019-03-24-1411.39.pdiff [26 B]
Err http://ftp.debian.org jessie/main arm64 Packages
  404  Not Found
Err http://ftp.debian.org jessie/contrib arm64 Packages
  404  Not Found
Err http://ftp.debian.org jessie/non-free arm64 Packages
  404  Not Found
Fetched 505 kB in 7s (66.7 kB/s)
W: Failed to fetch http://ftp.debian.org/debian/dists/jessie/main/binary-arm64/Packages  404  Not Found

W: Failed to fetch http://ftp.debian.org/debian/dists/jessie/contrib/binary-arm64/Packages  404  Not Found

W: Failed to fetch http://ftp.debian.org/debian/dists/jessie/non-free/binary-arm64/Packages  404  Not Found

E: Some index files failed to download. They have been ignored, or old ones used instead.

[FAILED] DietPi-Update | G_AGUP
[  OK  ] DietPi-Update | APT update, please wait...
Hit http://dev2day.de jessie InRelease
Ign http://ftp.debian.org jessie InRelease
Hit http://ftp.debian.org jessie-updates InRelease
Hit http://fuzon.co.uk all InRelease
Hit http://fuzon.co.uk jessie InRelease
Hit http://ftp.debian.org jessie-backports InRelease
Hit http://ftp.debian.org jessie Release.gpg
Hit http://ftp.debian.org jessie Release
Hit http://dev2day.de jessie/main armhf Packages
Get:1 http://ftp.debian.org jessie-updates/main arm64 Packages/DiffIndex [12.3 kB]
Hit http://ftp.debian.org jessie-updates/contrib arm64 Packages
Ign http://dev2day.de jessie/main Translation-en_GB
Get:2 http://ftp.debian.org jessie-updates/non-free arm64 Packages/DiffIndex [1,228 B]
Ign http://dev2day.de jessie/main Translation-en
Get:3 http://ftp.debian.org jessie-updates/main armhf Packages/DiffIndex [12.3 kB]
Hit http://ftp.debian.org jessie-updates/contrib armhf Packages
Get:4 http://ftp.debian.org jessie-updates/non-free armhf Packages/DiffIndex [1,228 B]
Hit http://ftp.debian.org jessie-updates/contrib Translation-en
Get:5 http://ftp.debian.org jessie-updates/main Translation-en/DiffIndex [4,180 B]
Get:6 http://ftp.debian.org jessie-updates/non-free Translation-en/DiffIndex [1,228 B]
Hit http://fuzon.co.uk all/c2 arm64 Packages
Hit http://fuzon.co.uk all/main arm64 Packages
Hit http://fuzon.co.uk all/testing arm64 Packages
Hit http://fuzon.co.uk all/main armhf Packages
Hit http://fuzon.co.uk all/testing armhf Packages
Hit http://fuzon.co.uk jessie/backports arm64 Packages
Hit http://fuzon.co.uk jessie/main arm64 Packages
Hit http://fuzon.co.uk jessie/backports armhf Packages
Hit http://fuzon.co.uk jessie/main armhf Packages
Hit http://ftp.debian.org jessie-backports/main arm64 Packages
Hit http://ftp.debian.org jessie-backports/contrib arm64 Packages
Hit http://ftp.debian.org jessie-backports/non-free arm64 Packages
Hit http://ftp.debian.org jessie-backports/main armhf Packages
Hit http://ftp.debian.org jessie-backports/contrib armhf Packages
Hit http://ftp.debian.org jessie-backports/non-free armhf Packages
Hit http://ftp.debian.org jessie-backports/contrib Translation-en
Hit http://ftp.debian.org jessie-backports/main Translation-en
Hit http://ftp.debian.org jessie-backports/non-free Translation-en
Hit http://ftp.debian.org jessie/main armhf Packages
Hit http://ftp.debian.org jessie/contrib armhf Packages
Hit http://ftp.debian.org jessie/non-free armhf Packages
Hit http://ftp.debian.org jessie/contrib Translation-en
Ign http://fuzon.co.uk all/c2 Translation-en_GB
Hit http://ftp.debian.org jessie/main Translation-en
Ign http://fuzon.co.uk all/c2 Translation-en
Hit http://ftp.debian.org jessie/non-free Translation-en
Ign http://fuzon.co.uk all/main Translation-en_GB
Err http://ftp.debian.org jessie/main arm64 Packages
  404  Not Found
Ign http://fuzon.co.uk all/main Translation-en
Err http://ftp.debian.org jessie/contrib arm64 Packages
  404  Not Found
Ign http://fuzon.co.uk all/testing Translation-en_GB
Err http://ftp.debian.org jessie/non-free arm64 Packages
  404  Not Found
Ign http://fuzon.co.uk all/testing Translation-en
Ign http://fuzon.co.uk jessie/backports Translation-en_GB
Ign http://fuzon.co.uk jessie/backports Translation-en
Ign http://fuzon.co.uk jessie/main Translation-en_GB
Ign http://fuzon.co.uk jessie/main Translation-en
Fetched 32.5 kB in 5s (6,461 B/s)
W: Failed to fetch http://ftp.debian.org/debian/dists/jessie/main/binary-arm64/Packages  404  Not Found

W: Failed to fetch http://ftp.debian.org/debian/dists/jessie/contrib/binary-arm64/Packages  404  Not Found

W: Failed to fetch http://ftp.debian.org/debian/dists/jessie/non-free/binary-arm64/Packages  404  Not Found

E: Some index files failed to download. They have been ignored, or old ones used instead.

[FAILED] DietPi-Update | G_AGUP

--------------------------------------------------------------------
- DietPi has encounted an error, and, is unable to continue        -
- Please create a ticket: https://github.com/Fourdee/DietPi/issues -
- Copy and paste the BLUE lines below, into the ticket             -
--------------------------------------------------------------------

Details:

  • Date | Mon 25 Mar 20:25:25 CET 2019
  • Bug report | N/A
  • DietPi version | v6.21.1 (Fourdee/master)
  • Img creator | n/a
  • Pre-image | n/a
  • SBC device | Odroid C2 (aarch64) (index=12)
  • Kernel version | Fix warning when running scp over openssh-server #1 SMP PREEMPT Sun Jul 23 00:04:44 CEST 2017
  • Distro | jessie (index=3)
  • Command | G_AGUP
  • Exit code | 100
  • Software title | DietPi-Update

Steps to reproduce:

  1. ...
  2. ...

Expected behaviour:

  • ...

Actual behaviour:

  • ...

Extra details:

  • ...

Additional logs:

Log file contents:
Get:5 http://ftp.debian.org jessie-updates/main Translation-en/DiffIndex [4,180 B]
Get:6 http://ftp.debian.org jessie-updates/non-free Translation-en/DiffIndex [1,228 B]
Hit http://fuzon.co.uk all/c2 arm64 Packages
Hit http://fuzon.co.uk all/main arm64 Packages
Hit http://fuzon.co.uk all/testing arm64 Packages
Hit http://fuzon.co.uk all/main armhf Packages
Hit http://fuzon.co.uk all/testing armhf Packages
Hit http://fuzon.co.uk jessie/backports arm64 Packages
Hit http://fuzon.co.uk jessie/main arm64 Packages
Hit http://fuzon.co.uk jessie/backports armhf Packages
Hit http://fuzon.co.uk jessie/main armhf Packages
Hit http://ftp.debian.org jessie-backports/main arm64 Packages
Hit http://ftp.debian.org jessie-backports/contrib arm64 Packages
Hit http://ftp.debian.org jessie-backports/non-free arm64 Packages
Hit http://ftp.debian.org jessie-backports/main armhf Packages
Hit http://ftp.debian.org jessie-backports/contrib armhf Packages
Hit http://ftp.debian.org jessie-backports/non-free armhf Packages
Hit http://ftp.debian.org jessie-backports/contrib Translation-en
Hit http://ftp.debian.org jessie-backports/main Translation-en
Hit http://ftp.debian.org jessie-backports/non-free Translation-en
Hit http://ftp.debian.org jessie/main armhf Packages
Hit http://ftp.debian.org jessie/contrib armhf Packages
Hit http://ftp.debian.org jessie/non-free armhf Packages
Hit http://ftp.debian.org jessie/contrib Translation-en
Ign http://fuzon.co.uk all/c2 Translation-en_GB
Hit http://ftp.debian.org jessie/main Translation-en
Ign http://fuzon.co.uk all/c2 Translation-en
Hit http://ftp.debian.org jessie/non-free Translation-en
Ign http://fuzon.co.uk all/main Translation-en_GB
Err http://ftp.debian.org jessie/main arm64 Packages
  404  Not Found
Ign http://fuzon.co.uk all/main Translation-en
Err http://ftp.debian.org jessie/contrib arm64 Packages
  404  Not Found
Ign http://fuzon.co.uk all/testing Translation-en_GB
Err http://ftp.debian.org jessie/non-free arm64 Packages
  404  Not Found
Ign http://fuzon.co.uk all/testing Translation-en
Ign http://fuzon.co.uk jessie/backports Translation-en_GB
Ign http://fuzon.co.uk jessie/backports Translation-en
Ign http://fuzon.co.uk jessie/main Translation-en_GB
Ign http://fuzon.co.uk jessie/main Translation-en
Fetched 32.5 kB in 5s (6,461 B/s)
W: Failed to fetch http://ftp.debian.org/debian/dists/jessie/main/binary-arm64/Packages  404  Not Found

W: Failed to fetch http://ftp.debian.org/debian/dists/jessie/contrib/binary-arm64/Packages  404  Not Found

W: Failed to fetch http://ftp.debian.org/debian/dists/jessie/non-free/binary-arm64/Packages  404  Not Found

E: Some index files failed to download. They have been ignored, or old ones used instead.


--------------------------------------------------------------------

[FAILED] DietPi-Update | Unable to continue, DietPi-Update will now terminate.

root@four:~# D
@MichaIng
Copy link
Owner

@BerndKohl
Many thanks for your report.

Little hint:

  • Please always wrap your terminal pasts into code format, so it is smaller, better readable, avoids line breaks and unwanted markdown formats and such 😉.

My goodness indeed the binary-arm64 directory has been gone on the Jessie repo 👀: http://ftp.debian.org/debian/dists/jessie/main/
Compare with the content of the Stretch repo: http://ftp.debian.org/debian/dists/stretch/main/

This was already the case with the security repo some time ago, which is while we removed this on arm64 Jessie systems: http://security-cdn.debian.org/debian-security/dists/jessie/updates/main/

Just checking the packages list website: https://packages.debian.org/de/jessie/apt

  • Even for system base packages there are no listed arm64 variants anymore....

I am not sure if this is a current/temporary issue while syncing around with Buster release and such of if indeed Debian drops support for Jessie and arm64 completely now which would be veery strange. Yesterday I was actually trying to install a fresh Jessie test image via Jessie installer on VM and couldn't find it: https://cdn-aws.deb.debian.org/debian/dists/jessie/main/debian-installer/binary-amd64/ Needed to use the Stretch installer instead...

The download links for Debian Jessie arm64 images are dead as well: https://www.debian.org/releases/jessie/debian-installer/

Okay I couldn't find any new about this, similar to missing news about dropped Jessue arm64 security repo.

Could you please try the following?

sed -i '/ftp.debian.org/d' /etc/apt/sources.list
cat << _EOF_ >> /etc/apt/sources.list
deb [arch=all] http://deb.debian.org/debian/ jessie main contrib non-free
deb http://deb.debian.org/debian/ jessie-updates main contrib non-free
deb [arch=all] http://deb.debian.org/debian-security/ jessie/updates main contrib non-free
deb http://deb.debian.org/debian/ jessie-backports main contrib non-free
_EOF_

This adds the repo the the list in a way that hopefully only the debian-all sub dir is searched for packages. Also for testing the security repo is re-added this way. The jessie-updates jessie-backports still has an debian-arm64 sub dir.

@MichaIng
Copy link
Owner

Just as a general note. I would recommend that you install a fresh DietPi Stretch image by times, since Jessie support (not only our side) is fading. The Kodi/GPU acceleration issues have been solved meanwhile, if this was an issue.

@BerndKohl
Copy link
Author

`# sed -i '/ftp.debian.org/d' /etc/apt/sources.list
cat << EOF >> /etc/apt/sources.list

deb [arch=all] http://deb.debian.org/debian/ jessie main contrib non-free
deb http://deb.debian.org/debian/ jessie-updates main contrib non-free
deb [arch=all] http://deb.debian.org/debian-security/ jessie/updates main contrib non-free
deb http://deb.debian.org/debian/ jessie-backports main contrib non-free
EOF
root@four:# l
drwxr-xr-x - root 17 Jun 2018 exa
.rwxr-xr-x 327 root 20 Sep 2018 start_network.sh
drwxr-xr-x - root 10 Feb 19:07 Sync
root@four:
# dietpi-update
[ OK ] DietPi-Update | Root access verified.
[ OK ] DietPi-Update | RootFS R/W access verified.

DietPi-Update
─────────────────────────────────────────────────────
Mode: Checking for DietPi updates

[ INFO ] DietPi-Update | Checking mirror: https://raw.githubusercontent.com/Fourdee/DietPi/master/dietpi/server_version-6
[ OK ] DietPi-Update | Using update server: https://raw.githubusercontent.com/Fourdee/DietPi/master/dietpi/server_version-6

[ OK ] DietPi-Update | Update available
[ INFO ] DietPi-Update | Current version : v6.21.1
[ INFO ] DietPi-Update | Latest version : v6.22.3
[ OK ] DietPi-Update | DietPi-Userdata validation: /mnt/dietpi_userdata
[ OK ] DietPi-Update | Free space check: path=/ | available=62015 MB | required=100 MB
[ SUB1 ] DietPi-Services > stop
[ OK ] DietPi-Services | stop : cron
[ OK ] DietPi-Services | stop : syncthing
[ OK ] DietPi-Services | stop : plexmediaserver
[ OK ] DietPi-Services | stop : plexpy
[ OK ] DietPi-Services | stop : nginx
[ OK ] DietPi-Update | wget https://raw.githubusercontent.com/Fourdee/DietPi/master/dietpi/pre-patch_file -O pre-patch_file

DietPi-Pre-patch
─────────────────────────────────────────────────────
Mode: Applying critical pre-patches

[ OK ] Successfully applied critical pre-patches

[ OK ] DietPi-Update | APT update, please wait...
Hit http://dev2day.de jessie InRelease
Hit http://fuzon.co.uk all InRelease
Hit http://fuzon.co.uk jessie InRelease
Ign http://deb.debian.org jessie InRelease
Get:1 http://deb.debian.org jessie-updates InRelease [145 kB]
Hit http://dev2day.de jessie/main armhf Packages
Get:2 http://deb.debian.org jessie/updates InRelease [44.9 kB]
Ign http://deb.debian.org jessie-backports InRelease
Get:3 http://deb.debian.org jessie Release.gpg [2,420 B]
Ign http://deb.debian.org jessie-backports Release.gpg
Get:4 http://deb.debian.org jessie Release [148 kB]
Ign http://dev2day.de jessie/main Translation-en_GB
Ign http://dev2day.de jessie/main Translation-en
Ign http://deb.debian.org jessie-backports Release
Hit http://fuzon.co.uk all/c2 arm64 Packages
Hit http://fuzon.co.uk all/main arm64 Packages
Hit http://fuzon.co.uk all/testing arm64 Packages
Hit http://fuzon.co.uk all/main armhf Packages
Hit http://fuzon.co.uk all/testing armhf Packages
Get:5 http://deb.debian.org jessie-updates/contrib arm64 Packages [32 B]
Hit http://fuzon.co.uk jessie/backports arm64 Packages
Hit http://fuzon.co.uk jessie/main arm64 Packages
Hit http://fuzon.co.uk jessie/backports armhf Packages
Hit http://fuzon.co.uk jessie/main armhf Packages
Get:6 http://deb.debian.org jessie-updates/contrib armhf Packages [32 B]
Get:7 http://deb.debian.org jessie-updates/contrib Translation-en [14 B]
Get:8 http://deb.debian.org jessie-updates/main Translation-en [14 B]
Get:9 http://deb.debian.org jessie-updates/non-free Translation-en [14 B]
Get:10 http://deb.debian.org jessie/updates/main all Packages [290 kB]
Get:11 http://deb.debian.org jessie/updates/contrib all Packages [1,138 B]
Get:12 http://deb.debian.org jessie/updates/non-free all Packages [4,260 B]
Get:13 http://deb.debian.org jessie/updates/contrib Translation-en [1,211 B]
Get:14 http://deb.debian.org jessie/updates/main Translation-en [334 kB]
Ign http://fuzon.co.uk all/c2 Translation-en_GB
Get:15 http://deb.debian.org jessie/updates/non-free Translation-en [11.8 kB]
Ign http://fuzon.co.uk all/c2 Translation-en
Ign http://fuzon.co.uk all/main Translation-en_GB
Get:16 http://deb.debian.org jessie/main all Packages [3,039 kB]
Ign http://fuzon.co.uk all/main Translation-en
Ign http://fuzon.co.uk all/testing Translation-en_GB
Ign http://fuzon.co.uk all/testing Translation-en
Ign http://fuzon.co.uk jessie/backports Translation-en_GB
Ign http://fuzon.co.uk jessie/backports Translation-en
Ign http://fuzon.co.uk jessie/main Translation-en_GB
Ign http://fuzon.co.uk jessie/main Translation-en
Get:17 http://deb.debian.org jessie/contrib all Packages [23.8 kB]
Get:18 http://deb.debian.org jessie/non-free all Packages [48.0 kB]
Get:19 http://deb.debian.org jessie/contrib Translation-en [38.3 kB]
Get:20 http://deb.debian.org jessie/main Translation-en [4,581 kB]
Get:21 http://deb.debian.org jessie/non-free Translation-en [72.0 kB]
Err http://deb.debian.org jessie-backports/non-free armhf Packages

Get:22 http://deb.debian.org jessie-updates/main arm64 Packages [32 B]
Get:23 http://deb.debian.org jessie-updates/non-free arm64 Packages [32 B]
Get:24 http://deb.debian.org jessie-updates/main armhf Packages [32 B]
Get:25 http://deb.debian.org jessie-updates/non-free armhf Packages [32 B]
Err http://deb.debian.org jessie-backports/non-free arm64 Packages

Err http://deb.debian.org jessie-backports/main arm64 Packages
404 Not Found
Err http://deb.debian.org jessie-backports/contrib arm64 Packages
404 Not Found
Err http://deb.debian.org jessie-backports/non-free arm64 Packages
404 Not Found
Err http://deb.debian.org jessie-backports/main armhf Packages
404 Not Found
Err http://deb.debian.org jessie-backports/contrib armhf Packages
404 Not Found
Err http://deb.debian.org jessie-backports/non-free armhf Packages
404 Not Found
Ign http://deb.debian.org jessie-backports/contrib Translation-en_GB
Ign http://deb.debian.org jessie-backports/contrib Translation-en
Ign http://deb.debian.org jessie-backports/main Translation-en_GB
Ign http://deb.debian.org jessie-backports/main Translation-en
Ign http://deb.debian.org jessie-backports/non-free Translation-en_GB
Ign http://deb.debian.org jessie-backports/non-free Translation-en
Fetched 8,785 kB in 9s (901 kB/s)
W: Failed to fetch http://deb.debian.org/debian/dists/jessie-backports/main/binary-arm64/Packages 404 Not Found

W: Failed to fetch http://deb.debian.org/debian/dists/jessie-backports/contrib/binary-arm64/Packages 404 Not Found

W: Failed to fetch http://deb.debian.org/debian/dists/jessie-backports/non-free/binary-arm64/Packages 404 Not Found

W: Failed to fetch http://deb.debian.org/debian/dists/jessie-backports/main/binary-armhf/Packages 404 Not Found

W: Failed to fetch http://deb.debian.org/debian/dists/jessie-backports/contrib/binary-armhf/Packages 404 Not Found

W: Failed to fetch http://deb.debian.org/debian/dists/jessie-backports/non-free/binary-armhf/Packages 404 Not Found

E: Some index files failed to download. They have been ignored, or old ones used instead.

[FAILED] DietPi-Update | G_AGUP



Details:

  • Date | Mon 25 Mar 22:22:54 CET 2019
  • Bug report | N/A
  • DietPi version | v6.21.1 (Fourdee/master)
  • Img creator | n/a
  • Pre-image | n/a
  • SBC device | Odroid C2 (aarch64) (index=12)
  • Kernel version | Fix warning when running scp over openssh-server #1 SMP PREEMPT Sun Jul 23 00:04:44 CEST 2017
  • Distro | jessie (index=3)
  • Command | G_AGUP
  • Exit code | 100
  • Software title | DietPi-Update

Steps to reproduce:

  1. ...
  2. ...

Expected behaviour:

  • ...

Actual behaviour:

  • ...

Extra details:

  • ...

Additional logs:

Log file contents:
Ign http://fuzon.co.uk all/testing Translation-en
Ign http://fuzon.co.uk jessie/backports Translation-en_GB
Ign http://fuzon.co.uk jessie/backports Translation-en
Ign http://fuzon.co.uk jessie/main Translation-en_GB
Ign http://fuzon.co.uk jessie/main Translation-en
Get:17 http://deb.debian.org jessie/contrib all Packages [23.8 kB]
Get:18 http://deb.debian.org jessie/non-free all Packages [48.0 kB]
Get:19 http://deb.debian.org jessie/contrib Translation-en [38.3 kB]
Get:20 http://deb.debian.org jessie/main Translation-en [4,581 kB]
Get:21 http://deb.debian.org jessie/non-free Translation-en [72.0 kB]
Err http://deb.debian.org jessie-backports/non-free armhf Packages
  
Get:22 http://deb.debian.org jessie-updates/main arm64 Packages [32 B]
Get:23 http://deb.debian.org jessie-updates/non-free arm64 Packages [32 B]
Get:24 http://deb.debian.org jessie-updates/main armhf Packages [32 B]
Get:25 http://deb.debian.org jessie-updates/non-free armhf Packages [32 B]
Err http://deb.debian.org jessie-backports/non-free arm64 Packages
  
Err http://deb.debian.org jessie-backports/main arm64 Packages
  404  Not Found
Err http://deb.debian.org jessie-backports/contrib arm64 Packages
  404  Not Found
Err http://deb.debian.org jessie-backports/non-free arm64 Packages
  404  Not Found
Err http://deb.debian.org jessie-backports/main armhf Packages
  404  Not Found
Err http://deb.debian.org jessie-backports/contrib armhf Packages
  404  Not Found
Err http://deb.debian.org jessie-backports/non-free armhf Packages
  404  Not Found
Ign http://deb.debian.org jessie-backports/contrib Translation-en_GB
Ign http://deb.debian.org jessie-backports/contrib Translation-en
Ign http://deb.debian.org jessie-backports/main Translation-en_GB
Ign http://deb.debian.org jessie-backports/main Translation-en
Ign http://deb.debian.org jessie-backports/non-free Translation-en_GB
Ign http://deb.debian.org jessie-backports/non-free Translation-en
Fetched 8,785 kB in 9s (901 kB/s)
W: Failed to fetch http://deb.debian.org/debian/dists/jessie-backports/main/binary-arm64/Packages  404  Not Found

W: Failed to fetch http://deb.debian.org/debian/dists/jessie-backports/contrib/binary-arm64/Packages  404  Not Found

W: Failed to fetch http://deb.debian.org/debian/dists/jessie-backports/non-free/binary-arm64/Packages  404  Not Found

W: Failed to fetch http://deb.debian.org/debian/dists/jessie-backports/main/binary-armhf/Packages  404  Not Found

W: Failed to fetch http://deb.debian.org/debian/dists/jessie-backports/contrib/binary-armhf/Packages  404  Not Found

W: Failed to fetch http://deb.debian.org/debian/dists/jessie-backports/non-free/binary-armhf/Packages  404  Not Found

E: Some index files failed to download. They have been ignored, or old ones used instead.

[FAILED] DietPi-Update | Unable to continue, DietPi-Update will now terminate.
`

@BerndKohl
Copy link
Author

Just as a general note. I would recommend that you install a fresh DietPi Stretch image by times, since Jessie support (not only our side) is fading. The Kodi/GPU acceleration issues have been solved meanwhile, if this was an issue.

Hm, I would give it a try but I am nut sure how to preserve/transfer my Plex media data...

@MichaIng
Copy link
Owner

MichaIng commented Mar 25, 2019

Lol indeed the jessie-backports dir not missing but entering it fails:

My goodness what is Debian doing there.... Especially since I think I just checked the arm64 sub dir inside just 5 minutes ago...

Ääämm lol and the ftp.debian.org mirror now does not have this directory anymore: http://ftp.debian.org/debian/dists/
It looks that while we are writing here, several Jessie APT parts are removed from the repo...

However to to remove the backports repo for now:
sed -i '/jessie-backports/d' /etc/apt/sources.list


Also the package list website finds zero jessie-backports packages: https://packages.debian.org/jessie-backports/allpackages

@MichaIng MichaIng added the External bug 🐞 For bugs which are not caused by DietPi. label Mar 25, 2019
@MichaIng MichaIng added this to the v6.23 milestone Mar 25, 2019
@MichaIng MichaIng changed the title Error while updating from v6.21.1 to v6.22.3 on Odroid C2 Debian | Jessie arm64 + all jessie-backports packages have been removed from repo Mar 25, 2019
@BerndKohl
Copy link
Author

BerndKohl commented Mar 25, 2019

So I think we got e few steps further...

dietpi-update 
[  OK  ] DietPi-Update | Root access verified.
[  OK  ] DietPi-Update | RootFS R/W access verified.


 DietPi-Update
─────────────────────────────────────────────────────
 Mode: Checking for DietPi updates

[ INFO ] DietPi-Update | Checking mirror: https://raw.githubusercontent.com/Fourdee/DietPi/master/dietpi/server_version-6
[  OK  ] DietPi-Update | Using update server: https://raw.githubusercontent.com/Fourdee/DietPi/master/dietpi/server_version-6

[  OK  ] DietPi-Update | Update available
[ INFO ] DietPi-Update | Current version : v6.21.1
[ INFO ] DietPi-Update | Latest version  : v6.22.3
[  OK  ] DietPi-Update | DietPi-Userdata validation: /mnt/dietpi_userdata
[  OK  ] DietPi-Update | Free space check: path=/ | available=61967 MB | required=100 MB
[ SUB1 ] DietPi-Services > stop
[  OK  ] DietPi-Services | stop : cron
[  OK  ] DietPi-Services | stop : syncthing
[  OK  ] DietPi-Services | stop : plexmediaserver
[  OK  ] DietPi-Services | stop : plexpy
[  OK  ] DietPi-Services | stop : nginx
[  OK  ] DietPi-Update | wget https://raw.githubusercontent.com/Fourdee/DietPi/master/dietpi/pre-patch_file -O pre-patch_file

 DietPi-Pre-patch
─────────────────────────────────────────────────────
 Mode: Applying critical pre-patches

[  OK  ] Successfully applied critical pre-patches

[  OK  ] DietPi-Update | APT update, please wait...
Hit http://dev2day.de jessie InRelease
Hit http://fuzon.co.uk all InRelease
Hit http://fuzon.co.uk jessie InRelease
Ign http://deb.debian.org jessie InRelease
Hit http://deb.debian.org jessie-updates InRelease
Hit http://dev2day.de jessie/main armhf Packages
Hit http://deb.debian.org jessie/updates InRelease
Hit http://deb.debian.org jessie Release.gpg
Hit http://deb.debian.org jessie Release
Ign http://dev2day.de jessie/main Translation-en_GB
Ign http://dev2day.de jessie/main Translation-en
Get:1 http://deb.debian.org jessie-updates/main arm64 Packages/DiffIndex [12.3 kB]
Get:2 http://deb.debian.org jessie-updates/contrib arm64 Packages [32 B]
Get:3 http://deb.debian.org jessie-updates/non-free arm64 Packages/DiffIndex [1,228 B]
Get:4 http://deb.debian.org jessie-updates/main armhf Packages/DiffIndex [12.3 kB]
Get:5 http://deb.debian.org jessie-updates/contrib armhf Packages [32 B]
Get:6 http://deb.debian.org jessie-updates/non-free armhf Packages/DiffIndex [1,228 B]
Get:7 http://deb.debian.org jessie-updates/contrib Translation-en [14 B]
Get:8 http://deb.debian.org jessie-updates/main Translation-en/DiffIndex [4,180 B]
Get:9 http://deb.debian.org jessie-updates/non-free Translation-en/DiffIndex [1,228 B]
Get:10 http://deb.debian.org jessie/updates/main all Packages [290 kB]
Hit http://fuzon.co.uk all/c2 arm64 Packages
Hit http://fuzon.co.uk all/main arm64 Packages
Get:11 http://deb.debian.org jessie/updates/contrib all Packages [1,138 B]
Hit http://fuzon.co.uk all/testing arm64 Packages
Get:12 http://deb.debian.org jessie/updates/non-free all Packages [4,260 B]
Hit http://fuzon.co.uk all/main armhf Packages
Get:13 http://deb.debian.org jessie/updates/contrib Translation-en [1,211 B]
Hit http://fuzon.co.uk all/testing armhf Packages
Get:14 http://deb.debian.org jessie/updates/main Translation-en [334 kB]
Get:15 http://deb.debian.org jessie/updates/non-free Translation-en [11.8 kB]
Hit http://fuzon.co.uk jessie/backports arm64 Packages
Hit http://fuzon.co.uk jessie/main arm64 Packages
Hit http://fuzon.co.uk jessie/backports armhf Packages
Get:16 http://deb.debian.org jessie/main all Packages [3,039 kB]
Hit http://fuzon.co.uk jessie/main armhf Packages
Get:17 http://deb.debian.org jessie/contrib all Packages [23.8 kB]
Get:18 http://deb.debian.org jessie/non-free all Packages [48.0 kB]
Get:19 http://deb.debian.org jessie/contrib Translation-en [38.3 kB]
Get:20 http://deb.debian.org jessie/main Translation-en [4,581 kB]
Get:21 http://deb.debian.org jessie/non-free Translation-en [72.0 kB]
Ign http://fuzon.co.uk all/c2 Translation-en_GB
Ign http://fuzon.co.uk all/c2 Translation-en
Ign http://fuzon.co.uk all/main Translation-en_GB
Ign http://fuzon.co.uk all/main Translation-en
Ign http://fuzon.co.uk all/testing Translation-en_GB
Ign http://fuzon.co.uk all/testing Translation-en
Ign http://fuzon.co.uk jessie/backports Translation-en_GB
Ign http://fuzon.co.uk jessie/backports Translation-en
Ign http://fuzon.co.uk jessie/main Translation-en_GB
Ign http://fuzon.co.uk jessie/main Translation-en
Fetched 32.5 kB in 10s (2,972 B/s)
Reading package lists...

[  OK  ] DietPi-Update | G_AGUP
[  OK  ] DietPi-Update | APT upgrade, please wait...
Reading package lists...
Building dependency tree...
Reading state information...
The following packages have been kept back:
  firmware-ralink nginx nginx-common perl-modules
The following packages will be upgraded:
  ca-certificates firmware-atheros firmware-brcm80211 firmware-realtek git-man
  libx11-data tzdata
7 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.
Need to get 9,021 kB of archives.
After this operation, 16.5 MB of additional disk space will be used.
Get:1 http://deb.debian.org/debian-security/ jessie/updates/main tzdata all 2018i-0+deb8u1 [233 kB]
Get:2 http://deb.debian.org/debian-security/ jessie/updates/main ca-certificates all 20141019+deb8u4 [185 kB]
Get:3 http://deb.debian.org/debian-security/ jessie/updates/non-free firmware-atheros all 20161130-4~deb8u1 [3,134 kB]
Get:4 http://deb.debian.org/debian-security/ jessie/updates/non-free firmware-brcm80211 all 20161130-4~deb8u1 [3,730 kB]
Get:5 http://deb.debian.org/debian-security/ jessie/updates/non-free firmware-realtek all 20161130-4~deb8u1 [343 kB]
Get:6 http://deb.debian.org/debian-security/ jessie/updates/main git-man all 1:2.1.4-2.1+deb8u7 [1,269 kB]
Get:7 http://deb.debian.org/debian-security/ jessie/updates/main libx11-data all 2:1.6.2-3+deb8u2 [126 kB]
Preconfiguring packages ...
Fetched 9,021 kB in 2s (4,162 kB/s)
(Reading database ... 25077 files and directories currently installed.)
Preparing to unpack .../tzdata_2018i-0+deb8u1_all.deb ...
Unpacking tzdata (2018i-0+deb8u1) over (2018e-0+deb8u1) ...
Setting up tzdata (2018i-0+deb8u1) ...

Current default time zone: 'Europe/Berlin'
Local time is now:      Mon Mar 25 22:45:59 CET 2019.
Universal Time is now:  Mon Mar 25 21:45:59 UTC 2019.
Run 'dpkg-reconfigure tzdata' if you wish to change it.

(Reading database ... 25080 files and directories currently installed.)
Preparing to unpack .../ca-certificates_20141019+deb8u4_all.deb ...
Unpacking ca-certificates (20141019+deb8u4) over (20141019+deb8u3) ...
Preparing to unpack .../firmware-atheros_20161130-4~deb8u1_all.deb ...
Unpacking firmware-atheros (20161130-4~deb8u1) over (0.43) ...
Preparing to unpack .../firmware-brcm80211_20161130-4~deb8u1_all.deb ...
Unpacking firmware-brcm80211 (20161130-4~deb8u1) over (0.43) ...
Preparing to unpack .../firmware-realtek_20161130-4~deb8u1_all.deb ...
Unpacking firmware-realtek (20161130-4~deb8u1) over (0.43) ...
Preparing to unpack .../git-man_1%3a2.1.4-2.1+deb8u7_all.deb ...
Unpacking git-man (1:2.1.4-2.1+deb8u7) over (1:2.1.4-2.1+deb8u6) ...
Preparing to unpack .../libx11-data_2%3a1.6.2-3+deb8u2_all.deb ...
Unpacking libx11-data (2:1.6.2-3+deb8u2) over (2:1.6.2-3+deb8u1) ...
Setting up ca-certificates (20141019+deb8u4) ...
Updating certificates in /etc/ssl/certs... 20 added, 42 removed; done.
Setting up firmware-atheros (20161130-4~deb8u1) ...
Setting up firmware-brcm80211 (20161130-4~deb8u1) ...
Setting up firmware-realtek (20161130-4~deb8u1) ...
update-initramfs: deferring update (trigger activated)
Setting up git-man (1:2.1.4-2.1+deb8u7) ...
Setting up libx11-data (2:1.6.2-3+deb8u2) ...
Processing triggers for ca-certificates (20141019+deb8u4) ...
Updating certificates in /etc/ssl/certs... 0 added, 0 removed; done.
Running hooks in /etc/ca-certificates/update.d....done.
Processing triggers for initramfs-tools (0.120+deb8u3) ...
ln: failed to create hard link ‘/boot/initrd.img-3.14.79+.dpkg-bak’ => ‘/boot/initrd.img-3.14.79+’: Operation not permitted
update-initramfs: Generating /boot/initrd.img-3.14.79+
Image Name:   uInitrd
Created:      Mon Mar 25 22:46:29 2019
Image Type:   AArch64 Linux RAMDisk Image (uncompressed)
Data Size:    4018507 Bytes = 3924.32 kB = 3.83 MB
Load Address: 00000000
Entry Point:  00000000

[  OK  ] DietPi-Update | G_AGUG
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   119    0   119    0     0    218      0 --:--:-- --:--:-- --:--:--   218
100   120    0   120    0     0    167      0 --:--:-- --:--:-- --:--:--   167
100 2502k  100 2502k    0     0  1056k      0  0:00:02  0:00:02 --:--:-- 2690k
[  OK  ] DietPi-Update | Unpack update archive
rm: cannot remove ‘DietPi-master/dietpi/.??*’: No such file or directory
[  OK  ] DietPi-Update | Copy DietPi core files to RAMdisk
[  OK  ] DietPi-Update | Copy DietPi rootfs files in place
[  OK  ] DietPi-Update | Set execute permissions for DietPi scripts
[  OK  ] DietPi-Set_software | Connection test: https://raw.githubusercontent.com/MichaIng/DietPi/master/dietpi.txt
[  OK  ] DietPi-Set_software | Patching dietpi.txt
[  OK  ] DietPi-Set_software | Downloading current dietpi.txt
[  OK  ] DietPi-Set_software | dietpi.txt verification completed
[  OK  ] verify_dietpi.txt  | Completed

 DietPi-Update
─────────────────────────────────────────────────────
 Mode: Running incremental patching

[ INFO ] DietPi-Update | Current version : v6.21.1
[ INFO ] DietPi-Update | Latest version  : v6.22.3
[ INFO ] DietPi-Update | Patching 6.21.1 to 6.22
[  OK  ] DietPi-Patchfile | Added setting for i in /etc/bashrc.d/*.sh /etc/bashrc.d/*.bash; do [ -r "$i" ] && . $i; done to end of file /etc/bash.bashrc
[ INFO ] DietPi-Patchfile | APT installation for: p7zip, please wait...
E: Package 'p7zip' has no installation candidate
[FAILED] DietPi-Patchfile | G_AGI p7zip

@MichaIng
Copy link
Owner

@BerndKohl
Yeah damn, the p7zip is not available in the remaining repos...

Hmm that is bad. You cannot even skip the p7zip install since on Jessie (different than on Stretch+) the already installed p7zip-full package does not include p7zip as dependency. I just had a look if a manual install is possible, but it fails due to one dependency library that is too old on Jessie libstdc++6 (>= 5): https://packages.debian.org/de/stretch/p7zip

And most likely if some reinstall is triggered e.g. then there will be many more affected packages.

You know what, I would really install Stretch now, if you find some time. It looks like attempting to go on with Jessie will only result in further issues even on simply tasks if you want to install any APT package.
Do the following:

  • Do/update a full system backup onto an external drive/USB dongle via: dietpi-backup
  • Install our Odroid C2 image: https://dietpi.com/downloads/images/DietPi_OdroidC2-ARMv8-Stretch.7z
  • Skip installing additional software at first.
  • Copy the mnt/dietpi_userdata and var/lib/plexmediaserver/ from the backup onto your system to have e.g. media files and Plex config files back again.
  • Copy any other settings files or software data that you manually configured from the backup as well. Simply keep the backup for a while so if anything is missing you can always recover it.

You could also wait a day and see if perhaps the repo reappears, and/or if that is too much hassle for now 😉.

Alternative would be to do an in-situ distro upgrade, but that might produce follow up errors and create a greater overall effort over time...

@MichaIng MichaIng pinned this issue Mar 25, 2019
@MichaIng MichaIng changed the title Debian | Jessie arm64 + all jessie-backports packages have been removed from repo System | Jessie arm64 + all jessie-backports packages have been removed from repo Mar 25, 2019
@vielmetti
Copy link

Looks like the announcement was here:

https://twitter.com/debian/status/1109080168318926851

https://lists.debian.org/debian-devel-announce/2019/03/msg00006.html

Hello,

as Wheezy and Jessie have been integrated into the archive.debian.org
structure recently, we are now removing all of Wheezy and all non-LTS
architectures of Jessie from the mirror network starting today.
That is, only Jessie i386, amd64, armel and armhf will continue to be
hosted on the normal mirrors.

The data is, of course, not lost - the whole of it is synced
to archive.debian.org, so if you still need it you will be able to get
it from there.[1]

[1] Keep in mind that they have no security support at all!

--
bye, Joerg
The sun? That’s the hottest place on Earth.

@MichaIng
Copy link
Owner

MichaIng commented Mar 26, 2019

@vielmetti
Perfect, many thanks for this info!

@BerndKohl
So this means the following sources.list will still work:

cat << _EOF_ > /etc/apt/sources.list
deb http://archive.debian.org/debian/ jessie main contrib non-free
deb http://deb.debian.org/debian/ jessie-updates main contrib non-free
deb [arch=all] http://deb.debian.org/debian-security/ jessie/updates main contrib non-free
deb http://archive.debian.org/debian/ jessie-backports main contrib non-free
_EOF_
  • Security repo only for [arch=all] packages, jessie-updates are still on main repo, but might be removed soon as well.

The recommendation to switch to Stretch when you can stays correct 😉.


Outstanding is the issue with jessie-backports. They are currently unavailable at all, besides on archive.debian.org.

@MichaIng MichaIng added Information ℹ️ and removed Investigating 🤔 External bug 🐞 For bugs which are not caused by DietPi. labels Mar 26, 2019
@BerndKohl
Copy link
Author

Sorry, but what about the last line complaining in an error about 7Zip?

` DietPi-Update
─────────────────────────────────────────────────────
Mode: Running incremental patching

[ INFO ] DietPi-Update | Current version : v6.21.1
[ INFO ] DietPi-Update | Latest version : v6.22.3
[ INFO ] DietPi-Update | Patching 6.21.1 to 6.22
[ OK ] DietPi-Patchfile | Added setting for i in /etc/bashrc.d/.sh /etc/bashrc.d/.bash; do [ -r "$i" ] && . $i; done to end of file /etc/bash.bashrc
[ INFO ] DietPi-Patchfile | APT installation for: p7zip, please wait...
E: Package 'p7zip' has no installation candidate
[FAILED] DietPi-Patchfile | G_AGI p7zip`

@vielmetti
Copy link

p7zip is not available for jessie, per https://packages.debian.org/search?arch=arm64&keywords=p7zip-full

A relevant bug is https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=824160 corresponding to CVE-2016-2334 CVE-2016-2335.

@MichaIng
Copy link
Owner

MichaIng commented Mar 26, 2019

@vielmetti
As you filtered by arch=arm64 no package is available for the main repo anymore. But generally it is available for Jessie: https://packages.debian.org/jessie/p7zip

Will check the archive repo which I added as above to the sources instead, which should have it actually:

Package: p7zip
Version: 9.20.1~dfsg.1-4.1+deb8u3
Installed-Size: 883
Maintainer: Mohammed Adnène Trojette <adn+deb@diwi.org>
Architecture: arm64
Depends: libc6 (>= 2.17), libgcc1 (>= 1:4.7), libstdc++6 (>= 4.1.1)
Suggests: p7zip-full
Description: 7z file archiver with high compression ratio
Homepage: http://p7zip.sourceforge.net/
Description-md5: 8f7261a1031bb31dfcb3cba829894130
Tag: admin::file-distribution, implemented-in::c++, interface::commandline,
 role::program, scope::utility, use::compressing, works-with::archive,
 works-with::file
Section: utils
Priority: optional
Filename: pool/main/p/p7zip/p7zip_9.20.1~dfsg.1-4.1+deb8u3_arm64.deb
Size: 289888
MD5sum: 760b073f5b9cb85d60bdecdf83b3e250
SHA1: 3bccf1037fb0236df89da35a1921f8af6a326d23
SHA256: 3105f811674e374436a341041ba0745fb8900a44c19f0e876b06afd3c4b30b60

Manual download works as well: http://archive.debian.org/debian/pool/main/p/p7zip/p7zip_9.20.1~dfsg.1-4.1+deb8u3_arm64.deb

Looks like the bug you linked is resolved as of last post.

@BerndKohl
Could you verify:

grep 'deb http://archive.debian.org/debian/ jessie main' /etc/apt/sources.list # Should show the result
apt update
apt -y install p7zip

@BerndKohl
Copy link
Author

Guys, I think I made it.

Had to update sources.list as you proposed and use --force-yes when installing p7zip but now it looks like everything is fine.

Anyway I will try to move to a fresh install using the latest image on the website (hoping to get Stretch).

Thank you all for your support.

@MichaIng
Copy link
Owner

MichaIng commented Mar 27, 2019

@BerndKohl
Hmm if --force-yes was required, then perhaps the archive repo has by default a lower priority. Although strange since I thought the priorities are just about the disto, which is "jessie"/"stable" here as well.
EDIT: Ah no it's not "stable" just "jessie", which should be the reason.

Could you please paste:
apt-cache policy p7zip-full

I will reopen the issue since we need to do these repo changes for all Jessie ARMv8 devices with next DietPi update.

@MichaIng MichaIng reopened this Mar 27, 2019
@BerndKohl
Copy link
Author

apt-cache policy p7zip-full

p7zip-full:
Installed: 9.20.1~dfsg.1-4.1+deb8u3
Candidate: 9.20.1~dfsg.1-4.1+deb8u3
Version table:
*** 9.20.1~dfsg.1-4.1+deb8u3 0
500 http://archive.debian.org/debian/ jessie/main arm64 Packages
100 /var/lib/dpkg/status

@MichaIng
Copy link
Owner

@BerndKohl
Ah you have p7zip-full still installed? At least DietPi scripts do not require it anymore but yeah I remember we left the choice to user to keep it or not.

I think the priority is forced to 500 if a package is already installed.
However I just tested on VM and also for non-installed packages from archive repo it is 500 🤔:

root@VM-Jessie:~# apt-cache policy python-dev
python-dev:
  Installed: (none)
  Candidate: 2.7.9-1
  Version table:
     2.7.9-1 0
        500 http://archive.debian.org/debian/ jessie/main amd64 Packages

I just found another issue when attempting to update from jessie-backports branch. APT denies to use it since it is not "valid" anymore: http://archive.debian.org/debian/dists/jessie-backports/Release

Valid-Until: Tue, 19 Feb 2019 20:25:43 UTC

For the security repo it's the same soon: http://security.debian.org/debian-security/dists/jessie/updates/Release

Valid-Until: Sat, 06 Apr 2019 16:32:28 UTC

jessie-updates have been removed completely:

So finally Jessie systems can only use the single entry:
deb http://deb.debian.org/debian/ jessie main contrib non-free
And Jessie ARMv8 systems only:
deb http://archive.debian.org/debian/ jessie main contrib non-free

But aside from that, installing from archive repo didn't require --force-yes in my case 🤔.

@BerndKohl
Copy link
Author

Guys, I "migrated" to Stretch and everything is fine so far.
Just to let you know...

@MichaIng
Copy link
Owner

@BerndKohl
Great, thanks for reporting.

I reopen the issue as I still need to implement the sources.list adjustment on Jessie systems when updating to v6.23 😉.

@MichaIng
Copy link
Owner

MichaIng commented Apr 22, 2019

PR merged to apply APT list changes: #2728

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ARMv8 External bug 🐞 For bugs which are not caused by DietPi. Information ℹ️ Jessie Solution available 🥂 Definite solution has been done
Projects
None yet
Development

No branches or pull requests

3 participants