I ran your old script on my Oracle server (The one with the console menu) and it worked fine but the new iteration is giving me console errors and just breaks the installation
I have an OVH Vps Running Ubuntu 23.04 (GNU/Linux 6.2.0-34-generic x86_64)
The list of available updates is more than a week old.
To check for new updates run: sudo apt update
/usr/bin/xauth: file /home/ubuntu/.Xauthority does not exist
ubuntu@vps-xxxxxxxx:~$ sudo su
root@xxxxxxxxxxxxx:/home/ubuntu# cd /root
root@xxxxxxxxxxxxx:~# wget https://raw.githubusercontent.com/horapusa-lk/hp-v2/main/horapusa-vless && bash ./horapusa-vless install
--2023-10-07 08:25:25-- https://raw.githubusercontent.com/horapusa-lk/hp-v2/main/horapusa-vless
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 2606:50c0:8001::154, 2606:50c0:8002::154, 2606:50c0:8003::154, ...
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|2606:50c0:8001::154|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 10092440 (9.6M) [application/octet-stream]
Saving to: ‘horapusa-vless’
horapusa-vless 100%[================================================================================================>] 9.62M 5.55MB/s in 1.7s
2023-10-07 08:25:28 (5.55 MB/s) - ‘horapusa-vless’ saved [10092440/10092440]
./horapusa-vless: ./horapusa-vless: cannot execute binary file
root@xxxxxxxxxxxxx:~# chmod 777 horapusa-vless
root@xxxxxxxxxxxxx:~# ./horapusa-vless install
Then I get the Enter Bot token prompt, after entering It, it installs/updates everything as it should however I get a whole lot of errors
Hit:1 http://nova.clouds.archive.ubuntu.com/ubuntu lunar InRelease
Hit:2 http://nova.clouds.archive.ubuntu.com/ubuntu lunar-updates InRelease
Hit:3 http://nova.clouds.archive.ubuntu.com/ubuntu lunar-backports InRelease
Hit:4 http://security.ubuntu.com/ubuntu lunar-security InRelease
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
2 packages can be upgraded. Run 'apt list --upgradable' to see them.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
git is already the newest version (1:2.39.2-1ubuntu1.1).
curl is already the newest version (7.88.1-8ubuntu2.2).
The following additional packages will be installed:
bridge-utils containerd dns-root-data dnsmasq-base pigz runc ubuntu-fan
Suggested packages:
ifupdown aufs-tools cgroupfs-mount | cgroup-lite debootstrap docker-doc rinse zfs-fuse | zfsutils
The following NEW packages will be installed:
bridge-utils containerd dns-root-data dnsmasq-base docker.io pigz runc ubuntu-fan
0 upgraded, 8 newly installed, 0 to remove and 2 not upgraded.
Need to get 0 B/69.7 MB of archives.
After this operation, 267 MB of additional disk space will be used.
Preconfiguring packages ...
dpkg-deb: /tmp/_MEI1lGMLa/liblzma.so.5: version `XZ_5.4' not found (required by dpkg-deb)
dpkg: error processing archive /tmp/apt-dpkg-install-s1y5um/0-pigz_2.6-1_amd64.deb (--unpack):
dpkg-deb --control subprocess returned error exit status 1
dpkg-deb: /tmp/_MEI1lGMLa/liblzma.so.5: version `XZ_5.4' not found (required by dpkg-deb)
dpkg: error processing archive /tmp/apt-dpkg-install-s1y5um/1-bridge-utils_1.7.1-1ubuntu1_amd64.deb (--unpack):
dpkg-deb --control subprocess returned error exit status 1
dpkg-deb: /tmp/_MEI1lGMLa/liblzma.so.5: version `XZ_5.4' not found (required by dpkg-deb)
dpkg: error processing archive /tmp/apt-dpkg-install-s1y5um/2-runc_1.1.7-0ubuntu1~23.04.1_amd64.deb (--unpack):
dpkg-deb --control subprocess returned error exit status 1
dpkg-deb: /tmp/_MEI1lGMLa/liblzma.so.5: version `XZ_5.4' not found (required by dpkg-deb)
dpkg: error processing archive /tmp/apt-dpkg-install-s1y5um/3-containerd_1.7.2-0ubuntu1~23.04.1_amd64.deb (--unpack):
dpkg-deb --control subprocess returned error exit status 1
No apport report written because MaxReports is reached already
dpkg-deb: /tmp/_MEI1lGMLa/liblzma.so.5: version `XZ_5.4' not found (required by dpkg-deb)
dpkg: error processing archive /tmp/apt-dpkg-install-s1y5um/4-dns-root-data_2023010101_all.deb (--unpack):
dpkg-deb --control subprocess returned error exit status 1
No apport report written because MaxReports is reached already
dpkg-deb: /tmp/_MEI1lGMLa/liblzma.so.5: version `XZ_5.4' not found (required by dpkg-deb)
dpkg: error processing archive /tmp/apt-dpkg-install-s1y5um/5-dnsmasq-base_2.89-1_amd64.deb (--unpack):
dpkg-deb --control subprocess returned error exit status 1
No apport report written because MaxReports is reached already
dpkg-deb: /tmp/_MEI1lGMLa/liblzma.so.5: version `XZ_5.4' not found (required by dpkg-deb)
dpkg: error processing archive /tmp/apt-dpkg-install-s1y5um/6-docker.io_24.0.5-0ubuntu1~23.04.1_amd64.deb (--unpack):
dpkg-deb --control subprocess returned error exit status 1
No apport report written because MaxReports is reached already
dpkg-deb: /tmp/_MEI1lGMLa/liblzma.so.5: version `XZ_5.4' not found (required by dpkg-deb)
dpkg: error processing archive /tmp/apt-dpkg-install-s1y5um/7-ubuntu-fan_0.12.16_all.deb (--unpack):
dpkg-deb --control subprocess returned error exit status 1
No apport report written because MaxReports is reached already
Errors were encountered while processing:
/tmp/apt-dpkg-install-s1y5um/0-pigz_2.6-1_amd64.deb
/tmp/apt-dpkg-install-s1y5um/1-bridge-utils_1.7.1-1ubuntu1_amd64.deb
/tmp/apt-dpkg-install-s1y5um/2-runc_1.1.7-0ubuntu1~23.04.1_amd64.deb
/tmp/apt-dpkg-install-s1y5um/3-containerd_1.7.2-0ubuntu1~23.04.1_amd64.deb
/tmp/apt-dpkg-install-s1y5um/4-dns-root-data_2023010101_all.deb
/tmp/apt-dpkg-install-s1y5um/5-dnsmasq-base_2.89-1_amd64.deb
/tmp/apt-dpkg-install-s1y5um/6-docker.io_24.0.5-0ubuntu1~23.04.1_amd64.deb
/tmp/apt-dpkg-install-s1y5um/7-ubuntu-fan_0.12.16_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
.+....+............+........+...+..........+...+.....+......+.+.........+........+..........+..+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*.........+..+.........+...+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*......+...+......+...+...+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
......+.....+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*.+...+......+.....+....+..+......+....+...........+...+.+...+.....+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*.........+...+.......+..................+...+........+.........+...............+......+.+..............+....+......+..+.......+.....+.+.....+.......+.........+...+..+..................+......+.+.....+.+........+......+.+.....+...............+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
-----
Successfully installed the Hora Pusa Vless server script!
Any idea what's causing this? My knowledge of Linux is the same as a guy who can google properly. Other than that this is new to me
I can connect to the Telegram bot but it is broken saying invalid username over and over again even with the correct config code being used /mk_user test 433 100 100
Any help would be great @horapusa-lk