...
Note |
---|
Contact Support if:
Continuing may result in the installation of an untrusted key and subsequently: untrusted software in the future. |
5. Add the generalbytes repository to APT
For installation and updates, the repository must be specifically added to the Ubuntu system.
Create the repository file:
Code Block |
---|
sudo touch /etc/apt/sources.list.d/generalbytes-repo.list |
Edit the new file using nano:
Code Block |
---|
sudo nano /etc/apt/sources.list.d/generalbytes-repo.list |
...
Add the following line to the file:
Code Block |
---|
deb [arch=amd64 signed-by=/usr/share/keyrings/generalbytes-repo.public] https://packages.generalbytes.com/LICENSE ./stable main |
Replace “LICENSE” with your actual GENERAL BYTES approved license key.
Example:
...
Save and exit the nano editor (Press Ctrl+X, and answer “Y” when asked to save the file).
If you prefer to do it in a single line, use this script:
Code Block |
---|
read -p"Enter your license number and press ENTER:" LL && [ "$LL" == "" ] && echo "bad lincence number try again" || sudo sh -c "echo 'deb [arch=amd64 signed-by=/usr/share/keyrings/generalbytes-repo.public] https://packages.generalbytes.com/$LL ./stable main' > /etc/apt/sources.list.d/generalbytes-repo.list" |
6. Update the Ubuntu system repository.
Code Block |
---|
sudo apt update |
...
Troubleshooting
The license issued by GENERAL BYTES may be revoked without warning.
...
DO NOT DO THIS UNLESS REQUIRED!
To temporarily disable the GB APT Repository:
Rename this file:
Code Block |
---|
sudo mv /etc/apt/sources.list.d/generalbytes-repo.list /etc/apt/sources.list.d/generalbytes-repo.list~ |
Re-enable the file when you’re ready to update CAS:
Code Block |
---|
sudo mv /etc/apt/sources.list.d/generalbytes-repo.list~ /etc/apt/sources.list.d/generalbytes-repo.list |
To permanently remove the GB APT repository:
Code Block |
---|
sudo rm /usr/share/keyrings/generalbytes-repo.public sudo rm /etc/apt/sources.list.d/generalbytes-repo.list sudo apt update |
...
Viewing patch availability:
You might want to check if a patch is available before shutting down CAS and upgrading. You can do this while CAS is up.
Code Block |
---|
apt update && apt show -a batm-server-upgrade-20240201 |
where the version sought is
20240201
...
The current patch versions will be displayed.
...