Can't remove gnome-session
How can I fix this? It's causing the "update -f" to fail on me,
and apt won't let me do much else.
This resulted from a partial upgrade of a mixed stable/unstable
system. Somewhere along the line I slipped up and let apt remove a
bunch of packages that I wanted to keep. I'd like to get back at least
to where gnucash and evolution are working again.
dpkg: 1.10.18
gnome-session: 1.4.0.6-5
Here is the error I'm seeing:
# dpkg -r gnome-session
(Reading database ... 109069 files and directories currently installed.)
Removing gnome-session ...
update-alternatives: --slave only allowed with --install
Debian update-alternatives 1.10.15.
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
Errors were encountered while processing:
gnome-session
Thanks!
- Lee
Reply to: