Re: Unable to locate package dvswitch-server


Mike KB8JNM
 

The following packages have been kept back:
  openssh-client openssh-server openssh-sftp-server ssh
0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.

On 2/14/2021 3:17 PM, Mike KB8JNM wrote:

Originally, it left me with 9

I installed them manually, all but 3

ssh client and server and one other network package.

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





Join main@DVSwitch.groups.io to automatically receive all group messages.