Tag: 易于

如何解决apt“包不能配置,因为包是在不同版本中”的错误?

我不能说我采取了哪些步骤: → sudo apt-get upgrade 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, 0 B of additional disk space will be used. Do you want to continue [Y/n]? y dpkg: error […]

从/ var / cache / apt中删除文件(NOT archives)

我使用Ubuntu 14.04,我在/var/cache/apt有很多文件(请注意它们不是档案)。 我已经运行了aptitude autoclean但我认为这只适用于档案。 我可以简单地删除像pkgcache.bin.02SUCA这样的文件吗? 我猜pkgcache.bin和srcpkgcache.bin很重要不是吗? drwxr-xr-x 4 root root 20480 Dez 2 21:31 ./ drwxr-xr-x 22 root root 4096 Nov 22 22:40 ../ drwxr-xr-x 2 root root 4096 Jun 21 16:02 apt-file/ drwxr-xr-x 3 root root 53248 Dez 2 21:23 archives/ -rw-r–r– 1 root root 16368834 Dez 2 21:31 pkgcache.bin -rw-r–r– 1 root root […]

使用“sudo apt-get purge wine \ *”删除了几个程序

我一直在使用葡萄酒一段时间,但几天前它开始出现一些问题,所以我用这个命令删除它 sudo apt-get purge wine\* 现在我的系统没有内置程序,如终端或软件中心。 我可以做些什么来让他们重新安装Ubuntu?

让dpkg知道编译的程序:git

我从源代码编译安装了git。 当我尝试安装atom文本编辑器时,dpkg说我没有安装git。 如何让dpkg的数据库记录git是inatslled? 谢谢

python-problem-report python-apport apport break apt-get

我无法再使用apt-get安装或升级软件包,因为软件包python-problem-report , python-apport和apport似乎会导致一些问题。 我尝试过的任何apt-get命令都会导致以下错误消息: Preparing to replace python-problem-report 2.0.1-0ubuntu15.1 (using …/python-problem-report_2.0.1-0ubuntu15.1_all.deb) … File “/usr/bin/pyclean”, line 64 except (IOError, OSError), e: ^ SyntaxError: invalid syntax dpkg: warning: subprocess old pre-removal script returned error exit status 1 dpkg – trying script from the new package instead … File “/usr/bin/pyclean”, line 64 except (IOError, OSError), e: ^ SyntaxError: […]

有没有`update`的`apt-get install`的用例?

每次我看到运行apt-get install ,都会说首先运行apt-get update 。 upgrade和dist-upgrade 。 为什么不自动安装update ? 有没有你不想要的情况?

apt-get在支持结束后是否停止工作?

我有一个使用Ubuntu 10.10的系统,许多软件包将不再与apt-get一起安装(错误说“未找到IP”),尽管这些软件包仍然安装在10.04 LTS下。 (这是在执行“apt-get update”之后) 那么在支持像10.10这样的版本到期之后会发生什么? 是否不再维护存储库,以便我们不再“apt-get install”了? 如果是这样的话,什么时候会发生在10.04? 或者有什么我可以做的,以防止它破坏? (请不要评论我如何更新到最新版本,我有理由需要保持旧版本的活动)

“apt-get”没有在终端上找到包裹

我一直在尝试通过终端安装不同的软件包,如laptop-mode-tools , xserver-xorg-input-multitouch或xserver-xorg-input-mtrack ,但它永远不会有效,因为我收到错误: Reading package lists… Done Building dependency tree Reading state information… Done E: Unable to locate package xserver-xorg-input-mtrack 通常我已经能够通过Synaptic Package Manager安装这些东西,但我找不到“mtrack”驱动程序。 知道为什么apt-get不起作用吗? 我已经多次运行sudo apt-get update了。 编辑:我在MacBook Pro中使用双启动(Leopard)运行Ubuntu 11.10

“无法获取”404 Not Found,为什么?

hdaf@neoLaptop:~$ sudo apt-get update [sudo] password for hdaf: Ign http*//extras.ubuntu.com saucy InRelease Ign http*//ppa.launchpad.net saucy InRelease Ign http*//archive.canonical.com saucy InRelease Ign http*//archive.ubuntu.com saucy InRelease Ign http*//extras.ubuntu.com saucy InRelease Ign http*//ppa.launchpad.net saucy InRelease Ign http*//archive.canonical.com saucy InRelease Ign http*//archive.ubuntu.com saucy-updates InRelease Ign http*//ppa.launchpad.net saucy InRelease Get:1 http*//extras.ubuntu.com saucy Release.gpg [72 B] Ign http*//archive.canonical.com saucy InRelease Ign […]

由于依赖性问题,apt-get升级失败

我正在尝试升级,同时这样做,我得到以下内容: devteam@hephaestusx:~/Projects$ sudo apt-get upgrade 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: libboost-python-dev : Depends: libboost-python1.46-dev but it is not installed E: Unmet dependencies. Try using -f. devteam@hephaestusx:~/Projects$ apt-get -f install E: Could not […]