Bug#614578: fails to install when both emacs and git are installed in the same run (pre-depends needed?)

2011-02-22 Thread Jonathan Nieder
clone 614578 -1
retitle -1 git.emacsen-install is not idempotent
thanks

Hi Christoph,

Christoph Egger wrote:

> Btw: fixing isn't that easy, the install script doesn't like being
> called again it seems:

Thanks for catching this (both the original bug and this part).  Were
you able to recover?  Hopefully removing and reinstalling works.

Regards,
Jonathan



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



Bug#614578: fails to install when both emacs and git are installed in the same run (pre-depends needed?)

2011-02-22 Thread Christoph Egger
Btw: fixing isn't that easy, the install script doesn't like being
called again it seems:

christoph@myron:~$ sudo aptitude install -f
[sudo] password for christoph: 
The following partially installed packages will be configured:
  autopoint git 
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
Need to get 0 B of archives. After unpacking 0 B will be used.
Setting up git (1:1.7.4.1-1) ...
install/git: Handling install of emacsen flavor emacs
install/git: Handling install of emacsen flavor emacs23
install/git: byte-compiling for emacs23
ln: creating symbolic link `git.el': File exists
emacs-package-install: /usr/lib/emacsen-common/packages/install/git emacs23 
emacs23 failed at /usr/lib/emacsen-common/emacs-package-install line 30, 
 line 1.
dpkg: error processing git (--configure):
 subprocess installed post-installation script returned error exit status 1
configured to not write apport reports
  dpkg: dependency problems prevent 
configuration of autopoint:
 autopoint depends on git (>= 1:1.7.0.5) | git-core; however:
  Package git is not configured yet.
  Package git-core is not installed.
  Package git which provides git-core is not configured yet.
dpkg: error processing autopoint (--configure):
 dependency problems - leaving unconfigured
configured to not write apport reports
  Errors were encountered while processing:
 git
 autopoint
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install.  Trying to recover:
Setting up git (1:1.7.4.1-1) ...
install/git: Handling install of emacsen flavor emacs
install/git: Handling install of emacsen flavor emacs23
install/git: byte-compiling for emacs23
ln: creating symbolic link `git.el': File exists
emacs-package-install: /usr/lib/emacsen-common/packages/install/git emacs23 
emacs23 failed at /usr/lib/emacsen-common/emacs-package-install line 30, 
 line 1.
dpkg: error processing git (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of autopoint:
 autopoint depends on git (>= 1:1.7.0.5) | git-core; however:
  Package git is not configured yet.
  Package git-core is not installed.
  Package git which provides git-core is not configured yet.
dpkg: error processing autopoint (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 git
 autopoint

-- 
9FED 5C6C E206 B70A 5857  70CA 9655 22B9 D49A E731
Debian Developer | Lisp Hacker | CaCert Assurer

A. Because it breaks the logical sequence of discussion
Q. Why is top posting bad?


pgpWn9aVHhu8C.pgp
Description: PGP signature


Bug#614578: fails to install when both emacs and git are installed in the same run (pre-depends needed?)

2011-02-22 Thread Christoph Egger
Package: git
Version: 1:1.7.4.1-1
Severity: important

Setting up git (1:1.7.4.1-1) ...
ERROR: emacsen-common being used before being configured.
ERROR: This is likely a bug in the git package, which needs to
ERROR: add one of the appropriate dependencies.
ERROR: See /usr/share/doc/emacsen-common/debian-emacs-policy.gz
ERROR: for details.
dpkg: error processing git (--configure):
 subprocess installed post-installation script returned error exit status 2
configured to not write apport reports
  dpkg: dependency problems prevent 
configuration of autopoint:
 autopoint depends on git (>= 1:1.7.0.5) | git-core; however:
  Package git is not configured yet.
  Package git-core is not installed.
  Package git which provides git-core is not configured yet.
dpkg: error processing autopoint (--configure):
 dependency problems - leaving unconfigured
configured to not write apport reports


-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: kfreebsd-amd64 (x86_64)

Kernel: kFreeBSD 8.1-1-amd64
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages git depends on:
ii  git-man 1:1.7.4.1-1  fast, scalable, distributed revisi
ii  libc0.1 2.11.2-11Embedded GNU C Library: Shared lib
ii  libcurl3-gnutls 7.21.3-1+b1  Multi-protocol file transfer libra
ii  liberror-perl   0.17-1   Perl module for error/exception ha
ii  libexpat1   2.0.1-7  XML parsing C library - runtime li
ii  perl-modules5.10.1-17Core Perl modules
ii  zlib1g  1:1.2.3.4.dfsg-3 compression library - runtime

Versions of packages git recommends:
ii  less  436-1  pager program similar to more
ii  openssh-client [ssh-client]   1:5.8p1-2  secure shell (SSH) client, for sec
ii  patch 2.6.1-1Apply a diff file to an original
ii  rsync 3.0.7-2fast remote file copy program (lik

Versions of packages git suggests:
pn  git-arch   (no description available)
pn  git-cvs(no description available)
pn  git-daemon-run (no description available)
pn  git-doc(no description available)
pn  git-email  (no description available)
pn  git-gui(no description available)
pn  git-svn(no description available)
pn  gitk   (no description available)
pn  gitweb (no description available)

-- 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