apt-get wants to remove gnucash!?

Michael Epting epting@ix.netcom.com
Tue, 13 Feb 2001 05:04:10 -0800


On Tue, Feb 13, 2001 at 10:31:25PM +1100, Jonathan David Wheelhouse wrote:
> apt-get dist-upgrade says
> The following packages will be REMOVED:
>   gnucash guile1.3 libguile6 libguile6-slib libguile9-dev libguppi-dev 
> 
> dselect reveals
> 
> gnucash depends on guile1.3
> gnucash depends on libguile9 (>= 1.4-6)
> guile1.3 depends on libguile6
> libguile9 conflicts with libguile6
> 
> Does anyone have any ideas?

I have both libguile6 and libguile9 on my system.  I don't remember the
exact sequence, but the basic approach is to let apt remove packages
and then you immediately reinstall them.  If apt removes packages, it 
leaves behind configuration and data files, so after your reinstall your
data files will be intact (however, it would be prudent to have a backup,
wouldn't it?).  It may be necessary to install several packages on one 
line, e.g.:
  apt-get install gnucash libguile6 guile1.3

or something of the sort.  That approach is necessary if there are
circular dependencies.  Note that if the removed packages are still
in your /var/cache/apt/archives they will not be re-downloaded, so
the reinstall goes quickly.

If I am remembering incorrectly, then plan B is to use 
 dpkg --install "removed_package_name"
which is happy to override dependencies and conflicts.