Skip to main content
Topic solved
This topic has been marked as solved and requires no further attention.
Topic: libreoffice-extension-texmaths depends on libreoffice-fresh, breaking -still. (Read 408 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

libreoffice-extension-texmaths depends on libreoffice-fresh, breaking -still.

I now wanted to do a pacman -Syu.

O have libreoffice-still installed. Something seems to want to pull in libreoffice-fresh instead, which (obviously) would lead to a conflict:
Code: [Select]
error: failed to prepare transaction (conflicting dependencies)
:: libreoffice-fresh and libreoffice-still are in conflict

My /etc/pacman.conf:
Code: [Select]
[options]
HoldPkg     = pacman glibc
Architecture = x86_64
IgnorePkg   = codecs grub spl-dkms spl-utils v86d zfs-dkms zfs-utils
Color
VerbosePkgLists
ParallelDownloads = 4
SigLevel          = Required DatabaseOptional TrustedOnly
LocalFileSigLevel = Optional
RemoteFileSigLevel = Required
[system]
SigLevel = PackageRequired DatabaseNever
Include = /etc/pacman.d/mirrorlist-artix
[world]
SigLevel = PackageRequired DatabaseNever
Include = /etc/pacman.d/mirrorlist-artix
[galaxy]
SigLevel = PackageRequired DatabaseNever
Include = /etc/pacman.d/mirrorlist-artix
[universe]
SigLevel = PackageRequired DatabaseNever
Server = https://universe.artixlinux.org/$arch
Server = https://mirror1.artixlinux.org/universe/$arch
Server = https://mirror.pascalpuffke.de/artix-universe/$arch
Server = https://artixlinux.qontinuum.space:4443/universe/os/$arch
Server = https://mirror.alphvino.com/artix-universe/$arch
[omniverse]
SigLevel = PackageRequired DatabaseNever
Server = http://omniverse.artixlinux.org/$arch
[moksha]
SigLevel = PackageRequired DatabaseNever
Server = http://omniverse.artixlinux.org/$arch/moksha
[lib32]
SigLevel = PackageRequired DatabaseNever
Include = /etc/pacman.d/mirrorlist-artix
[extra]
SigLevel = PackageRequired DatabaseNever
Include = /etc/pacman.d/mirrorlist-arch
[community]
SigLevel = PackageRequired DatabaseNever
Include = /etc/pacman.d/mirrorlist-arch
[multilib]
SigLevel = PackageRequired DatabaseNever
Include = /etc/pacman.d/mirrorlist-arch

The output of pacman -Suvp (pacman -Sy was just executed shortly before):
Code: [Select]
Root      : /
Conf File : /etc/pacman.conf
DB Path   : /var/lib/pacman/
Cache Dirs: /var/cache/pacman/pkg/ 
Hook Dirs : /usr/share/libalpm/hooks/  /etc/pacman.d/hooks/ 
Lock File : /var/lib/pacman/db.lck
Log File  : /var/log/pacman.log
GPG Dir   : /etc/pacman.d/gnupg/
Targets   : None
 http://mirror1.artixlinux.org/repos/world/os/x86_64/asio-1.28.0-1-any.pkg.tar.zst
http://mirror1.artixlinux.org/repos/system/os/x86_64/libudev-253.4-1-x86_64.pkg.tar.zst
http://mirror1.artixlinux.org/repos/world/os/x86_64/libxi-1.8.1-1-x86_64.pkg.tar.zst
http://omniverse.artixlinux.org/x86_64/blueman-2.3.5-2-x86_64.pkg.tar.zst
http://mirror1.artixlinux.org/repos/world/os/x86_64/botan-3.0.0-1.1-x86_64.pkg.tar.zst
http://ftp.tu-chemnitz.de/pub/linux/archlinux/community/os/x86_64/capnproto-0.10.4-1-x86_64.pkg.tar.zst
http://mirror1.artixlinux.org/repos/world/os/x86_64/chmlib-0.40-7-x86_64.pkg.tar.zst
http://mirror1.artixlinux.org/repos/system/os/x86_64/esysusers-253.4-1-x86_64.pkg.tar.zst
http://mirror1.artixlinux.org/repos/system/os/x86_64/etmpfiles-253.4-1-x86_64.pkg.tar.zst
http://mirror1.artixlinux.org/repos/system/os/x86_64/hwdata-0.370-1-any.pkg.tar.zst
http://mirror1.artixlinux.org/repos/system/os/x86_64/udev-253.4-1-x86_64.pkg.tar.zst
http://mirror1.artixlinux.org/repos/world/os/x86_64/qt5-svg-5.15.9+kde+r8-1-x86_64.pkg.tar.zst
http://mirror1.artixlinux.org/repos/world/os/x86_64/kimageannotator-0.6.1-1-x86_64.pkg.tar.zst
http://mirror1.artixlinux.org/repos/world/os/x86_64/libssh-0.10.5-1-x86_64.pkg.tar.zst
http://mirror1.artixlinux.org/repos/world/os/x86_64/qt5-declarative-5.15.9+kde+r25-1-x86_64.pkg.tar.zst
http://mirror1.artixlinux.org/repos/world/os/x86_64/qt5-quickcontrols2-5.15.9+kde+r6-1-x86_64.pkg.tar.zst
http://mirror1.artixlinux.org/repos/world/os/x86_64/gwenview-23.04.0-1-x86_64.pkg.tar.zst
http://mirror1.artixlinux.org/repos/world/os/x86_64/imlib2-1.11.1-1-x86_64.pkg.tar.zst
http://mirror1.artixlinux.org/repos/galaxy/os/x86_64/ipython-8.13.2-1-any.pkg.tar.zst
http://mirror1.artixlinux.org/repos/lib32/os/x86_64/lib32-libxi-1.8.1-1-x86_64.pkg.tar.zst
http://mirror1.artixlinux.org/repos/galaxy/os/x86_64/libibus-1.5.28-4-x86_64.pkg.tar.zst
http://mirror1.artixlinux.org/repos/world/os/x86_64/libmwaw-0.3.22-1-x86_64.pkg.tar.zst
http://mirror1.artixlinux.org/repos/galaxy/os/x86_64/libopenraw-0.3.5-1-x86_64.pkg.tar.zst
http://mirror1.artixlinux.org/repos/world/os/x86_64/libwpg-0.3.4-1-x86_64.pkg.tar.zst
https://universe.artixlinux.org/x86_64/libreoffice-fresh-7.5.2.2-3.1-x86_64.pkg.tar.zst
https://universe.artixlinux.org/x86_64/libreoffice-extension-texmaths-0.51-1-any.pkg.tar.zst
file:///var/cache/pacman/pkg/libixion-0.18.1-1-x86_64.pkg.tar.zst
file:///var/cache/pacman/pkg/liborcus-0.18.1-1-x86_64.pkg.tar.zst
file:///var/cache/pacman/pkg/libreoffice-still-7.4.6.2-1.7-x86_64.pkg.tar.zst
http://mirror1.artixlinux.org/repos/world/os/x86_64/libupnp-1.14.17-1-x86_64.pkg.tar.zst
http://mirror1.artixlinux.org/repos/world/os/x86_64/nm-connection-editor-1.32.0-2-x86_64.pkg.tar.zst
http://mirror1.artixlinux.org/repos/world/os/x86_64/network-manager-applet-1.32.0-2-x86_64.pkg.tar.zst
http://mirror1.artixlinux.org/repos/world/os/x86_64/opencv-4.7.0-9-x86_64.pkg.tar.zst
http://mirror1.artixlinux.org/repos/world/os/x86_64/poppler-data-0.4.12-1-any.pkg.tar.zst
http://mirror1.artixlinux.org/repos/galaxy/os/x86_64/pystring-1.1.4-1-x86_64.pkg.tar.zst
http://mirror1.artixlinux.org/repos/galaxy/os/x86_64/python-archinfo-9.2.49-1-any.pkg.tar.zst
http://mirror1.artixlinux.org/repos/galaxy/os/x86_64/python-dulwich-0.21.5-1-x86_64.pkg.tar.zst
http://mirror1.artixlinux.org/repos/galaxy/os/x86_64/python-werkzeug-2.3.2-1-any.pkg.tar.zst
http://mirror1.artixlinux.org/repos/galaxy/os/x86_64/python-flask-2.2.5-1-any.pkg.tar.zst
http://mirror1.artixlinux.org/repos/galaxy/os/x86_64/python-flask-socketio-5.3.4-1-any.pkg.tar.zst
http://mirror1.artixlinux.org/repos/galaxy/os/x86_64/python-hatchling-1.14.1-1-any.pkg.tar.zst
http://mirror1.artixlinux.org/repos/galaxy/os/x86_64/python-identify-2.5.24-1-any.pkg.tar.zst
http://mirror1.artixlinux.org/repos/world/os/x86_64/python-opencv-4.7.0-9-x86_64.pkg.tar.zst
http://mirror1.artixlinux.org/repos/galaxy/os/x86_64/python-pefile-2023.2.7-1-any.pkg.tar.zst
http://mirror1.artixlinux.org/repos/galaxy/os/x86_64/python-precis_i18n-1.0.5-1-any.pkg.tar.zst
http://mirror1.artixlinux.org/repos/galaxy/os/x86_64/python-pyaxmlparser-0.3.28-1-any.pkg.tar.zst
http://mirror1.artixlinux.org/repos/galaxy/os/x86_64/python-pyvex-9.2.49-1-x86_64.pkg.tar.zst
http://mirror1.artixlinux.org/repos/world/os/x86_64/python-urwid-2.1.2.r55.gbac20db-1-x86_64.pkg.tar.zst
http://mirror1.artixlinux.org/repos/galaxy/os/x86_64/python-zstandard-0.21.0-1-x86_64.pkg.tar.zst
http://mirror1.artixlinux.org/repos/galaxy/os/x86_64/ropper-1.13.8-3.1-any.pkg.tar.zst
http://mirror1.artixlinux.org/repos/galaxy/os/x86_64/ruby-stdlib-3.0.5-1-x86_64.pkg.tar.zst
http://mirror1.artixlinux.org/repos/galaxy/os/x86_64/ruby-bundledgems-3.0.5-1-x86_64.pkg.tar.zst
http://mirror1.artixlinux.org/repos/galaxy/os/x86_64/ruby-3.0.5-1-x86_64.pkg.tar.zst
http://ftp.tu-chemnitz.de/pub/linux/archlinux/community/os/x86_64/sonic-visualiser-4.5.2-1-x86_64.pkg.tar.zst
http://ftp.tu-chemnitz.de/pub/linux/archlinux/community/os/x86_64/vivaldi-6.0.2979.18-1-x86_64.pkg.tar.zst
http://mirror1.artixlinux.org/repos/galaxy/os/x86_64/xarchiver-0.5.4.21-1-x86_64.pkg.tar.zst
http://mirror1.artixlinux.org/repos/galaxy/os/x86_64/youtube-dl-2021.12.17-2.1-any.pkg.tar.zst

And a part of the output of pacman -Suv --debug 2>&1 | grep libreoffice:
Code: [Select]
[...]
debug: searching for replacements for libreoffice-extension-texmaths in system
debug: searching for replacements for libreoffice-extension-texmaths in world
debug: searching for replacements for libreoffice-extension-texmaths in galaxy
debug: searching for replacements for libreoffice-extension-texmaths in universe
debug: new version of 'libreoffice-extension-texmaths' found (0.49-1 => 0.51-1)
debug: adding package libreoffice-extension-texmaths-0.51-1 to the transaction targets
[...]
debug: searching for replacements for libreoffice-still in system
debug: searching for replacements for libreoffice-still in world
debug: searching for replacements for libreoffice-still in galaxy
debug: searching for replacements for libreoffice-still in universe
debug: searching for replacements for libreoffice-still in omniverse
debug: new version of 'libreoffice-still' found (7.4.6.2-1.6 => 7.4.6.2-1.7)
debug: adding package libreoffice-still-7.4.6.2-1.7 to the transaction targets
[...]
debug: checkdeps: package libreoffice-extension-texmaths-0.51-1
debug: checkdeps: missing dependency 'libreoffice-fresh' for package 'libreoffice-extension-texmaths'
debug: checkdeps: package libreoffice-fresh-7.5.2.2-3.1
debug: checkdeps: missing dependency 'libmwaw' for package 'libreoffice-fresh'
debug: pulling dependency libreoffice-fresh (needed by libreoffice-extension-texmaths)
debug: checkdeps: package libreoffice-still-7.4.6.2-1.7
[...]
debug: package libreoffice-fresh conflicts with libreoffice-still (by libreoffice-still)
debug: package libreoffice-fresh conflicts with liborcus (by liborcus)
debug: package libreoffice-fresh conflicts with libixion (by libixion)
debug: package libreoffice-still conflicts with libreoffice-fresh (by libreoffice-fresh)
debug: conflicting packages in the sync list: 'libreoffice-fresh' <-> 'libreoffice-still'
:: libreoffice-fresh and libreoffice-still are in conflict

This hints that universe/libreoffice-extension-texmaths now depends on libreoffice-fresh, breaking libreoffice-still installations.

Is this an error, or does universe/libreoffice-extension-texmaths really explicitly need libreoffice-fresh? (And if so, can that not be achieved by a versioned dependency on libreoffice?)

Arch Linux' community/libreoffice-extension-texmaths 0.51-1 (same version string as Artix' universe/libreoffice-extension-texmaths 0.51-1) depends only on libreoffice, not libreoffice-fresh specifically.

Regards!

Re: libreoffice-extension-texmaths depends on libreoffice-fresh, breaking -still.

Reply #1
Before I just updated pacman's databases libreoffice-extension-texmaths was in both galaxy and universe. At different versions. Both of which depended on libreoffice.

Spoiler (click to show/hide)

After a database update it's just in universe, at a newer version and depends on libreoffice-fresh ( I don't know if that's intentional or a bug ?)
Spoiler (click to show/hide)

Anecdotally it seems to me that libreoffice-fresh is more stable on Artix than libreoffice-still as I've had not one problem with libreoffice-fresh during this recent period of problems I've read about. And I do use it pretty much daily.

IMHO this whole universe and omniverse repo malarkey needs a rethink. It seems to cause a lot of problems. Maybe more than they solve? Certainly (imho) universe.
archlinux-keyring, archlinux-mirrorlist and artix-archlinux-support should be in their own repo.
Only packages which are from the AUR, or custom PKGBUILD's, should be in these repo's at all. Not packages from community. Either add them to galaxy or don't.
I could well be wrong (It happens a lot). And if it stays as it is I'll lose no sleep. But I don't believe it's a great setup.



Re: libreoffice-extension-texmaths depends on libreoffice-fresh, breaking -still.

Reply #3
Just without any notice and without a version or $pkgrel increase (! -- if something changes how packages are packed, without a version change, $pkgrel needs to be updated, which did not happen here. This is at least what is the rule for Arch, is it not the rule for Artix? So maybe you need to re-upload with incremented $pkgrel to follow the requirements?) now universe/libreoffice-extension-texmaths depends on general libreoffice, solving this issue.