ln: creating symbolic link `./yaml-mode.el': File exists
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
yaml-mode (Debian) |
Fix Released
|
Unknown
|
|||
yaml-mode (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Lucid |
Won't Fix
|
High
|
Unassigned |
Bug Description
TEST CASE:
1. Install karmic version of yaml-mode
2. Upgrade to lucid version
3. Should fail
4. Reinstall karmic version
5. Upgrade to lucid-proposed version
6. Should not have an issue
-----------------
Binary package hint: yaml-mode
The yaml-mode postinst script will attempt to create a symbolic link to yaml-mode.el, but fails if it already exists.
Purging and then reinstalling yaml-mode appears to be a viable workaround.
The upstream package yaml-mode 0.0.5-2 contains a fix. Unfortunately, Lucid users are stuck with an older version.
--- Original bug report ---
was upgrading from 9.10 to 10.04
ProblemType: Package
Architecture: i386
Date: Sun Mar 7 00:15:06 2010DistroRelease: Ubuntu 10.04
ErrorMessage:
ErrorMessage: Unterprozess installiertes post-installati
Package: yaml-mode 0.0.4-2
PackageArchitec
ProcVersionSign
Title: package yaml-mode 0.0.4-2 failed to install/upgrade:
Uname: Linux 2.6.31-20-generic i686
Related branches
summary: |
- package yaml-mode 0.0.4-2 failed to install/upgrade: + ln: creating symbolic link `./yaml-mode.el': File exists |
description: | updated |
tags: | added: dist-upgrade |
Changed in yaml-mode (Debian): | |
status: | Unknown → Fix Released |
tags: | added: removal-candidate |
Changed in yaml-mode (Ubuntu Lucid): | |
status: | Won't Fix → Triaged |
tags: | removed: verification-needed |
tags: | removed: removal-candidate |
Changed in yaml-mode (Ubuntu Lucid): | |
status: | Triaged → Won't Fix |
This interrupted the upgrade from karmic to lucid (I'm sorry, I don't have exactly how logged). A manual reinstall attempt at the commandline gave me:
Setting up yaml-mode (0.0.4-2) ... site-start. d/00debian- vars.elc
emacsen-common: Handling install of emacsen flavor emacs
emacsen-common: Handling install of emacsen flavor emacs23
emacsen-common: byte-compiling for emacs23
Wrote /etc/emacs23/
In debian- run-directories : startup. el:131: 25:Warning: `mapcar' called for effect; use `mapc' or emacs23/ site-lisp/ debian- startup. elc install: /usr/lib/ emacsen- common/ packages/ install/ yaml-mode emacs23 emacs23 failed at /usr/lib/ emacsen- common/ emacs-package- install line 30, <TSORT> line 2.
debian-
`dolist' instead
Wrote /usr/share/
install/yaml-mode: Handling install for emacsen flavor emacs23
ln: creating symbolic link `./yaml-mode.el': File exists
emacs-package-
dpkg: error processing yaml-mode (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
yaml-mode
E: Sub-process /usr/bin/dpkg returned an error code (1)
which I'm assuming is the same failure the upgrader hit. Purging and then reinstalling got past this.