-
-
Notifications
You must be signed in to change notification settings - Fork 495
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
Odroid C2 Unable to find expected entry 'main/binary-arm64/Packages' in Release File #1915
Comments
Changing my sources like this: https://dietpi.com/phpbb/viewtopic.php?t=1373#p5798 As evidenced by my wall of text I am a noob and so this is quite far out of my ability level. This is what I got when checking sources.list
Will leave it for now till someone more knowledgeable comes along but I hope this makes it easier. |
Having the same problem! |
@gittusmaximus
Indeed But @BerndKohl It seems to be due to changes within Debian repo structure, although I cannot believe they produce such an error across all arm64 devices 🤔. Just to sort that our: Could you both try: |
echo $G_HW_ARCH apt-get clean && apt-get update E: Some index files failed to download. They have been ignored, or old ones used instead. |
Unable to replicate on C2 with Stretch. Assuming this is Jessie limited issue.
🈯️ Architectures: amd64 arm64 armel armhf i386 mips mips64el mipsel ppc64el s390x
🈴 Seems they removed ARM64 binaries | Architectures: amd64 armel armhf i386 |
This is an external bug, however, we'll try to find a solution. A very quick workaround, would be to remove the offending entry from
|
sorry for this silly question: but how do I do this? Simply putting a # in front of the offending entry didn't do the trick... |
ok, I got it. Had to remove this entry:
Is it safe now to call DietPi-update or will it break something? |
removed offending line from sources.list Just tried installing new software and the issue seems to have gone.
Thanks very much @Fourdee and @MichaIng , appreciate your time and help providing a workaround for this problem. |
Successfully upgraded DietPi from 6.9 to 6.11 after having removed the offending line. Thanks for your support on this! |
@gittusmaximus @BerndKohl Just note, that if you change the repository via |
ok, I got it. Had to remove this entry: deb http://deb.debian.org/debian-security/ jessie/updates main contrib non-free Apologies but I am a complete novice, can someone help explain how to remove this entry in order that i may update my C2, I am putty.exe to connect to my C2. thanks in advance . |
@rickers1960 In order to learn a bid about navigating and editing through Linux:
|
Thanks for the quick reply , I am logging in with root . I have removed the problem line but still unable to complete update . Please see attached file Any ideas on what is wrong ? |
@rickers1960 @Fourdee |
Thanks to both , I have now updated to 6.11 |
Ok, I think we can assume Debian Security Repo has dropped support for ARM64 on Jessie. I'll apply a patch removal for v6.12. |
@Fourdee About Debian security mirror, jep it seems. I can't believe it 🤔. |
Workaround:
|
Yep, issue is HDD space, and, I also give full access to Meveric for this server (least we can do to support his work over the years):
|
+General | Resolved an issue on ARM64 + Jessie with APT, due to debian-security removing suppport and packages for those devices. If you experience this issue, and are unable to update DietPi, please see : https://github.com/Fourdee/DietPi/issues/1915
Completed. |
**v6.12** (19/07/18) **Changes / Improvements / Optimizations:** DietPi-Drive_Manager | Samba/CIFS mounting: Now automatically uses the highest available CIFS version supported on client and server: https://github.com/Fourdee/DietPi/issues/1893#issuecomment-403034799 DietPi-Software | Jackett: Now runs as its own user, and, from the /opt/jackett directory, for new installations only. Many thanks to @userdeveloper98 for contributing this improvement: https://github.com/Fourdee/DietPi/pull/1895 DietPi-Software | MiniDLNA: Now uses a SystemD service, also updates its library during service start. DietPi-Software | JRiver: Removed and no longer available for installation: https://github.com/Fourdee/DietPi/issues/1080#issuecomment-403489246 DietPi-Software | Various titles: Now run under their own system user account, with limited permissions (previously root): https://github.com/Fourdee/DietPi/issues/1877#issuecomment-403298679 DietPi-Software | SABnzbd: Language packs are now installed by default: https://github.com/Fourdee/DietPi/issues/1917#issue-340631943 DietPi-RAMlog | Increased the max size of /var/log to 50MB by default (previously 20MB). This should prevent 0 free space errors for excessive log file usage. Pi-Hole max logfile size is now 50MB/3 (16MB~) for high usage with daily stats support: pi-hole/pi-hole#2270 (comment) | https://github.com/Fourdee/DietPi/issues/1923 DietPi-RAMlog | Service is now disabled when RAMlog mode is not selected: https://github.com/Fourdee/DietPi/issues/1924 **Bug Fixes:** General | Resolved an issue where cron jobs, containing DietPi scripts, failed: https://github.com/Fourdee/DietPi/issues/1923 General | Resolved an issue on ARM64 + Jessie with APT, due to debian-security removing suppport and packages for those devices. If you experience this issue, and are unable to update DietPi, please see : https://github.com/Fourdee/DietPi/issues/1915 General | Resolved an issue where NFSv3 network drives could not be mounted: https://github.com/Fourdee/DietPi/issues/1898 DietPi-Config | ASUS TB: Resolved loss of WiFi device after a reboot: https://github.com/Fourdee/DietPi/issues/1760 DietPi-Drive_Manager | Resolved an issue where the program could remove a non-empty directory in rare situations. DietPi-Software | Resolved a potential Mono instability issue with Radarr, Sonarr and Jackett, due to using '--optimize=all --server'. This has now been removed for new installations. Many thanks to @hellfirehd for debugging/testing and @Taloth for dev insights: https://github.com/Fourdee/DietPi/issues/1896 DietPi-Software | Mono: Temp mono files are now cleared from memory once installed, preventing out of memory errors for additional software installs afterwards: https://github.com/Fourdee/DietPi/issues/1877#issuecomment-403856446 DietPi-Software | Xserver: Resolved rarely occuring uninstall issus by not purging dependencies, but leaving them for autoremove: https://github.com/Fourdee/DietPi/issues/1921 DietPi-Software | MineOS: Resolved failed installation due to incompatibilities with nodejs v10. v8 is now installed: https://github.com/Fourdee/DietPi/issues/1880 DietPi-Update | Resolved an issue where incorrect version would be displayed, once update was completed. This is due to '| tee' on a function, making var changes local: https://github.com/Fourdee/DietPi/issues/1877#issuecomment-403866204
Workaround: https://github.com/Fourdee/DietPi/issues/1915#issuecomment-405341067
Details:
Steps to reproduce:
Expected behaviour:
Things should be installed.
Actual behaviour:
Doesn't install and throws this (as shown in log file below):
W: Failed to fetch http://deb.debian.org/debian-security/dists/jessie/updates/InRelease Unable to find expected entry 'main/binary-arm64/Packages' in Release file (Wrong sources.list entry or malformed file)
Extra details:
I know I messed with adding some 32bit libraries so I could try mess around with Boinc but I cannot remember how I did this or where the instructions are.
I also tried using the solutions provided here: https://github.com/Fourdee/DietPi/issues/653
but I got a 404 Not Found when running the first command. I then looked up the repo and found that the specified "libc6_2.19-18+deb8u6_arm64.deb" does not exist there anymore, I saw that "deb8u10_arm64.deb" did so I amended the commands thinking this might help but nope.
I eventually managed to install build-essential through apt-get install whereas prior to running the above commands I was unable to.
I've also tried changing APT mirrors but this fails to work either.
I tried to create a bugreport but this occurred:
[ INFO ] DietPi-Bugreport | Packing upload archive, please wait...
[......] DietPi-Bugreport | (1/5) Testing connection to dietpi.com, please wait.[ OK ] DietPi-Bugreport | Connection test: dietpi.com
stat: cannot stat ‘6dba9225-2d2d-430b-85f7-3dfb164b9148.7z’: No such file or directory
/DietPi/dietpi/dietpi-bugreport: line 154: ((: <= 10000000 : syntax error: operand expected (error token is "<= 10000000 ")
[FAILED] DietPi-Bugreport | The bug report upload archive appears to be unexpected large. Please inspect and in case clean up the locations to be uploaded, as their size should never be that large:
CMD_OUT.txt
G_ERROR_HANDLER_GITREPORT
/var/log/*
/DietPi/*
/boot/dietpi.txt
/boot/config.txt
/boot/dietpi/*
/tmp/.G*
/var/tmp/dietpi/logs/*
/var/lib/dietpi/*
/etc/bash.bashrc
/etc/bashrc.d/*
/root/.bashrc
/home//.bashrc
/etc/profile
/etc/profile.d/
/root/.profile
/home//.profile
/etc/rc.local
/etc/X11/xorg.conf
/etc/asound.conf
/etc/network/interfaces
/etc/fstab
/etc/sysctl.conf
/etc/sysctl.d/
/etc/init.d/*
/etc/systemd/system/*
/lib/systemd/system/*
/etc/apt/sources.list
/etc/apt/sources.list.d/*
Additional logs:
The text was updated successfully, but these errors were encountered: