How to get updated hugin-tools package for Hugin 2023.1

105 views
Skip to first unread message

David W. Jones

unread,
Jan 27, 2024, 1:30:49 AM1/27/24
to hugin-ptx
I followed the directions for compiling and successfully got a compiled
and installed Hugin 2023. Hurrah!

Unfortunately, the install process removed Luminance HDR, which depends
on hugin-tools. Do I need hugin-tools to match Hugin 2023? If so, how do
I get it?

--
David W. Jones
gnome...@gmail.com
wandering the landscape of god
http://dancingtreefrog.com
My password is the last 8 digits of π.

David W. Jones

unread,
Jan 27, 2024, 1:34:04 AM1/27/24
to hugin-ptx
On 1/26/24 20:30, David W. Jones wrote:
I followed the directions for compiling and successfully got a compiled and installed Hugin 2023. Hurrah!

Unfortunately, the install process removed Luminance HDR, which depends on hugin-tools. Do I need hugin-tools to match Hugin 2023? If so, how do I get it?

The particular error I get trying to reinstall Luminance HDR is:

dpkg: error processing archive /var/cache/apt/archives/hugin-tools_2022.0.0+dfsg-2_amd64.deb (--unpack):
 trying to overwrite '/usr/lib/python3/dist-packages/hpi.py', which is also in package hugin 2023.1.0.8677

So it appears that Hugin 2023 now includes at list one piece that's also in the Hugin Tools package?

David W. Jones

unread,
Jan 27, 2024, 1:57:21 AM1/27/24
to hugin-ptx
On 1/26/24 20:33, David W. Jones wrote:
On 1/26/24 20:30, David W. Jones wrote:
I followed the directions for compiling and successfully got a compiled and installed Hugin 2023. Hurrah!

Unfortunately, the install process removed Luminance HDR, which depends on hugin-tools. Do I need hugin-tools to match Hugin 2023? If so, how do I get it?

The particular error I get trying to reinstall Luminance HDR is:

dpkg: error processing archive /var/cache/apt/archives/hugin-tools_2022.0.0+dfsg-2_amd64.deb (--unpack):
 trying to overwrite '/usr/lib/python3/dist-packages/hpi.py', which is also in package hugin 2023.1.0.8677

So it appears that Hugin 2023 now includes at list one piece that's also in the Hugin Tools package?

Although it appears that I've lost nothing. I have Luminance HDR self-compiled and installed, so I guess Synaptic and DPKG are only referring to the Hugin 2022 hugin-tools and Luminance HDR packages, not what I have installed? Weird.

I'm sorry that Debian takes so long to catch up to current releases. I use Debian Stable (aka bookworm) and it's only at 2022.0. 2023.0 just hit Debian Testing January 1, and the source I just compiled from Hugin's site is 2023.1...

David W. Jones

unread,
Jan 29, 2024, 4:45:56 AM1/29/24
to hugin-ptx
On 1/26/24 20:57, David W. Jones wrote:
On 1/26/24 20:33, David W. Jones wrote:
On 1/26/24 20:30, David W. Jones wrote:
I followed the directions for compiling and successfully got a compiled and installed Hugin 2023. Hurrah!

Unfortunately, the install process removed Luminance HDR, which depends on hugin-tools. Do I need hugin-tools to match Hugin 2023? If so, how do I get it?

The particular error I get trying to reinstall Luminance HDR is:

dpkg: error processing archive /var/cache/apt/archives/hugin-tools_2022.0.0+dfsg-2_amd64.deb (--unpack):
 trying to overwrite '/usr/lib/python3/dist-packages/hpi.py', which is also in package hugin 2023.1.0.8677

So it appears that Hugin 2023 now includes at list one piece that's also in the Hugin Tools package?

Although it appears that I've lost nothing. I have Luminance HDR self-compiled and installed, so I guess Synaptic and DPKG are only referring to the Hugin 2022 hugin-tools and Luminance HDR packages, not what I have installed? Weird.

I'm sorry that Debian takes so long to catch up to current releases. I use Debian Stable (aka bookworm) and it's only at 2022.0. 2023.0 just hit Debian Testing January 1, and the source I just compiled from Hugin's site is 2023.1...

Update: With self-compiled Hugin installed here, along with self-compiled Luminance HDR, APT reports I have held or broken packages. There's no hugin-tools package corresponding to the compiled version of Hugin. Luminance depends on that package, so mixing the hugin-tools package in Debian Bookworm with the self-compiled Hugin 2023 makes updating the system impossible.

The usual ways of fixing such didn't work. So I had to remove the self-compiled Hugin 2023 and reinstall the version of Hugin 2022 that's in the Debian Bookworm repository.

wirz

unread,
Jan 29, 2024, 3:43:07 PM1/29/24
to hugi...@googlegroups.com
I think what is happening here, is that when you compile hugin yourself
and obtain a deb-package it contains everything while the
debian-packaged hugin is split into three parts (hugin, hugin-tools,
hugin-data).  In other words, you're not actually missing any component,
just a dependency according to the packaging system, but I think you
found that already.

Depending on how important that is, and given that you compile
luminance-hdr yourself, you might be able to patch the dependence on
hugin-tools out of luminance-hdr.  I haven't looked at luminance-hdr,
but for example in hugin these dependencies can be found in
CMakeLists.txt (search for CPACK_DEBIAN_PACKAGE_DEPENDS or
CPACK_DEBIAN_PACKAGE_SHLIBDEPS).

cheers, Lukas Wirz


David W. Jones

unread,
Jan 29, 2024, 8:58:23 PM1/29/24
to hugin-ptx
Thanks. My compilation of Luminance HDR and Hugin is limited to
following command lines on their websites.

I was able grab and compile Hugin 2023.0 branch. That's working fine and
not having any side effects on packages.

So my guess is it's something in 2023.1. Maybe that's the "unstable
bleeding edge" of Hugin right now?

Oh, well. That's life in the software lane! 😉
Reply all
Reply to author
Forward
0 new messages