Bug 400808

Summary: Opening .deb takes some time due to unnecessary refresh of remote sources
Product: [Applications] Discover Reporter: Alex Ander <aalexandera>
Component: discoverAssignee: Aleix Pol <aleixpol>
Status: CONFIRMED ---    
Severity: normal CC: bugseforuns, herzenschein, nate, nicolas.fella, orangewinds, sephiroth_pk
Priority: NOR Keywords: usability
Version: 5.14.2   
Target Milestone: ---   
Platform: Other   
OS: Linux   
See Also: https://bugs.kde.org/show_bug.cgi?id=423723
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Alex Ander 2018-11-07 17:34:44 UTC
If I download a foreign .deb package and open it with Discover to install, it takes tens of seconds before I will can do something with it. Possibly because Discover updates its base at start. Is it really necessary each time for opening .deb packages? I update and upgrade my system regularly.
Comment 1 Patrick Silva 2018-11-07 21:00:55 UTC
seems related to/duplicate of bug 399732
Comment 2 Riccardo Robecchi 2020-04-02 15:03:31 UTC
It's not. This is due to Discover updating the sources even if you are installing something from a local .deb file. Since it is running "apt update" (or an equivalent command) in the background, you can't install anything else as there is a lock on the package list and you have to wait until the process finishes. This is frustrating as there is no obvious clue of what the reason for what is an apparently odd and unjustified behaviour is.
Comment 3 Patrick Silva 2021-05-20 19:43:39 UTC
*** Bug 408037 has been marked as a duplicate of this bug. ***