[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#512903: tex-common - Fails on purge: subprocess post-removal script returned error exit status 20



reassign 512903 ucf
thanks

Ralf Stubner <ralf.stubner@web.de> wrote:

> which is also allowed besides the above mentioned syntax. Looks like
> there is still a problem on ucf's side, esspecially since these parts
> of tex-common have not changed for years.

Yes, there's still a problem with ucf:

$ sudo /usr/sbin/cowbuilder --login
 -> Copying COW directory
 -> Invoking pbuilder
W: /home/frank/.pbuilderrc does not exist
 -> Running in no-targz mode
 -> copying local configuration
 -> mounting /proc filesystem
 -> mounting /dev/pts filesystem
 -> policy-rc.d already exists
Obtaining the cached apt archive contents
 -> entering the shell
root@riesling:/# apt-get install ucf
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following NEW packages will be installed:
  ucf
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/63.8kB of archives.
After this operation, 262kB of additional disk space will be used.
Preconfiguring packages ...
Selecting previously deselected package ucf.
(Reading database ... 11709 files and directories currently installed.)
Unpacking ucf (from .../archives/ucf_3.0013_all.deb) ...
Moving old data out of the way
Processing triggers for man-db ...
Setting up ucf (3.0013) ...
root@riesling:/# cat > test.cnf
bla
blubber
root@riesling:/# ucf test.cnf /etc/test.cnf

Creating config file /etc/test.cnf with new version
root@riesling:/# ucf --purge /etc/test.cnf
*** ERROR: Need exactly two arguments, got 1

Debian GNU/Linux ucf $Revision: 1.26 $.
           Copyright (C) 2002-2005 Manoj Srivastava.
This is free software; see the GNU General Public Licence for copying
conditions.  There is NO warranty.

Usage: ucf  [options] new_file  destination
Options:
     -h,     --help          print this message
     -s foo, --src-dir  foo  Set the src dir (historical md5sums live here)
             --sum-file bar  Force the historical md5sums to be read from
                             this file.  Overrides any setting of --src-dir.
     -d [n], --debug    [n]  Set the Debug level to N
     -n,     --no-action     Dry run. No action is actually taken.
     -v,     --verbose       Make the script verbose
             --three-way     Register this file in the cache, and turn on the
                             diff3 option allowing the merging of maintainer
                             changes into a (potentially modified) local 
                             configuration file. )
             --state-dir bar Set the state directory to bar instead of the
                             default '/var/lib/ucf'. Used mostly for testing.
             --debconf-ok    Indicate that it is ok for uct to use an already
                             running debconf instance for prompting.
             --debconf-template bar
                             Specify an alternate, caller-provided debconf
                             template to use for prompting.
Usage: ucf  -p  destination
     -p,     --purge         Remove any reference to destination from records

By default, the directory the new_file lives in is assumed to be the src-dir,
which is where we look for any historical md5sums.

root@riesling:/# 

Regards, Frank

-- 
Frank Küster
Debian Developer (TeXLive)
VCD Aschaffenburg-Miltenberg, ADFC Miltenberg
B90/Grüne KV Miltenberg



Reply to: