Re: [Bug 722946] Re: package git 1:1.7.4.1-1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

2011-02-22 Thread Matt Wheeler
On 22 February 2011 04:52, Anders Kaseorg ande...@mit.edu wrote:
 Hmm.  The actual error is that git.el already exists.

 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, 
 TSORT line 1.
 dpkg: error processing git (--configure):
  subprocess installed post-installation script returned error exit status 1

 Do you know what what the existing git.el is?  Try something like
  find /usr -name git.el | xargs -r ls -l
 for example.

As far as I can tell it was created by a previous version of the git
package (possibly from the git ppa?), the link (and another that
caused almost the same failure) was already pointing to the same
place.

On my own system I fixed the issue by removing the two links (git.el
and git-blame.el) before re-running dpkg.

I've prepared a version of the git package that changes ln -s to ln
-sf in the relevant script to work around the error, but I don't know
if that's a good way to solve the issue, or if it might cause any
other problems, so I haven't uploaded it anywhere yet (also noone else
has reported or confirmed it so maybe it was just my system in the
first place...)


-- 
Matt Wheeler
m...@funkyhat.org

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/722946

Title:
  package git 1:1.7.4.1-1 failed to install/upgrade: subprocess
  installed post-installation script returned error exit status 1

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 722946] Re: package git 1:1.7.4.1-1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

2011-02-22 Thread Anders Kaseorg
Okay.  I wonder if this is related to http://bugs.debian.org/cgi-
bin/bugreport.cgi?bug=614578 .

** Bug watch added: Debian Bug tracker #614578
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=614578

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/722946

Title:
  package git 1:1.7.4.1-1 failed to install/upgrade: subprocess
  installed post-installation script returned error exit status 1

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 722946] Re: package git 1:1.7.4.1-1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

2011-02-22 Thread Andreas Olsson
Well, in any case I can confirm and reproduce this issue as of git
1:1.7.4.1-1 by either

a) Have an Ubuntu 10.10 system with both emacs and git installed, and then 
upgrade to Ubuntu 11.04
b) Have an Ubuntu 11.04 system where git and emacs is installed at the same 
time. It doesn't matter whatever emacsen-common is installed beforehand or not.

** Changed in: git (Ubuntu)
   Status: New = Confirmed

** Summary changed:

- package git 1:1.7.4.1-1 failed to install/upgrade: subprocess installed 
post-installation script returned error exit status 1
+ git post-installation script fails if emacs and git is installed at the same 
time.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/722946

Title:
  git post-installation script fails if emacs and git is installed at
  the same time.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 722946] Re: package git 1:1.7.4.1-1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

2011-02-21 Thread Matt Wheeler
-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/722946

Title:
  package git 1:1.7.4.1-1 failed to install/upgrade: subprocess
  installed post-installation script returned error exit status 1

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 722946] Re: package git 1:1.7.4.1-1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

2011-02-21 Thread Anders Kaseorg
Hmm.  The actual error is that git.el already exists.

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, 
TSORT line 1.
dpkg: error processing git (--configure):
 subprocess installed post-installation script returned error exit status 1

Do you know what what the existing git.el is?  Try something like
  find /usr -name git.el | xargs -r ls -l
for example.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/722946

Title:
  package git 1:1.7.4.1-1 failed to install/upgrade: subprocess
  installed post-installation script returned error exit status 1

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs