Bug 1222695

Summary: lensfun‑update‑data command does not work
Product: [openSUSE] openSUSE Distribution Reporter: Andreas <opendreas>
Component: OtherAssignee: package coldpool <coldpool>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: christophe, lubos.kocman, mlin, opendreas, pgajdos, valentin.lefebvre
Version: Leap 15.6Flags: pgajdos: needinfo? (opendreas)
Target Milestone: ---   
Hardware: x86-64   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

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.