
On Tue, Oct 04, 2011 at 10:07:43PM +1100, James Harper wrote:
I want to install libvirt-bin under Debian, but it depends on libxenstore3.0 and I don't want it installed because I already have xen installed (built from source) and installing the debian version breaks it.
BTW, what exactly is xenstore-utils? i just filed a bug against the
package
yesterday (Bug#644125) because the package description is useless (all it says is "This package contains the Xenstore utilities." - well, duh!)
Utilities for accessing the xenstore. If you don't know what the xenstore is then you don't need to know what the xenstore is :)
3. create a dummy libxenstore3.0 package
that's the usual way of doing it. there was (or still is) a package that would auto-generate dummy packages for this purpose. can't remember what it was called (i thought it was called dummy or something like that), and can't find it with apt-cache search.
OTOH, it's trivial to make a dummy package so you don't really need a special tool for the job. if you want an example, just download the source for one of the transition packages, and modify to suit - they're just dummy packages for when a package gets renamed, they just satisfy dependancies during the transition (and, optionally, depend upon the new renamed pkgs).
with a high enough version that nothing can ever upgrade it
be careful of this, some pkgs depend on package foo version >= x and <= y.
probably simpler to just hold the package (with dpkg-hold, aptitude hold, or whatever your favourite pkg holding tool is).
Finally, there's also:
4. make your own xen packages from source (maybe patch/update the debianised ones?) so you don't end up with unmanaged cruft in /usr/local or /opt or wherever.
I'm following git/hg fairly closely here and maintaining my own patches so packaging just adds overhead I don't want at the moment. I went with: 5. use dpkg-divert to divert the files I don't want somewhere else. libxenstore only contains the libs (+ stuff in /usr/share/doc) so it should be fine. So far so good! Thanks James