Insserv和LSBbase:在Debian中修复Aptitude?无法安装任何东西,为什么?

时间:2012-09-25 07:02:48

标签: installation debian aptitude

错误报告herehere。说明here建议使用insserv,但我无法安装任何东西,因此无法运行insserv。我该如何解决这个问题?

1 个答案:

答案 0 :(得分:0)

至少在LSBbase,insserve,LSBheaders方面你遇到了问题。我感谢#Debian和Trxmxr帮助我,我让它工作了!

  

<强> 1。拼图

     
    

/etc/init.d/couchdb的标头修复为"+mountall +mountoverflowtmp +umountfs"在local_fs的位置。

  
     

<强> 2。拼图(错误示例here

     
    

通过将Cups的标题复制到Smfpd -samsung-printer-thing /etc/init.d/smfpd来修复LSB -headers问题,记得修改     一点点。更多信息here

  
     

第3。拼图

     
    

使用此命令rc-status修复"sudo touch /etc/rc.status" -thing的错误。

  
     

<强> 4。拼图

     
    

通过与工作系统的比较,Trxmor意识到必须重新安装lsb-base,设置错误here。所以     "$ sudo aptitude reinstall lsb-base"

  

诊断命令

<强> 1。 insserv时

  

根据Trxmxr的说法,尚未做出任何改变以保留其他东西的决定。

     

<强>解释

     
      
  • '$ is a "virtual" target, i.e. not a real startup script but an alias or group of multiple targets'
  •   
  • '+ is an optional member of a group'。这个错误有所帮助   使用Required-Start -thing。
  •   
     

一些命令

     
      
  • $ grep“_fs”/etc/init.d/couchdb

  •   
  • $ head /etc/insserv.conf

  •   

<强> 2。更新和升级

  

如果您遇到错误,请回滚到谜题 - 下面的示例我是如何配置的。

$ wget http://ftp.debian.org/debian/pool/main/i/insserv/insserv_1.14.0-4_i386.deb
$ sudo dpkg -i --force-confdef insserv_1.14.0-4_i386.deb
$ sudo dpkg --configure -a
$ sudo apt-get upgrade