linux - Debian: What happens to /var/lib/<package> when a package gets updated? -


is safe keep data (such uploaded files web application) in /var/lib/<package>? won't overwritten when package gets updated?

os: ubuntu package installed via apt-get install

dpkg not overwrite files did not install in first place.

if purge package, marked config file removed; not done using wildcard, then, files installed outside of dpkg kept.

as whether idea keep uploads in /var/lib questionable; /var/cache seem less haphazard, check fhs precise details.


Comments

Popular posts from this blog

Android layout hidden on keyboard show -

google app engine - 403 Forbidden POST - Flask WTForms -

c - Why would PK11_GenerateRandom() return an error -8023? -