[Pkg-xfce-devel] Bug#506406: xfce4: apt bug causes gdm to pull in unneeded/unwanted gnome dependencies

Yves-Alexis Perez corsac at debian.org
Tue Jan 6 06:36:09 UTC 2009


On lun, 2009-01-05 at 22:55 -0500, Daniel Dickinson wrote:
> On Mon, 5 Jan 2009 13:31:59 +0100
> Frans Pop <elendil at planet.nl> wrote:
> 
> > 
> > > > Would replacing gdm by xdm solve the problem (see #510422)?
> > >
> > > Well, I guess so.
> > 
> > Could you (or someone else from the desktop teams) test this?
> 
> I'm just the user who reported the bug (though I hope at some point to
> become a DD), and I have tested with a custom task (below).  I did a
> standard install, modified the task file and did
> 
> tasksel -t install xfce-desktop

Frans said this wasn't a correct way to test. I'm not sure you followed
all the mails ont the BR as I dropped you from CC:.

> On another note, I'd like to suggest using system-config-printer
> instead of foomatic-gui ; I'm not sure foomatic-gui is maintained
> anymore and system-config-printer is the recommended replacement in any
> event.

system-config-printer is nice but depends on python-gnome2 which pulls
way too much GNOME and gksu which aswell. But as foomatic-gui does that
too anyway…

Anyway, I just tried an install in kvm. What I did:

kvm -k en-us -hda xfce-desktop.img -kernel linux -initrd initrd.gz
-append desktop=xfce

Iirc linux and initrd are from d-i RC1 or more recent. It seems to be
“the recommended way” to install Xfce Desktop Environment when using the
netinstall. And dpkg -l | grep gnome gives:

ii  gnome-keyring                        2.22.3-2
GNOME keyring services (daemon and tools)
ii  gnome-mime-data                      2.18.0-1                   base
MIME and Application database for GNOME.
ii  libgnome-keyring0                    2.22.3-2
GNOME keyring services library
ii  libgnome2-0                          2.20.1.1-1                 The
GNOME 2 library - runtime files
ii  libgnome2-common                     2.20.1.1-1                 The
GNOME 2 library - common files
ii  libgnomecanvas2-0                    2.20.1.1-1                 A
powerful object-oriented display - runtime files
ii  libgnomecanvas2-common               2.20.1.1-1                 A
powerful object-oriented display - common files
ii  libgnomeui-0                         2.20.1.1-2                 The
GNOME 2 libraries (User Interface) - runtime files
ii  libgnomeui-common                    2.20.1.1-2                 The
GNOME 2 libraries (User Interface) - common files
ii  libgnomevfs2-0                       1:2.22.0-5
GNOME Virtual File System (runtime libraries)
ii  libgnomevfs2-common                  1:2.22.0-5
GNOME Virtual File System (common files)
ii  python-gnome2                        2.22.0-1
Python bindings for the GNOME desktop environment

So it's not that hard. Manually replacing foomatic-gui by
system-config-printer gives:

xfce:~# apt-get --no-install-recommends remove --purge foomatic-gui
system-config-printer+
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer
required:
  python-gtkhtml2
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  python-cups python-cupsutils python-notify system-config-printer
Recommended packages:
  hal-cups-utils synaptic
The following packages will be REMOVED:
  foomatic-gui*
The following NEW packages will be installed:
  python-cups python-cupsutils python-notify system-config-printer
0 upgraded, 4 newly installed, 1 to remove and 0 not upgraded.
Need to get 823kB of archives.
After this operation, 3009kB of additional disk space will be used.
Do you want to continue [Y/n]? 


I'll try an install with the Xfce cd to see if that matches. But
basically I don't see gnome-session or stuff like that coming in.

Daniel: it seems I can't reproduce the bug where gnome-session is
installed. I'll try again (in case it's a random bug), but basically I'd
be fine keeping everything that way, and take care of Xfce task early in
squeeze process.

Cheers,
-- 
Yves-Alexis
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://lists.alioth.debian.org/pipermail/pkg-xfce-devel/attachments/20090106/ca6c2077/attachment.pgp 


More information about the Pkg-xfce-devel mailing list