-
Notifications
You must be signed in to change notification settings - Fork 1
RavenDB-25055: choose and install correct ubuntu deb package for debi… #18
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
Conversation
…an, add molecule tests for debian11-13
'11': { 'ubuntu': '20.04', 'icu_pkg': 'libicu66', 'icu_ver': '66.1-2ubuntu2.1' } | ||
'12': { 'ubuntu': '22.04', 'icu_pkg': 'libicu70', 'icu_ver': '70.1-2ubuntu1' } | ||
'13': { 'ubuntu': '24.04', 'icu_pkg': 'libicu74', 'icu_ver': '74.2-1ubuntu3.1' } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do we need to hardcode icu version? Package would be enough no?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
pkg wouldn't be enough here, i need to construct the url according to the vendor listing:
https://archive.ubuntu.com/ubuntu/pool/main/i/icu/
icu_pkg: "{{ '' if ansible_facts.distribution == 'Ubuntu' else mapped.icu_pkg }}" | ||
icu_ver: "{{ '' if ansible_facts.distribution == 'Ubuntu' else mapped.icu_ver }}" | ||
icu_vendor_url: >- | ||
{{ '' if ansible_facts.distribution == 'Ubuntu' | ||
else 'https://archive.ubuntu.com/ubuntu/pool/main/i/icu/' ~ mapped.icu_pkg ~ '_' ~ mapped.icu_ver ~ '_' ~ deb_arch ~ '.deb' }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can't we simply do apt install libicu ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wanted to , but couldn't (got "no candidate" error).
as far as I understand , on Debian the runtime packages are versioned. there is no generic libicu
runtime lib that satisfies an Ubuntu package’s that depends , for example libicu74
.
root@debian-13:/tmp# cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux 13 (trixie)"
NAME="Debian GNU/Linux"
VERSION_ID="13"
VERSION="13 (trixie)"
VERSION_CODENAME=trixie
DEBIAN_VERSION_FULL=13.1
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"
root@debian-13:/tmp# dpkg -I /tmp/ravendb.deb
Depends: libicu74, libc6 (>= 2.38), libgcc-s1 (>= 3.0), liblttng-ust1t64 (>= 2.13.0), libssl3t64 (>= 3.0.0), libstdc++6 (>= 13.1), zlib1g (>= 1:1.1.4), libc6-dev (>= 2.27)
Section: database
Priority: optional
Homepage: https://ravendb.net
Description: RavenDB NoSQL Database
A NoSQL Database that's fully transactional.
Allows 1 million reads and 150000 writes per second.
root@debian-13:/tmp# apt-cache policy libicu*
libicu4j-4.4-java:
Installed: (none)
Candidate: 4.4.2.2-4
Version table:
4.4.2.2-4 500
500 http://deb.debian.org/debian trixie/main amd64 Packages
libiculx63:
Installed: (none)
Candidate: (none)
Version table:
libicu4j-java:
Installed: (none)
Candidate: 73.2-1
Version table:
73.2-1 500
500 http://deb.debian.org/debian trixie/main amd64 Packages
libicu-dev:
Installed: (none)
Candidate: 76.1-4
Version table:
76.1-4 500
500 http://deb.debian.org/debian trixie/main amd64 Packages
libicu76:
Installed: (none)
Candidate: 76.1-4
Version table:
76.1-4 500
500 http://deb.debian.org/debian trixie/main amd64 Packages
root@debian-13:/tmp#
root@debian-13:/tmp# apt-get update
Hit:1 http://deb.debian.org/debian trixie InRelease
Hit:2 http://deb.debian.org/debian trixie-updates InRelease
Hit:3 http://deb.debian.org/debian-security trixie-security InRelease
Reading package lists... Done
root@debian-13:/tmp# apt-get install -y libicu74
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package libicu74
…an, add molecule tests for debian11-13
https://issues.hibernatingrhinos.com/issue/RavenDB-25055/Ansible-fails-to-download-package-on-Debian