iliajie
fe8bcba3a4
Fix needs-restarting not call twice
2023-03-04 13:30:04 +02:00
Jamie Cameron
0064fbf4ed
Remove special check for a new kernel package, and just rely on needs-restarting
2023-03-03 21:34:23 -08:00
iliajie
0ead391e47
Fix not to run check_reboot_required on initial load
2023-03-03 22:29:48 +02:00
iliajie
7932c08507
Add support for loading given modules info in background only
2023-03-03 00:40:33 +02:00
Jamie Cameron
f2209fb633
Also respect epoch when checking version
2023-01-09 23:46:20 -08:00
luz paz
3e6142f098
Fix user and non-user facing typos
2022-06-29 07:17:11 -04:00
Ilia Rostovtsev
cbe670e664
Fix to properly test if reboot is required
...
Current version of 'needs-restarting' command only has '-r' switch on CentOS 7 distros. What is worse, for latest RHEL versions (like Fedora), this command dropped '-r' switch, which makes impossible making it easy to determine if reboot is required. Any version of this command on CentOS 6 or Fedora Server, would return false positive output. The only way to test, if new kernel was installed, is to compare currently running kernel, with latest installed (excluding custom) kernel, along with latest reboot time and latest kernel install time.
https://sourceforge.net/p/webadmin/bugs/5280/
https://github.com/authentic-theme/authentic-theme/issues/1381
2019-07-12 18:50:51 +03:00
Jamie Cameron
909cb57bf2
Use needs-restarting command to check if a reboot is needed
2019-05-19 17:45:07 -07:00
Jamie Cameron
5d0bd909f0
Fix multiple package install https://github.com/webmin/webmin/issues/992
2018-11-22 13:49:27 -08:00
Jamie Cameron
797025d20f
When installing a new package, it may not be known yet
2018-11-10 11:07:15 -08: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
Jamie Cameron
236c09f3c0
Flag is info and not --info e50c011c08
2017-02-12 09:53:21 -08:00
Jamie Cameron
8f49a258b6
Move code for DNF into the right place e50c011c08
2017-01-27 17:18:30 -08:00
Jamie Cameron
21bb772fd3
DNF uses a different changelog command e50c011c08
2017-01-22 09:24:40 -08:00
Jamie Cameron
e50c011c08
Use DNF instrnstead of YUM if installed https://github.com/webmin/webmin/issues/480
2017-01-15 20:27:53 -08:00
Jamie Cameron
05ebd304fe
Filter out duplicate updates
2016-12-18 11:07:00 -08:00
Jamie Cameron
2f9e91b9e1
Deal with case where no software package system was detected
2015-08-26 21:26:29 -07:00
Jamie Cameron
1d299ecd00
Port special case for Debian apache2 package to Webmin
2015-08-18 20:58:00 -07:00
Jamie Cameron
47694dac77
Use new cache dir under /var unless /etc/webmin is already in use
2015-06-25 23:02:13 -07:00
Jamie Cameron
fe03215c0e
Some systems are missing Data::Dumper
2014-07-29 21:13:31 -07:00
Jamie Cameron
01217b2ae4
Add button to refresh ports DB
2013-03-19 21:54:45 -07:00
Jamie Cameron
78ffb0796c
Finished off freebsd ports support
2013-03-16 10:50:53 -07:00
Jamie Cameron
155844e718
Show reboot button after a package update if needed
2012-05-14 15:35:10 -07:00
Jamie Cameron
8ad4beb665
Function to install multiple packages
2011-09-18 22:05:38 -07:00
Jamie Cameron
57480a2a96
Fix stupid use of length(@) when I meant scalar(@)
2010-12-17 12:16:14 -08:00
Jamie Cameron
8926759d15
Remove use of deprecated defined(@foo)
...
https://sourceforge.net/tracker/?func=detail&atid=117457&aid=3138980&group_id=17457
2010-12-17 11:37:04 -08:00
Jamie Cameron
b4377923e7
Make refresh more selective
2010-01-05 16:06:43 -08:00
Jamie Cameron
c97447fe9e
Use more generic function for getting package list
2010-01-05 15:18:36 -08:00
Jamie Cameron
320153c996
Fix detection of pinned versions on APT, complete manual updates check
2010-01-04 17:09:09 -08:00
Jamie Cameron
b66728033e
More hacking on improved package updates list
2010-01-04 16:07:32 -08:00
Jamie Cameron
1e9e0706be
Implement and use new more efficient function on YUM systems for getting
...
package updates.
2010-01-04 14:47:42 -08:00
Jamie Cameron
ba5c6ed080
Use apt-show-versions to get possible updates
2010-01-02 15:33:53 -08:00
Jamie Cameron
87d113618f
Clear in-memory cache
2009-12-08 23:42:06 -08:00
Jamie Cameron
2bcb97924c
Do in-memory caching too
2009-12-06 21:57:14 -08:00
Jamie Cameron
c782b8597b
Use do instead of eval, as it is faster.
2009-12-06 20:39:18 -08:00
Jamie Cameron
992cf1e54d
remove debugging code
2009-10-27 16:21:11 -07:00
Jamie Cameron
6245c7c692
Optimize generation of updates.
...
Switch local to my.
2009-10-26 18:03:59 -07:00
Jamie Cameron
be2e6fa319
Cache installed and available packages in RAM
2009-10-22 13:44:22 -07:00
Jamie Cameron
abdf7e6c46
Don't try to yum list if locked
2009-10-14 15:18:58 -07:00
Jamie Cameron
78fc12c058
Remove todo comment
2009-10-09 22:19:19 -07:00
Jamie Cameron
c4e2d46376
Include old version in updates list
2009-10-09 14:27:36 -07:00
Jamie Cameron
585af4b745
Removed support for working on just Virtualmin packages
2009-10-08 22:50:09 -07:00
Jamie Cameron
fca95d18b4
Fix refreshing of available packages
2009-10-07 16:02:39 -07:00
Jamie Cameron
3e47e62e66
More status collect / package updates integration
2009-10-06 16:54:17 -07:00
Jamie Cameron
3272ee0029
Show collected info on main page
2009-10-05 17:32:30 -07:00
Jamie Cameron
b031143547
Get depedencies in one call
2009-10-03 17:47:08 -07:00
Jamie Cameron
f625d505f3
Rename module, better virtualmin check
2009-10-03 17:35:33 -07:00
Jamie Cameron
d2c3b072e3
Fixed scheduled updates feature
2009-10-03 14:34:54 -07:00
Jamie Cameron
e56a9da7dd
Show what will happen on Debian
2009-10-03 14:00:27 -07:00