the list of sources could not be read
-
@asianchinaboi No, it a text format file - how exactly did you fix the first error ?
You can use the
nanoe
text editor from the command line (exit EmulationStation first and plug in a keyboard) and edit the file, adding a line at the end with the contents I posted earliersudo nano /etc/apt/sources.list
-
@mitu
Did not find needed dependencies: python3-pyudev. Trying to install them now.
Hit:1 http://raspbian.raspberrypi.org/raspbian stretch InRelease
Hit:2 http://archive.raspberrypi.org/debian stretch InRelease
Hit:3 http://pipplware.pplware.pt/pipplware/dists/stretch/main/binary ./ InRelea se
Ign:4 https://repo.fury.io/rydra InRelease
Ign:5 https://repo.fury.io/rydra Release
Ign:6 https://repo.fury.io/rydra Packages
Ign:7 https://repo.fury.io/rydra Translation-en
Ign:8 https://repo.fury.io/rydra Translation-en_GB
Get:6 https://repo.fury.io/rydra Packages [634 B]
Hit:6 https://repo.fury.io/rydra Packages
Ign:6 https://repo.fury.io/rydra Packages
Ign:7 https://repo.fury.io/rydra Translation-en
Ign:8 https://repo.fury.io/rydra Translation-en_GB
Ign:6 https://repo.fury.io/rydra Packages
Ign:7 https://repo.fury.io/rydra Translation-en
Ign:8 https://repo.fury.io/rydra Translation-en_GB
Get:6 https://repo.fury.io/rydra Packages [550 B]
Hit:6 https://repo.fury.io/rydra Packages
Ign:7 https://repo.fury.io/rydra Translation-en
Ign:8 https://repo.fury.io/rydra Translation-en_GB
Ign:7 https://repo.fury.io/rydra Translation-en
Ign:8 https://repo.fury.io/rydra Translation-en_GB
Ign:7 https://repo.fury.io/rydra Translation-en
Ign:8 https://repo.fury.io/rydra Translation-en_GB
Reading package lists... Done
N: Skipping acquire of configured file 'main/binary-i386/Packages' as repository 'http://raspbian.raspberrypi.org/raspbian stretch InRelease' doesn't support architecture 'i386'
N: Skipping acquire of configured file 'contrib/binary-i386/Packages' as repository 'http://raspbian.raspberrypi.org/raspbian stretch InRelease' doesn't support architecture 'i386'
N: Skipping acquire of configured file 'non-free/binary-i386/Packages' as repository 'http://raspbian.raspberrypi.org/raspbian stretch InRelease' doesn't support architecture 'i386'
N: Skipping acquire of configured file 'rpi/binary-i386/Packages' as repository 'http://raspbian.raspberrypi.org/raspbian stretch InRelease' doesn't support architecture 'i386'
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
chromium-browser-l10n : Depends: chromium-browser (>= 72.0.3626.121-0+rpt3) but 56.0.2924.84-0ubuntu0.14.04.1.1011 is to be installed
python3-pyudev : Depends: python3-six but it is not going to be installed
rpi-chromium-mods : Depends: chromium-browser (>= 65) but 56.0.2924.84-0ubuntu0.14.04.1.1011 is to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
Unable to install packages required by /home/pi/RetroPie-Setup/retropie_packages.sh - Could not install package(s): python3-pyudev. -
I think your APT configuration is pretty broken at this point. How did you end up with this configuration ? I'd advise you to re-install.
-
@mitu I installed a new retropie script from retropie setup
-
You said:
Built From:SD image on retropie website
but those entries you have in the
apt
sources (and other packages you might have installed) are not from the RetroPie image - you probably added them yourself in order to install something else (?). Furthermore, you seem to have addedi386
as an architecture on the system, to what purpose I don't know.Fix your
apt
, the errors you get are not caused by RetroPie or its configuration. -
@asianchinaboi Are you perhaps doing this on Ubuntu 20.04? I seem to recall reading that it has either removed or renamed that package
python3-pyudev
. -
@muldjord Actually it was the other way around :) The
python-pyudev
package doesn't exist anymore (in Ubuntu 20.04), being transitioned topython3-pyudev
now.However, that's not the case here, since @asianchinaboi seems to have a Raspbian Stretch installation - according to both their account (SD image from RetroPie) and the contents of the
apt
sources list. -
@mitu could you send me a image of what /etc/apt is supposed to look like?
-
My
sources.list
contains only the line I posted.
/etc/apt/sources.list:deb http://raspbian.raspberrypi.org/raspbian/ stretch main contrib non-free rpi
In addition to that, there is also /etc/apt/sources.list.d/raspi.list with:
deb http://archive.raspberrypi.org/debian/ stretch main ui
-
@mitu thanks i ended up fixing it by doing
sudo apt-get clean
sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade -
@asianchinaboi I also got rid of i386
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.