• If you need help or want to discuss things, you now can also join us on our Discord Server!
  • A first preview of the unlimited version of SinusBot can be found in the Upcoming Changes thread. A version for Windows will follow, but we don't have a release date, yet.
Sinusbot Installer Script

EN Sinusbot Installer Script 1.5

No permission to download

Ironeer

New Member
Hey,

Can you try just 'apt-get update' and see if you receive the same error?

Note that this command may take a long time as well.

Ok I fixed this error in the meantime, but I got a new one when I run the script:

/dev/fd/63: line 688: update-ca-certificates: command not found

I thought about installing it, but there is no package named equally
apt-get install -y update-ca-certificates
 

KosmicReeds

Donor
is awesome!
Hey,

If you have not done yet on your VPS run the 'apt-get update'

Then run 'apt-get install -y ca-certificates'

Then run the 'update-ca-certificates'

See if this works or not.

Regards.
 

Ironeer

New Member
Hey,

If you have not done yet on your VPS run the 'apt-get update'

Then run 'apt-get install -y ca-certificates'

Then run the 'update-ca-certificates'

See if this works or not.

Regards.

Hey, yes I have done the update, no errors.
ca-certificates was installed, checked it:
apt-get install -y ca-certificates
Reading package lists... Done
Building dependency tree
Reading state information... Done
ca-certificates is already the newest version (20170717~17.04.1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

I tried the script again, but the Error remained:
Installing necessary packages. Please wait...
/dev/fd/63: line 688: update-ca-certificates: command not found
Error on line 688. Report this to the author at https://forum.sinusbot.com/threads/sinusbot-installer-script.1200/ only. Not a PN or a bad review, cause this is an error of your system not of the installer script.
Command which failed was: " update-ca-certificates >/dev/null". Please try to execute it manually and attach the output to the bug report in the forum thread.

Greetings
 

KosmicReeds

Donor
is awesome!
Hey,

Okay until he comes back on (As he probably knows exactly what is wrong) we can try a few other things.

Try:
sudo apt-get install --reinstall ca-certificates

Then re-try.

If it doesn't work you can try purging them:
sudo dpkg --purge --force-depends ca-certificates
sudo apt-get -f install

Let me know how these go.
 

Ironeer

New Member
Hey,

Okay until he comes back on (As he probably knows exactly what is wrong) we can try a few other things.

Try:
sudo apt-get install --reinstall ca-certificates

Then re-try.

If it doesn't work you can try purging them:
sudo dpkg --purge --force-depends ca-certificates
sudo apt-get -f install

Let me know how these go.

Hmm no change in the script output, the error remains after both hotfixes:confused:
 

KosmicReeds

Donor
is awesome!
Hey,

Did you try re-run the:
apt-get install -y ca-certificates

then

update-ca-certificates

---

Try this command:
apt-get -qq install screen x11vnc xvfb libxcursor1 ca-certificates bzip2 psmisc libglib2.0-0 curl less cron-apt ntp python iproute2 dbus libnss3 libegl1-mesa x11-xkb-utils libasound2 -y >/dev/null

See if you still get errors from that and when you try to install the bot again, I am guessing it will be the same as before.
 

Ironeer

New Member
Hey,

Did you try re-run the:
apt-get install -y ca-certificates

then

update-ca-certificates

---

Try this command:
apt-get -qq install screen x11vnc xvfb libxcursor1 ca-certificates bzip2 psmisc libglib2.0-0 curl less cron-apt ntp python iproute2 dbus libnss3 libegl1-mesa x11-xkb-utils libasound2 -y >/dev/null

See if you still get errors from that and when you try to install the bot again, I am guessing it will be the same as before.

Thanks for your Help

Unfortunately, update-ca-certificate is still an unknown command
 

KosmicReeds

Donor
is awesome!
update-ca-certificates
with an "s"
I think he just missed the 's' when replying, as I did put the 's' on my command.

@Ironeer

Currently just setting up TeamSpeak on a new test server (as my other one doesn't seem to let me select Ubuntu 17.04.... :/ ) to see if I can replicate the errors, please bear with me.
I did do the apt-get update and all that and have received no errors so far though.
 

Ironeer

New Member
update-ca-certificates
with an "s"

I only missed the 's' in the post, I copied everything to the console

root@vmd12916:~# update-ca-certificates
bash: update-ca-certificates: command not found
root@vmd12916:~# apt-get install -y update-ca-certificates
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package update-ca-certificates
 

KosmicReeds

Donor
is awesome!
@Ironeer

'apt-get install -y ca-certificates' not 'apt-get install -y update-ca-certificates'

Also, just installed onto test server and everything went without a hitch using Ubuntu 17.04.
Re-try with corrected above code. If this still does not work we could try a last resort thing, but, this is up to you.
We would be re-imaging the VPS and doing a fresh install.

Unless @Qhiliqq has another suggestion/fix?

Regards.
 

Ironeer

New Member
@Ironeer

'apt-get install -y ca-certificates' not 'apt-get install -y update-ca-certificates'

Also, just installed onto test server and everything went without a hitch using Ubuntu 17.04.
Re-try with corrected above code. If this still does not work we could try a last resort thing, but, this is up to you.
We would be re-imaging the VPS and doing a fresh install.

Unless @Qhiliqq has another suggestion/fix?

Regards.

I tried another time, but I did install ca-certificates before.
Nevertheless here again my code:
root@vmd12916:~# apt-get install -y ca-certificates
Reading package lists... Done
Building dependency tree
Reading state information... Done
ca-certificates is already the newest version (20170717~17.04.1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
root@vmd12916:~# bash <(wget --no-check-certificate -O - 'https://sinusbot-installer.de/download.php?s=fbbdc53afd341c3f5cd84779cef1a819&t=1514293428')
--2017-12-26 13:53:54-- https://sinusbot-installer.de/download.php?s=fbbdc53afd341c3f5cd84779cef1a819&t=1514293428
Resolving sinusbot-installer.de (sinusbot-installer.de)... 31.172.90.14
Connecting to sinusbot-installer.de (sinusbot-installer.de)|31.172.90.14|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 34270 (33K) [application/octet-stream]
Saving to: 'STDOUT'

- 100%[===================>] 33.47K --.-KB/s in 0s

2017-12-26 13:53:54 (326 MB/s) - written to stdout [34270/34270]

Checking for the latest latest installer version
Your installer is up-to-date.
This is the automatic installer for latest SinusBot. USE AT YOUR OWN RISK!
You can choose between installing, upgrading and removing the SinusBot.
Installer by Philipp Esswein | DAThosting.eu - Your game-/voiceserver hoster (only german).
Please rate this script at: https://forum.sinusbot.com/resources/sinusbot-installer-script.58/
You're using Installer 1.4
What should the Installer do?
1) Install
2) Update
3) Remove
4) PW Reset
5) Quit
#? 1
Check if lsb-release and debconf-utils is installed...
Done!
/dev/fd/63: line 272: virt-what: command not found
/dev/fd/63: line 274: virt-what: command not found
Automatic usage or own directories?
1) Automatic
2) Own path
3) Quit
#? 1
SinusBot isn't installed yet. Installer goes on.
This SinusBot version is only for private use! Accept?
1) No
2) Yes
#? 2
Should YT-DL be installed/updated?
1) Yes
2) No
#? 1
/dev/fd/63: line 542: virt-what: command not found
Check your time below:
DATE: 12/26/17
TIME: 13:54:08
1) Correct
2) Incorrect
#? 1
Update the system packages to the latest version? Recommended, as otherwise dependencies might break! Option "No" will exit the installer
1) Yes
2) Try without
3) No
#? 1
Start installer now!
Updating the system in a few seconds silently (no optical output)!
This could take a while. Please wait up to 10 minutes!
Searching latest TS3-Client build for hardware type x86_64 with arch amd64.
Detected latest TS3-Client version as 3.1.7
Installing necessary packages. Please wait...
/dev/fd/63: line 688: update-ca-certificates: command not found
Error on line 688. Report this to the author at https://forum.sinusbot.com/threads/sinusbot-installer-script.1200/ only. Not a PN or a bad review, cause this is an error of your system not of the installer script.
Command which failed was: " update-ca-certificates >/dev/null". Please try to execute it manually and attach the output to the bug report in the forum thread.
root@vmd12916:~#

I'm not willing to re-image, then I think I have to live without a sinusbot if nobody knows the issue :/
Thanks for your help, maybe anyone has another idea
 

KosmicReeds

Donor
is awesome!
Hey,

I understand, especially when you have alot of invaluable stuff on the VPS, though I do re-call you saying it was a 'fresh install'?

Anyway, let's try the following first:
sudo apt-get remove ca-certificates

then

sudo apt-get purge ca-certificates

(This will remove and then purge the certificates)

Then again:
apt-get install ca-certificates

then

update-ca-certificates

Let's see how this goes.

Regards
 
Last edited:

Ironeer

New Member
Hey,

I understand, especially when you have alot of invaluable stuff on the VPS, though I do re-call you saying it was a 'fresh install'?

Anyway, let's try the following first:
sudo apt-get remove ca-certificates

then

sudo apt-get purge ca-certificates

(This will remove and then purge the certificates)

Then again:
apt-get install ca-certificates

then

update-ca-certificates

Let's see how this goes.

Regards

Yeah, you're right is was a fresh install, but in the meantime I set two gameserver and one of my own java servers up..:rolleyes:

After the removal and purge the installation generates an error output:
root@vmd12916:~# apt-get install ca-certificates
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
apg apturl-common avahi-utils bubblewrap cups-pk-helper five-or-more flatpak
fonts-dejavu-extra four-in-a-row gir1.2-grilo-0.3 gir1.2-gspell-1
gir1.2-mediaart-2.0 gnome-chess gnome-clocks gnome-control-center-data
gnome-dictionary gnome-games gnome-klotski gnome-nibbles gnome-robots
gnome-software-common gnome-sound-recorder gnome-taquin gnome-tetravex
hitori hoichess iagno ippusbxd java-common libatk-wrapper-java
libatk-wrapper-java-jni libcaribou-gtk-module libcaribou-gtk3-module
libfile-listing-perl libflatpak0 libfont-afm-perl libgdict-1.0-10
libgdict-common libgsound0 libhtml-form-perl libhtml-format-perl
libhtml-tree-perl libhttp-cookies-perl libhttp-daemon-perl
libhttp-negotiate-perl libmission-control-plugins0 libnet-http-perl
libnss-myhostname libostree-1-1 librygel-core-2.6-2 librygel-db-2.6-2
librygel-renderer-2.6-2 librygel-renderer-gst-2.6-2 librygel-server-2.6-2
libsnapd-glib1 libtie-ixhash-perl libwww-robotrules-perl
libxml-xpathengine-perl lightsoff polari python3-cffi-backend python3-crypto
python3-cryptography python3-cups python3-idna python3-keyring
python3-keyrings.alt python3-lazr.uri python3-oauth python3-pyasn1
python3-secretstorage python3-simplejson python3-software-properties
python3-urllib3 python3-wadllib python3-zope.interface quadrapassel rygel
rygel-playbin rygel-tracker snapd-login-service swell-foop tali
telepathy-idle telepathy-logger telepathy-mission-control-5
ubuntu-system-service unattended-upgrades unity-control-center-faces
Use 'apt autoremove' to remove them.
The following NEW packages will be installed:
ca-certificates
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/167 kB of archives.
After this operation, 436 kB of additional disk space will be used.
Preconfiguring packages ...
Selecting previously unselected package ca-certificates.
(Reading database ... 265740 files and directories currently installed.)
Preparing to unpack .../ca-certificates_20170717~17.04.1_all.deb ...
Unpacking ca-certificates (20170717~17.04.1) ...
Processing triggers for man-db (2.7.6.1-2) ...
Setting up ca-certificates (20170717~17.04.1) ...
/var/lib/dpkg/info/ca-certificates.postinst: 147: /var/lib/dpkg/info/ca-certificates.postinst: update-ca-certificates: not found
dpkg: error processing package ca-certificates (--configure):
subprocess installed post-installation script returned error exit status 127
Errors were encountered while processing:
ca-certificates
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@vmd12916:~# update-ca-certificates
bash: update-ca-certificates: command not found
 

KosmicReeds

Donor
is awesome!
Yeah, you're right is was a fresh install, but in the meantime I set two gameserver and one of my own java servers up..:rolleyes:

After the removal and purge the installation generates an error output:
root@vmd12916:~# apt-get install ca-certificates
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
apg apturl-common avahi-utils bubblewrap cups-pk-helper five-or-more flatpak
fonts-dejavu-extra four-in-a-row gir1.2-grilo-0.3 gir1.2-gspell-1
gir1.2-mediaart-2.0 gnome-chess gnome-clocks gnome-control-center-data
gnome-dictionary gnome-games gnome-klotski gnome-nibbles gnome-robots
gnome-software-common gnome-sound-recorder gnome-taquin gnome-tetravex
hitori hoichess iagno ippusbxd java-common libatk-wrapper-java
libatk-wrapper-java-jni libcaribou-gtk-module libcaribou-gtk3-module
libfile-listing-perl libflatpak0 libfont-afm-perl libgdict-1.0-10
libgdict-common libgsound0 libhtml-form-perl libhtml-format-perl
libhtml-tree-perl libhttp-cookies-perl libhttp-daemon-perl
libhttp-negotiate-perl libmission-control-plugins0 libnet-http-perl
libnss-myhostname libostree-1-1 librygel-core-2.6-2 librygel-db-2.6-2
librygel-renderer-2.6-2 librygel-renderer-gst-2.6-2 librygel-server-2.6-2
libsnapd-glib1 libtie-ixhash-perl libwww-robotrules-perl
libxml-xpathengine-perl lightsoff polari python3-cffi-backend python3-crypto
python3-cryptography python3-cups python3-idna python3-keyring
python3-keyrings.alt python3-lazr.uri python3-oauth python3-pyasn1
python3-secretstorage python3-simplejson python3-software-properties
python3-urllib3 python3-wadllib python3-zope.interface quadrapassel rygel
rygel-playbin rygel-tracker snapd-login-service swell-foop tali
telepathy-idle telepathy-logger telepathy-mission-control-5
ubuntu-system-service unattended-upgrades unity-control-center-faces
Use 'apt autoremove' to remove them.
The following NEW packages will be installed:
ca-certificates
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/167 kB of archives.
After this operation, 436 kB of additional disk space will be used.
Preconfiguring packages ...
Selecting previously unselected package ca-certificates.
(Reading database ... 265740 files and directories currently installed.)
Preparing to unpack .../ca-certificates_20170717~17.04.1_all.deb ...
Unpacking ca-certificates (20170717~17.04.1) ...
Processing triggers for man-db (2.7.6.1-2) ...
Setting up ca-certificates (20170717~17.04.1) ...
/var/lib/dpkg/info/ca-certificates.postinst: 147: /var/lib/dpkg/info/ca-certificates.postinst: update-ca-certificates: not found
dpkg: error processing package ca-certificates (--configure):
subprocess installed post-installation script returned error exit status 127
Errors were encountered while processing:
ca-certificates
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@vmd12916:~# update-ca-certificates
bash: update-ca-certificates: command not found

Fair enough :)

Okay's give this fella a go:
sudo dpkg-reconfigure ca-certificates

Your server really is not liking the ca-certificates :p
 

Qhiliqq

Donor
is awesome!
Contributor
Insider
Licensed Partner
Thats really weird.
I could help you via teamviewer.
Never had such an error.
 

Ironeer

New Member
Fair enough :)

Okay's give this fella a go:
sudo dpkg-reconfigure ca-certificates

Your server really is not liking the ca-certificates :p

That looks more promising, I am not into it, but dpkg seems to handle things different to the normal installation over apt-get

root@vmd12916:~# sudo dpkg-reconfigure ca-certificates
/usr/sbin/dpkg-reconfigure: ca-certificates is broken or not fully installed

Thats really weird.
I could help you via teamviewer.
Never had such an error.
When the new idea from KosmicReeds does not change anything I would please this
 

Qhiliqq

Donor
is awesome!
Contributor
Insider
Licensed Partner
That looks more promising, I am not into it, but dpkg seems to handle things different to the normal installation over apt-get

root@vmd12916:~# sudo dpkg-reconfigure ca-certificates
/usr/sbin/dpkg-reconfigure: ca-certificates is broken or not fully installed


When the new idea from KosmicReeds does not change anything I would please this
Code:
apt-get purge ca-certificates && apt-get install ca-certificates && update-ca-certificates
 
Top