Bug 1212486 - Deja-dup (Gnome backup) insists on installing an already installed duplicity
Summary: Deja-dup (Gnome backup) insists on installing an already installed duplicity
Status: NEW
Alias: None
Product: openSUSE Distribution
Classification: openSUSE
Component: GNOME (show other bugs)
Version: Leap 15.5
Hardware: x86-64 openSUSE Leap 15.5
: P3 - Medium : Normal (vote)
Target Milestone: ---
Assignee: E-mail List
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-06-18 22:00 UTC by David Boyd
Modified: 2024-04-24 16:30 UTC (History)
10 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
Screenshot of Deja-dup complaining about missing duplicity (12.80 KB, image/png)
2023-07-11 09:19 UTC, Michael Hohmuth
Details

Note You need to log in before you can comment on or make changes to this bug.
Description David Boyd 2023-06-18 22:00:20 UTC
Recently, deja-dup started complaining that it couldn't continue without a required package: duplicity.  Duplicity is installed.  This problem seems to be known in the linux community, but I can't find an actual bug report nor any suggested solution other than installing a flatpak.

The problem also exists on the more recently released Leap 15.5.

A possibly related issue also exists with duply on Leap 15.4. Duply complains that the wrong version of duplicity is installed.  That problem is not seen on Leap 15.5.
Comment 1 Michael Hohmuth 2023-06-22 13:51:15 UTC
A user in the German OpenSUSE forum suggested to remove duplicity using
# rpm -e --nodeps duplicity
and the allow deja-dup to reinstall duplicity.  This appears to work (at least once).

Source: https://forums.opensuse.org/t/dejadup-will-duplicity-installieren/166523/9
Comment 2 Rahul Jain 2023-07-07 06:31:49 UTC
Tried to Reproduce the issue in 15.4 and Latest 15.5 version of Leap, Not able to reproduce it.
Steps:
1. Installed duplicity using : zypper install duplicity
2. Installed Deja Dup , through GUI
The installation went fine without any dependency issues on duplicity.
Comment 3 Rahul Jain 2023-07-07 06:35:22 UTC
(In reply to Rahul  Jain from comment #2)
> Tried to Reproduce the issue in 15.4 and Latest 15.5 version of Leap, Not
> able to reproduce it.
> Steps:
> 1. Installed duplicity using : zypper install duplicity
> 2. Installed Deja Dup , through GUI
> The installation went fine without any dependency issues on duplicity.

Testing Environment X86 platform
Comment 4 Michael Hohmuth 2023-07-11 09:19:52 UTC
Created attachment 868142 [details]
Screenshot of Deja-dup complaining about missing duplicity
Comment 5 Michael Hohmuth 2023-07-11 09:23:45 UTC
Rahul,

Thanks for testing this.  This is not an issue with being unable to install the components.  The problem is that once deja-dup and duplicity are already installed, deja-dup complains (in a GUI dialog) that duplicity requires installation (although it is already installed; see attached screen shot).

I have found that the issue is hard to reproduce because after installation (and sometimes after reboot), the backup works fine. It's only the second backup run (whether started by hand or by an automatic backup triggered through deja-dup-monitor) that triggers the bug.
Comment 6 Jan Papež 2023-07-12 20:10:41 UTC
Hi,

I have the same problem. I've been using deja-dup for a long time, now after upgrade to Leap 15.5 deja-dup is not able to backup, because of complaining to missing duplicity package which is already installed. I've tried to do `rpm -e --nodeps duplicity` and allow installation from deja-dup GUI and after the successful duplicity package installation the backup started. But at next backup run is the message complaining about duplicity here again.

Before the duplicity package removal tried to upgrade to duplicity 1.2.2 which is available in Archiving:Backup repo. It didn't help.

I see another version of deja-dup for 15.5 in GNOME:Apps repository, but it is not built because of missing required version >= 1.2 of libadwaita package. The libadwaita package for Leap 15.5 is on 1.1 version and is inherited from SUSE:SLE-15-SP4:GA.

Is there something we could try to debug the issue?

Jan
Comment 7 Philipp Bielefeldt 2023-08-06 18:47:23 UTC
Hi all!

I ran into the same issue and wanted to share my information with you, hope it helps.

I got the issue on Leap 15.4 (x86-64, upgraded from I think 15.2, Gnome DE with no other DE except iceWM installed, some additional repositories, but I think this is not relevant here). Déja-Dub (the GUI tool) asked me to install "duplicity" (no further information was given, see screenshot in https://forums.opensuse.org/t/deja-dub-missing-duplicity/168174). I upgraded to Leap 15.5 (I have another, redundant backup :-P …) and ran into the same issue again.

Following the ideas from https://forums.opensuse.org/t/dejadup-will-duplicity-installieren/166523/9 I first tried uninstalling dublicity alone ("sudo rpm -e --nodeps duplicity"). This did not solve the issue for me, in contrast to what was supposed in the forum. I had to additionally run "sudo zypper rm gnome-packagekit" to stop package kit from interfering with the system.

Now, I am at the stage where
(1) "deja-dub --backup" first stops and tells me to install duplicity,
(2) if I hit Ok and enter my password installs duplicity (I assume), then
(3) seems to run a complete backup, but
(4) after that (I assume at the "verify backup" stage) will ask me *again* install duplicity and
(5) fail to do so when I ask to proceed and enter my password.

Nonetheless, the GUI tells me it successfully carried out a backup.

Unfortunately, there seems to be no option to make deja-dub (the CLI tool) any more verbose. It just produces zero output for me.

If I can help provide any more information, please ask!
Comment 8 elhoy 2023-09-30 21:30:09 UTC
Just another user-experience.... same problem for possibly almost year now (sorry, I've not tracked exact time).

Successful temporary workaround today per comment 1 (rpm -e --nodeps duplicity, then run backup and allow install of duplicity).
https://bugzilla.opensuse.org/show_bug.cgi?id=1212486#c1

However, this needs repeating for each run of backup.
Comment 9 ralph roth 2023-12-07 17:06:09 UTC
Same issue with openSUSE 15.4 and 15.5 December updates
Comment 10 Kudera 2024-04-24 16:30:16 UTC
I ran into this problem just last week. As for the others here, Deja-dup produces the same error message about missing duplicity even though it is installed.

For me, however, it works without complaining if the Yast Software management is open. The software management is running with root permissions, and deja-dup (hopefully) just with those of my normal user.

That's on Leap 15.5.