tag 671353 +patch
thanks

On Thu, May 03, 2012 at 06:56:13PM +0200, Santiago Vila wrote:
> tags 671353 + help
> thanks
> 
> On Thu, 3 May 2012, Andreas Beckmann wrote:
> 
> > Package: gettext-el
> > Version: 0.18.1.1-6
> > Severity: serious
> > User: debian...@lists.debian.org
> > Usertags: piuparts
> > 
> > Hi,
> > 
> > during a test with piuparts I noticed your package fails to upgrade from
> > 'squeeze'.
> > It installed fine in 'squeeze', then the upgrade to 'sid' fails.
> 
> Thanks for the report.
> 
> I tried to reproduce it on a qemu virtual machine without success.
> Therefore, I'm tagging this as "help" just in case anybody reading this
> is able to explain what's happening here.

Hi, Santiago.

I was having a similar problem when upgrading from testing to sid.

After purging gettext-el and reinstalling, problem completely dissapeared. 
I cannot even reproduce it when upgrading to 0.18.1.1-6 after installing
stable and testing packages, but have a clue about what may be happening.

Looking at the piuparts log, 

-----------------
Setting up emacs23 (23.4+1-3) ...
  emacs-install emacs23
  emacsen-common: Handling install of emacsen flavor emacs23
  emacsen-common: byte-compiling for emacs23
  Wrote /etc/emacs23/site-start.d/00debian-vars.elc
  Wrote /usr/share/emacs23/site-lisp/debian-startup.elc
  install/gettext: Byte-compiling for emacs23
  Wrote /usr/share/emacs23/site-lisp/gettext/po-mode.elc
  Wrote /usr/share/emacs23/site-lisp/gettext/po-compat.elc
  Setting up libgconf2-4:amd64 (3.2.5-1) ...
  Setting up libgomp1:amd64 (4.7.0-6) ...
  Setting up libunistring0:amd64 (0.9.3-5) ...
  Setting up libgettextpo0:amd64 (0.18.1.1-6) ...
  Setting up gettext (0.18.1.1-6) ...
  Setting up libgmp10:amd64 (2:5.0.4+dfsg-1) ...
  Setting up libmpfr4:amd64 (3.1.0-4) ...
  Setting up libdb4.8:amd64 (4.8.30-11) ...
  Setting up libmpc2:amd64 (0.9-4) ...
  Setting up adduser (3.113+nmu1) ...
  Installing new version of config file /etc/deluser.conf ...
  Setting up bsdmainutils (9.0.1) ...
  Setting up debconf-i18n (1.5.42) ...
  Setting up gcc-4.4-base:amd64 (4.4.7-1) ...
  Setting up cpp-4.4 (4.4.7-1) ...
  Setting up gcc-4.6-base:amd64 (4.6.3-4) ...
  Setting up libcap2 (1:2.22-1) ...
  Setting up anthy-common (9100h-10) ...
  Setting up cpp-4.6 (4.6.3-4) ...
  Setting up cpp (4:4.6.3-4) ...
  Setting up libsystemd-login0 (44-1) ...
  Setting up dbus (1.5.12-1) ...
  Installing new version of config file /etc/dbus-1/session.conf ...
  Failed to open connection to "system" message bus: Failed to connect to
  socket /var/run/dbus/system_bus_socket: No such file or directory
  invoke-rc.d: policy-rc.d denied execution of start.
  Setting up gettext-el (0.18.1.1-6) ...
  install/gettext: Byte-compiling for emacs23
  ln: failed to create symbolic link `./po-mode.el': File exists
  emacs-package-install: /usr/lib/emacsen-common/packages/install/gettext-el
  emacs23 emacs23 failed at /usr/lib/emacsen-common/emacs-package-install
  line 30, <TSORT> line 1.
  dpkg: error processing gettext-el (--configure):
   subprocess installed post-installation script returned error exit status 1
  Setting up libanthy0 (9100h-10) ...
-------------------

seems that install/gettext is run twice, one by emacs flavour and other by
gettext-el. Links are already created in first run, so second run complains
and fails. Indeed I think that my problem appeared when upgrading gettext-el
together with emacs-snapshot.

I'd consider either using 'ln -sf' to create those symlinks (my preferred
choice) or check for its presence before creating them.

Regards,

-- 
Agustin



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

Reply via email to