×

INDI Library v2.0.7 is Released (01 Apr 2024)

Bi-monthly release with minor bug fixes and improvements

Libraw19 and libraw20 conflict in 1.8.6?

  • Posts: 60
  • Thank you received: 1
No i cannot install labraw20 without broken my distro.
libraw19 is a part of Ubuntu 20.04 and many packages depends of this.
I cannot install libraw19 and libraw20 in same time.

But why libraw20 instead of libraw19 ?
Last edit: 3 years 7 months ago by Serge CLAUS.
3 years 7 months ago #58693

Please Log in or Create an account to join the conversation.

  • Posts: 969
  • Thank you received: 94
3 years 7 months ago #58696

Please Log in or Create an account to join the conversation.

  • Posts: 1957
  • Thank you received: 420
The solution doesn't work for me. See my comment later in that thread. FWIW removing libraw19 worked on my Ubuntu 20.04 RPi4 but reinstalling kstars etc doesn't work because there still are dependencies on libraw19. That is for the nightly builds by the way.


Wouter
3 years 7 months ago #58701

Please Log in or Create an account to join the conversation.

  • Posts: 1009
  • Thank you received: 133

This definitely should be possible (it is on my openSUSE Tumbleweed). That is why the version is in the package name. The only thing you cannot install simultaneously is the development packages. So if installing one removes the other, it is (IMO) a packaging bug....
3 years 7 months ago #58774

Please Log in or Create an account to join the conversation.

  • Posts: 60
  • Thank you received: 1
I think, the problem is libraw20.
libraw19 don't break any libraries.
libraw20, yes:

libraw19:
--\ Dépend (6)
--- libc6 (>= 2.29)
--- libgcc1 (>= 1:3.0)
--- libgomp1 (>= 6)
--- libjpeg8 (>= 8c)
--- liblcms2-2 (>= 2.2+git20110628)
--- libstdc++6 (>= 5.2)
--\ Casse (1)
--- libraw19 (!= 0.19.6~202002010816~ubuntu20.04.1)

--\ Remplace (1)
--- libraw19 (< 0.19.6~202002010816~ubuntu20.04.1)
--- Paquets dépendants de libraw19 (23)


libraw20:
--\ Dépend (6)
--- libc6 (>= 2.29)
--- libgcc-s1 (>= 3.0)
--- libgomp1 (>= 6)
--- libjpeg8 (>= 8c)
--- liblcms2-2 (>= 2.2+git20110628)
--- libstdc++6 (>= 5.2)
--\ Est en conflit avec (2)
--- libraw19 (NON SATISFAIT(E))
--- libraw19
--\ Remplace (2)
--- libraw19
--- libraw19
Last edit: 3 years 7 months ago by Serge CLAUS.
3 years 7 months ago #58775

Please Log in or Create an account to join the conversation.

  • Posts: 1009
  • Thank you received: 133
If I read it correct, it's not breaking anything, it just has rule in the package to replace each other. Which, as I mentioned, would be a packaging error(?).
3 years 7 months ago #58777

Please Log in or Create an account to join the conversation.

  • Posts: 60
  • Thank you received: 1
Yes, but many applications (krita, gthumb, siril...) uses libraw19, not libraw20
Last edit: 3 years 7 months ago by Serge CLAUS.
3 years 7 months ago #58778

Please Log in or Create an account to join the conversation.

  • Posts: 1009
  • Thank you received: 133

Which is why it is a bad idea to force the removal of libraw19 when installing libraw20. From which repo is the libraw20? I'd file a bug report...

If you know your way around you can try to force installation without execution/enforcement of dependencies, or manually extract the libs from a downloaded package and place them in /usr/lib{,64} or /usr/local/lib{,64} (+ run ldconfig). No guides for that from my side though, I'm not fluent in apt/dpkg....
3 years 7 months ago #58783

Please Log in or Create an account to join the conversation.

  • Posts: 60
  • Thank you received: 1
I'm Linux sysadmin and i know what force an install is bad ;-)
A day or another the system will be broken.
3 years 7 months ago #58785

Please Log in or Create an account to join the conversation.

  • Posts: 1957
  • Thank you received: 420
As far as I can tell libraw20 comes from the INDI PPA.
3 years 7 months ago #58787

Please Log in or Create an account to join the conversation.

  • Posts: 85
  • Thank you received: 19

It sure does ;-)

I carried out a --force-conflicts install of libraw20.

So now apt is broken but theoretically I could install kstars-bleeding et al manually. Removing libraw20 restores apt functionality to normal.

At any rate, libraw19 and libraw20 do not have any conflicting files, which I was able to confirm with 'dpkg-query -L'.

It comes down to the fact that libraw20's control file has 'Conflicts' and 'Replaces' entries against libraw19, while the latter has no such entries against any prior versions of libraw.

So would there be any harm in just deleting those entries in libraw20's control file to allow installation to proceed?
3 years 7 months ago #58798

Please Log in or Create an account to join the conversation.

IIRC, I added Conflicts and Replaces because there were indeed conflicts, maybe in the development files I don't exactly remember. I'd be more than happy to make it install alongside libraw19 if someone figures out a way for them to live happily togeather.
3 years 7 months ago #58800

Please Log in or Create an account to join the conversation.

Time to create page: 1.142 seconds