Commit Graph

39 Commits

Author SHA1 Message Date
Ilia Ross
f01d65a26e Add DNF versionlock support to Package Updates
This PR adds DNF 4 and DNF 5 versionlock support to Package Updates, including listing, holding, unholding, and explicitly updating held packages.

DNF 4 requires the versionlock plugin to be installed, while DNF 5 supports versionlock natively.

Hold controls are shown only when the versionlock command is available.

It also previews DNF transactions before confirmation so users can see which packages will be installed or updated in the table, similar to APT.
2026-08-23 23:03:46 +02:00
Ilia Ross
e695fbd0c7 Add APT package hold management to Package Updates
- Add an APT-only “Held updates” view while keeping held packages excluded from normal and scheduled updates.

- Allow administrators to hold or unhold packages from package details.

- Allow explicitly selected held packages to be updated once, then restore all existing package holds.

- Preserve configured `aptitude` behavior for regular installs while using `apt-get` for the held-package override.

Fixes #2689
2026-08-14 03:43:50 +02:00
Ilia Ross
5419079e8b Fix to print message when refreshing packages https://github.com/virtualmin/virtualmin-gpl/issues/909 2024-09-27 22:28:23 +03:00
Ilia Ross
8cd2dbae96 Fix to redirect to tabs only inside same module
https://forum.virtualmin.com/t/small-upgrade-error-maybe-wrong-url-on-button/127999?u=ilia
2024-07-21 02:37:32 +03:00
Jamie Cameron
1d0d25efac Don't add tab param twice https://sourceforge.net/p/webadmin/bugs/5648/ 2024-07-05 10:01:55 -07:00
Ilia Ross
04523fdb86 Fix tab name 2024-05-10 14:25:06 +03:00
Ilia Ross
893e5ba06f Fix to always return to the right tab 2024-02-27 16:59:00 +02:00
Ilia Ross
66e2f1e1e3 Fix to pass params separately 2023-12-30 22:25:08 +02:00
Ilia Ross
f82def9a9b Fix to separate params and packages names 2023-12-30 17:04:52 +02:00
Ilia Ross
c4f39f56f8 Fix to use alternating page name
e418b4c178
2023-12-29 13:37:45 +02:00
iliajie
5fc5fea30a Fix to reference ul tag 2023-06-07 13:38:28 +03:00
iliajie
e8526e00b4 Add more escapes 2023-05-15 20:44:11 +03:00
Jamie Cameron
c2bbb27de4 Using the back button to return doesn't refresh the page 2023-05-06 21:43:46 -07:00
iliajie
0ead391e47 Fix not to run check_reboot_required on initial load 2023-03-03 22:29:48 +02:00
iliajie
760d4392ed Print bottom update button only if not in viewport https://github.com/webmin/authentic-theme/issues/1605#issue-1298478251 2022-07-08 12:31:26 +03:00
Ilia Rostovtsev
f69fa81e59 Fix to get safely using wrapper sub 2/2 2021-09-28 16:30:05 +03:00
Jamie Cameron
278c066684 When installing a new package, it may not be known yet 2018-11-10 11:08:39 -08:00
Jamie Cameron
7a4c83ba35 Use the package updates module to install new packages 2018-11-03 17:06:10 -07:00
Jamie Cameron
ab6e4472fb Exclude packages already being updated from lists of updates 2018-03-26 17:18:49 -07:00
Jamie Cameron
506b4111fc Record updates in progress 2018-03-18 18:47:52 -07:00
Gnadelwartz
b301df4fac fix shebang 2018-02-11 19:39:49 +01:00
Gnadelwartz
0b938a098c process also refresh_top 2018-02-11 19:35:11 +01:00
Jamie Cameron
0e3b34f503 Support caller-defined redirect https://www.virtualmin.com/node/53585 2017-09-16 11:14:02 -07:00
Jamie Cameron
f3a393b2f8 Ignore signals that might fire if webmin is upgraded, or if an apache proxy is https://github.com/webmin/webmin/issues/296 2016-04-03 09:21:38 -07:00
Jamie Cameron
7ef6ea921a Don't try a multiple package update if there isn't more than one 2016-03-31 22:07:19 -07:00
Jamie Cameron
4912384cd7 Update multiple packages at the same time https://github.com/webmin/webmin/issues/286 2016-03-20 11:09:36 -07:00
Jamie Cameron
959b355848 Refresh package caches in all modules http://www.virtualmin.com/node/36084 2015-02-13 14:53:37 -08:00
Jamie Cameron
155844e718 Show reboot button after a package update if needed 2012-05-14 15:35:10 -07:00
Jamie Cameron
b4377923e7 Make refresh more selective 2010-01-05 16:06:43 -08:00
Jamie Cameron
b66728033e More hacking on improved package updates list 2010-01-04 16:07:32 -08:00
Jamie Cameron
f1279f3b6f Don't install packages already installed as a dependency 2009-10-09 22:50:25 -07:00
Jamie Cameron
585af4b745 Removed support for working on just Virtualmin packages 2009-10-08 22:50:09 -07:00
Jamie Cameron
737a54e338 Fixed two typos 2009-10-07 15:45:07 -07:00
Jamie Cameron
3e47e62e66 More status collect / package updates integration 2009-10-06 16:54:17 -07:00
Jamie Cameron
b031143547 Get depedencies in one call 2009-10-03 17:47:08 -07:00
Jamie Cameron
41f4243250 Show message about what is happening 2009-10-03 14:59:16 -07:00
Jamie Cameron
f45911beb6 Confirmation page for package updates 2009-10-02 14:47:50 -07:00
Jamie Cameron
5284cc7f0c More work on package updates module 2009-10-01 22:53:38 -07:00
Jamie Cameron
136a04a61c First cut of the new package updates module 2009-10-01 14:09:36 -07:00