NOTHING works in the console, not even xenial commands [closed]

Here are all the commands I tried to use. It tells me its xenial 16.04 lts or something but
even xenial commands don’t work.

ijka5844: edit: sudo command doesnt work, neither does apt
I tried using glitch.json fron php-poc.glitch.me
Example in logs:
[InvalidArgumentException]
7:39 PM
Command “start” is not defined.
7:39 PM

which apache2 /usr/sbin/apache2 app@hindsocial:~ 23:41 which php
/usr/bin/php

so it shows php and apache are installed, but it doesnt work

going to use the terminal for upgrading the ubuntu version

app@hindsocial:~ 23:46
$ sudo apt upgrade
-su: sudo: command not found

it doesnt work either

app@hindsocial:~ 23:47
$ man do-release-upgrade
No manual entry for do-release-upgrade

app@hindsocial:~ 23:47

gives error when trying to update

app@hindsocial:~ 23:47
$ neofetch
-su: neofetch: command not found

neofetch isn’t working either

app@hindsocial:~ 23:47
$ do-release-upgrade
-su: do-release-upgrade: command not found

The only thing i’m getting is command ‘start’ is not found in the logs

version found!!!

app@hindsocialnet:~ 23:55
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04.6 LTS
Release: 16.04
Codename: xenial

app@hindsocialnet:~ 23:55
$

app@hindsocialnet:~ 23:58
$ sudo apt update
-su: sudo: command not found

app@hindsocialnet:~ 23:58
$ sudo apt upgrade
-su: sudo: command not found

app@hindsocialnet:~ 23:58
$

switching to use apt only

app@hindsocialnet:~ 23:59
$ apt upgrade
E: Could not open lock file /var/lib/dpkg/lock-frontend - open (13: Permission denied)
E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), are you root?

app@hindsocialnet:~ 23:59
$ apt update
Reading package lists… Done
W: chmod 0700 of directory /var/lib/apt/lists/partial failed - SetupAPTPartialDirectory (1: Operation not permitted)
E: Could not open lock file /var/lib/apt/lists/lock - open (13: Permission denied)
E: Unable to lock directory /var/lib/apt/lists/

app@hindsocialnet:~ 23:59
$

atlease something happenned…

app@hindsocialnet:~ 23:59
$ sudo do-release-upgrade
-su: sudo: command not found

app@hindsocialnet:~ 00:01
$ sudo ufw allow 1022/tcp comment ‘Temp open port ssh tcp port 1022 for upgrade’
-su: sudo: command not found

app@hindsocialnet:~ 00:01
$

doesnt work, trying without sudo

app@hindsocialnet:~ 00:02
$ do-release-upgrade
-su: do-release-upgrade: command not found

app@hindsocialnet:~ 00:02
$ ufw allow 1022/tcp comment ‘Temp open port ssh tcp port 1022 for upgrade’
-su: ufw: command not found

app@hindsocialnet:~ 00:02
$

both ways dont work

Glitch is a very controlled enviorment, so you don’t get admin or sudo to prevent people from doing harmful things. Even without sudo people have managed to do things like spam apis, do mining, and unauthorized web scraping

1 Like

the terminal is bash
you don’t get sudo because people would abuse it
the OS is ubuntu, 18.03 i think (or is it 16.03?)

1 Like