[pve-devel] [PATCH proxmox-ve] Add a purge proxmox-ve to the warning message

Alwin Antreich a.antreich at proxmox.com
Thu Jan 3 09:56:48 CET 2019


On Thu, Jan 03, 2019 at 09:30:38AM +0100, Wolfgang Bumiller wrote:
> On Wed, Nov 28, 2018 at 12:39:15PM +0100, Alwin Antreich wrote:
> > 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 at proxmox.com>
> > ---
> >  debian/apthook/pve-apt-hook | 1 +
> >  1 file changed, 1 insertion(+)
> > 
> > diff --git a/debian/apthook/pve-apt-hook b/debian/apthook/pve-apt-hook
> > index f925090..59e3a29 100755
> > --- a/debian/apthook/pve-apt-hook
> > +++ b/debian/apthook/pve-apt-hook
> > @@ -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-get/apt purge ${check_package} to remove the meta-package\n");
> 
> Shouldn't we generally only use `apt` by now
I have no opinion about that, but I guess it would make the message more clear.




More information about the pve-devel mailing list