Calculate your site FeedRank Today
FeedRank, a newly developed algorithm for ranking RSS feeds only on RSSMicro
Click here to learn more
 4/10 Good --- www.cyberciti.biz http://feeds.feedburner.com/Nixcraft-LinuxFreebsdSolarisTipsTricks
| This is a Linux sys admin journal by Vivek about sys admin work, Linux tips & tricks, hacks, news and more. ... |
Sunday, May 11, 2008 --- 75 days ago http://feeds.feedburner.com/~r/Nixcraft-LinuxFreebsdSolarisTipsTricks/~3/2882242
|
Here is a quick way to fix half installed packages under Debian / Ubuntu Linux.
If you see an error while removing or installing debian / ubuntu package that read as follows:
(Reading database ... 147148 files and directories currently installed.)
Preparing to replace octopussy 0.9.6.2 (using octopussy_0.9.6.2_all.deb) ...
Unpacking replacement octopussy ...
dpkg: warning - old post-removal script returned error exit status 10
dpkg - trying script from the new package instead ...
dpkg: error processing octopussy_0.9.6.2_all.deb (--install):
subprocess new post-removal script returned error exit status 10
dpkg: error while cleaning up:
subprocess post-removal script returned error exit status 10
Errors were encountered while processing:
octopussy_0.9.6.2_all.deb
In above octopussy package is not getting removed because of script error. Mostly these are shell script written using /bin/sh. These scripts called with -e option which means if not interactive, exit immediately if any untested command fails. The exit status of a command is considered to be explicitly tested if the command is used to control an if, elif, while, or until; or if the command is the left hand operand of an && or || operator. In short shell scripts will abort with an error if something fails. To fix this problem visit /var/lib/dpkg/info directory
# cd /var/lib/dpkg/info
Now find out files in following format:
packagename.*
octop ... |
|
|
Recent Posts
|
|
|
Facebook
Del.icio.us
Digg
StumbleUpon
Reddit
Google