Commit Graph

69 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
dd445a67f1 Fix to add identifier for pre tag 2025-08-19 22:45:46 +03:00
Jamie Cameron
70589cf88a Fix regexp to match actual output
https://github.com/webmin/webmin/issues/2501
2025-06-22 15:58:07 -07:00
Jamie Cameron
f24375e13a Deal with DNF5 format
https://github.com/webmin/webmin/issues/2501
2025-06-22 14:11:43 -07:00
Ilia Ross
752e722beb Fix to remove excessive new line 2025-05-26 23:55:19 +03:00
Ilia Ross
1a265580de Fix not to wrap in bold 2025-02-17 21:28:33 +02:00
Jamie Cameron
a539f46189 Ignore packages after the 'Obsoleting Packages' line https://forum.virtualmin.com/t/detection-of-available-package-updates-packages-available-from-multiple-repos/130651 2024-11-26 21:43:59 -08: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
924a0da014 Fix to prioritize MariaDB packages over MySQL
e418b4c178
2023-12-29 14:07:25 +02:00
Ilia Ross
c4f39f56f8 Fix to use alternating page name
e418b4c178
2023-12-29 13:37:45 +02:00
Jamie Cameron
6b2b72707e Alma / Rocky / CentOS 8 also call it dhcp-server 2023-12-28 16:30:15 -08:00
Jamie Cameron
e327d0b81b Only use dhcp-server on Redhat 9 and friends 2023-12-28 10:08:22 -08:00
Jamie Cameron
e418b4c178 DHCPd package is named dhcp-server on RHEL 9 https://github.com/webmin/webmin/issues/2066 2023-12-28 09:57:26 -08:00
Jamie Cameron
d408230132 Only the yum command combines lines 2023-02-04 20:52:57 -08:00
Jamie Cameron
d8e91f731e Command to show in the UI should not be escaped, but the actual command must be 2022-07-10 16:59:09 -07:00
Jamie Cameron
66f6733c20 Ignore src packages https://sourceforge.net/p/webadmin/bugs/5454/ 2021-02-19 12:43:40 -08:00
Jamie Cameron
a2dc3f7124 Switch all calls to open() to explicitly open for read 2020-03-14 17:20:54 -07:00
Jamie Cameron
33356c95d5 Special case hack to enabled epel repo if installing certbot 2020-01-01 20:16:01 -08:00
Jamie Cameron
a85efb80fe YUM uses globs 2019-11-25 16:49:05 -08:00
BRESTAN Rainer
cdfb0e8843 Correct yum check-update multiline output 2019-11-14 12:35:26 +01:00
Jamie Cameron
046efee6e8 Work on actually creating repos 2019-04-21 16:53:41 -07:00
Jamie Cameron
63f3d51871 Parse YUM repo form 2019-03-17 13:36:26 -07:00
Jamie Cameron
0fea5b9078 Work on repo management 2019-03-09 23:14:30 -08:00
Jamie Cameron
f2c7e4b697 Show page of available repositories 2019-03-03 22:15:12 -08:00
Jamie Cameron
c0a037b06b Fix display of new package version https://www.virtualmin.com/node/59670 2018-12-05 21:15:51 -08:00
Jamie Cameron
b4e20f74d1 Remove redundant form 2018-10-28 22:35:43 -07:00
Jamie Cameron
13c1bf75e8 Fix parsing of available updates 2018-10-28 22:18:29 -07:00
Jamie Cameron
65779cba4a wbm- and webmin- packages are virtualmin modules 2017-09-24 14:51:48 -07:00
Jamie Cameron
b335a0dce2 Don't set source to security https://github.com/webmin/webmin/issues/603 2017-09-09 16:59:56 -07:00
Jamie Cameron
64720c97ab Don't overwrite old repo name https://github.com/webmin/webmin/issues/603 2017-06-24 14:01:30 -07:00
Jamie Cameron
e934994e8f Prevent page for hanging forver 5d0f6f0597 2016-05-01 10:40:52 -07:00
Jamie Cameron
5d0f6f0597 Handle new yum package list format https://github.com/webmin/webmin/issues/282 2016-04-27 22:31:09 -07:00
Jamie Cameron
5a20e411fc DNF uses the the word 'Upgrading' 4912384cd7 (commitcomment-16928342) 2016-04-01 21:34:31 -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
2f031a1a02 Show package name lines 2016-01-05 19:59:07 -08:00
Jamie Cameron
5bc856308b When using DNF, upgrade packages with the update command https://github.com/webmin/webmin/issues/254 2015-10-10 11:18:41 -07:00
Jamie Cameron
1faed086a6 Prefer dnf command if installed 2015-07-26 07:38:52 -07:00
Jamie Cameron
fcc9677c89 Support DNF over YUM if installed https://github.com/webmin/webmin/issues/226 2015-07-05 22:40:52 -07:00
Jamie Cameron
18d16d7639 Don't append the architecture un-necessarily, as this breaks upgrades that change it http://virtualmin.com/node/36740 2015-04-05 16:19:53 -07:00
Jamie Cameron
d040242a7e Also use yum updateinfo to get security updates 2015-04-02 19:12:50 -07:00
Jamie Cameron
64d1e8f4b4 The output from yum list-sec doesn't always contain the word security 2015-02-26 21:30:09 -08:00
Jamie Cameron
fcca32e1f7 CentOS 7+ uses mariadb by default 2014-07-30 23:02:59 -07:00
Jamie Cameron
96a5edc7c0 Include architecture in package to update, to handle case where multiple archs are installed 2014-04-18 16:44:38 -07:00
Jamie Cameron
e2c169d5ea Handle different yum output format https://sourceforge.net/p/webadmin/bugs/4340/ 2014-01-03 23:27:13 -08:00
Jamie Cameron
c214dfeaf9 Offer to install missing LDAP client packages 2013-10-26 18:03:54 -07:00
Jamie Cameron
334d4dec22 Don't allow webmin to kill itself on update https://sourceforge.net/p/webadmin/bugs/4304/ 2013-10-06 10:32:01 -07:00
Jamie Cameron
847f41c3b7 Detect failure to install a perl module 2013-09-29 17:26:35 -07:00
Jamie Cameron
bb70afc414 Report on installed packages too 2012-07-24 12:54:04 -07:00
Jamie Cameron
97b08afe70 Include Apache modules in apache updates 2012-03-31 10:15:56 -07:00