当前时区为 UTC + 8 小时



发表新帖 回复这个主题  [ 8 篇帖子 ] 
作者 内容
1 楼 
 文章标题 : [问题]因为删除文件,不能先移除包(apt-get remove),怎么办
帖子发表于 : 2008-01-31 0:59 

注册: 2008-01-20 22:27
帖子: 54
送出感谢: 0 次
接收感谢: 0 次
我删除了/etc/texmf的目录,所以 tex没有正确删除,现在装什么也装不起来了

提示如下

update-updmap: cannot read /etc/texmf/updmap.d/00updmap.cfg


这种情况怎么办?


页首
 用户资料  
 
2 楼 
 文章标题 :
帖子发表于 : 2008-01-31 9:16 
头像

注册: 2005-08-14 21:55
帖子: 58428
地址: 长沙
送出感谢: 4
接收感谢: 272
aptitude remove

反正最终还可以dselect卸载。


_________________
● 鸣学


页首
 用户资料  
 
3 楼 
 文章标题 :
帖子发表于 : 2008-01-31 16:41 

注册: 2008-01-20 22:27
帖子: 54
送出感谢: 0 次
接收感谢: 0 次
eexpress 写道:
aptitude remove

反正最终还可以dselect卸载。


我试了,可是还是不行
Removing tetex-base ...
update-language: cannot read /etc/texmf/language.d/00tex.cnf
dpkg: error processing tetex-base (--remove):
subprocess post-removal script returned error exit status 1
Errors were encountered while processing:
tetex-extra
tetex-base


提示如上。


怎么办呢?


页首
 用户资料  
 
4 楼 
 文章标题 :
帖子发表于 : 2008-01-31 17:31 
头像

注册: 2006-07-02 11:16
帖子: 12522
地址: 廣州
送出感谢: 0 次
接收感谢: 8
先reinstall 一次


_________________
^_^ ~~~
要理解递归,首先要理解递归。

地球人都知道,理论上,理论跟实际是没有差别的,但实际上,理论跟实际的差别是相当大滴。


页首
 用户资料  
 
5 楼 
 文章标题 :
帖子发表于 : 2008-01-31 21:19 

注册: 2008-01-20 22:27
帖子: 54
送出感谢: 0 次
接收感谢: 0 次
BigSnake.NET 写道:
先reinstall 一次


一样的错误提示,如下。有没有什么办法,直接改已经安装软件的列表呀。因为这个问题,每次装程序时都要验证一下,这个不解决,其它的软件都不能apt-get 装了,我现在只能用源码装软件。

代码:
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Reading extended state information       
Initializing package states... Done
Building tag database... Done     
The following packages will be REINSTALLED:
  tetex-base tetex-extra
0 packages upgraded, 0 newly installed, 2 reinstalled, 0 to remove and 0 not upgraded.
Need to get 0B of archives. After unpacking 0B will be used.
Writing extended state information... Done
Setting up tex-common (0.25) ...
Not replacing deleted config file /etc/texmf/texmf.d/05TeXMF.cnf
Not replacing deleted config file /etc/texmf/texmf.d/15Plain.cnf
Not replacing deleted config file /etc/texmf/texmf.d/45TeXinputs.cnf
Not replacing deleted config file /etc/texmf/texmf.d/55Fonts.cnf
Not replacing deleted config file /etc/texmf/texmf.d/65BibTeX.cnf
Not replacing deleted config file /etc/texmf/texmf.d/75DviPS.cnf
Not replacing deleted config file /etc/texmf/texmf.d/85Misc.cnf
Not replacing deleted config file /etc/texmf/texmf.d/90TeXDoc.cnf
Not replacing deleted config file /etc/texmf/texmf.d/95NonPath.cnf
Not replacing deleted config file /etc/texmf/updmap.d/00updmap.cfg
update-texmf: Basic configuration file /etc/texmf/texmf.d/05TeXMF.cnf missing.
Exiting.
dpkg: error processing tex-common (--configure):
 subprocess post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of tetex-base:
 tetex-base depends on tex-common (>= 0.12); however:
  Package tex-common is not configured yet.
dpkg: error processing tetex-base (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of tetex-bin:
 tetex-bin depends on tetex-base (>= 3.0-4); however:
  Package tetex-base is not configured yet.
dpkg: error processing tetex-bin (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of tetex-extra:
 tetex-extra depends on tetex-base (>= 3.0-11); however:
  Package tetex-base is not configured yet.
 tetex-extra depends on tetex-bin (>= 2.99); however:
  Package tetex-bin is not configured yet.
dpkg: error processing tetex-extra (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of texlive-common:
 texlive-common depends on tex-common (>= 0.12); however:
  Package tex-common is not configured yet.
dpkg: error processing texlive-common (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 tex-common
 tetex-base
 tetex-bin
 tetex-extra
 texlive-common
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install.  Trying to recover:
Setting up tex-common (0.25) ...
Not replacing deleted config file /etc/texmf/texmf.d/05TeXMF.cnf
Not replacing deleted config file /etc/texmf/texmf.d/15Plain.cnf
Not replacing deleted config file /etc/texmf/texmf.d/45TeXinputs.cnf
Not replacing deleted config file /etc/texmf/texmf.d/55Fonts.cnf
Not replacing deleted config file /etc/texmf/texmf.d/65BibTeX.cnf
Not replacing deleted config file /etc/texmf/texmf.d/75DviPS.cnf
Not replacing deleted config file /etc/texmf/texmf.d/85Misc.cnf
Not replacing deleted config file /etc/texmf/texmf.d/90TeXDoc.cnf
Not replacing deleted config file /etc/texmf/texmf.d/95NonPath.cnf
Not replacing deleted config file /etc/texmf/updmap.d/00updmap.cfg
update-texmf: Basic configuration file /etc/texmf/texmf.d/05TeXMF.cnf missing.
Exiting.
dpkg: error processing tex-common (--configure):
 subprocess post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of tetex-base:
 tetex-base depends on tex-common (>= 0.12); however:
  Package tex-common is not configured yet.
dpkg: error processing tetex-base (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of texlive-common:
 texlive-common depends on tex-common (>= 0.12); however:
  Package tex-common is not configured yet.
dpkg: error processing texlive-common (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of tetex-bin:
 tetex-bin depends on tetex-base (>= 3.0-4); however:
  Package tetex-base is not configured yet.
dpkg: error processing tetex-bin (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of tetex-extra:
 tetex-extra depends on tetex-base (>= 3.0-11); however:
  Package tetex-base is not configured yet.
 tetex-extra depends on tetex-bin (>= 2.99); however:
  Package tetex-bin is not configured yet.
dpkg: error processing tetex-extra (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 tex-common
 tetex-base
 texlive-common
 tetex-bin
 tetex-extra


页首
 用户资料  
 
6 楼 
 文章标题 :
帖子发表于 : 2008-02-01 8:55 

注册: 2008-01-20 22:27
帖子: 54
送出感谢: 0 次
接收感谢: 0 次
哪位能提出个解决办法呀?我可是夜里两点在等呀。


页首
 用户资料  
 
7 楼 
 文章标题 :
帖子发表于 : 2008-02-01 10:12 

注册: 2008-01-20 22:27
帖子: 54
送出感谢: 0 次
接收感谢: 0 次
有人吗


页首
 用户资料  
 
8 楼 
 文章标题 :
帖子发表于 : 2008-02-01 10:37 
头像

注册: 2005-08-14 21:55
帖子: 58428
地址: 长沙
送出感谢: 4
接收感谢: 272
deselect吧。注意安全。先看帮助。万事搞定。

其实,估计你应该用apt-get -f 操作。或者先update下。可能列表搞乱了。
还可以删除/var/cacahe/apt下的2个列表文件,再update重建。


_________________
● 鸣学


页首
 用户资料  
 
显示帖子 :  排序  
发表新帖 回复这个主题  [ 8 篇帖子 ] 

当前时区为 UTC + 8 小时


在线用户

正在浏览此版面的用户:Exabot [Bot] 和 4 位游客


不能 在这个版面发表主题
不能 在这个版面回复主题
不能 在这个版面编辑帖子
不能 在这个版面删除帖子
不能 在这个版面提交附件

前往 :  
本站点为公益性站点,用于推广开源自由软件,由 DiaHosting VPSBudgetVM VPS 提供服务。
我们认为:软件应可免费取得,软件工具在各种语言环境下皆可使用,且不会有任何功能上的差异;
人们应有定制和修改软件的自由,且方式不受限制,只要他们自认为合适。

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
简体中文语系由 王笑宇 翻译