Re: Get thee behind me emacs20!

1999-05-16 Thread Bob Bernstein
Bob Bernstein [EMAIL PROTECTED] wrote:

 Here's the 'dpkg -r' run; sorry about the length...

 snip 

 xemacs20 failed at /usr/lib/emacsen-common/emacs-remove line 28.
 dpkg: error processing emacs20 (--remove):
  subprocess pre-removal script returned error exit status 29

 snip 

My brute-force frontal attack on this seems to have succeeded. I made these
lines in the above noted script:

sub execute {
  my(@cmd) = @_;
  if($dry_run) {
print join( , @cmd) . \n;
  } else {
if(system(@cmd) != 0) {
  die emacs-$action:  . join( , @cmd) .  failed;
}
  }
}

...look like this:

sub execute {
  my(@cmd) = @_;
}

I'm not sure what I removed, but removing it caused things to move forward
apace, and I apparently then succeeded in removing the emacs20 deb package. 


--
Bob Bernstein  [EMAIL PROTECTED]
at
Esmond, R.I., USA


Get thee behind me emacs20!

1999-05-15 Thread Bob Bernstein
I have never got the install of emacs20 (the deb package) right on this
machine. Since it was cluttering up every use of apt, I decided to put emacs19
 on the machine and remove emacs20. I can't remove it. A typescript of the
remove attempt is provided.

Here's what 'dpkg --list' shows for these creatures:

ii  emacs19 19.34-21   The GNU Emacs editor.
ii  emacs19-el  19.34-21   GNU Emacs LISP (.el) files.
rF  emacs20 20.3-7 The GNU Emacs editor.
ii  emacsen-common  1.4.8  Common facilities for all emacsen.

So, is there either a) a way to fudge the status of the package so that apt
will not attempt on every use to straighten it out, or b) a way to 'force'
dpkg to remove it?

Here's the 'dpkg -r' run; sorry about the length...

=== snip ===

(Reading database ... 58270 files and directories currently installed.)
Removing emacs20 ...
Checking available versions of ctags, updating links in /etc/alternatives ...
(You may modify the symlinks there yourself if desired - see `man ln'.)
Leaving ctags (/usr/bin/ctags) pointing to /usr/bin/ctags.xemacs20.
Leaving ctags.1.gz (/usr/man/man1/ctags.1.gz) pointing to
/usr/man/man1/ctags.xemacs20.1.gz.
Checking available versions of etags, updating links in /etc/alternatives ...
(You may modify the symlinks there yourself if desired - see `man ln'.)
Leaving etags (/usr/bin/etags) pointing to /usr/bin/etags.xemacs20.
warning: /usr/man/man1/etags.1.gz is supposed to be a slave symlink to
 /etc/alternatives/etags.1.gz, or nonexistent; however, readlink failed:
Invalid argument
Leaving etags.1.gz (/usr/man/man1/etags.1.gz) pointing to
/usr/man/man1/etags.xemacs20.1.gz.
Checking available versions of b2m, updating links in /etc/alternatives ...
(You may modify the symlinks there yourself if desired - see `man ln'.)
Leaving b2m (/usr/bin/b2m) pointing to /usr/bin/b2m.xemacs20.
Leaving b2m.1.gz (/usr/man/man1/b2m.1.gz) pointing to
/usr/man/man1/b2m.xemacs20.1.gz.
Checking available versions of emacsclient, updating links in
/etc/alternatives ...
(You may modify the symlinks there yourself if desired - see `man ln'.)
Leaving emacsclient (/usr/bin/emacsclient) pointing to
/usr/bin/emacsclient.emacs19.
Checking available versions of rcs-checkin, updating links in
/etc/alternatives ...
(You may modify the symlinks there yourself if desired - see `man ln'.)
Leaving rcs-checkin (/usr/bin/rcs-checkin) pointing to
/usr/bin/rcs-checkin.xemacs20.
Leaving rcs-checkin.1.gz (/usr/man/man1/rcs-checkin.1.gz) pointing to
/usr/man/man1/rcs-checkin.xemacs20.1.gz.
Checking available versions of emacs, updating links in /etc/alternatives ...
(You may modify the symlinks there yourself if desired - see `man ln'.)
Leaving emacs (/usr/bin/emacs) pointing to /usr/bin/emacs-19.34.
warning: /usr/man/man1/emacs.1.gz is supposed to be a slave symlink to
 /etc/alternatives/emacs.1.gz, or nonexistent; however, readlink failed:
Invalid argument
Leaving emacs.1.gz (/usr/man/man1/emacs.1.gz) pointing to
/usr/man/man1/emacs.1emacs19.gz.
emacs-remove emacs20
remove/auctex: Removing for emacs20...rmdir:
/usr/share/emacs20/site-lisp/auctex//style: No such file or directory
rmdir: /usr/share/emacs20/site-lisp/auctex: No such file or directory
done.
remove/bbdb: Handling removal of emacsen flavor emacs20
remove/bbdb: remove Info links for emacs20
remove/bbdb: purging byte-compiled files for emacs20
remove/calc: Handling removal of emacsen flavor emacs20
remove/calc: remove Info links for emacs20
remove/calc: purging byte-compiled files for emacs20
remove/elib: Handling removal of emacsen flavor emacs20
remove/elib: remove Info links for emacs20
remove/elib: purging byte-compiled files for emacs20
emacsen-common: Handling removal of emacsen flavor emacs20
emacsen-common: purging byte-compiled files for emacs20
remove/gettext: Purging byte-compiled files for emacs20
remove/hyperlatex: Handling removal of emacsen flavor emacs20
emacsen-common: purging byte-compiled files for emacs20
install/octave: Purging byte-compiled files for flavour emacs20
rmdir: /usr/share/emacs20/site-lisp/octave: No such file or directory
emacs-remove: /usr/lib/emacsen-common/packages/remove/octave emacs20 emacs19
xemacs20 failed at /usr/lib/emacsen-common/emacs-remove line 28.
dpkg: error processing emacs20 (--remove):
 subprocess pre-removal script returned error exit status 29
Checking available versions of ctags, updating links in /etc/alternatives ...
(You may modify the symlinks there yourself if desired - see `man ln'.)
Leaving ctags (/usr/bin/ctags) pointing to /usr/bin/ctags.xemacs20.
Leaving ctags.1.gz (/usr/man/man1/ctags.1.gz) pointing to
/usr/man/man1/ctags.xemacs20.1.gz.
Checking available versions of etags, updating links in /etc/alternatives ...
(You may modify the symlinks there yourself if desired - see `man ln'.)
Leaving etags (/usr/bin/etags) pointing to /usr/bin/etags.xemacs20.
warning: /usr/man/man1/etags.1.gz is supposed to be a slave symlink to
 /etc/alternatives/etags.1.gz,