question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

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

See original GitHub issue

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!

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:26 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
mundodisco8commented, Apr 15, 2022

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

1reaction
mundodisco8commented, Apr 12, 2022

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?

Read more comments on GitHub >

github_iconTop Results From Across the Web

update problem with apt-get after new install of OS
Simple solution is to use sudo apt update followed by sudo apt upgrade .
Read more >
Cannot Upgrade from Buster to Bullseye - Raspberry Pi Forums
apt upgrade is upgrading currenty installed packages to their newest available versions. I think sudo apt dist-upgrade or sudo apt full-upgrade ...
Read more >
How To Upgrade Raspberry Pi OS to Bullseye from Buster
How to Upgrade to the Latest Raspberry Pi OS. 1. Open a terminal and update the software repositories lists. $ sudo apt update....
Read more >
Guide to Upgrading Raspberry Pi from Buster to Bullseye
1. Open your Raspberry Pi terminal and update the repository lists: $ sudo apt update. 2. Install all of the latest packages (and...
Read more >
Upgrading your Raspberry Pi to Bullseye - sanderh.dev
We need to make sure new and already installed packages use the bullseye version. Edit the /etc/apt/sources.list file and replace buster by ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found