On Wed, 29 Oct 2008, Sven Joachim wrote:

On 2008-10-29 05:08 +0100, Faheem Mitha wrote:

Package: emacs
Version: 22.2+2-4
Severity: normal


I recently upgraded to lenny. Note that initially I got emacs22-nox
installed for some reason, but that is a side issue.

It should not have happened anyway.  I can think of three possibilities:

- You installed it manually.

No. I don't think I've ever installed a nox packagge on Debian - was barely aware they existed. Especially as they cannot coexist with the regular package, which I use all the time.

- Some package depends on emacs22-nox | emacs22 instead of the other way
 round or only the latter.  Such a package is broken.

- Apt has a bug, it should always prefer the real package over a
 provided one.

It should be possible to track this down using logs. Does apt now have a log (in lenny)? The dpkg log would be less optimal for this task.

More importantly,
alternatives did not update correctly to emacs22. Isn't this set in
the postinst or something?

It is.  Maybe the `emacs' alternative is set to manual on your system?

orwell:/home/faheem# ls -la /etc/alternatives/emacs
lrwxrwxrwx 1 root root 18 2007-06-03 18:20 /etc/alternatives/emacs -> 
/usr/bin/emacs21-x

Please show the output of `update-alternatives --display emacs'.

orwell:/home/faheem# update-alternatives --display emacs
emacs - status is manual.
 link currently points to /usr/bin/emacs22-x
/usr/bin/emacs21-x - priority 24
 slave emacs.1.gz: /usr/share/man/man1/emacs.1emacs21.gz
/usr/bin/emacs22-x - priority 25
 slave emacs.1.gz: /usr/share/man/man1/emacs.1emacs22.gz
Current `best' version is /usr/bin/emacs22-x.

I changed it to point to 22 after reporting this bug using

update-alternatives --config emacs

would that have changed the status to manual?

                                      Faheem.



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to