tags 422299 moreinfo
thanks

[ Bart-Jan Vrielink ]
> Package: tac-plus
> Version: 1:4.0.4.alpha-14+b1
> Severity: important
> 
> This is what I get during a run of apt-get upgrade:
> 
> The following packages will be upgraded:
>   tac-plus
> 1 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
> Need to get 0B/108kB of archives.
> After unpacking 0B of additional disk space will be used.
> Do you want to continue [Y/n]?
> (Reading database ... 45174 files and directories currently installed.)
> Preparing to replace tac-plus 1:4.0.4.alpha-14 (using
> .../tac-plus_1%3a4.0.4.alpha-14+b1_i386.deb) ...
> Stopping Tacacs+ server: tac_plus.
> /var/lib/dpkg/tmp.ci/preinst: 63: 64005: not found
> 
> Error!
> The user and group tac-plus or tacacs was not created by this package,
> so you must check and change that manually before this package can be
> installed.
> 
> dpkg: error processing
> /var/cache/apt/archives/tac-plus_1%3a4.0.4.alpha-14+b1_i386.deb (--unpack):
>  subprocess pre-installation script returned error exit status 1
> Starting Tacacs+ server: tac_plus.
> Errors were encountered while processing:
>  /var/cache/apt/archives/tac-plus_1%3a4.0.4.alpha-14+b1_i386.deb
> E: Sub-process /usr/bin/dpkg returned an error code (1)
> 
> This is not correct, as I myself have not created this user, and I have no
> reason to believe any other debian package have done it, except for previous
> versions of tac-plus (I'm upgrading from 1:4.0.4.alpha-14).

The current package creates a user named `tacacs', but it looks like past 
versions may have used `tac-plus', can you check your system and tell me
which user you have, and what the uid and gid is?

> [EMAIL PROTECTED]:~# getent passwd tacacs
> tacacs:x:64005:64005::/home/tacacs:/bin/false
> [EMAIL PROTECTED]:~# getent group tacacs
> tacacs:x:64005:
> [EMAIL PROTECTED]:~# 
> 
> PS. Why /home?

That's a good question; I'm not sure. FWIW, it doesn't actually create
the directory.

> -- System Information:
> Debian Release: lenny/sid
>   APT prefers unstable
>   APT policy: (500, 'unstable')
> Architecture: i386 (i686)
> 
> Kernel: Linux 2.6.19-spiderwebs (SMP w/2 CPU cores)
> Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
> Shell: /bin/sh linked to /bin/dash

-- 
Eric Evans
[EMAIL PROTECTED]

Attachment: signature.asc
Description: Digital signature

Reply via email to