Tag: apt

包管理系统在架构上搞砸了

我想我在包装系统中弄乱了一些东西。 我试图达到某种“基本”状态,我使用https://repogen.simplylinux.ch/generate.php给我一个新的source.list。 我将/etc/apt/sources.list.d/重命名为/etc/apt/sources.list.d/以使其/etc/apt/sources.list.d.save 。 但是现在当我 sudo apt-get update 我收到很多消息 Err http://download.virtualbox.org trusty/contrib armhf Packages 404 Not Found [IP: 2.20.143.5 80] Ign http://download.virtualbox.org trusty/contrib Translation-en Ign http://download.virtualbox.org trusty/contrib Translation-de 或W:无法获取http://update.yuuguu.com/repositories/apt/dists/hardy/multiverse/binary-armhf/Packages 404 Not Found [IP:2.20.143.5 80] 我的source.list是#——————————————– ———————————- ## OFFICIAL UBUNTU REPOS ## ——— ————————————————– ——————-# ###### Ubuntu Main Repos deb http://de.archive.ubuntu.com/ubuntu/ trusty main restricted universe multiverse […]

如何清除apt-get删除列表?

apt-get upgrade显示应该删除一个包: gradinafrica@host:~$ sudo apt-get upgrade [sudo] password for gradinafrica: Reading package lists… Done Building dependency tree… Done Calculating upgrade… Done The following packages will be REMOVED: linux-image-extra-3.13.0-61-generic 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded. 1 not fully installed or removed. After this operation, 152 MB disk space will be […]

GStreamer安装缺少一个插件

我用Qt写了一个video播放器,当我试图运行它时,发生了这个错误, 错误:“您的GStreamer安装缺少插件” 可以通过运行以下命令来解决此问题, sudo apt-get install gstreamer0.10-ffmpeg 我的问题是,安装后发生了什么? 我的电脑里安装了什么东西? 我想找到这个缺少的插件,所以我可以把它打包到我的.deb中。 我认为它必须是.so文件,但我只是不知道哪一个。 谁能帮我? 谢谢。

无法从启动中删除旧图像

我的启动分区已满,我试图按照此处找到的解决方案: https : //askubuntu.com/a/142937/178039 Running: dpkg -l ‘linux-*’ | sed ‘/^ii/!d;/'”$(uname -r | sed “s/\(.*\)-\([^0-9]\+\)/\1/”)”‘/d;s/^[^ ]* [^ ]* \([^ ]*\).*/\1/;/[0-9]/!d’ linux-headers-3.2.0-23 linux-headers-3.2.0-23-generic linux-headers-3.2.0-25 linux-headers-3.2.0-25-generic linux-headers-3.2.0-26 linux-headers-3.2.0-26-generic linux-headers-3.2.0-27 linux-headers-3.2.0-27-generic linux-headers-3.2.0-29 linux-headers-3.2.0-29-generic linux-headers-3.2.0-31 linux-headers-3.2.0-31-generic linux-headers-3.2.0-32 linux-headers-3.2.0-32-generic linux-headers-3.2.0-33 linux-headers-3.2.0-33-generic linux-headers-3.2.0-34 linux-headers-3.2.0-34-generic linux-headers-3.2.0-35 linux-headers-3.2.0-35-generic linux-headers-3.2.0-36 linux-headers-3.2.0-36-generic linux-headers-3.2.0-37 linux-headers-3.2.0-37-generic linux-headers-3.2.0-38 linux-headers-3.2.0-38-generic linux-headers-3.2.0-40 linux-headers-3.2.0-40-generic linux-headers-3.2.0-41 linux-headers-3.2.0-41-generic linux-image-3.2.0-31-generic linux-image-3.2.0-32-generic linux-image-3.2.0-33-generic linux-image-3.2.0-34-generic linux-image-3.2.0-35-generic […]

破了dpgk? 运行脚本失败/ usr / sbin / dpkg-preconfigure –apt || 真正

Ubuntu Server 14.04 apt-get install 产生错误: E: Waited for /usr/sbin/dpkg-preconfigure –apt || true but it wasn’t there E: Failure running script /usr/sbin/dpkg-preconfigure –apt || true 似乎安装了dpkg,请参阅: $ sudo apt-get install dpkg Reading package lists… Done Building dependency tree Reading state information… Done dpkg is already the newest version. 0 upgraded, 0 newly installed, 0 to […]

不能使用apt:libstdc ++。so.6:找不到版本`GLIBCXX_3.4.20′

当我使用apt我有问题: $ sudo apt-get update apt-get: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.20′ not found (required by apt-get) apt-get: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.20′ not found (required by /usr/lib/x86_64-linux-gnu/libapt-private.so.0.0) 但是,安装新的apt输出: dpkg: regarding …/apt_1.2.10ubuntu1_amd64.deb containing apt: apt breaks apt-utils (<< 1.1.3) apt-utils (version 1.0.1ubuntu2) is present and installed. dpkg: error processing archive /home/anawasreh/Downloads/apt_1.2.10ubuntu1_amd64.deb (–install): installing apt would break apt-utils, and deconfiguration is […]

Python 3无法正常工作

我最近从源代码安装了python 3.5,但我认为在安装或链接过程中我做错了。 在此之后,我在安装任何Ubuntu软件包时遇到问题。 例如,即使在重新安装软件属性 – common之后,add-apt-repository也不起作用。 $ add-apt-repository bash: /usr/bin/add-apt-repository: /usr/bin/python3: bad interpreter: No such file or directory 另外,apt-get install会给我这个错误 $ sudo apt-get install libraw-dev Reading package lists… Done Building dependency tree Reading state information… Done The following NEW packages will be installed: libraw-dev 0 upgraded, 1 newly installed, 0 to remove and 229 not […]

如果我的笔记本电脑连接了额外的显示器,Ubuntu 14.04会在登录后冻结

如果我已将其他显示器连接到我的笔记本电脑,Ubuntu会在登录后冻结。 否则,我可以正常启动而无需额外显示。 如果我已经处于桌面模式后连接显示器,它也可以正常工作。 我已经尝试了这些,但它没有奏效: $ sudo apt-get install nvidia-current 和 $ sudo su $ apt-get update $ apt-get install –reinstall ubuntu-desktop $ apt-get install unity $ reboot 谢谢。

分段故障dpkg:error handling包libc-bin(–configure)

在dpkg上类似/可能是相同的错误:error handling包libc-bin( – configure) 。 虽然我的下面的例子是sudo apt-get install ,但请注意它也适用于命令 sudo apt-get -f install sudo apt-get upgrade sudo apt-get autoremove sudo dpkg –configure -a 还有其他一些 我正在使用带有ARM 64位架构的Ubuntu 16.04(在Jetson TX2板上)。 非常感谢帮助解决分段错误。 由于我甚至无法安装新软件(由于这个问题),因此也可以理解忽略升级的帮助。 我对linux很不熟悉,所以请尽量回答。 谢谢。 sudo apt-get install Reading package lists… Done Building dependency tree Reading state information… Done 0 upgraded, 0 newly installed, 0 to remove and […]

我应该怎么做才能看到消息“/boot/config-3.2.0-74-generic:没有这样的文件或目录”?

我在运行后看到一些关于丢失文件的奇怪错误消息 sudo apt-get update && sudo apt-get install -y flashplugin-installer 特别是/boot/中的某些配置文件丢失了。 这让我很担心: Setting up nvidia-304 (304.125-0ubuntu0.0.1) … dpkg: warning: version ‘*-*’ has bad syntax: version number does not start with a digit update-initramfs: deferring update (trigger activated) Traceback (most recent call last): File “/usr/bin/quirks-handler”, line 26, in import Quirks.quirkapplier File “/usr/lib/python2.7/dist-packages/Quirks/quirkapplier.py”, line 26, in import […]