Getting this error when trying to update packages on your linux distro using apt?
W:An error occurred during the signature verification.The repository isnotupdated andthe previous index files will be used.GPG error:http://apt.puppetlabs.com jessie Release: The following signatures were invalid: KEYEXPIRED 1468001658
This just means that the GPG key is expired and that you need to renew it.
You can list expired keys and get the ID by using this command:
$apt-key list|grep expired
Here, we can see that ID “4BD6EC30” is expired and is leading to the issue.
Your monitoring system is claiming that your server is running out of free inodes but your disks are not full at all? Maybe you just need to check your filesystem usage and how many files are being used at the same time… Here are some tips to check and identify the inodes being used.
First of all, you can check percentage of inodes used with this simple command:
You will see inode usage for your partitions and mouting points:
Filesystem Inodes IUsed IFree IUse%Mounted on
Here, we can easily see that /var is using 83% of inodes, which is quite high.
Let’s now identify how those inodes are used with a compound command using find:
You will get a sorted result like this (I truncated to display only the last lines which are the most important):
We can clearly see that inodes are mostly used by /var/spool/postfix/maildrop. You just have to go in that folder and check if files are useful and/or if you can do some cleaning there.
Then, once files are removed and directory clean, your inodes will be freed and everything will be back to normal!