manjaro / pamac

Graphical Package Manager for Manjaro Linux with Alpm, AUR, Appstream, Flatpak and Snap support
GNU General Public License v3.0
235 stars 42 forks source link

Files Databases Are Always Downloaded When Installing Updates #368

Closed lots0logs closed 6 years ago

lots0logs commented 6 years ago

This was originally reported on #272 and it still occurs in the latest version of pamac.

From #272:

Currently Pamac automatically refreshes the databases when you click install updates. Often times refreshing is unnecessary because it was just refreshed prior to showing the available updates. However, I know that depending on the user's settings there will be times when the refresh is necessary. I think it would better if the .files databases for each repo were not downloaded when performing a refresh prior to installing updates. The .files databases are much larger than the normal databases and so it delays the whole process quite a bit.

PR coming shortly...

petsam commented 6 years ago

It would be nice if there was an option like:

Auto-Refresh databases if they are older than [xxx] minutes (default:20?)

and don't refresh on Software Install mode. Any thoughts?

lots0logs commented 6 years ago

@guinux I thought of a way to solve this issue. Let me know what you think.