Bug 1222695 - lensfun‑update‑data command does not work
Summary: lensfun‑update‑data command does not work
Status: RESOLVED FIXED
Alias: None
Product: openSUSE Distribution
Classification: openSUSE
Component: Other (show other bugs)
Version: Leap 15.6
Hardware: x86-64 Other
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: package coldpool
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-04-11 22:52 UTC by Andreas
Modified: 2024-07-16 07:51 UTC (History)
6 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---
pgajdos: needinfo? (opendreas)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas 2024-04-11 22:52:00 UTC
The lensfun‑update‑data command does not work. To update the lensfun database, you need to specify the full path to the program
/usr/bin/lensfun-update-data
Comment 1 Christophe Marin 2024-05-21 15:14:53 UTC
# osc maintained lensfun
SUSE:SLE-15-SP4:Update/lensfun

Reassign. The Leap package comes from SLE.
Comment 2 Valentin Lefebvre 2024-07-02 07:42:23 UTC
(In reply to Andreas from comment #0)
> The lensfun‑update‑data command does not work. To update the lensfun
> database, you need to specify the full path to the program
> /usr/bin/lensfun-update-data

Thanks for the report. Andreas, could you please provide more information about the issue you are facing ? Are there any logs ? Which version did you used ?
`rpm -qa lensfun-tools`.

I just tested on a fresh Leap container with `lensfun-tools-0.3.2-150400.3.2.2.x86_64` and no errors come trough.
Comment 3 Petr Gajdos 2024-07-08 10:08:12 UTC
Yeah, more info would be beneficial to understand what issue you are facing. On Tubleweed and 15.5:

as root:

# lensfun-update-data 
Reading http://lensfun.sourceforge.net/db/versions.json …
Reading http://wilson.bronger.org/lensfun-db/versions.json …
Successfully updated the database in /var/lib/lensfun-updates/version_1.
#

as a user:

$ lensfun-update-data 
Info: root privileges needed for updating the system database.
Info: updating user DB in '/home/user/.local/share/lensfun/updates'
Reading http://lensfun.sourceforge.net/db/versions.json …
Reading http://wilson.bronger.org/lensfun-db/versions.json …
Info: No newer database was found for last installed Lensfun.
$

Just random thoughts without knowing much about lensfun:
Is it new in 15.6 and wasn't present in 15.5?
Some forgotten alias, somewhere?
Do you have lensfun-data package installed?
Comment 4 Andreas 2024-07-15 22:58:59 UTC
I rechecked it again on a new installation of Leap 15.6 and now everything works. I think the bug report can be closed.
Comment 5 Valentin Lefebvre 2024-07-16 07:51:14 UTC
(In reply to Andreas from comment #4)
> I rechecked it again on a new installation of Leap 15.6 and now everything
> works. I think the bug report can be closed.

Thanks for the confirmation, I close the bug so.