Skip to content

Instantly share code, notes, and snippets.

@pellaeon
Last active December 30, 2021 07:29
Show Gist options
  • Save pellaeon/fe66b2a33526ad64f9a5e0986c7f2a10 to your computer and use it in GitHub Desktop.
Save pellaeon/fe66b2a33526ad64f9a5e0986c7f2a10 to your computer and use it in GitHub Desktop.
/etc/apt/preferences.d/pin-opencc settings to use opencc from jammy in impish
Explanation: Use opencc from jammy to fix rime issue https://github.com/rime/librime/issues/425
Package: *
Pin: release n=jammy
Pin-Priority: -10
Package: librime*
Pin: release n=jammy
Pin-Priority: 500
Package: opencc libopencc-data
Pin: release n=jammy
Pin-Priority: 500
Package: libgoogle-glog0v5 libleveldb1d libyaml-cpp0.7
Pin: release n=jammy
Pin-Priority: 500
@pellaeon
Copy link
Author

Note: opencc is not actually not a dependency of librime, but I still added it here so that when someday I need opencc it will use the jammy version, as libopencc-data does, to prevent potential incompatibilities

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment