l i n u x - u s e r s - g r o u p - o f - d a v i s
L U G O D
 
Next Meeting:
August 5: Social gathering
Next Installfest:
TBD
Latest News:
Jul. 4: July, August and September: Security, Photography and Programming for Kids
Page last updated:
2003 May 04 14:01

The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
Re: [vox-tech] debian force removal
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vox-tech] debian force removal



On 2003.05.04 13:22, Peter Jay Salzman wrote:
the following package doesn't seem to want to be removed:

   satan# apt-get remove xfonts-abi
   Reading Package Lists... Done
   Building Dependency Tree... Done
   The following packages will be REMOVED:
     xfonts-abi
   0 packages upgraded, 0 newly installed, 1 to remove and 0  not
upgraded.
   Need to get 0B of archives. After unpacking 504kB will be freed.
   Do you want to continue? [Y/n] y
   (Reading database ... 83243 files and directories currently
installed.)
   Removing xfonts-abi ...
   W: type1: Category not found.
   W: type1: Category not found.
   W: type1: Category not found.
   W: type1: Category not found.
   dpkg: error processing xfonts-abi (--remove):
    subprocess pre-removal script returned error exit status 1
   Errors were encountered while processing:
    xfonts-abi
   E: Sub-process /usr/bin/dpkg returned an error code (1)

looks like it might be a buggy script in the package.

would this be a good a good candidate for "apt-get remove
--force-yes"?

or is there a more graceful way of handling this kind of thing?

pete
--force-yes simply answers yes to any questions (similar to saying
`yes | apt-get remove`).

The usual way to fix an error of this kind is to debug the offending script (located in /var/lib/dpkg/info, in this case the offending script would be /var/lib/dpkg/info/xfonts-abi.prerm

Another way you might look at solving the problem is to use dpkg directly and look at its various --force options, but please consider that this might not be the ideal solution for a Debian system (if you do these things too much, you could start breaking things and eventually require a reinstall)


--
I usually have a GPG digital signature included as an attachment.
If you don't know what it is, either ignore it or visit www.gnupg.org
Fingerprint: D5E2 8839 6ED3 3305 805C 941F 9476 A9BD E2B2 CAD1
The key is keyID E2B2CAD1 on pgp.mit.edu

Attachment: pgp00009.pgp
Description: PGP signature



LinkedIn
LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
facebook
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
O'Reilly and Associates
For numerous book donations.