Skip to content

Conversation

TheGoldenPlatypus
Copy link
Contributor

@TheGoldenPlatypus TheGoldenPlatypus commented Sep 15, 2025

Comment on lines +27 to +29
'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' }
Copy link
Member

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?

Copy link
Contributor Author

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/

Comment on lines +41 to +45
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' }}
Copy link
Member

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 ?

Copy link
Contributor Author

@TheGoldenPlatypus TheGoldenPlatypus Sep 15, 2025

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants