wsdd: Can't install on latest Raspbian (Bullseye) with apt

Hi,

I’ve followed the instructions to install it, but when I run sudo apt-get install wsdd, it returns E: Package 'wsdd' has no installation candidate. I can manually install it by cloning the repo, or by downloading the deb file from https://pkg.ltec.ch/public/pool/main/w/wsdd/ manually. I’m running a Raspberry Pi 4 with the latest Raspbian, based on Bullseye.

  1. Added the source

    $ sudo cat /etc/apt/sources.list.d/wsdd.list
    
    deb https://pkg.ltec.ch/public/ bullseye main
    
  2. Run apt update -> source gets read (See hits 6 and 7)

    $ sudo apt update
    
    Hit:1 http://archive.raspberrypi.org/debian bullseye InRelease
    Hit:2 http://raspbian.raspberrypi.org/raspbian bullseye InRelease                                                                                                                                                                      
    [...]
    Get:6 https://pkg.ltec.ch/public bullseye InRelease [4,317 B]      
    Get:7 https://pkg.ltec.ch/public bullseye/main armhf Packages [428 B]
    Fetched 4,745 B in 2s (2,093 B/s)
    Reading package lists... Done
    Building dependency tree... Done
    Reading state information... Done
    All packages are up to date.
    
  3. Run apt install

    $ sudo apt install wsdd
    Reading package lists... Done
    Building dependency tree... Done
    Reading state information... Done
    Package wsdd is not available, but is referred to by another package.
    This may mean that the package is missing, has been obsoleted, or
    is only available from another source
    
    E: Package 'wsdd' has no installation candidate
    

I noticed you have an issue where you exactly follow these steps and manage to install it (https://github.com/christgau/wsdd/issues/127#issuecomment-1024905747). Has something changed since then?

Thanks!

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 26 (7 by maintainers)

Most upvoted comments

I tried on a clean installation of Raspbian Bullseye and it works perfectly fine, so it’s clear that it’s something to do with my upgrade.

I noticed that on the fresh install, sources.list contained

deb http://deb.debian.org/debian bullseye main contrib non-free
deb http://security.debian.org/debian-security bullseye-security main contrib non-free
deb http://deb.debian.org/debian bullseye-updates main contrib non-free

# Uncomment deb-src lines below then 'apt-get update' to enable 'apt-get source'
#deb-src http://deb.debian.org/debian bullseye main contrib non-free
#deb-src http://security.debian.org/debian-security bullseye-security main contrib non-free
#deb-src http://deb.debian.org/debian bullseye-updates main contrib non-free

While the Raspberry instance that can’t find the package only contains these lines

deb http://raspbian.raspberrypi.org/raspbian/ bullseye main contrib non-free rpi
# Uncomment line below then 'apt-get update' to enable 'apt-get source'
#deb-src http://raspbian.raspberrypi.org/raspbian/ bullseye main contrib non-free rpi

The install guide I followed (from the raspberry pi forums) said to change all the instances of Buster to Bullseye, which I did, but I can’t explain why there’s a difference in the repo list.

In any case, copying the sources.list to my “updated” raspberry OS installation (and downloading the necessary keys) didn’t help either.

I suspected that when my raspberry checks the repo, provides some info (like architechture) that is not what the repo expects, and then thinks that there’s no package?

I ran uname -m and there you go

pi@raspberrypi:~ $ uname -m
armv7l

I’m running Bullseye on 32 bit, not 64. That’s the issue, isn’t it?

It looks I’ll have to reinstall from scratch in the end. At least I learned something.

Thanks for your support guys, you went above and beyond!!!

image

Thanks Brandon for your input, but for the life of me, I just can’t install it with apt

***@***.***:~ $ sudo rm /etc/apt/sources.list.d/wsdd.list
***@***.***:~ $ sudo echo "deb https://pkg.ltec.ch/public/ bullseye main" > /etc/apt/sources.list.d/wsdd.list
bash: /etc/apt/sources.list.d/wsdd.list: Permission denied
***@***.***:~ $ echo "deb https://pkg.ltec.ch/public/ bullseye main" | sudo tee /etc/apt/sources.list.d/wsdd.list
deb https://pkg.ltec.ch/public/ bullseye main
***@***.***:~ $ sudo apt-key adv --fetch-keys https://pkg.ltec.ch/public/conf/ltec-ag.gpg.key

Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)).
Executing: /tmp/apt-key-gpghome.8y6XGWckrK/gpg.1.sh --fetch-keys https://pkg.ltec.ch/public/conf/ltec-ag.gpg.key
gpg: requesting key from 'https://pkg.ltec.ch/public/conf/ltec-ag.gpg.key'
gpg: key 4BBAE4C69C568C54: "LTEC AG ***@***.***>" not changed
gpg: Total number processed: 1
gpg:              unchanged: 1
***@***.***:~ $ sudo apt-get update
Hit:1 http://download.zerotier.com/debian/bullseye bullseye InRelease
Hit:2 http://archive.raspberrypi.org/debian bullseye InRelease
Get:3 http://raspbian.raspberrypi.org/raspbian bullseye InRelease [15.0 kB]
Hit:4 http://download.opensuse.org/repositories/home:/m-grant-prg/Raspbian_11 InRelease
Hit:5 https://pkg.ltec.ch/public bullseye InRelease
Fetched 15.0 kB in 2s (7,184 B/s)
Reading package lists... Done
***@***.***:~ $ sudo apt-get install wsdd
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package wsdd is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'wsdd' has no installation candidate

@blthayer, did you update to Bullseye from Buster or installed it from scratch?

I’m also running a Raspberry Pi 4 with the latest Debian Bullseye based version of Raspbian. Installation worked just fine for me:

  • sudo echo "deb https://pkg.ltec.ch/public/ bullseye main" > /etc/apt/sources.list.d/wsdd.list
  • sudo apt-key adv --fetch-keys https://pkg.ltec.ch/public/conf/ltec-ag.gpg.key
  • sudo apt-get update
  • sudo apt-get install wsdd

I’m not going to claim I’m a Linux/apt whiz, but seems like an apt update or apt-get update would be required after adding the keys? Perhaps the README could be improved here.

Then:

$ wsdd --version
wsdd - Web Service Discovery Daemon, v0.7.0

Finally (another area that the README could perhaps be improved - using samba + wsdd for local network drives is going to be a very common use case for Raspberry Pi users who, like myself, aren’t Linux/systemd experts):

# Start wsdd
sudo systemctl start wsdd
# Have wsdd start on boot
sudo systemctl enable wsdd

(I didn’t add any options to /etc/wsdd.conf, as the defaults seemed reasonable at first glance)

I will note that the manual entries don’t seem to install correctly:

$ man wsdd
No manual entry for wsdd