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

php - mySql Join with 4 tables -

css - Text drops down with smaller window -

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -