Tugger the SLUGger!SLUG Mailing List Archives

Re: [SLUG] Inatlling a compiled subversion and removing the packaged one - how to fix dependencies.


Michael Lake <Mike.Lake@xxxxxxxxxx> writes:

> 'apt-get remove subversion' would also remove cvs2snv, trac, websvn. I
> want them to stay. I found if I use "apt-get --ignore-deps=trac
> --ignore-deps=cvs2snv --ignore-deps=websvn remove subversion"  it
> would keep the other packages. But then how will those other packages
> know that I have subversion?

I have a feeling that's not going to work very well. I think the next
time apt-get install/update runs, it's going to complain and will want
you to reinstall subversion.

> Can I somehow put on some dummy subversion package that fulfils the
> role that the subverion package did in satifying dependencies of the
> things that reply on subversion? What do Deb heads do in this
> situation.

use equivs to play games with package dependencies, never used it
before so I can't help with using it.

> What I'll prob use is the tigres source compiled one rather than the Debian package.

can you apt-get source subversion, edit debian/rules to change the ./configure
line to suit, dpkg-buildpackage -rfakeroot -b -us -uc, install the newly
created package, then echo subversion hold | dpkg --set-selections?

That's what i tend to do.