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

google app engine - 403 Forbidden POST - Flask WTForms -

ruby on rails - In a controller spec, how to find a specific tag in the generated view? -

how to run a query SQL in node.js mysql -