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
Post a Comment