I noticed some packages were being "held back"  when running

 

# apt-get update; apt-get upgrade

 

Google suggested I use

 

# apt-get dist-upgrade

 

But that resulted in un-met dependencies.   Apt-get suggested

 

#apt-get -f install

 

But that yields the errors below (gnome-related).  I admin this box
remotely using the command line, so I don't need anything related to
X11.  Is there an easy way to remove all X related packages?  Would that
provide a solution?  I really just want to get apache reinstalled.

 

 

craiggae:~# apt-get -f install

Reading Package Lists... Done

Building Dependency Tree... Done

Correcting dependencies... Done

The following extra packages will be installed:

  desktop-base desktop-file-utils docbook-dsssl docbook-xml fontconfig

  gnome-desktop-data gnome-doc-tools gnome-icon-theme gstreamer0.8-oss

  hicolor-icon-theme libapm1 libart-2.0-2 libaspell15 libatk1.0-0
libbonobo2-0

  libbonobo2-common libbonoboui2-common libcroco3 libcupsys2-gnutls10
libdb4.1

  libeel2-data libexif10 libfam0c102 libfontconfig1 libgcrypt11
libglib2.0-0

  libgnomecanvas2-common libgnomecups1.0-1 libgnomeprint2.2-data

  libgnomeprintui2.2-common libgnomeui-common libgnutls11 libgpg-error0

  libgsf-1 libgstreamer-plugins0.8-0 libgstreamer0.8-0
libgtksourceview-common

  libgtop2-2 libidl0 libkrb53 libldap2 liblzo1 libopencdk8 liborbit2
libosp4

  libostyle1 libpng12-0 libsasl2 libscrollkeeper0 libsmbclient

  libstartup-notification0 libtasn1-2 libtiff4 libvte-common
libwnck-common

  libxklavier8 libxslt1.1 nautilus-data openjade powermgmt-base
scrollkeeper

  sgml-base sgml-data shared-mime-info ucf xml-core

The following packages will be REMOVED:

  gnome-core gnome-session

The following NEW packages will be installed:

  desktop-base desktop-file-utils docbook-dsssl docbook-xml fontconfig

  gnome-desktop-data gnome-doc-tools gnome-icon-theme gstreamer0.8-oss

  hicolor-icon-theme libapm1 libart-2.0-2 libaspell15 libatk1.0-0
libbonobo2-0

  libbonobo2-common libbonoboui2-common libcroco3 libcupsys2-gnutls10
libdb4.1

  libeel2-data libexif10 libfam0c102 libfontconfig1 libgcrypt11
libglib2.0-0

  libgnomecanvas2-common libgnomecups1.0-1 libgnomeprint2.2-data

  libgnomeprintui2.2-common libgnomeui-common libgnutls11 libgpg-error0

  libgsf-1 libgstreamer-plugins0.8-0 libgstreamer0.8-0
libgtksourceview-common

  libgtop2-2 libidl0 libkrb53 liblzo1 libopencdk8 liborbit2 libosp4
libostyle1

  libpng12-0 libsasl2 libsmbclient libstartup-notification0 libtasn1-2

  libtiff4 libvte-common libwnck-common libxklavier8 libxslt1.1
nautilus-data

  openjade powermgmt-base scrollkeeper sgml-base sgml-data
shared-mime-info

  ucf xml-core

2 packages upgraded, 64 newly installed, 2 to remove and 136  not
upgraded.

17 packages not fully installed or removed.

Need to get 0B/21.6MB of archives. After unpacking 74.5MB will be used.

Do you want to continue? [Y/n] Y

Preconfiguring packages ...

(Reading database ... 37825 files and directories currently installed.)

Removing gnome-session ...

update-alternatives: --slave only allowed with --install

 

Debian update-alternatives 1.10.28.

Copyright (C) 1995 Ian Jackson.

Copyright (C) 2000-2002 Wichert Akkerman

This is free software; see the GNU General Public Licence

version 2 or later for copying conditions.  There is NO warranty.

 

Usage: update-alternatives --install <link> <name> <path> <priority>

                          [--slave <link> <name> <path>] ...

       update-alternatives --remove <name> <path>

       update-alternatives --remove-all <name>

       update-alternatives --auto <name>

       update-alternatives --display <name>

       update-alternatives --list <name>

       update-alternatives --config <name>

       update-alternatives --set <name> <path>

       update-alternatives --all

<name> is the name in /etc/alternatives.

<path> is the name referred to.

<link> is the link pointing to /etc/alternatives/<name>.

<priority> is an integer; options with higher numbers are chosen.

 

Options:  --verbose|--quiet  --test  --help  --version

          --altdir <directory>  --admindir <directory>

dpkg: error processing gnome-session (--remove):

 subprocess pre-removal script returned error exit status 2

dpkg: gnome-core: dependency problems, but removing anyway as you
request:

 gnome-session depends on gnome-core (>= 1.4.0.2-3); however:

  Package gnome-core is to be removed.

Removing gnome-core ...

dpkg: error processing gnome-core (--remove):

 subprocess post-removal script returned error exit status 127

Errors were encountered while processing:

 gnome-session

 gnome-core

E: Sub-process /usr/bin/dpkg returned an error code (1)

craiggae:~#

 

 

== Craig A. Smith mailto:craig.a.smith at honeywell.com
<mailto:craig.a.smith at honeywell.com>   
  Office 763-954-2895 Cell 612.518.2200 FAX 763-954-2313 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://shadowknight.real-time.com/pipermail/tclug-list/attachments/20060126/1655cd1c/attachment.htm