Re: [Pkgutil-users] cannot force uninstall / reinstall
Status: Beta
Brought to you by:
bonivart
|
From: Peter B. <bon...@op...> - 2012-02-17 16:27:24
|
On Fri, Feb 17, 2012 at 5:16 PM, Adam Edgar <ae...@re...> wrote: > I have a broken dependency on svn for the aprutil library. I believe a reinstall of svn would resolve it but running > > sudo pkgutil -r --force CSWsvn > > simply spits out the following: > > Solving needed dependencies ... > Looking at installed packages ... > Examining dependencies for: > CSWsvn (in use) > ... > CSWlibz1 (in use) > Nothing to remove. > > > Shouldn't --force just remove the package regardless of dependencies? I am using 2.6.2 of pkgutil BTW. Force is mostly about being able to install older stuff than you have locally, e.g. if you have tried some experimental repo/package and wants to go back to your normal one it wouldn't work because the package version/timestamp there would be older but force solves that by simply ignoring it. If I remember correctly it doesn't do anything together with remove. Just do: # pkgrm CSWsvn # pkgutil -i CSWsvn Tip for others using the remove option in pkgutil: it can only remove packages not in use, i.e. no other package depends on it. Run the same command over and over again until nothing more can be removed because every time you remove something it can free up another package. /peter |