Tag: 包管理

“在修复软件包目录之前,无法安装或删除项目。”

我刚刚在10.04上安装了Ubuntu 12.04。 在我尝试运行更新之前,它似乎没问题。 当我启动软件中心时,我收到以下错误消息: 在修复包目录之前,无法安装或删除项目。 你想现在修理吗? Update Manager完成修复后,您可以关闭它并返回到商店。 所以我点击修复然后我得到这个消息: 包装操作失败 安装或删除软件包失败。 所以我点击OK ,它会回到第一条错误消息 它只是继续重复这两个消息。 我如何解决任何破碎的问题? 我回顾了类似问题的答案。 我尝试了该链接中的建议,但它们没有用。 我试图发布结果,但是,对于这个系统的新手,我不允许发布超过2个链接。 然而,似乎问题的症结在于: (Reading database … 742676 files and directories currently installed.) Removing libxml-libxml-perl … /var/lib/dpkg/info/libxml-libxml-perl.prerm: 11: /var/lib/dpkg/info/libxml-libxml-perl.prerm: update-perl-sax-parsers: not found dpkg: error processing libxml-libxml-perl (–remove): subprocess installed pre-removal script returned error exit status 127 Errors were encountered while […]

MergeList问题/var/lib/apt/lists/ppa.launchpad.net_gwibber-daily_ppa_ubuntu_dists_precise_main_i18n_Translation-en

我使用ubuntu 12.04 LTS。 一切都很好。 但是每当我尝试安装它显示的东西时,突然从昨天开始: Reading package lists… Error! E: Encountered a section with no Package: header E: Problem with MergeList /var/lib/apt/lists/ppa.launchpad.net_gwibber-daily_ppa_ubuntu_dists_precise_main_i18n_Translation-en E: The package lists or status file could not be parsed or opened. 当我尝试运行Synaptic Package Manager时,它显示: An unresolvable problem occurred while initializing the package information. 请针对’update-manager’包报告此错误,并包含以下错误消息: ‘E:Encountered a section with no Package: header, […]

使用下载的升级包从一台笔记本电脑到另一台

可能重复: 如何在没有Internet(离线)的情况下安装软件或软件包? 我已经在我的一台笔记本电脑上将Ubuntu 11.10(amd64)升级到12.04(amd64),我有另一台笔记本电脑也在运行11.10(amd64)我想使用第二台笔记本电脑上第一台笔记本电脑上下载的软件包两个都有Ubuntu 12.04我检查了第一台笔记本电脑(现在运行12.04)下载的升级版本位于/var/cache/apt/archives 我已经为从笔记本电脑1到笔记本电脑2的那些包做了一个sftp。 在笔记本电脑2上,我尝试将这些包文件放入/var/apt/cache/archives 然后只是启动升级过程do-release-upgrade ,不幸的是这不起作用而不是从中挑选包 /var/cache/apt/archives 它有点像 http://us.archive.ubuntu.com/ubuntu/ precise/main qemu-utils amd64 1.0+noroms-0ubuntu13 [353 kB] 等等正在下载的东西, 现在我想知道的是我如何确保do-release-upgrade在我的笔记本电脑中使用这些并且不会下载700 MB的更新,因为这将需要8-10个小时,所以我想利用升级在其中一个系统上升级过程中下载。 如果在这种情况下有办法让我知道。

apt-get unmet依赖项

当我尝试使用apt安装任何软件包时,我得到以下结果: sudo apt-get -f install nmap : Reading package lists… Done Building dependency tree Reading state information… Done You might want to run ‘apt-get -f install’ to correct these: The following packages have unmet dependencies. nmap : Depends: liblinear3 (>= 2.01+dfsg) but it is not going to be installed Depends: lua-lpeg but it is not […]

在UBUNTU上安装RANCID

请原谅我的无知,因为我不是UBUNTU专家。 我是思科工程师。 我正在尝试通过发出sudo apt-get install rancid来安装RANCID。 我得到一个无法找到包RANCID。 所以我想我会在本地下载tar文件,解压缩并以这种方式安装它。 我能够成功提取,但在尝试发出./configure时,它告诉我无法找到MAKE。 我看到MAKE在build-essentials中,所以我下载,解压缩并尝试安装build,但它告诉我安装dpkg存在依赖性。 我下载并提取了dpkg,但是在尝试安装时,它告诉我没有找到ac编译器,这是在build-essentials安装中。 我已经进行了更新,所以我有点迷失在哪里。 如果有人可以提供帮助,我们将不胜感激。 谢谢!

如何在libertine容器中安装seafile

我想在我的libertine容器中安装seafile客户端。 首先,我添加了ppa: libertine-container-manager configure -a “ppa:seafile/seafile-client” -i myContainerID 然后我更新: libertine-container-manager update -i myContainerID 最后我尝试安装seafile-gui和seafile-cli: libertine-container-manager install-package –id myContainerID –package seafile-gui libertine-container-manager install-package –id myContainerID –package seafile-cli 但我只是得到错误“E:无法找到包seafile-gui” 我现在尝试在默认容器中直接执行app-apt-repository,这是我的example-container: libertine-container-manager exec -c “add-apt-repository ppa:seafile/seafile-client”嗯,这个命令因以下错误而停止: mktemp: failed to create directory via template ‘/run/user/32011/confined/com.ubuntu.terminal/tmp.XXXXXXXXXX’: No such file or directory

apt-get命令是否被逐步淘汰?

现在可以在Ubuntu中使用apt命令和apt-get命令。 为了回答关于Ask Ubuntu的问题,我被告知apt-get很快就会被弃用。 这是真的,是否有任何正式的时间表来逐步取消apt-get ?

如何在Ubuntu MATE 18.04 LTS上安装x-tile?

在以前的版本中, x-tile被打包为官方包 ,但是18.04 LTS没有这样的包。 如何在Ubuntu MATE 18.04 LTS上安装x-tile ?

安装未使用麦迪逊列出的特定版本版本

我正在尝试安装特定版本的CrateDB,例如: $sudo apt-get -s install crate=2.1.8-1~wheezy 但是找不到这个包裹。 运行’apt-cache madison’只显示最新版本: $sudo apt-cache madison crate crate | 2.2.3-1~wheezy | https://cdn.crate.io/downloads/apt/stable wheezy/main amd64 Packages crate | 2.2.3-1~wheezy | https://cdn.crate.io/downloads/apt/stable wheezy/main i386 Packages sources.list中的Crate.io存储库: deb https://cdn.crate.io/downloads/apt/stable/ wheezy main deb-src https://cdn.crate.io/downloads/apt/stable/ wheezy main 所有实际可用的版本(包括2.1.8-1~woezy): https ://cdn.crate.io/downloads/apt/stable/pool/main/c/crate/ 我怎样才能看到所有可用的包而不仅仅是最新的包? (我在Ubuntu 16.04.1 LTS上)

ubuntuone-control-panel-gtk:取决于:ubuntuone-installer但它不可安装

我正在尝试安装ubuntuone-control-panel-gtk ,我收到以下消息: $ sudo apt-get install ubuntuone-control-panel-gtk Reading package lists… Done Building dependency tree Reading state information… Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out […]