...
Linux ip-172-31-12-48 4.4.0-1077-aws #87-Ubuntu SMP Wed Mar 6 00:03:05 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
...
The system hibernated and resumed twice.
The package reinstallation and purging were also successful:
ubuntu@ip-172-31-12-48:~$ sudo apt install --reinstall ec2-hibinit-agent
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 11 not upgraded.
Need to get 9,916 B of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu xenial-proposed/universe amd64 ec2-hibinit-agent all 1.0.0-0ubuntu4~16.04.0 [9,916 B]
Fetched 9,916 B in 0s (45.9 kB/s)
(Reading database ... 76488 files and directories currently installed.)
Preparing to unpack .../ec2-hibinit-agent_1.0.0-0ubuntu4~16.04.0_all.deb ...
Unpacking ec2-hibinit-agent (1.0.0-0ubuntu4~16.04.0) over (1.0.0-0ubuntu4~16.04.0) ...
Setting up ec2-hibinit-agent (1.0.0-0ubuntu4~16.04.0) ...
ubuntu@ip-172-31-12-48:~$ sudo apt purge ec2-hibinit-agent
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
ec2-hibinit-agent*
0 upgraded, 0 newly installed, 1 to remove and 11 not upgraded.
After this operation, 59.4 kB disk space will be freed.
Do you want to continue? [Y/n]
(Reading database ... 76488 files and directories currently installed.)
Removing ec2-hibinit-agent (1.0.0-0ubuntu4~16.04.0) ...
Purging configuration files for ec2-hibinit-agent (1.0.0-0ubuntu4~16.04.0) ...
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-4.4.0-1077-aws
Found initrd image: /boot/initrd.img-4.4.0-1077-aws
Found linux image: /boot/vmlinuz-4.4.0-1075-aws
Found initrd image: /boot/initrd.img-4.4.0-1075-aws
done
ubuntu@ip-172-31-12-48:~$ ls /etc/default/grub.d/
50-cloudimg-settings.cfg
ubuntu@ip-172-31-12-48:~$ grep resume /boot/grub/grub.cfg
ubuntu@ip-172-31-12-48:~$
Tested with 1.0.0-0ubuntu4~ 16.04.0 on Xenial:
...
Linux ip-172-31-12-48 4.4.0-1077-aws #87-Ubuntu SMP Wed Mar 6 00:03:05 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
...
The system hibernated and resumed twice.
The package reinstallation and purging were also successful:
ubuntu@ ip-172- 31-12-48: ~$ sudo apt install --reinstall ec2-hibinit-agent archive. ubuntu. com/ubuntu xenial- proposed/ universe amd64 ec2-hibinit-agent all 1.0.0-0ubuntu4~ 16.04.0 [9,916 B] hibinit- agent_1. 0.0-0ubuntu4~ 16.04.0_ all.deb ... 0ubuntu4~ 16.04.0) over (1.0.0- 0ubuntu4~ 16.04.0) ... 0ubuntu4~ 16.04.0) ... ip-172- 31-12-48: ~$ sudo apt purge ec2-hibinit-agent agent* 0ubuntu4~ 16.04.0) ... 0ubuntu4~ 16.04.0) ... 4.4.0-1077- aws img-4.4. 0-1077- aws 4.4.0-1075- aws img-4.4. 0-1075- aws ip-172- 31-12-48: ~$ ls /etc/default/ grub.d/ settings. cfg ip-172- 31-12-48: ~$ grep resume /boot/grub/grub.cfg ip-172- 31-12-48: ~$
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 11 not upgraded.
Need to get 9,916 B of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 http://
Fetched 9,916 B in 0s (45.9 kB/s)
(Reading database ... 76488 files and directories currently installed.)
Preparing to unpack .../ec2-
Unpacking ec2-hibinit-agent (1.0.0-
Setting up ec2-hibinit-agent (1.0.0-
ubuntu@
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
ec2-hibinit-
0 upgraded, 0 newly installed, 1 to remove and 11 not upgraded.
After this operation, 59.4 kB disk space will be freed.
Do you want to continue? [Y/n]
(Reading database ... 76488 files and directories currently installed.)
Removing ec2-hibinit-agent (1.0.0-
Purging configuration files for ec2-hibinit-agent (1.0.0-
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
done
ubuntu@
50-cloudimg-
ubuntu@
ubuntu@