![]() |
|
|||||||
| OpenBSD Installation and Upgrading Installing and upgrading OpenBSD. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
|
|||
|
Hi everybody !
Can you help me decide what situation(s) a complete removal of packages is a wise and necessary step before an upgrade (current- , i386) ? .. someone -I recall- described such a step as an overkill .. so when is it nothing but an overkill ? and when is it an obligatory step to a clean and stabe system? ( In fact, -laught at it if you feel so- I never did an upgrade without first removing all packages , until yesterday : I upgraded and sysmerged then did a simple pkg_add -u .. it took some time .. it was all ok :-) .. ) Thanks for your help and support! Last edited by daemonfowl; 7th May 2012 at 10:48 AM. Reason: grammar |
|
||||
|
You should never need to issue # pkg_delete /var/db/pkg/* under normal operating circumstances.
Individual packages may be deleted when they are no longer in use. For "clean up" you may find the -a option may be helpful to delete automatically installed dependencies after deleting individual packages.
__________________
OpenBSD LiveCDs/LiveDVDs |
|
|||
|
Quote:
pkg_delete(1) is provided for removing a package when it is no longer needed, but this has no relation to system updates. |
|
||||
|
Quote:
Quote:
__________________
OpenBSD LiveCDs/LiveDVDs |
|
|||
|
jgimmi & ocicat, thank you very much !!
Ocicat , you said : none .. even in a case like when the packages are a few months old? maybe some packages would cease to exist or change names or something .. Does it harm stability keeping older packages with an updated system? (eg. cases : when lacking enough time to update a mass of 16g packages .. or with some recurring network service problem .. etc) |
|
|||
|
Quote:
|
|
||||
|
OS libraries (/usr/lib) are not removed in upgrades, and remain forever.
Third party libraries (/usr/local/lib) will remain installed when they are in the dependency chain for an installed package. If there are newer versions of these libraries, the older libraries remain in the package database in /var/db/pkg/.libs* - so, you only need to delete older packages when you no longer need them.
__________________
OpenBSD LiveCDs/LiveDVDs |
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| phpMyAdmin 3.4.0 is a "huge step" | J65nko | News | 0 | 12th May 2011 07:19 PM |
| Removal of BIND from FreeBSD base system | J65nko | News | 8 | 3rd April 2010 10:02 PM |