[Ilugc] debian dependency management
- From: mssnlayam@xxxxxxxx (Suriya Narayanan M S)
- Date: Thu Aug 12 22:06:19 2004
On Thu, Aug 12, 2004 at 09:48:10PM +0530, Sridhar R wrote:
Consider the 'gnome' debian package. It depends [1] on rhythmbox.
But I wan't gnome without rhythmbox. Is this possible?
No, it is not possible. You can't install the gnome *package* without
installing the rhythmbox *package*. But there is a workaround if you
really want to. gnome is basically a meta-package, it does not provide
any file of its own. It just lists a set of dependencies which get
installed when gnome gets installed.
$ apt-cache depends gnome
gnome
Depends: gnome-desktop-environment
Depends: gnome-office
Depends: bluefish
|Depends: evolution
Depends: balsa
Depends: gnome-cups-manager
Depends: gnome-themes-extras
Depends: rhythmbox
|Depends: synaptic
Depends: gnome-apt
Depends: xscreensaver
$
This shows the list of dependencies. Remove rhythmbox alone from the
list (call it REST for now)
# REST="gnome-desktop-environment \
gnome-office \
bluefish \
evolution \
balsa \
gnome-cups-manager \
gnome-themes-extras \
synaptic \
gnome-apt \
xscreensaver"
# apt-get install ${REST}
You might miss out on some configuration (if any) which gnome does in
its {pre,post}-{install,remove} scripts. In this case, gnome has no
scripts.
HTH,
Suriya
Other related posts: