notes

just some notes

1) resolving dpkg-subprocess errors

dpkg: error processing [packagename](--remove):
subprocess pre-removal script returned error exit status 1
Errors were encountered while processing:
[packagename]
dpkg --remove returned error exit status 1.

when neither reinstalling, reconfiguring, and all force variants won't help,
it is possible that something's faulting within the post/pre-install/remove scripts
tweaking the appropriate script may help

to enforce removal of a package;
# $EDITOR /var/lib/dpkg/info/[packagename].prerm

causing premature exit
#!/bin/sh
set -e
exit 0


remove with dpkg

# dpkg --force-all -r [packagename]

2) compiling from an rpm manually
create tgz with alien
# alien -r [packagename].rpm

unpack tgz
# tar xzvf [packagename].tgz ./[packagename]
# cd [packagename]

compile
# make -f [packagename].mk
Permalink
Posted in:

LiveSearch

Blogroll

Relayed

Archive

Buttons

  • RSS 2.0 Feed
  • Latest comments
  • XHTML 1.0 compliant
  • Powered by Flux CMS
  • Powered by Popoon

Login


BXCMSNG Errors:
Notice[8] Undefined index: 0 in [BX_PROJECT_DIR]/inc/bx/plugins/blog/categories.php at line 59.