Bug#392934: [af-dev] Bug#392934: upgrade fails if apt-index-watcher already running

2006-10-15 Thread Enrico Zini
On Sat, Oct 14, 2006 at 12:27:08PM +0200, Sz�kelyi Szabolcs wrote:

 after interrupting apt-get update, restarting the system (thus
 starting apt-index-watcher) and continuing the upgrade fails to
 configure apt-index-watcher:

Thanks for the report.  I'm currently trying to fix all
apt-index-watcher problems by getting rid of apt-index-watcher
altogether: it's been an ugly hack right from the start, and I finally
have a better database reindex strategy implemented in the debtags
available in unstable.

I'm now trying to work so that debtags can move from unstable to testing
ASAP.

Ciao,

Enrico

-- 
GPG key: 1024D/797EBFAB 2000-12-05 Enrico Zini [EMAIL PROTECTED]


signature.asc
Description: Digital signature


Bug#392934: upgrade fails if apt-index-watcher already running

2006-10-14 Thread Sz�kelyi Szabolcs
Package: apt-index-watcher
Version: 0.3.10
Severity: normal

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi,

after interrupting apt-get update, restarting the system (thus
starting apt-index-watcher) and continuing the upgrade fails to
configure apt-index-watcher:

Starting apt index watcher: apt-index-watcherinvoke-rc.d: initscript 
apt-index-watcher, action start failed.
dpkg: error processing apt-index-watcher (--configure):
 subprocess post-installation script returned error exit status 1

This is beacuse the postinst calls 'invoke-rc.d apt-index-watcher
start', but the initscript returns 1 if the daemon is already running.

The initscript should return 0 in this case, (like cron, portmap, atd,
etc. do), or the postinst should call 'invoke-rc.d apt-index-watcher
restart'.

Executing '/etc/init.d/apt-index-watcher stop', followed by 'apt-get
upgrade' fixes the dpkg error.

Bye,
- --
Szabolcs


- -- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15.5
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages apt-index-watcher depends on:
ii  apt [libapt-pkg-libc6.3-6-3. 0.6.46.2Advanced front-end for dpkg
ii  libc62.3.6.ds1-6 GNU C Library: Shared libraries
ii  libgcc1  1:4.1.1-16  GCC support library
ii  libstdc++6   4.1.1-16The GNU Standard C++ Library v3
ii  libtdb1  1.0.6-13Trivial Database - shared library
ii  zlib1g   1:1.2.3-13  compression library - runtime

apt-index-watcher recommends no packages.

- -- no debconf information

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQFFMLt8GJRwVVqzMkMRApnBAJ42KL5gN2TIMeblSFNA6Im/MyzAbwCgpwdY
GZOEBZK2QvoFE/ylyxKfxHw=
=K7Su
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]