Retropie on ubuntu is broken.
-
I'm trying to get retropie on ubuntu which i have installed on a flash drive, but when i type "sudo apt-get install -y git dialog unzip xmlstarlet" i get this error:
ubuntu@ubuntu:~$ sudo apt-get install -y git dialog unzip xmlstarlet
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package dialog is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another sourceE: Package 'dialog' has no installation candidate
E: Unable to locate package xmlstarlet
ubuntu@ubuntu:~$Please help me. I really want to get retropie working on ubuntu. i am using ubuntu 16.04
-
@renario910 Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first
which version of Ubuntu ?(ok 16.04 - you should try 18.04 as 16.04 is now quite old). Did yousudo apt-get update
first ? What's the output of that command ? -
@buzz i tried to read the rules, but my browser kept crashing. Sorry.
Yes i did "sudo apt-get update" and nothing worked, it still gives the same error when typing "sudo apt-get install -y git dialog unzip xmlstarlet" Also sorry for still not reading the rules, i'll do it after reinstalling ubuntu 18.04, as my browser is still crashing :/ -
@renario910 Are you sure it's Ubuntu you have installed and not a derivative with different repos ? The dialog package is part of the base Ubuntu repository (https://packages.ubuntu.com/xenial/dialog). What did you mean by installed on a flash drive ?
-
@renario910 you didn't post the output of
apt-get update
as I requested. I need to see the output of that to see which repositories are hooked up. -
@mitu sorry, i'm quite new at all of this ubuntu stuff, i have no idea what is a "derivative with different repos" I installed ubuntu on a usb flash drive using rufus.
-
@renario910 Please provide the answer to @BuZz's question - the output of
apt-get udpate
. -
I'm extremely sorry for not replying in 2 days, i ran into a new problem, my ubuntu flash drive didn't save between reboots (i had to reinstall ubuntu and give it allocate it space or something) but i think it's fixed now. Anyways, i can't really type the output of
apt-get update
yet, as i typed
sudo apt-get update && sudo apt-get upgrade
like two or three hours ago, and it still keeps going. I'll see if doesn't stop in an hour or so, and if it doesn't i'll just install ubuntu 18.04, and try there.
Edit: turns out i installed ubuntu i386 instead of amd64. My fault, sorry!
-
@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
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.