NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: library cleanup after a system upgrade



In article <20200506223952.hyjgwirjwfdddd5z%pumpkin.pr0.tips@localhost>,
Timo Buhrmester  <fstd.lkml%gmail.com@localhost> wrote:
>> What happens to the "old libraries" ? I think they are left in so
>> binaries continue to run.
>> Just the new ones are symlinked to current.
>
>Some get removed with postinstall obsolete, some don't.  I've never
>really figured out what's going on, but occasionally I'll explode
>the sets to a temporary directory, and do a find/diff dance to
>identify leftover stuff.
>
>..and then it usually turns out that I forgot to recompile any
>local programs that still needed them :)

/usr/src/lib/checkoldver /usr/lib | xargs rm -f

christos



Home | Main Index | Thread Index | Old Index