Commit Graph

72 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
f23620aebf Fix APT package arch normalization
Some checks failed
Tests / prove (push) Has been cancelled
Package and upload artifacts / build (push) Has been cancelled
ⓘ Normalize APT install-result names like `libtinfo6:amd64` to `libtinfo6` so scheduled updates can correctly detect dependency-updated packages and avoid false failure reports.

https://github.com/virtualmin/virtualmin-gpl/issues/1247
2026-07-05 14:26:35 +02:00
Ilia Ross
dd445a67f1 Fix to add identifier for pre tag 2025-08-19 22:45:46 +03: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
Ilia Ross
ee33579600 Fix to prioritize brevity over readability 2025-01-25 21:17:12 +02:00
Ilia Ross
a73f7cf6d7 Fix sub name 2025-01-24 11:54:51 +02:00
Ilia Ross
c199cffb3d Fix to account for paragraphs that don't end with a new line
https://github.com/webmin/webmin/pull/2284#discussion_r1764346284
2024-09-18 13:03:20 +03:00
Ilia Ross
a1ab757d66 Fix to remove commented out line 2024-09-18 12:50:22 +03:00
Ilia Ross
89300de664 Add support for listing deb822-style repos
https://forum.virtualmin.com/t/package-repositories-empty-ubuntu-24-04/129152/12?u=ilia
2024-09-16 20:55:43 +03:00
Ilia Ross
9966a2ab47 Fix to support source repos
https://forum.virtualmin.com/t/software-package-repos-displaying-duplicates/128831?u=ilia
2024-08-29 15:51:08 +03:00
Ilia Ross
69823048d2 Fix matching Debian repos
https://forum.virtualmin.com/t/repos-in-virtualmin/128745/3?u=ilia
2024-08-25 21:44:40 +03:00
Ilia Ross
dd1b4bc77b Fix to also set UCF_FORCE_CONFFOLD variable
https://github.com/virtualmin/virtualmin-gpl/issues/612
2023-08-16 15:12:18 +03:00
iliajie
753290b95a Fix Squid package name 2023-07-25 21:11:38 +03:00
Jamie Cameron
13f7bf9621 Command to show in the UI should not be escaped, but the actual command must be 2022-07-10 16:51:57 -07:00
Ilia Rostovtsev
374f020ce7 Fix to use quotemeta instead 3c687b46be (commitcomment-64599299) 2022-01-25 23:37:15 +03:00
Ilia Rostovtsev
3c687b46be Fix to consider filenames with spaces 2022-01-25 17:31:21 +03:00
Jamie Cameron
c01f2dba5d Fall back to apt command if apt-show-versions is missing https://github.com/webmin/webmin/pull/1302 2020-09-19 17:53:04 -07:00
Jamie Cameron
067a433eec Fix command to show holds https://github.com/webmin/webmin/issues/1198 2020-02-10 23:14:24 -08:00
Ilia Rostovtsev
3b020c796f Fix to use dumpavail instead 8cc0aaad04 (commitcomment-36978163) 2020-01-27 14:26:12 +03:00
Ilia Rostovtsev
e82c202d2e Revert 8cc0aaad04 2020-01-27 13:41:21 +03:00
Ilia Rostovtsev
8cc0aaad04 Fix to handle backports repos (Ubuntu enabled default)
https://www.virtualmin.com/node/68256
2020-01-18 15:18:21 +03:00
Jamie Cameron
2f71de2522 Also hold packages selected by apt-mark https://www.virtualmin.com/node/67577 2019-10-26 19:48:05 -07:00
Ilia Rostovtsev
e122629c02 Don't escape safe symbols in packages names, in particular dashes and dots https://github.com/authentic-theme/authentic-theme/issues/1411 2019-10-14 13:03:27 +03:00
Jamie Cameron
cae4b45d2a Debian 10 has moved to MaraiDB 2019-08-25 21:06:43 -07:00
Jamie Cameron
3efa74f29a Properly escape packages to update 2019-06-11 11:33:12 -07:00
Jamie Cameron
5fbaa665f9 APT repo creation support 2019-04-27 23:07:44 -07:00
Jamie Cameron
dc1e9fa77e Make disable/enable/deletion work 2019-04-21 17:59:58 -07:00
Jamie Cameron
494bccece3 Show Debian APT repos 2019-04-21 17:48:50 -07:00
Jamie Cameron
9839ea9b7c Force use of english for all install operations https://www.virtualmin.com/node/59733 2018-12-15 13:54:20 -08:00
Jamie Cameron
ddbc681c0c Handle new apt output format 2018-11-10 10:28:37 -08:00
Jamie Cameron
3a0baa8cbb Set security flag if source is something like Xenial-security https://virtualmin.com/node/56442 2018-04-04 22:06:14 -07:00
Jamie Cameron
3d6ecbcfc2 Fix typo 2017-10-08 18:19:04 -07:00
Jamie Cameron
65779cba4a wbm- and webmin- packages are virtualmin modules 2017-09-24 14:51:48 -07:00
Jamie Cameron
54bb4804fc Debian 8 has changed the squid package name https://sourceforge.net/p/webadmin/bugs/4894/ 2017-02-10 15:58:01 -08:00
Jamie Cameron
b1d471fac4 --force-yes is deprecated, and apparently dangerour 2016-05-27 15:08:57 -07:00
Jamie Cameron
a3da5b5826 Handle new apt-show-versions format https://sourceforge.net/p/webadmin/bugs/4320/ 2013-11-13 22:06:07 -08:00
Jamie Cameron
c214dfeaf9 Offer to install missing LDAP client packages 2013-10-26 18:03:54 -07:00
Jamie Cameron
d1cd9ceb88 Exclude held packages 2013-02-27 13:51:20 -08:00
Jamie Cameron
6c6124f540 Init apt-show-versions cache before running http://sourceforge.net/tracker/?func=detail&atid=117457&aid=3536804&group_id=17457 2012-06-27 20:43:30 +08:00
Jamie Cameron
37d4301830 New ubuntu 12 dhcpd package 2012-04-27 17:14:53 -07:00
Jamie Cameron
c28cb9f56c No mysql-admin package on Ubuntu 12.04 2012-04-26 21:58:24 -07:00
Jamie Cameron
f0bb980ebe Use new API for clearing language 2011-08-22 21:41:32 -07:00
Jamie Cameron
6102daf944 Respect holds
https://sourceforge.net/tracker/index.php?func=detail&aid=3132285&group_id=17457&atid=117457#
2010-12-09 10:40:09 -08:00
Jamie Cameron
2bc1d19229 Get correct version for updates
https://sourceforge.net/tracker/?func=detail&atid=117457&aid=3107449&group_id=17457
2010-11-11 15:44:20 -08:00
Jamie Cameron
cf89696fb7 Supress apt stderr output 2010-09-22 11:56:00 -07:00
Jamie Cameron
7137de7e25 Fix comment 2010-04-04 17:33:13 -07:00
Jamie Cameron
a4cbe582bb Run apt-get update before returning possible updates 2010-03-22 22:17:02 -07:00
Jamie Cameron
320153c996 Fix detection of pinned versions on APT, complete manual updates check 2010-01-04 17:09:09 -08:00