I am trying to install DVswitch in the cloud. When I follow the step by step process I get this error when I try to install the DVswitch server
root@dvswitch:~# apt install dvswitch-server --dry-run
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package dvswitch-server
root@dvswitch:~#
|
|

Steve N4IRS
Show me the output of apt update
toggle quoted messageShow quoted text
On 2/14/21 2:18 PM, David - W9DWH/4 via
groups.io wrote:
I am trying to install DVswitch in the cloud. When I follow the
step by step process I get this error when I try to install the
DVswitch server
root@dvswitch:~# apt install dvswitch-server --dry-run
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package dvswitch-server
root@dvswitch:~#
|
|
root@dvswitch:~# apt update
Hit:1 http://us.archive.ubuntu.com/ubuntu xenial InRelease
Get:2 http://us.archive.ubuntu.com/ubuntu xenial-updates InRelease [109 kB]
Hit:3 http://dvswitch.org/ASL_Repository stretch InRelease
Get:4 http://us.archive.ubuntu.com/ubuntu xenial-backports InRelease [107 kB]
Get:5 http://security.ubuntu.com/ubuntu xenial-security InRelease [109 kB]
Fetched 325 kB in 0s (425 kB/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
All packages are up to date.
|
|

Steve N4IRS
toggle quoted messageShow quoted text
On 2/14/21 2:25 PM, David - W9DWH/4 via
groups.io wrote:
root@dvswitch:~# apt update
Fetched 325 kB in 0s (425 kB/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
All packages are up to date.
|
|
|
|

Steve N4IRS
Can you point me the the step by step you are using?
toggle quoted messageShow quoted text
|
|
http://dvswitch.org/DVSwitch_install.pdf
|
|

Steve N4IRS
I assume you mean this:
wget http://dvswitch.org/buster
sudo chmod +x buster
sudo ./buster
sudo apt-get update
sudo apt-get install dvswitch-server
The buster script would have either added the buster repository or
told you that it was already installed.
Check /etc/apt/sources.list.d/allstarlink.list
deb http://dvswitch.org/DVSwitch_Repository buster hamradio
Then:
apt-get update
apt-get install dvswitch-server
Steve N4IRS
toggle quoted messageShow quoted text
|
|

Mike KB8JNM
I have the same issue with Buster
I was able to manually update packages until ssh-client/server
and one other related
Stopped till I have time to fool with it again.
toggle quoted messageShow quoted text
On 2/14/2021 2:48 PM, Steve N4IRS
wrote:
I
assume you mean this:
wget http://dvswitch.org/buster
sudo chmod +x buster
sudo ./buster
sudo apt-get update
sudo apt-get install dvswitch-server
The buster script would have either added the buster repository or
told you that it was already installed.
Check /etc/apt/sources.list.d/allstarlink.list
deb http://dvswitch.org/DVSwitch_Repository
buster hamradio
Then:
apt-get update
apt-get install dvswitch-server
Steve N4IRS
On 2/14/21 2:40 PM, David - W9DWH/4
via groups.io wrote:
http://dvswitch.org/DVSwitch_install.pdf
|
|

Steve N4IRS
This is the buster script:
#!/usr/bin/env bash
set -o errexit
# N4IRS 10/25/2020
#################################################
# #
# Add DVSwitch Repository and gpg key #
# #
#################################################
if [[ $(/usr/bin/id -u) -ne 0 ]]; then
echo "Not running as root"
echo "either run as root or with sudo"
exit
fi
distribution=buster
# INSTALL gnupg needed for gpg.key
[ ! -x "/usr/bin/gpg" ] && apt-get install gnupg -y
# Add the backport repository, if needed to install monit
if [ $(apt-cache policy monit | grep -c "Candidate: (none)") -eq 1
] ; then
# add repository
printf "%s\n" "deb http://ftp.de.debian.org/debian
buster-backports main" | tee
/etc/apt/sources.list.d/buster-backports.list
fi
# INSTALL netstat needed by dvswitch.sh
[ ! -x "/bin/netstat" ] && apt-get install net-tools -y
# Check for rc.local and create if not found.
FILE="/etc/rc.local"
if [ ! -f "$FILE" ] ; then
echo '#!/bin/sh -e' > $FILE
echo '' >> $FILE
echo 'exit 0' >> $FILE
chmod +x $FILE
fi
# Are the repos installed
# Should this test for buster too?
if [ -f /etc/apt/sources.list.d/dvswitch.list ]
then
echo "The Repository file already exists, exiting"
exit 0
fi
# Install the key and add the repo
wget -O - http://dvswitch.org/DVSwitch_Repository/dvswitch.gpg.key
| apt-key add -
echo "# Official DVSwitch repository"
>/etc/apt/sources.list.d/dvswitch.list
echo "deb http://dvswitch.org/DVSwitch_Repository $distribution
hamradio" >>/etc/apt/sources.list.d/dvswitch.list
echo "#" >>/etc/apt/sources.list.d/dvswitch.list
apt-get update
# print the installed repositories
echo "Installed repositories:"
apt-cache policy | grep http | awk '{print $2 $3}' | sort -u
I don't see any way it would install a pointer to
http://dvswitch.org/ASL_Repository stretch
toggle quoted messageShow quoted text
On 2/14/21 3:00 PM, Mike KB8JNM wrote:
I have the same issue with Buster
I was able to manually update packages until ssh-client/server
and one other related
Stopped till I have time to fool with it again.
On 2/14/2021 2:48 PM, Steve N4IRS
wrote:
I
assume you mean this:
wget http://dvswitch.org/buster
sudo chmod +x buster
sudo ./buster
sudo apt-get update
sudo apt-get install dvswitch-server
The buster script would have either added the buster repository
or told you that it was already installed.
Check /etc/apt/sources.list.d/allstarlink.list
deb http://dvswitch.org/DVSwitch_Repository
buster hamradio
Then:
apt-get update
apt-get install dvswitch-server
Steve N4IRS
On 2/14/21 2:40 PM, David - W9DWH/4
via groups.io wrote:
http://dvswitch.org/DVSwitch_install.pdf
|
|

Mike KB8JNM
The issue was not with the install script.
Never got that far.
The issue was updated repository's that are broken.
toggle quoted messageShow quoted text
On 2/14/2021 3:05 PM, Steve N4IRS
wrote:
This is the buster script:
#!/usr/bin/env bash
set -o errexit
# N4IRS 10/25/2020
#################################################
# #
# Add DVSwitch Repository and gpg key #
# #
#################################################
if [[ $(/usr/bin/id -u) -ne 0 ]]; then
echo "Not running as root"
echo "either run as root or with sudo"
exit
fi
distribution=buster
# INSTALL gnupg needed for gpg.key
[ ! -x "/usr/bin/gpg" ] && apt-get install gnupg -y
# Add the backport repository, if needed to install monit
if [ $(apt-cache policy monit | grep -c "Candidate: (none)") -eq
1 ] ; then
# add repository
printf "%s\n" "deb http://ftp.de.debian.org/debian
buster-backports main" | tee
/etc/apt/sources.list.d/buster-backports.list
fi
# INSTALL netstat needed by dvswitch.sh
[ ! -x "/bin/netstat" ] && apt-get install net-tools -y
# Check for rc.local and create if not found.
FILE="/etc/rc.local"
if [ ! -f "$FILE" ] ; then
echo '#!/bin/sh -e' > $FILE
echo '' >> $FILE
echo 'exit 0' >> $FILE
chmod +x $FILE
fi
# Are the repos installed
# Should this test for buster too?
if [ -f /etc/apt/sources.list.d/dvswitch.list ]
then
echo "The Repository file already exists, exiting"
exit 0
fi
# Install the key and add the repo
wget -O - http://dvswitch.org/DVSwitch_Repository/dvswitch.gpg.key
| apt-key add -
echo "# Official DVSwitch repository"
>/etc/apt/sources.list.d/dvswitch.list
echo "deb http://dvswitch.org/DVSwitch_Repository
$distribution hamradio"
>>/etc/apt/sources.list.d/dvswitch.list
echo "#" >>/etc/apt/sources.list.d/dvswitch.list
apt-get update
# print the installed repositories
echo "Installed repositories:"
apt-cache policy | grep http | awk '{print $2 $3}' | sort -u
I don't see any way it would install a pointer to http://dvswitch.org/ASL_Repository
stretch
On 2/14/21 3:00 PM, Mike KB8JNM
wrote:
I have the same issue with Buster
I was able to manually update packages until
ssh-client/server and one other related
Stopped till I have time to fool with it again.
On 2/14/2021 2:48 PM, Steve N4IRS
wrote:
I
assume you mean this:
wget http://dvswitch.org/buster
sudo chmod +x buster
sudo ./buster
sudo apt-get update
sudo apt-get install dvswitch-server
The buster script would have either added the buster
repository or told you that it was already installed.
Check /etc/apt/sources.list.d/allstarlink.list
deb http://dvswitch.org/DVSwitch_Repository
buster hamradio
Then:
apt-get update
apt-get install dvswitch-server
Steve N4IRS
On 2/14/21 2:40 PM, David -
W9DWH/4 via groups.io wrote:
http://dvswitch.org/DVSwitch_install.pdf
|
|

Steve N4IRS
That script is the first step. It adds the buster repo.
toggle quoted messageShow quoted text
On 2/14/21 3:06 PM, Mike KB8JNM wrote:
The issue was not with the install script.
Never got that far.
The issue was updated repository's that are broken.
On 2/14/2021 3:05 PM, Steve N4IRS
wrote:
This is the buster script:
#!/usr/bin/env bash
set -o errexit
# N4IRS 10/25/2020
#################################################
# #
# Add DVSwitch Repository and gpg key #
# #
#################################################
if [[ $(/usr/bin/id -u) -ne 0 ]]; then
echo "Not running as root"
echo "either run as root or with sudo"
exit
fi
distribution=buster
# INSTALL gnupg needed for gpg.key
[ ! -x "/usr/bin/gpg" ] && apt-get install gnupg -y
# Add the backport repository, if needed to install monit
if [ $(apt-cache policy monit | grep -c "Candidate: (none)")
-eq 1 ] ; then
# add repository
printf "%s\n" "deb http://ftp.de.debian.org/debian
buster-backports main" | tee
/etc/apt/sources.list.d/buster-backports.list
fi
# INSTALL netstat needed by dvswitch.sh
[ ! -x "/bin/netstat" ] && apt-get install net-tools
-y
# Check for rc.local and create if not found.
FILE="/etc/rc.local"
if [ ! -f "$FILE" ] ; then
echo '#!/bin/sh -e' > $FILE
echo '' >> $FILE
echo 'exit 0' >> $FILE
chmod +x $FILE
fi
# Are the repos installed
# Should this test for buster too?
if [ -f /etc/apt/sources.list.d/dvswitch.list ]
then
echo "The Repository file already exists, exiting"
exit 0
fi
# Install the key and add the repo
wget -O - http://dvswitch.org/DVSwitch_Repository/dvswitch.gpg.key
| apt-key add -
echo "# Official DVSwitch repository"
>/etc/apt/sources.list.d/dvswitch.list
echo "deb http://dvswitch.org/DVSwitch_Repository
$distribution hamradio"
>>/etc/apt/sources.list.d/dvswitch.list
echo "#" >>/etc/apt/sources.list.d/dvswitch.list
apt-get update
# print the installed repositories
echo "Installed repositories:"
apt-cache policy | grep http | awk '{print $2 $3}' | sort -u
I don't see any way it would install a pointer to http://dvswitch.org/ASL_Repository
stretch
On 2/14/21 3:00 PM, Mike KB8JNM
wrote:
I have the same issue with Buster
I was able to manually update packages until
ssh-client/server and one other related
Stopped till I have time to fool with it again.
On 2/14/2021 2:48 PM, Steve N4IRS
wrote:
I assume you mean this:
wget http://dvswitch.org/buster
sudo chmod +x buster
sudo ./buster
sudo apt-get update
sudo apt-get install dvswitch-server
The buster script would have either added the buster
repository or told you that it was already installed.
Check /etc/apt/sources.list.d/allstarlink.list
deb http://dvswitch.org/DVSwitch_Repository
buster hamradio
Then:
apt-get update
apt-get install dvswitch-server
Steve N4IRS
On 2/14/21 2:40 PM, David -
W9DWH/4 via groups.io wrote:
http://dvswitch.org/DVSwitch_install.pdf
|
|

Mike KB8JNM
No, back up a step, I talking system.
apt update
apt apgrade
toggle quoted messageShow quoted text
On 2/14/2021 3:08 PM, Steve N4IRS
wrote:
That script is the first step. It adds the buster repo.
On 2/14/21 3:06 PM, Mike KB8JNM
wrote:
The issue was not with the install script.
Never got that far.
The issue was updated repository's that are broken.
On 2/14/2021 3:05 PM, Steve N4IRS
wrote:
This is the buster script:
#!/usr/bin/env bash
set -o errexit
# N4IRS 10/25/2020
#################################################
# #
# Add DVSwitch Repository and gpg key #
# #
#################################################
if [[ $(/usr/bin/id -u) -ne 0 ]]; then
echo "Not running as root"
echo "either run as root or with sudo"
exit
fi
distribution=buster
# INSTALL gnupg needed for gpg.key
[ ! -x "/usr/bin/gpg" ] && apt-get install gnupg -y
# Add the backport repository, if needed to install monit
if [ $(apt-cache policy monit | grep -c "Candidate: (none)")
-eq 1 ] ; then
# add repository
printf "%s\n" "deb http://ftp.de.debian.org/debian
buster-backports main" | tee
/etc/apt/sources.list.d/buster-backports.list
fi
# INSTALL netstat needed by dvswitch.sh
[ ! -x "/bin/netstat" ] && apt-get install net-tools
-y
# Check for rc.local and create if not found.
FILE="/etc/rc.local"
if [ ! -f "$FILE" ] ; then
echo '#!/bin/sh -e' > $FILE
echo '' >> $FILE
echo 'exit 0' >> $FILE
chmod +x $FILE
fi
# Are the repos installed
# Should this test for buster too?
if [ -f /etc/apt/sources.list.d/dvswitch.list ]
then
echo "The Repository file already exists, exiting"
exit 0
fi
# Install the key and add the repo
wget -O - http://dvswitch.org/DVSwitch_Repository/dvswitch.gpg.key
| apt-key add -
echo "# Official DVSwitch repository"
>/etc/apt/sources.list.d/dvswitch.list
echo "deb http://dvswitch.org/DVSwitch_Repository
$distribution hamradio"
>>/etc/apt/sources.list.d/dvswitch.list
echo "#" >>/etc/apt/sources.list.d/dvswitch.list
apt-get update
# print the installed repositories
echo "Installed repositories:"
apt-cache policy | grep http | awk '{print $2 $3}' | sort -u
I don't see any way it would install a pointer to http://dvswitch.org/ASL_Repository
stretch
On 2/14/21 3:00 PM, Mike KB8JNM
wrote:
I have the same issue with Buster
I was able to manually update packages until
ssh-client/server and one other related
Stopped till I have time to fool with it again.
On 2/14/2021 2:48 PM, Steve
N4IRS wrote:
I assume you mean this:
wget http://dvswitch.org/buster
sudo chmod +x buster
sudo ./buster
sudo apt-get update
sudo apt-get install dvswitch-server
The buster script would have either added the buster
repository or told you that it was already installed.
Check /etc/apt/sources.list.d/allstarlink.list
deb http://dvswitch.org/DVSwitch_Repository
buster hamradio
Then:
apt-get update
apt-get install dvswitch-server
Steve N4IRS
On 2/14/21 2:40 PM, David -
W9DWH/4 via groups.io wrote:
http://dvswitch.org/DVSwitch_install.pdf
|
|

Mike KB8JNM
It did work a week or more ago, then something changed with the
packages for system.
toggle quoted messageShow quoted text
On 2/14/2021 3:10 PM, Mike KB8JNM
wrote:
No, back up a step, I talking system.
apt update
apt apgrade
On 2/14/2021 3:08 PM, Steve N4IRS
wrote:
That script is the first step. It adds the buster repo.
On 2/14/21 3:06 PM, Mike KB8JNM
wrote:
The issue was not with the install script.
Never got that far.
The issue was updated repository's that are broken.
On 2/14/2021 3:05 PM, Steve N4IRS
wrote:
This is the buster script:
#!/usr/bin/env bash
set -o errexit
# N4IRS 10/25/2020
#################################################
# #
# Add DVSwitch Repository and gpg key #
# #
#################################################
if [[ $(/usr/bin/id -u) -ne 0 ]]; then
echo "Not running as root"
echo "either run as root or with sudo"
exit
fi
distribution=buster
# INSTALL gnupg needed for gpg.key
[ ! -x "/usr/bin/gpg" ] && apt-get install gnupg
-y
# Add the backport repository, if needed to install monit
if [ $(apt-cache policy monit | grep -c "Candidate:
(none)") -eq 1 ] ; then
# add repository
printf "%s\n" "deb http://ftp.de.debian.org/debian
buster-backports main" | tee
/etc/apt/sources.list.d/buster-backports.list
fi
# INSTALL netstat needed by dvswitch.sh
[ ! -x "/bin/netstat" ] && apt-get install
net-tools -y
# Check for rc.local and create if not found.
FILE="/etc/rc.local"
if [ ! -f "$FILE" ] ; then
echo '#!/bin/sh -e' > $FILE
echo '' >> $FILE
echo 'exit 0' >> $FILE
chmod +x $FILE
fi
# Are the repos installed
# Should this test for buster too?
if [ -f /etc/apt/sources.list.d/dvswitch.list ]
then
echo "The Repository file already exists, exiting"
exit 0
fi
# Install the key and add the repo
wget -O - http://dvswitch.org/DVSwitch_Repository/dvswitch.gpg.key
| apt-key add -
echo "# Official DVSwitch repository"
>/etc/apt/sources.list.d/dvswitch.list
echo "deb http://dvswitch.org/DVSwitch_Repository
$distribution hamradio"
>>/etc/apt/sources.list.d/dvswitch.list
echo "#" >>/etc/apt/sources.list.d/dvswitch.list
apt-get update
# print the installed repositories
echo "Installed repositories:"
apt-cache policy | grep http | awk '{print $2 $3}' | sort
-u
I don't see any way it would install a pointer to http://dvswitch.org/ASL_Repository
stretch
On 2/14/21 3:00 PM, Mike KB8JNM
wrote:
I have the same issue with Buster
I was able to manually update packages until
ssh-client/server and one other related
Stopped till I have time to fool with it again.
On 2/14/2021 2:48 PM, Steve
N4IRS wrote:
I assume you mean this:
wget http://dvswitch.org/buster
sudo chmod +x buster
sudo ./buster
sudo apt-get update
sudo apt-get install dvswitch-server
The buster script would have either added the buster
repository or told you that it was already installed.
Check /etc/apt/sources.list.d/allstarlink.list
deb http://dvswitch.org/DVSwitch_Repository
buster hamradio
Then:
apt-get update
apt-get install dvswitch-server
Steve N4IRS
On 2/14/21 2:40 PM, David -
W9DWH/4 via groups.io wrote:
http://dvswitch.org/DVSwitch_install.pdf
|
|

Steve N4IRS
OK,
step one:
Make sure your existing system is up to date.
apt update
apt upgrade
What is wrong there?
toggle quoted messageShow quoted text
On 2/14/21 3:10 PM, Mike KB8JNM wrote:
No, back up a step, I talking system.
apt update
apt apgrade
On 2/14/2021 3:08 PM, Steve N4IRS
wrote:
That script is the first step. It adds the buster repo.
On 2/14/21 3:06 PM, Mike KB8JNM
wrote:
The issue was not with the install script.
Never got that far.
The issue was updated repository's that are broken.
On 2/14/2021 3:05 PM, Steve N4IRS
wrote:
This is the buster script:
#!/usr/bin/env bash
set -o errexit
# N4IRS 10/25/2020
#################################################
# #
# Add DVSwitch Repository and gpg key #
# #
#################################################
if [[ $(/usr/bin/id -u) -ne 0 ]]; then
echo "Not running as root"
echo "either run as root or with sudo"
exit
fi
distribution=buster
# INSTALL gnupg needed for gpg.key
[ ! -x "/usr/bin/gpg" ] && apt-get install gnupg
-y
# Add the backport repository, if needed to install monit
if [ $(apt-cache policy monit | grep -c "Candidate:
(none)") -eq 1 ] ; then
# add repository
printf "%s\n" "deb http://ftp.de.debian.org/debian
buster-backports main" | tee
/etc/apt/sources.list.d/buster-backports.list
fi
# INSTALL netstat needed by dvswitch.sh
[ ! -x "/bin/netstat" ] && apt-get install
net-tools -y
# Check for rc.local and create if not found.
FILE="/etc/rc.local"
if [ ! -f "$FILE" ] ; then
echo '#!/bin/sh -e' > $FILE
echo '' >> $FILE
echo 'exit 0' >> $FILE
chmod +x $FILE
fi
# Are the repos installed
# Should this test for buster too?
if [ -f /etc/apt/sources.list.d/dvswitch.list ]
then
echo "The Repository file already exists, exiting"
exit 0
fi
# Install the key and add the repo
wget -O - http://dvswitch.org/DVSwitch_Repository/dvswitch.gpg.key
| apt-key add -
echo "# Official DVSwitch repository"
>/etc/apt/sources.list.d/dvswitch.list
echo "deb http://dvswitch.org/DVSwitch_Repository
$distribution hamradio"
>>/etc/apt/sources.list.d/dvswitch.list
echo "#" >>/etc/apt/sources.list.d/dvswitch.list
apt-get update
# print the installed repositories
echo "Installed repositories:"
apt-cache policy | grep http | awk '{print $2 $3}' | sort
-u
I don't see any way it would install a pointer to http://dvswitch.org/ASL_Repository
stretch
On 2/14/21 3:00 PM, Mike KB8JNM
wrote:
I have the same issue with Buster
I was able to manually update packages until
ssh-client/server and one other related
Stopped till I have time to fool with it again.
On 2/14/2021 2:48 PM, Steve
N4IRS wrote:
I assume you mean this:
wget http://dvswitch.org/buster
sudo chmod +x buster
sudo ./buster
sudo apt-get update
sudo apt-get install dvswitch-server
The buster script would have either added the buster
repository or told you that it was already installed.
Check /etc/apt/sources.list.d/allstarlink.list
deb http://dvswitch.org/DVSwitch_Repository
buster hamradio
Then:
apt-get update
apt-get install dvswitch-server
Steve N4IRS
On 2/14/21 2:40 PM, David -
W9DWH/4 via groups.io wrote:
http://dvswitch.org/DVSwitch_install.pdf
|
|

Mike KB8JNM
That is where it takes system updates but can not install them
all.
I'm pretty sure that is what the other fella was having a issue
with but can't speak to that if it was not buster
toggle quoted messageShow quoted text
On 2/14/2021 3:12 PM, Steve N4IRS
wrote:
OK,
step one:
Make sure your existing system is up to date.
apt update
apt upgrade
What is wrong there?
On 2/14/21 3:10 PM, Mike KB8JNM
wrote:
No, back up a step, I talking system.
apt update
apt apgrade
On 2/14/2021 3:08 PM, Steve N4IRS
wrote:
That script is the first step. It adds the buster repo.
On 2/14/21 3:06 PM, Mike KB8JNM
wrote:
The issue was not with the install script.
Never got that far.
The issue was updated repository's that are broken.
On 2/14/2021 3:05 PM, Steve
N4IRS wrote:
This is the buster script:
#!/usr/bin/env bash
set -o errexit
# N4IRS 10/25/2020
#################################################
# #
# Add DVSwitch Repository and gpg key #
# #
#################################################
if [[ $(/usr/bin/id -u) -ne 0 ]]; then
echo "Not running as root"
echo "either run as root or with sudo"
exit
fi
distribution=buster
# INSTALL gnupg needed for gpg.key
[ ! -x "/usr/bin/gpg" ] && apt-get install gnupg
-y
# Add the backport repository, if needed to install
monit
if [ $(apt-cache policy monit | grep -c "Candidate:
(none)") -eq 1 ] ; then
# add repository
printf "%s\n" "deb http://ftp.de.debian.org/debian
buster-backports main" | tee
/etc/apt/sources.list.d/buster-backports.list
fi
# INSTALL netstat needed by dvswitch.sh
[ ! -x "/bin/netstat" ] && apt-get install
net-tools -y
# Check for rc.local and create if not found.
FILE="/etc/rc.local"
if [ ! -f "$FILE" ] ; then
echo '#!/bin/sh -e' > $FILE
echo '' >> $FILE
echo 'exit 0' >> $FILE
chmod +x $FILE
fi
# Are the repos installed
# Should this test for buster too?
if [ -f /etc/apt/sources.list.d/dvswitch.list ]
then
echo "The Repository file already exists, exiting"
exit 0
fi
# Install the key and add the repo
wget -O - http://dvswitch.org/DVSwitch_Repository/dvswitch.gpg.key
| apt-key add -
echo "# Official DVSwitch repository"
>/etc/apt/sources.list.d/dvswitch.list
echo "deb http://dvswitch.org/DVSwitch_Repository
$distribution hamradio"
>>/etc/apt/sources.list.d/dvswitch.list
echo "#" >>/etc/apt/sources.list.d/dvswitch.list
apt-get update
# print the installed repositories
echo "Installed repositories:"
apt-cache policy | grep http | awk '{print $2 $3}' |
sort -u
I don't see any way it would install a pointer to http://dvswitch.org/ASL_Repository
stretch
On 2/14/21 3:00 PM, Mike
KB8JNM wrote:
I have the same issue with Buster
I was able to manually update packages until
ssh-client/server and one other related
Stopped till I have time to fool with it again.
On 2/14/2021 2:48 PM, Steve
N4IRS wrote:
I assume you mean this:
wget http://dvswitch.org/buster
sudo chmod +x buster
sudo ./buster
sudo apt-get update
sudo apt-get install dvswitch-server
The buster script would have either added the buster
repository or told you that it was already installed.
Check /etc/apt/sources.list.d/allstarlink.list
deb http://dvswitch.org/DVSwitch_Repository
buster hamradio
Then:
apt-get update
apt-get install dvswitch-server
Steve N4IRS
On 2/14/21 2:40 PM, David
- W9DWH/4 via groups.io wrote:
http://dvswitch.org/DVSwitch_install.pdf
|
|

Steve N4IRS
I just did it this morning and have done it quite a few times over
the last few days.
toggle quoted messageShow quoted text
On 2/14/21 3:12 PM, Mike KB8JNM wrote:
It did work a week or more ago, then something changed with the
packages for system.
On 2/14/2021 3:10 PM, Mike KB8JNM
wrote:
No, back up a step, I talking system.
apt update
apt apgrade
On 2/14/2021 3:08 PM, Steve N4IRS
wrote:
That script is the first step. It adds the buster repo.
On 2/14/21 3:06 PM, Mike KB8JNM
wrote:
The issue was not with the install script.
Never got that far.
The issue was updated repository's that are broken.
On 2/14/2021 3:05 PM, Steve
N4IRS wrote:
This is the buster script:
#!/usr/bin/env bash
set -o errexit
# N4IRS 10/25/2020
#################################################
# #
# Add DVSwitch Repository and gpg key #
# #
#################################################
if [[ $(/usr/bin/id -u) -ne 0 ]]; then
echo "Not running as root"
echo "either run as root or with sudo"
exit
fi
distribution=buster
# INSTALL gnupg needed for gpg.key
[ ! -x "/usr/bin/gpg" ] && apt-get install gnupg
-y
# Add the backport repository, if needed to install
monit
if [ $(apt-cache policy monit | grep -c "Candidate:
(none)") -eq 1 ] ; then
# add repository
printf "%s\n" "deb http://ftp.de.debian.org/debian
buster-backports main" | tee
/etc/apt/sources.list.d/buster-backports.list
fi
# INSTALL netstat needed by dvswitch.sh
[ ! -x "/bin/netstat" ] && apt-get install
net-tools -y
# Check for rc.local and create if not found.
FILE="/etc/rc.local"
if [ ! -f "$FILE" ] ; then
echo '#!/bin/sh -e' > $FILE
echo '' >> $FILE
echo 'exit 0' >> $FILE
chmod +x $FILE
fi
# Are the repos installed
# Should this test for buster too?
if [ -f /etc/apt/sources.list.d/dvswitch.list ]
then
echo "The Repository file already exists, exiting"
exit 0
fi
# Install the key and add the repo
wget -O - http://dvswitch.org/DVSwitch_Repository/dvswitch.gpg.key
| apt-key add -
echo "# Official DVSwitch repository"
>/etc/apt/sources.list.d/dvswitch.list
echo "deb http://dvswitch.org/DVSwitch_Repository
$distribution hamradio"
>>/etc/apt/sources.list.d/dvswitch.list
echo "#" >>/etc/apt/sources.list.d/dvswitch.list
apt-get update
# print the installed repositories
echo "Installed repositories:"
apt-cache policy | grep http | awk '{print $2 $3}' |
sort -u
I don't see any way it would install a pointer to http://dvswitch.org/ASL_Repository
stretch
On 2/14/21 3:00 PM, Mike
KB8JNM wrote:
I have the same issue with Buster
I was able to manually update packages until
ssh-client/server and one other related
Stopped till I have time to fool with it again.
On 2/14/2021 2:48 PM, Steve
N4IRS wrote:
I assume you mean this:
wget http://dvswitch.org/buster
sudo chmod +x buster
sudo ./buster
sudo apt-get update
sudo apt-get install dvswitch-server
The buster script would have either added the buster
repository or told you that it was already installed.
Check /etc/apt/sources.list.d/allstarlink.list
deb http://dvswitch.org/DVSwitch_Repository
buster hamradio
Then:
apt-get update
apt-get install dvswitch-server
Steve N4IRS
On 2/14/21 2:40 PM, David
- W9DWH/4 via groups.io wrote:
http://dvswitch.org/DVSwitch_install.pdf
|
|

Steve N4IRS
are you saying that apt upgrade does not install updates?
toggle quoted messageShow quoted text
On 2/14/21 3:14 PM, Mike KB8JNM wrote:
That is where it takes system updates but can not install them
all.
I'm pretty sure that is what the other fella was having a issue
with but can't speak to that if it was not buster
On 2/14/2021 3:12 PM, Steve N4IRS
wrote:
OK,
step one:
Make sure your existing system is up to date.
apt update
apt upgrade
What is wrong there?
On 2/14/21 3:10 PM, Mike KB8JNM
wrote:
No, back up a step, I talking system.
apt update
apt apgrade
On 2/14/2021 3:08 PM, Steve N4IRS
wrote:
That script is the first step. It adds the buster repo.
On 2/14/21 3:06 PM, Mike KB8JNM
wrote:
The issue was not with the install script.
Never got that far.
The issue was updated repository's that are broken.
On 2/14/2021 3:05 PM, Steve
N4IRS wrote:
This is the buster script:
#!/usr/bin/env bash
set -o errexit
# N4IRS 10/25/2020
#################################################
# #
# Add DVSwitch Repository and gpg key #
# #
#################################################
if [[ $(/usr/bin/id -u) -ne 0 ]]; then
echo "Not running as root"
echo "either run as root or with sudo"
exit
fi
distribution=buster
# INSTALL gnupg needed for gpg.key
[ ! -x "/usr/bin/gpg" ] && apt-get install
gnupg -y
# Add the backport repository, if needed to install
monit
if [ $(apt-cache policy monit | grep -c "Candidate:
(none)") -eq 1 ] ; then
# add repository
printf "%s\n" "deb http://ftp.de.debian.org/debian
buster-backports main" | tee
/etc/apt/sources.list.d/buster-backports.list
fi
# INSTALL netstat needed by dvswitch.sh
[ ! -x "/bin/netstat" ] && apt-get install
net-tools -y
# Check for rc.local and create if not found.
FILE="/etc/rc.local"
if [ ! -f "$FILE" ] ; then
echo '#!/bin/sh -e' > $FILE
echo '' >> $FILE
echo 'exit 0' >> $FILE
chmod +x $FILE
fi
# Are the repos installed
# Should this test for buster too?
if [ -f /etc/apt/sources.list.d/dvswitch.list ]
then
echo "The Repository file already exists, exiting"
exit 0
fi
# Install the key and add the repo
wget -O - http://dvswitch.org/DVSwitch_Repository/dvswitch.gpg.key
| apt-key add -
echo "# Official DVSwitch repository"
>/etc/apt/sources.list.d/dvswitch.list
echo "deb http://dvswitch.org/DVSwitch_Repository
$distribution hamradio"
>>/etc/apt/sources.list.d/dvswitch.list
echo "#" >>/etc/apt/sources.list.d/dvswitch.list
apt-get update
# print the installed repositories
echo "Installed repositories:"
apt-cache policy | grep http | awk '{print $2 $3}' |
sort -u
I don't see any way it would install a pointer to http://dvswitch.org/ASL_Repository
stretch
On 2/14/21 3:00 PM, Mike
KB8JNM wrote:
I have the same issue with Buster
I was able to manually update packages until
ssh-client/server and one other related
Stopped till I have time to fool with it again.
On 2/14/2021 2:48 PM,
Steve N4IRS wrote:
I assume you mean this:
wget http://dvswitch.org/buster
sudo chmod +x buster
sudo ./buster
sudo apt-get update
sudo apt-get install dvswitch-server
The buster script would have either added the buster
repository or told you that it was already
installed.
Check /etc/apt/sources.list.d/allstarlink.list
deb http://dvswitch.org/DVSwitch_Repository
buster hamradio
Then:
apt-get update
apt-get install dvswitch-server
Steve N4IRS
On 2/14/21 2:40 PM,
David - W9DWH/4 via groups.io wrote:
http://dvswitch.org/DVSwitch_install.pdf
|
|

Mike KB8JNM
Perhaps the packages have been fixed. Have not done it for a few
days.
toggle quoted messageShow quoted text
On 2/14/2021 3:15 PM, Steve N4IRS
wrote:
I just did it this morning and have done it quite a few times over
the last few days.
On 2/14/21 3:12 PM, Mike KB8JNM
wrote:
It did work a week or more ago, then something changed with
the packages for system.
On 2/14/2021 3:10 PM, Mike KB8JNM
wrote:
No, back up a step, I talking system.
apt update
apt apgrade
On 2/14/2021 3:08 PM, Steve N4IRS
wrote:
That script is the first step. It adds the buster repo.
On 2/14/21 3:06 PM, Mike KB8JNM
wrote:
The issue was not with the install script.
Never got that far.
The issue was updated repository's that are broken.
On 2/14/2021 3:05 PM, Steve
N4IRS wrote:
This is the buster script:
#!/usr/bin/env bash
set -o errexit
# N4IRS 10/25/2020
#################################################
# #
# Add DVSwitch Repository and gpg key #
# #
#################################################
if [[ $(/usr/bin/id -u) -ne 0 ]]; then
echo "Not running as root"
echo "either run as root or with sudo"
exit
fi
distribution=buster
# INSTALL gnupg needed for gpg.key
[ ! -x "/usr/bin/gpg" ] && apt-get install
gnupg -y
# Add the backport repository, if needed to install
monit
if [ $(apt-cache policy monit | grep -c "Candidate:
(none)") -eq 1 ] ; then
# add repository
printf "%s\n" "deb http://ftp.de.debian.org/debian
buster-backports main" | tee
/etc/apt/sources.list.d/buster-backports.list
fi
# INSTALL netstat needed by dvswitch.sh
[ ! -x "/bin/netstat" ] && apt-get install
net-tools -y
# Check for rc.local and create if not found.
FILE="/etc/rc.local"
if [ ! -f "$FILE" ] ; then
echo '#!/bin/sh -e' > $FILE
echo '' >> $FILE
echo 'exit 0' >> $FILE
chmod +x $FILE
fi
# Are the repos installed
# Should this test for buster too?
if [ -f /etc/apt/sources.list.d/dvswitch.list ]
then
echo "The Repository file already exists, exiting"
exit 0
fi
# Install the key and add the repo
wget -O - http://dvswitch.org/DVSwitch_Repository/dvswitch.gpg.key
| apt-key add -
echo "# Official DVSwitch repository"
>/etc/apt/sources.list.d/dvswitch.list
echo "deb http://dvswitch.org/DVSwitch_Repository
$distribution hamradio"
>>/etc/apt/sources.list.d/dvswitch.list
echo "#" >>/etc/apt/sources.list.d/dvswitch.list
apt-get update
# print the installed repositories
echo "Installed repositories:"
apt-cache policy | grep http | awk '{print $2 $3}' |
sort -u
I don't see any way it would install a pointer to http://dvswitch.org/ASL_Repository
stretch
On 2/14/21 3:00 PM, Mike
KB8JNM wrote:
I have the same issue with Buster
I was able to manually update packages until
ssh-client/server and one other related
Stopped till I have time to fool with it again.
On 2/14/2021 2:48 PM,
Steve N4IRS wrote:
I assume you mean this:
wget http://dvswitch.org/buster
sudo chmod +x buster
sudo ./buster
sudo apt-get update
sudo apt-get install dvswitch-server
The buster script would have either added the buster
repository or told you that it was already
installed.
Check /etc/apt/sources.list.d/allstarlink.list
deb http://dvswitch.org/DVSwitch_Repository
buster hamradio
Then:
apt-get update
apt-get install dvswitch-server
Steve N4IRS
On 2/14/21 2:40 PM,
David - W9DWH/4 via groups.io wrote:
http://dvswitch.org/DVSwitch_install.pdf
|
|

Mike KB8JNM
Originally, it left me with 9
I installed them manually, all but 3
ssh client and server and one other network package.
toggle quoted messageShow quoted text
On 2/14/2021 3:16 PM, Steve N4IRS
wrote:
are you saying that apt upgrade does not install updates?
On 2/14/21 3:14 PM, Mike KB8JNM
wrote:
That is where it takes system updates but can not install
them all.
I'm pretty sure that is what the other fella was having a
issue with but can't speak to that if it was not buster
On 2/14/2021 3:12 PM, Steve N4IRS
wrote:
OK,
step one:
Make sure your existing system is up to date.
apt update
apt upgrade
What is wrong there?
On 2/14/21 3:10 PM, Mike KB8JNM
wrote:
No, back up a step, I talking system.
apt update
apt apgrade
On 2/14/2021 3:08 PM, Steve
N4IRS wrote:
That script is the first step. It adds the buster repo.
On 2/14/21 3:06 PM, Mike
KB8JNM wrote:
The issue was not with the install script.
Never got that far.
The issue was updated repository's that are broken.
On 2/14/2021 3:05 PM, Steve
N4IRS wrote:
This is the buster script:
#!/usr/bin/env bash
set -o errexit
# N4IRS 10/25/2020
#################################################
# #
# Add DVSwitch Repository and gpg key #
# #
#################################################
if [[ $(/usr/bin/id -u) -ne 0 ]]; then
echo "Not running as root"
echo "either run as root or with sudo"
exit
fi
distribution=buster
# INSTALL gnupg needed for gpg.key
[ ! -x "/usr/bin/gpg" ] && apt-get install
gnupg -y
# Add the backport repository, if needed to install
monit
if [ $(apt-cache policy monit | grep -c "Candidate:
(none)") -eq 1 ] ; then
# add repository
printf "%s\n" "deb http://ftp.de.debian.org/debian
buster-backports main" | tee
/etc/apt/sources.list.d/buster-backports.list
fi
# INSTALL netstat needed by dvswitch.sh
[ ! -x "/bin/netstat" ] && apt-get install
net-tools -y
# Check for rc.local and create if not found.
FILE="/etc/rc.local"
if [ ! -f "$FILE" ] ; then
echo '#!/bin/sh -e' > $FILE
echo '' >> $FILE
echo 'exit 0' >> $FILE
chmod +x $FILE
fi
# Are the repos installed
# Should this test for buster too?
if [ -f /etc/apt/sources.list.d/dvswitch.list ]
then
echo "The Repository file already exists,
exiting"
exit 0
fi
# Install the key and add the repo
wget -O - http://dvswitch.org/DVSwitch_Repository/dvswitch.gpg.key
| apt-key add -
echo "# Official DVSwitch repository"
>/etc/apt/sources.list.d/dvswitch.list
echo "deb http://dvswitch.org/DVSwitch_Repository
$distribution hamradio"
>>/etc/apt/sources.list.d/dvswitch.list
echo "#"
>>/etc/apt/sources.list.d/dvswitch.list
apt-get update
# print the installed repositories
echo "Installed repositories:"
apt-cache policy | grep http | awk '{print $2 $3}' |
sort -u
I don't see any way it would install a pointer to http://dvswitch.org/ASL_Repository
stretch
On 2/14/21 3:00 PM, Mike
KB8JNM wrote:
I have the same issue with Buster
I was able to manually update packages until
ssh-client/server and one other related
Stopped till I have time to fool with it again.
On 2/14/2021 2:48 PM,
Steve N4IRS wrote:
I assume you mean this:
wget http://dvswitch.org/buster
sudo chmod +x buster
sudo ./buster
sudo apt-get update
sudo apt-get install dvswitch-server
The buster script would have either added the
buster repository or told you that it was already
installed.
Check /etc/apt/sources.list.d/allstarlink.list
deb http://dvswitch.org/DVSwitch_Repository
buster hamradio
Then:
apt-get update
apt-get install dvswitch-server
Steve N4IRS
On 2/14/21 2:40 PM,
David - W9DWH/4 via groups.io wrote:
http://dvswitch.org/DVSwitch_install.pdf
|
|