Checking /usr/local/ before upgrading

Reinhard Tartler siretart at ubuntu.com
Sat Oct 27 21:31:14 UTC 2007


Vincenzo Ciancia <ciancia at di.unipi.it> writes:

> Similar issues might happen if one has something in /usr/local/bin, so
> wouldn't it be wise to ask, in the upgrade program, if user wants to
> temporarily rename /usr/local to /usr/local.upgraded during upgrade, so
> things are safer? 

Isn't your email/request rather a pretty good example why installing
software to /usr/local is a bad idea wrt to system upgrades?

I'd really suggest to install your special libraries, local software
etc. either to /usr/local/$PACKAGE or /srv/local/$PACKAGE or somewhere
else. You can use environment variables or rpath to make them work.

-- 
Gruesse/greetings,
Reinhard Tartler, KeyID 945348A4




More information about the Ubuntu-devel-discuss mailing list