易截截图软件、单文件、免安装、纯绿色、仅160KB

Linux某些软件无法卸载问题

前几天更新ubuntu的时候,突然失败,仔细一看,是卸载老版本的gzip时候出了问题。错误信息:
install-info: No dir file specified; try --help for more information.
试了多个常用的手动卸载方法都没法搞定,于是求助google,很快找到答案。是GNU版的install-info代替了debian版的install-info造成的问题,覆盖回来就OK了。
不过作者分析问题的方法很值得学习,原文在blogspot上,所以全文转载之。
http://naveendageek.blogspot.com/2009/03/install-info-no-dir-file-specified-try.html
First, the problem.
I was trying to do sudo apt-get upgrade when it stopped on me giving this error
Setting up findutils (4.4.0-3) ...
install-info: No dir file specified; try --help for more information.
dpkg: error processing findutils (--configure):
subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
findutils
W: No priority (or zero) specified for pin
E: Sub-process /usr/bin/dpkg returned an error code (1)
Well, I tried googling it up, without considerable success. Finally, I found this on Debian Bug report logs.
Apparently, there are packages named install-info. One, a GNU version, another, a Debian provided package.
The-Matrix% whereis install-info
install-info: /usr/sbin/install-info /usr/local/bin/install-info /usr/share/man/man8/install-info.8.gz
The-Matrix% /usr/sbin/install-info --version
Debian install-info version 1.14.25.
Copyright (C) 1994,1995 Ian Jackson.
This is free software; see the GNU General Public Licence version 2 or
later for copying conditions. There is NO warranty.
The-Matrix% /usr/local/bin/install-info --version
install-info (GNU texinfo) 4.13
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
And they have problems. The idea of replacing the Debian's version with the GNU's has been forwarded, but I'm not sure of the progress. For all I care, t


相关文档:

Linux中select函数学习及实例笔记

Unix中的函数select和poll用来,支持Unix中I/O复用的功能,在Unix中I/O模型可以分为以一几种:
(1)阻塞I/O
(2)非阻塞I/O
(3)I/O复用(select和poll)
(4)信号驱动I/O(SIGIO)
(5)异步I/O
   其中,现在比较流行的I/O模型是阻塞I/O模型.阻塞I/O是当应用程序和内核交换数据时,由于内核还没有准备好 ......

用SVN同VMWARE上的Linux共享代码开发

LINUX(运行在VWMARE)上自带的SVN,Windows上装的是TortoiseSVN-1.6.7.18415-win32-svn-1.6.9.msi。
在Linux上配置SNV。
1、创建repository。
> svnadmin create /myhome/svnhome/project
其中svnhome是放svn的目录,下一级是不同的repository名。
2、准备好源代码。按下列目录排好。
project/branches
project/ ......

LINUX 错误代码 errno

下面这个例子列出了所有系统定义的错误代码及错误描述
源代码是:
/************关于本文档********************************************
*filename: strerror.c
*purpose: 列出了系统定义的所有错误代码及描述
*wrote by: zhoulifa(zhoulifa@163.com) 周立发(http://zhoulifa.bokee.com)
Linux爱好者 Linux知识传播 ......

linux内核移植s3c2410,移植正式开始2

内核启动的现在已经是开始执行函数start_kernel函数了。start_kernel函数在init/main.c中定义。start_kernel函数只是完成
相应的结构的初始化任务。
    printk(KERN_NOTICE);
    printk(linux_banner);
    setup_arch(&command_line);
在uboot的一直过程中,uboo ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号