Hello
There is no update since 2017.10-1 on my Rpi 2. Sources looks good.
Hello
There is no update since 2017.10-1 on my Rpi 2. Sources looks good.
You’ve only posted a Kodi log. That’s insufficient, I’m afraid, for an update-related issue.
Please run grab-logs -A
and tell us the URL it returns.
====================== APT sources.list =================== ZZz2wrJ1
APT sources.list error
---------------------- APT sources.list END --------------- ZZz2wrJ1
The file /etc/apt/sources.list
is either missing or unreadable. You need to create a new copy containing the following lines:
deb http://ftp.debian.org/debian jessie main contrib non-free
deb http://ftp.debian.org/debian/ jessie-updates main contrib non-free
deb http://security.debian.org/ jessie/updates main contrib non-free
deb http://apt.osmc.tv jessie main
Then run:
sudo apt-get update
sudo apt-get dist-upgrade
I see that your APT history log goes back to 2016-01-29 so this error might be a sign that the SD card should soon be replaced.
I created /etc/apt/sources.list with mentioned links, but I receive “Duplicate sources.list entry” in ssh after sudo apt-get update
Please post the full output from running sudo apt-get update
You seem to have created a custom list. Please:
cat /etc/apt/sources.list.d/pms.list
It was created November 8, 2016 and is owned by osmc.
Please run:
sudo find /var/lib/apt/lists -type f -delete
sudo find /var/lib/apt/lists -type f -ls
The second command should return no files. If that’s the case, re-run
sudo apt-get update
and if you have no errors
sudo apt-get dist-upgrade
You also haven’t answered @bmillham’s question about what’s in the file /etc/apt/sources.list.d/pms.list
.
No files returned after the second command. I ran sudo apt-get update again but the same “Duplicate sources.list entry” occured.
/etc/apt/sources.list.d/pms.list contains this:
http://paste.osmc.io/uhaxanelom.avrasm
It contains these lines:
GNU nano 2.2.6 File: /etc/apt/sources.list.d/pms.list
deb http://ftp.debian.org/debian jessie main contrib non-free
deb http://ftp.debian.org/debian/ jessie-updates main contrib non-free
deb http://security.debian.org/ jessie/updates main contrib non-free
deb http://apt.osmc.tv jessie main
Delete it.
I deleted the content of pms.list then I got below errors after I ran apt-get update:
N: Ignoring file 'pms.list.save.3' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
N: Ignoring file 'pms.list.save.2' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
N: Ignoring file 'pms.list.save.1' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
Delete everything from /etc/apt/sources.list.d (note the .d bit).
i deleted everything from /etc/apt/sources.list.d and I re-ran sudo find /var/lib/apt/lists -type f -delete
sudo find /var/lib/apt/lists -type f -ls before sudo apt-get update sudo apt-get dist-upgrade but still nothing
Share URL of
paste-log /etc/apt/sources.list
ls -lah /etc/apt/sources.list.d/ | paste-log
Try this:
sudo apt-get install --reinstall base-files-osmc
You’re on version 2.4.5 of base-files-osmc, which should have updated /etc/apt/sources.list to Debian stretch – except the file wasn’t there, so the change didn’t take place.