Package Details: needrestart 3.5-1

Git Clone URL: (read-only, click to copy)
Package Base: needrestart
Description: Restart daemons after library updates.
Upstream URL:
Licenses: GPL
Submitter: t-8ch
Maintainer: t-8ch
Last Packager: t-8ch
Votes: 32
Popularity: 1.67
First Submitted: 2014-10-31 08:21
Last Updated: 2020-03-23 06:40

Required by (0)

Sources (1)

Latest Comments

1 2 Next › Last »

yochananmarqos commented on 2019-07-03 21:05

PSA: This needs a rebuild after the recent perl updates.

mr_nuub commented on 2018-12-06 23:11

Hi! @t-8ch the PKGBUILD lacks some information in the package() block. It should look like this to install the perl module system-wide. Otherwise it is installed in the current users home directory, which makes sudo needrestart impossible (sudo is needed eg for ineractive mode).

package() {
        cd "${srcdir}/${pkgname}-${pkgver}"
        make INSTALLDIRS=vendor DESTDIR="${pkgdir}" install

For everyone who wonders why there is an unset in the PKGBUILD, please read

t-8ch commented on 2018-03-05 18:49

Hi @wuestengecko, unfortunately needrestart does currently not work with the microcode packaged in Arch, but only in Debian. Debian provides the different ucode images in a directory, while arch provides a single initrd image that contains it all. Support for the Arch way should probably added upstream.

The microcode, which is now checked by default, can't be checked so UNKNOWN is correct. I think we should keep the package as is.

You can work around this by specifying -k and -l explicitly to go back to the 2.x behaviour.

wuestengecko commented on 2018-03-04 01:24

v3.0 requires iucode-tool to check for Intel microcode updates (AMD is currently unsupported). Note that the actual microcode is provided by the intel-ucode package.

Without iucode-tool, on Intel machines you get the following error and the Nagios plugin mode always returns UNKNOWN:

which: no iucode_tool in (/usr/local/sbin:/usr/local/bin:/usr/bin)

(with your actual $PATH in parentheses, of course)

scott32 commented on 2018-02-28 16:38

Version 3.0 is out... just replace pkgver=2.10 with pkgver=3.0 in PKGBUILD

cgirard commented on 2017-10-05 10:08

@vith: As stated, you just need to rebuild the impacted module (in that case needrestart)

vith commented on 2017-10-04 17:48

Whenever pacman upgrades any package, this gets printed:

:: Running post-transaction hooks...
(1/2) Warn about old perl modules
WARNING: '/usr/lib/perl5/vendor_perl' contains data from at least 1 packages which will NOT be used by the installed perl interpreter.
-> Run the following command to get a list of affected packages: pacman -Qqo '/usr/lib/perl5/vendor_perl'

❯ pacman -Qqo '/usr/lib/perl5/vendor_perl'

cgirard commented on 2015-06-05 16:12

perl-module-scandeps is a missing dependency

xdevla commented on 2015-04-09 08:25

Updated PKGBUILD :

xdevla commented on 2015-04-09 08:22

Updated PKGBUILD :