]> git.proxmox.com Git - proxmox-ve.git/commitdiff
Add a purge proxmox-ve to the warning message
authorAlwin Antreich <a.antreich@proxmox.com>
Wed, 9 Jan 2019 12:37:18 +0000 (13:37 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 9 Jan 2019 13:05:33 +0000 (14:05 +0100)
When the package proxmox-ve is not purged the apt config is still there
and hinders further use of apt, as it complains about the missing hook.

Signed-off-by: Alwin Antreich <a.antreich@proxmox.com>
debian/apthook/pve-apt-hook

index fb7bc1ec98966feeffb1fb65b23697705955cb7e..d49a2ce0b068cfd9b603cde4d6f01e5b2eadb46a 100755 (executable)
@@ -60,6 +60,7 @@ while (my $line = <$fh>) {
       $log->("\n");
       $log->("If you really you want to permanently remove '${check_package}' from your system, run the following command\n");
       $log->("\ttouch '${check_file}'\n");
+      $log->("run apt purge ${check_package} to remove the meta-package\n");
       $log->("and repeat your apt invocation.\n");
       $log->("\n");
       $log->("If you are unsure why '$check_package' would be removed, please verify\n");