>>>>> Francois Papon <[email protected]>:

> As user and fan of Debian distrib (laptop and server), I will try it
> quickly :)

Hi, please note! If you installed 4.1.4-8~9.30 you may wish to purge and
reinstall.

The reason is that I have changed the home directory of the karaf user
from /home/karaf to /var/lib/karaf.  The reason is that lintian didn't
like "adduser --system" without a "--home" and that "--home" couldn't
point to something under /home/
 
https://lintian.debian.org/tags/maintainer-script-should-not-use-adduser-system-without-home.html

The commands to purge and reinstall, are:
 apt-get purge karaf
 mv /home/karaf/.m2 /var/lib/karaf/
 mv /home/karaf/.karaf /var/lib/karaf/
 apt-get update
 apt-get install karaf

This preserves the already downloaded jars in /home/karaf/.m2/repository/
and old command lines in /home/karaf/.karaf,

Reply via email to