Bug#539752: emacs installs, but installs emacs23-nox

2009-08-18 Thread Ross Vandegrift
Package: emacs
Version: 23.1+1-2
Severity: normal


I updated my installation yesterday.  I've had the emacs and emacs22
packages installed.  The following happened:

malaclypse:~# grep emacs /var/log/aptitude
[INSTALL, DEPENDENCIES] emacs23-bin-common
[INSTALL, DEPENDENCIES] emacs23-common
[INSTALL, DEPENDENCIES] emacs23-nox
[UPGRADE] emacs 22.3+1-1.1 - 23.1+1-2

This breaks my emacs in X, which isn't tragic (I can workaround it), but
is quite confusing!  I've added this to this bug report since it seems
likely that this is related to dependencies that aren't installable,
though my system had no problem installing emacs23-common.

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-2-openvz-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to en_US.UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages emacs depends on:
ii  emacs23-nox [emacs23] 23.1+1-2   The GNU Emacs editor (without X su

emacs recommends no packages.

emacs suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#539752: emacs installs, but installs emacs23-nox

2009-08-18 Thread Sven Joachim
reassign 539752 aptitude 0.4.11.11-1
thanks

On 2009-08-18 16:11 +0200, Ross Vandegrift wrote:

 Package: emacs
 Version: 23.1+1-2
 Severity: normal


 I updated my installation yesterday.  I've had the emacs and emacs22
 packages installed.  The following happened:

 malaclypse:~# grep emacs /var/log/aptitude
 [INSTALL, DEPENDENCIES] emacs23-bin-common
 [INSTALL, DEPENDENCIES] emacs23-common
 [INSTALL, DEPENDENCIES] emacs23-nox
 [UPGRADE] emacs 22.3+1-1.1 - 23.1+1-2

FWIW, I could reproduce this in a Squeeze chroot, although I had
emacs22-nox installed there.  But AFAICS this is not a bug in emacs which
depends on emacs23 | emacs23-gtk | emacs23-nox.

 This breaks my emacs in X, which isn't tragic (I can workaround it), but
 is quite confusing!  I've added this to this bug report since it seems
 likely that this is related to dependencies that aren't installable,
 though my system had no problem installing emacs23-common.

It's probably not that the dependencies aren't installable (try
aptitude install emacs23 to find out -- it would have worked for me),
but rather that aptitude chose a solution that does not involve
installing additional packages (the emacs23 package has more
dependencies than emacs22).

BTW, how did you upgrade?  I did with aptitude safe-upgrade, it is
possible that aptitude full-upgrade or aptitude install emacs would
have had a different outcome.

A final tip for you: install emacs23-gtk instead of emacs23, GTK+ is the
preferred toolkit by upstream (see #539800).

Sven



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#539752: emacs installs, but installs emacs23-nox

2009-08-18 Thread Ross Vandegrift
On Tue, Aug 18, 2009 at 10:47:22AM -0400, Sven Joachim wrote:
  malaclypse:~# grep emacs /var/log/aptitude
  [INSTALL, DEPENDENCIES] emacs23-bin-common
  [INSTALL, DEPENDENCIES] emacs23-common
  [INSTALL, DEPENDENCIES] emacs23-nox
  [UPGRADE] emacs 22.3+1-1.1 - 23.1+1-2
 
 FWIW, I could reproduce this in a Squeeze chroot, although I had
 emacs22-nox installed there.  But AFAICS this is not a bug in emacs which
 depends on emacs23 | emacs23-gtk | emacs23-nox.

But shouldn't emacs pull in the X version if I don't have any emacs*-nox
installed?  Especially if the action replaces the default emacs
command with a non-X version.

 It's probably not that the dependencies aren't installable (try
 aptitude install emacs23 to find out -- it would have worked for me),
 but rather that aptitude chose a solution that does not involve
 installing additional packages (the emacs23 package has more
 dependencies than emacs22).

You're correct, it is installable (I was responding to the previous
comments).  I fixed my installation by installing emacs23 and things are
working fine.

 BTW, how did you upgrade?  I did with aptitude safe-upgrade, it is
 possible that aptitude full-upgrade or aptitude install emacs would
 have had a different outcome.

I did aptitude safe-upgrade.

 A final tip for you: install emacs23-gtk instead of emacs23, GTK+ is the
 preferred toolkit by upstream (see #539800).

Okay, cool - I'll check that out.

Ross


signature.asc
Description: Digital signature


Bug#539752: emacs installs, but installs emacs23-nox

2009-08-18 Thread Sven Joachim
On 2009-08-18 17:11 +0200, Ross Vandegrift wrote:

 On Tue, Aug 18, 2009 at 10:47:22AM -0400, Sven Joachim wrote:
  malaclypse:~# grep emacs /var/log/aptitude
  [INSTALL, DEPENDENCIES] emacs23-bin-common
  [INSTALL, DEPENDENCIES] emacs23-common
  [INSTALL, DEPENDENCIES] emacs23-nox
  [UPGRADE] emacs 22.3+1-1.1 - 23.1+1-2
 
 FWIW, I could reproduce this in a Squeeze chroot, although I had
 emacs22-nox installed there.  But AFAICS this is not a bug in emacs which
 depends on emacs23 | emacs23-gtk | emacs23-nox.

 But shouldn't emacs pull in the X version if I don't have any emacs*-nox
 installed?  Especially if the action replaces the default emacs
 command with a non-X version.

Yes, it should, as emacs23 is the first of the alternative dependencies
of emacs and apt(itude) generally prefers that one.  But the problem may
be that emacs23-nox _also_ provides emacs23 -- it has to do that for the
reverse dependencies.

IMHO aptitude should prefer the real emacs23 package over a virtual one
nonetheless, I have retitled the bug accordingly.

Sven



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#539752: emacs installs, but installs emacs23-nox

2009-08-18 Thread Sven Joachim
On 2009-08-18 17:11 +0200, Ross Vandegrift wrote:

 On Tue, Aug 18, 2009 at 10:47:22AM -0400, Sven Joachim wrote:

 BTW, how did you upgrade?  I did with aptitude safe-upgrade, it is
 possible that aptitude full-upgrade or aptitude install emacs would
 have had a different outcome.

 I did aptitude safe-upgrade.

For the record, in another chroot where emacs and emacs22 were
installed, aptitude safe-upgrade would install emacs23-nox, but
aptitude full-upgrade would install emacs23.  Go figure.

I haven't tried the experimental aptitude yet.

Sven



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org