如何在不安装软件包的情况下获取有关软件包的一些详细信息(例如,描述和版本号),例如在 Synaptic 或 Aptitude 中。命令
dpkg -s PACKAGE
Run Code Online (Sandbox Code Playgroud)
不起作用,出现此错误。不过,它适用于已安装的软件包
dpkg-query: package 'PACKAGE' is not installed and no information is available
Run Code Online (Sandbox Code Playgroud) 我一直想知道它的用途是什么,但我发现关于它的文档很少。
1- -dbg包的真正用途是什么?
2-至少为我喜欢的应用程序/包安装它们是个好/坏主意吗?
3- 为我喜欢的应用程序/包安装它们是否有助于开发人员调试我可能遇到的错误?
package-management debug debugging application-development package-info
今天下午我在 Starbucks 坐下来做一些工作(Ubuntu 12.04 Desktop x64),并在系统托盘中得到了一个红圈白线错误图标,通知一个包错误。此外,apt、aptitude、update-manager 和 synaptic 都因此无法启动。
仔细一看,错误是:
> sudo aptitude install mmv
[sudo] password for kurtosis:
[ ERR] Reading package lists
E: Encountered a section with no Package: header
E: Problem with MergeList /var/lib/apt/lists/linux.dropbox.com_ubuntu_dists_precise_main_binary-i386_Packages
E: The package lists or status file could not be parsed or opened.
[ ERR] Reading package lists
E: Encountered a section with no Package: header
E: Problem with MergeList /var/lib/apt/lists/linux.dropbox.com_ubuntu_dists_precise_main_binary-i386_Packages
E: The package lists or status file could not be parsed or …
Run Code Online (Sandbox Code Playgroud) 给定两台机器:
哪个工具最好输出一个“集合”,类似diff
安装包的视图: