Retropie on ubuntu is broken.
-
@buzz here, the output
ubuntu@ubuntu:~$ apt-get udpate
E: Invalid operation udpate -
@renario910 You mis-typed the command - it's update not udpate.
-
@mitu oops. Well you did the same. I just copied it from you :P
-
here, the output:https://pastebin.com/iii8fdkE
Also i'm going to switch to ubuntu 18.04 and try the thing there, but i can reinstall ubuntu 16.04 back any moment. -
@renario910 You should be running these commands as the
root
user or prefix them withsudo
, as detailed in the docs. Can you retry the installation steps and see if you succeed this time ? -
i installed ubuntu 18.04, i typed
sudo apt-get update && sudo apt-get upgrade
then i did
sudo apt-get install -y git dialog unzip xmlstarlet
and it gave the same error. After that i did
sudo apt-get update
and it gave me this:
ubuntu@ubuntu:~$ sudo apt-get update
Ign:1 cdrom://Ubuntu 18.04 LTS Bionic Beaver - Release amd64 (20180426) bionic InRelease
Hit:2 cdrom://Ubuntu 18.04 LTS Bionic Beaver - Release amd64 (20180426) bionic Release
Hit:4 http://archive.ubuntu.com/ubuntu bionic InRelease
Get:5 http://security.ubuntu.com/ubuntu bionic-security InRelease [83.2 kB]
Get:6 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]
Fetched 172 kB in 1s (215 kB/s)
Reading package lists... Done
ubuntu@ubuntu:~$Sorry for not putting this in pastebin, ubuntu firefox is a trainwreck, keeps crashing :/
i tried the xmlstartlet thing and it gave the same error.
I'm going to do the same on 16.04 soon.
Oh an btw it gives the same error if i type something instead of xmlstartlet. Maybe the thing in github is misspelled?
-
@renario910 you are missing some main repositories. post the contents of
/etc/apt/sources.list
or use this one# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to # newer versions of the distribution. deb http://nl.archive.ubuntu.com/ubuntu/ bionic main restricted deb-src http://nl.archive.ubuntu.com/ubuntu/ bionic main restricted ## Major bug fix updates produced after the final release of the ## distribution. deb http://nl.archive.ubuntu.com/ubuntu/ bionic-updates main restricted deb-src http://nl.archive.ubuntu.com/ubuntu/ bionic-updates main restricted ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu ## team. Also, please note that software in universe WILL NOT receive any ## review or updates from the Ubuntu security team. deb http://nl.archive.ubuntu.com/ubuntu/ bionic universe deb-src http://nl.archive.ubuntu.com/ubuntu/ bionic universe deb http://nl.archive.ubuntu.com/ubuntu/ bionic-updates universe deb-src http://nl.archive.ubuntu.com/ubuntu/ bionic-updates universe ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu ## team, and may not be under a free licence. Please satisfy yourself as to ## your rights to use the software. Also, please note that software in ## multiverse WILL NOT receive any review or updates from the Ubuntu ## security team. deb http://nl.archive.ubuntu.com/ubuntu/ bionic multiverse deb-src http://nl.archive.ubuntu.com/ubuntu/ bionic multiverse deb http://nl.archive.ubuntu.com/ubuntu/ bionic-updates multiverse deb-src http://nl.archive.ubuntu.com/ubuntu/ bionic-updates multiverse ## N.B. software from this repository may not have been tested as ## extensively as that contained in the main release, although it includes ## newer versions of some applications which may provide useful features. ## Also, please note that software in backports WILL NOT receive any review ## or updates from the Ubuntu security team. deb http://nl.archive.ubuntu.com/ubuntu/ bionic-backports main restricted universe multiverse deb-src http://nl.archive.ubuntu.com/ubuntu/ bionic-backports main restricted universe multiverse deb http://security.ubuntu.com/ubuntu bionic-security main restricted deb-src http://security.ubuntu.com/ubuntu bionic-security main restricted deb http://security.ubuntu.com/ubuntu bionic-security universe deb-src http://security.ubuntu.com/ubuntu bionic-security universe deb http://security.ubuntu.com/ubuntu bionic-security multiverse deb-src http://security.ubuntu.com/ubuntu bionic-security multiverse ## Uncomment the following two lines to add software from Canonical's ## 'partner' repository. ## This software is not part of Ubuntu, but is offered by Canonical and the ## respective vendors as a service to Ubuntu users. deb http://archive.canonical.com/ubuntu bionic partner deb-src http://archive.canonical.com/ubuntu bionic partner ## This software is not part of Ubuntu, but is offered by third-party ## developers who want to ship their latest software. # deb http://extras.ubuntu.com/ubuntu bionic main # deb-src http://extras.ubuntu.com/ubuntu bionic main
Note I am using the nl mirrors - you could use a mirror closer to you. I switched from the GB mirrors as they were being problematic for me.
-
@renario910 said in Retropie on ubuntu is broken.:
Oh an btw it gives the same error if i type something instead of xmlstartlet. Maybe the thing in github is misspelled?
It's xmlstarlet not xmlstartlet - although you spell it correctly in the original post.
-
@buzz yeah i didn't copy that one. Should i do the same thing on 16.04 or should i try to find etc?
Edit: i found the file, but i am having difficulties posting the file, or opening it. -
@renario910 No, the lines @buzz has pasted are for the 18.04 version of Ubuntu, not for 16.04. Which one do you have installed right now ?
-
18.04, i just installed it and tried the same stuff, @BuZz recommended that i try 18.04 in the beginning of the post, however i can reinstall 16.04 again.
-
@buzz use what? do i type that text into the terminal?
Edit: i think this is the list?
deb cdrom:[Ubuntu 18.04 LTS Bionic Beaver - Release amd64 (20180426)]/ bionic main restricted
deb http://archive.ubuntu.com/ubuntu/ bionic main restricted
deb http://security.ubuntu.com/ubuntu/ bionic-security main restricted
deb http://archive.ubuntu.com/ubuntu/ bionic-updates main restricted -
@renario910 No, you open the file @BuZz indicated (
/etc/apt/sources.list
) with a text editor and replace the contents of the file with the text indicated. -
@mitu yes, but after that he aslo said "or use this one", which got me confused. I also didn't understood a single word under the black box with text.
-
@BuZz it gives me an error while trying to save:
"Could not save the file "/etc/apt/sources.list"."
You do not have the permissions necessary to save the file. Please check that you typed the location correctly and try again.(the file is read only)
-
so how do i edit sources.list?
-
@renario910 said in Retropie on ubuntu is broken.:
so how do i edit sources.list?
from a terminal, type
sudo nano /etc/apt/sources.list
but i think it's also important to familiarize yourself with some basic unix/linux concepts, since this is turning into more of an Ubuntu support thread.
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.