-
Notifications
You must be signed in to change notification settings - Fork 208
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
incorrect error diagnosis #2596
Comments
Hello there 👋 Please respond as soon as possible if a Pi-Apps maintainer requests more information from you. Stale issues will be closed after a lengthy period of time with no response. |
This is strange. #if RPi OS, check for /etc/apt/sources.list.d/raspi.list
if [ -f /etc/rpi-issue ] && ( [ ! -f /etc/apt/sources.list.d/raspi.list ] || ! grep -q "^deb http://archive.raspberrypi.org/debian\|^deb https://archive.raspberrypi.org/debian\|^deb http://archive.raspberrypi.com/debian\|^deb https://archive.raspberrypi.com/debian" /etc/apt/sources.list.d/raspi.list ) ;then
error_caption+=("Packages failed to install because you seem to have deleted or altered an important repository file in /etc/apt/sources.list.d
This error-dialog appeared because /etc/apt/sources.list.d/raspi.list is missing or altered, but you may have deleted other files as well.
The raspi.list file should contain this:
deb http://archive.raspberrypi.com/debian/ $(get_codename) main
# Uncomment line below then 'apt-get update' to enable 'apt-get source'
#deb-src http://archive.raspberrypi.com/debian/ $(get_codename) main")
error_type="system"
fi It seems that this should not be able to be triggered, based on what you say is in the file. |
@Botspot Sorry to bother you, I finally solved the problem by changing my network configuration, this seems to be my personal problem. |
Yes, the cause of the issue was network related, but still, pi-apps somehow completely mis-diagnosed the error here. Could you copy this code into a terminal,, press enter, and send back what the output is? if [ -f /etc/rpi-issue ] && ( [ ! -f /etc/apt/sources.list.d/raspi.list ] || ! grep -q "^deb http://archive.raspberrypi.org/debian\|^deb https://archive.raspberrypi.org/debian\|^deb http://archive.raspberrypi.com/debian\|^deb https://archive.raspberrypi.com/debian" /etc/apt/sources.list.d/raspi.list ) ;then
echo bad sources
else
echo good sources
fi
|
@Botspot OK, the output is shown in the screenshot. |
@Botspot This shouldn't cause that error report but a potential issue is, according to the output above, Lines 2200 to 2204 in fa056cb
|
I see no way to reproduce this alleged incorrect reported error diagnosis. |
Confirmations
What happened?
wine(x64) can't be installed
Description
I tried to use pi-apps to install wine(x64), but failed. The information that pops up when the error occurs is as follows:
And I haven't modified raspi.lit file before.
the content in the file:
Finally, here is the log file:
log.txt
What are your system specs (run the following command in your terminal)?
(Recommended) Error log? Terminal output? Debug messages?
The text was updated successfully, but these errors were encountered: