I tried both your and Anthony's suggestions without success… I should
definitely wait for the reply of OVH support!
Running “apt” without sudo yields the reply (my translation):
E: Directory /var/cache/apt/archives/partial does not exist. - Acquire
(13: Permission not granted)
E: Impossible to open the lock file /var/lib/dpkg/lock - open (13:
Permission not granted)
E: Impossible to lock the admin directory (/var/lib/dpkg/). Do you have
superuser's rights?
For Anthony : echo $PATH returned expectedly:
/usr/local/php7.3/bin:/usr/local/bin:/usr/bin:/bin
After all, I don't need superuser's rights. OVH folks should simply
activate gcc and I would be able to run it!
From a few (old) forum entries I see that "gcc" is the C compiler in OVH.
I finally tried to upload and untar Anthony's compiled "bp". But running
"bp" claims that "there is no such file" whereas trying to run "bp32" or
"bp64" tells that "this binary file cannot be executed". Still, Unix
rights are identical as shown below:
-rwxr-xr-x+ 1 letivbvp users 841072 juil. 5 04:34 bp
...
-rwxr-xr-x+ 1 letivbvp users 997260 juil. 26 2019 bp32
-rwxr-xr-x+ 1 letivbvp users 964200 juil. 26 2019 bp64
...
let...@ss...
(php/7.3/production/stable) ~/www/bolprocessor $ ./bp-ovh_ssh: ./bp: No
file or directory of this type
let...@ss...
(php/7.3/production/stable) ~/www/bolprocessor $ ./bp32
-ovh_ssh: ./bp32: cannot execute binary file: Format error for exec()
let...@ss...
(php/7.3/production/stable) ~/www/bolprocessor $ ./bp64
-ovh_ssh: ./bp64: cannot execute binary file: Format error for exec()
Bernard
==========
Rainer Schütz wrote on 05/07/2020 14:37:
>
> You might be able to run “apt” without sudo?
>
> If you have a “virtual server”, the say "you get admin access to your
> virtual server”. That could mean you get su/sudo, or it could mean you
> can do stuff as “normal” user which usually only root can do… Just try
> “apt install build-essential”, it’ll tell you if you can do it or not.
>
> There is a way to configure su-access. So if apt complains without sudo.
> You might be able to follow this (it’s for Ubuntu (another Distro like
> Debian), but that’s based on Debian and very similar, so it should work):
>
> https://www.digitalocean.com/community/tutorials/how-to-create-a-new-sudo-enabled-user-on-ubuntu-18-04-quickstart
>
|