Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

POSIX Debian doc: libboost-json1.81-dev ... better to tell to install libboost-json-dev? #472

Closed
1 task done
sanderjo opened this issue Dec 22, 2024 · 1 comment · Fixed by #476
Closed
1 task done
Assignees
Labels
bug Something isn't working

Comments

@sanderjo
Copy link
Contributor

sanderjo commented Dec 22, 2024

Is there already an issue for your problem?

  • I have checked older issues, open and closed

NZBGet Version

v24.6-testing

Platform

Linux/Docker

Environment

Debian (13) and Ubuntu (24.04):

https://github.com/nzbgetcom/nzbget/blob/develop/docs/POSIX.md#debian says to install libboost-json1.81-dev

That does not exist on Debian (13) and Ubuntu (24.04).

I think it's better to tell to install libboost-json-dev

Current Behavior

see logging below

Expected Behavior

see logging below

Steps To Reproduce

see logging below

Logs

root@f0dcc6d5da60:/# lsb_release -a
No LSB modules are available.
Distributor ID:	Debian
Description:	Debian GNU/Linux trixie/sid
Release:	n/a
Codename:	trixie

root@f0dcc6d5da60:/# apt install libboost-json1.81-dev
Package libboost-json1.81-dev 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

Error: Package 'libboost-json1.81-dev' has no installation candidate
root@f0dcc6d5da60:/# 

root@f0dcc6d5da60:/# 
root@f0dcc6d5da60:/# apt search libboost-json | grep dev

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

libboost-json-dev/testing 1.83.0.2+b2 amd64
libboost-json1.83-dev/testing 1.83.0-3.2+b2 amd64
root@f0dcc6d5da60:/# 

And apt install libboost-json-dev -y works

Extra information

No response

@sanderjo sanderjo added the bug Something isn't working label Dec 22, 2024
@dnzbk dnzbk self-assigned this Dec 22, 2024
@dnzbk
Copy link
Collaborator

dnzbk commented Dec 23, 2024

This is fair for Debian 13 but not for Debian 12.

$ cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux 12 (bookworm)"
NAME="Debian GNU/Linux"
VERSION_ID="12"
VERSION="12 (bookworm)"
VERSION_CODENAME=bookworm
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"
$ sudo apt search libboost-json
Sorting... Done
Full Text Search... Done
libboost-json1.81-dev/stable,now 1.81.0-5+deb12u1 amd64 [installed]
  C++ containers and algorithms that implement JSON

libboost-json1.81.0/stable,now 1.81.0-5+deb12u1 amd64 [installed]
  C++ containers and algorithms that implement JSON

Anyway, I’ve updated the doc to take both versions into account.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants