当前时区为 UTC + 8 小时



发表新帖 回复这个主题  [ 25 篇帖子 ]  前往页数 1, 2  下一页
作者 内容
1 楼 
 文章标题 : dpkg坏啦!高手救我啊!
帖子发表于 : 2010-07-05 3:15 
头像

注册: 2008-09-28 17:24
帖子: 1989
送出感谢: 6
接收感谢: 14
整个事情是这样:
我tex的hyperref包对有些文档目录乱码有些正常,于是换个最新版的hyperref,结果自然因为不匹配2009失败。只能重装源里的。
重装后发现它没有把09版的hyperref装上,还是自己换的那个新版。装了卸,卸了装,总是老样子。
然后去/目录的子目录下面手动把跟tex有关的文件夹全删了。
现在想再装dpkg就error code 1
:em21

rm /var/lib/dpkg/info/texlive* texmaker* 我已经试过了,不行。还缺以下很多包,我印象中好像是/lib里的。
引用:
dpkg: warning: files list file for package `tex-common' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `texlive-extra-utils' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `texlive-latex-extra' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `texlive-xetex' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `texlive-common' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `texlive-latex-base-doc' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `texlive-font-utils' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `texlive-fonts-recommended-doc' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `texlive-latex-base' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `texlive-pstricks' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `texlive-latex-recommended' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `texlive-latex-recommended-doc' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `texlive-bibtex-extra' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `texlive-binaries' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `texlive-pictures-doc' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `texlive-pictures' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `texlive-fonts-recommended' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `texlive-pstricks-doc' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `texmaker-data' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `texlive-doc-base' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `texlive-generic-recommended' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `texmaker' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `texlive-luatex' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `texlive-base' missing, assuming package has no files currently installed.
(Reading database ... 142423 files and directories currently installed.)
Removing texmaker ...
Setting up asymptote (1.88-2) ...
update-updmap: cannot read /etc/texmf/updmap.d/00updmap.cfg
dpkg: error processing asymptote (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
asymptote
E: Sub-process /usr/bin/dpkg returned an error code (1)


_________________
latex 是个命令集,不是软件,所以在应用程序里找不到,也不存在启动。使用的话,自己写个 .tex 的文件,用 latex 编译。http://forum.ubuntu.com.cn/viewtopic.php?f=35&t=331555 的 4楼 有入门教程PDF下载。


页首
 用户资料  
 
2 楼 
 文章标题 : Re: dpkg坏啦!高手救我啊!
帖子发表于 : 2010-07-05 8:50 
头像

注册: 2010-04-01 19:55
帖子: 1017
地址: 哪里来着……哪里来着……忘记了……
送出感谢: 0 次
接收感谢: 0 次
重装-v-~

我自己的重装方法:
备份/var/cache/apt/archives/

进入安装程序->手动分区->把挂载点按照原来的样子重新分配->把root的格式化的内个框打上挑->安装

进入系统
导回/var/cache/apt/archives/
重启


_________________
首先,麻烦管理员把这个号和小号删了。其次,我的事情和封号半分钱关系没有,不要什么事情都联想到一起。没啥可写的了,祝好人一生平安吧。
Don.e
2010年7月23日


页首
 用户资料  
 
3 楼 
 文章标题 : Re: dpkg坏啦!高手救我啊!
帖子发表于 : 2010-07-05 9:11 

注册: 2006-11-08 16:33
帖子: 286
送出感谢: 0 次
接收感谢: 0 次
leni 写道:
整个事情是这样:
我tex的hyperref包对有些文档目录乱码有些正常,于是换个最新版的hyperref,结果自然因为不匹配2009失败。只能重装源里的。
重装后发现它没有把09版的hyperref装上,还是自己换的那个新版。装了卸,卸了装,总是老样子。
然后去/目录的子目录下面手动把跟tex有关的文件夹全删了。
现在想再装dpkg就error code 1
:em21

rm /var/lib/dpkg/info/texlive* texmaker* 我已经试过了,不行。还缺以下很多包,我印象中好像是/lib里的。
引用:
dpkg: warning: files list file for package `tex-common' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `texlive-extra-utils' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `texlive-latex-extra' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `texlive-xetex' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `texlive-common' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `texlive-latex-base-doc' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `texlive-font-utils' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `texlive-fonts-recommended-doc' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `texlive-latex-base' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `texlive-pstricks' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `texlive-latex-recommended' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `texlive-latex-recommended-doc' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `texlive-bibtex-extra' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `texlive-binaries' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `texlive-pictures-doc' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `texlive-pictures' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `texlive-fonts-recommended' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `texlive-pstricks-doc' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `texmaker-data' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `texlive-doc-base' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `texlive-generic-recommended' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `texmaker' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `texlive-luatex' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `texlive-base' missing, assuming package has no files currently installed.
(Reading database ... 142423 files and directories currently installed.)
Removing texmaker ...
Setting up asymptote (1.88-2) ...
update-updmap: cannot read /etc/texmf/updmap.d/00updmap.cfg
dpkg: error processing asymptote (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
asymptote
E: Sub-process /usr/bin/dpkg returned an error code (1)


不用重装,很容易搞好,但是就是不告诉你 :em02


页首
 用户资料  
 
4 楼 
 文章标题 : Re: dpkg坏啦!高手救我啊!
帖子发表于 : 2010-07-05 9:28 
头像

注册: 2005-08-14 21:55
帖子: 58428
地址: 长沙
送出感谢: 4
接收感谢: 274
这家伙,我有万能的方法,也不告诉你。
:em04


_________________
● 鸣学


页首
 用户资料  
 
5 楼 
 文章标题 : Re: dpkg坏啦!高手救我啊!
帖子发表于 : 2010-07-05 9:33 
头像

注册: 2008-11-21 20:26
帖子: 36913
送出感谢: 1
接收感谢: 36
不能重装dpkg?
这年头连阿姨也靠不住了


_________________
讨厌我的人可以试着点一下
浏览全部ubuntu技巧


页首
 用户资料  
 
6 楼 
 文章标题 : Re: dpkg坏啦!高手救我啊!
帖子发表于 : 2010-07-05 9:38 
头像

注册: 2008-03-25 15:49
帖子: 25877
地址: 谁知道?
送出感谢: 8
接收感谢: 10
:em03 啥坏都行 就怕 dpkg坏了不行 姜女


页首
 用户资料  
 
7 楼 
 文章标题 : Re: dpkg坏啦!高手救我啊!
帖子发表于 : 2010-07-05 10:10 
头像

注册: 2007-04-14 11:17
帖子: 1063
送出感谢: 0 次
接收感谢: 3
妈的,怎么现在坛子里的人都这么扯蛋了?!?


dpkg-reconfigure 包名
apt-get install -f

自己研究一下吧,我也忘记我是怎么解决的了,反正就是不用重装!!!


页首
 用户资料  
 
8 楼 
 文章标题 : Re: dpkg坏啦!高手救我啊!
帖子发表于 : 2010-07-05 16:17 
头像

注册: 2008-09-28 17:24
帖子: 1989
送出感谢: 6
接收感谢: 14
dwl301 写道:
妈的,怎么现在坛子里的人都这么扯蛋了?!?


dpkg-reconfigure 包名
apt-get install -f

自己研究一下吧,我也忘记我是怎么解决的了,反正就是不用重装!!!


谢谢你。(上面那两家伙居然幸灾乐祸 :em44

我试了
sudo dpkg-reconfigure texmaker
sudo dpkg-reconfigure texlive-xetex
sudo apt-get install -f
问题还是没有解决

引用:
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
Setting up asymptote (1.88-2) ...
update-updmap: cannot read /etc/texmf/updmap.d/00updmap.cfg
dpkg: error processing asymptote (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
asymptote
E: Sub-process /usr/bin/dpkg returned an error code (1)


_________________
latex 是个命令集,不是软件,所以在应用程序里找不到,也不存在启动。使用的话,自己写个 .tex 的文件,用 latex 编译。http://forum.ubuntu.com.cn/viewtopic.php?f=35&t=331555 的 4楼 有入门教程PDF下载。


页首
 用户资料  
 
9 楼 
 文章标题 : Re: dpkg坏啦!高手救我啊!
帖子发表于 : 2010-07-05 16:39 
头像

注册: 2005-12-07 0:17
帖子: 476
地址: 昆明
送出感谢: 0 次
接收感谢: 0 次
我试过了,这个方法可行。


http://hi.baidu.com/bookpage/blog/item/ ... 3c13a.html


_________________
Two wrongs do not make a right.
blog: http://hi.baidu.com/bookpage


页首
 用户资料  
 
10 楼 
 文章标题 : Re: dpkg坏啦!高手救我啊!
帖子发表于 : 2010-07-05 16:42 
头像

注册: 2008-09-28 17:24
帖子: 1989
送出感谢: 6
接收感谢: 14
suncanoe 写道:
我试过了,这个方法可行。


http://hi.baidu.com/bookpage/blog/item/ ... 3c13a.html

我之前也搜到过这个方法,但是不行。


_________________
latex 是个命令集,不是软件,所以在应用程序里找不到,也不存在启动。使用的话,自己写个 .tex 的文件,用 latex 编译。http://forum.ubuntu.com.cn/viewtopic.php?f=35&t=331555 的 4楼 有入门教程PDF下载。


页首
 用户资料  
 
11 楼 
 文章标题 : Re: dpkg坏啦!高手救我啊!
帖子发表于 : 2010-07-05 19:20 
头像

注册: 2008-03-25 15:49
帖子: 25877
地址: 谁知道?
送出感谢: 8
接收感谢: 10
其实ls的方法应该是惟一的
只是你越操作越乱


页首
 用户资料  
 
12 楼 
 文章标题 : Re: dpkg坏啦!高手救我啊!
帖子发表于 : 2010-07-05 20:33 
头像

注册: 2008-09-28 17:24
帖子: 1989
送出感谢: 6
接收感谢: 14
tenzu 写道:
不能重装dpkg?
这年头连阿姨也靠不住了

这样重装吗?
代码:
apt-get update
sudo apt-get remove dpkg --purge
sudo apt-get install dpkg


_________________
latex 是个命令集,不是软件,所以在应用程序里找不到,也不存在启动。使用的话,自己写个 .tex 的文件,用 latex 编译。http://forum.ubuntu.com.cn/viewtopic.php?f=35&t=331555 的 4楼 有入门教程PDF下载。


页首
 用户资料  
 
13 楼 
 文章标题 : Re: dpkg坏啦!高手救我啊!
帖子发表于 : 2010-07-05 20:34 
头像

注册: 2008-03-25 15:49
帖子: 25877
地址: 谁知道?
送出感谢: 8
接收感谢: 10
美女.
apt-get 调用的是dpkg 你觉着可行 :roll:


页首
 用户资料  
 
14 楼 
 文章标题 : Re: dpkg坏啦!高手救我啊!
帖子发表于 : 2010-07-05 20:37 
头像

注册: 2008-09-28 17:24
帖子: 1989
送出感谢: 6
接收感谢: 14
我也怀疑呢


_________________
latex 是个命令集,不是软件,所以在应用程序里找不到,也不存在启动。使用的话,自己写个 .tex 的文件,用 latex 编译。http://forum.ubuntu.com.cn/viewtopic.php?f=35&t=331555 的 4楼 有入门教程PDF下载。


页首
 用户资料  
 
15 楼 
 文章标题 : Re: dpkg坏啦!高手救我啊!
帖子发表于 : 2010-07-05 20:39 
头像

注册: 2008-03-25 15:49
帖子: 25877
地址: 谁知道?
送出感谢: 8
接收感谢: 10
我记得是在一个dpkg.0.old 那啥文件里面的信息清除的 或者复制还原的
你清除的居然是 info/文件夹目录下的 难道 现在变了?

你还居然rm 不知道先用mv 或先备份一下?


页首
 用户资料  
 
显示帖子 :  排序  
发表新帖 回复这个主题  [ 25 篇帖子 ]  前往页数 1, 2  下一页

当前时区为 UTC + 8 小时


在线用户

正在浏览此版面的用户:没有注册用户 和 4 位游客


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

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

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