Tag: dpkg

apt-get install / remove / reinstall不起作用。 Python错误

最近我尝试在我的ubuntu服务器14上安装ubuntu桌面。安装失败了。 我尝试了几个修复它的东西并做了很多研究。 但我找不到任何有用的东西。 这是我尝试重新安装ubuntu-desktop时的输出。 http://pastebin.com/60TM3ePn

使用apt-get install时出现dpkg错误

我从12.04升级到Ubuntu 14.04,每次我对任何软件包使用apt-get install ,都会因处理一些我的乳胶软件包而出现一堆错误。 包括以下代码段: Sometimes, not accepting conffile updates in /etc/texmf/updmap.d causes updmap-sys to fail. Please check for files with extension .dpkg-dist or .ucf-dist in this directory dpkg: error processing package tex-common (–configure): subprocess installed post-installation script returned error exit status 1 dpkg: dependency problems prevent configuration of lmodern: lmodern depends on tex-common (>= […]

为什么dpkg会给我这个解析错误?

每当我尝试安装软件或更新时,我都会收到以下消息(或稍有不同): dpkg: error: parsing file ‘/var/lib/dpkg/available’ near line 10650 package ‘libreoffige-writev’: field name `Replaces>’ must be followed by colon 我不知道它意味着什么,但它始终坚持`Replaces>’后跟冒号。

构建仅针对单个Ubuntu发行版的程序包的最佳方法是什么?

目前,我通过dpkg-buildpackage为Ubuntu 14.04构建和打包我们的软件,即’trusty’。 我得到一个.deb包,可以安装在Ubuntu 14.04上,也可以安装在其他Ubuntu版本上,例如12.04又称’精确’。 这很危险,因为可以在没有错误消息的情况下安装软件,但程序无法正常运行/工作。 我的包的依赖关系在control文件中给出。 但是这个文件不允许我输入Ubuntu的发行版/代号。 分发可以作为*.changes一部分输入,但不会反映在.deb文件中的任何位置。 在安装后脚本期间检查复杂的依赖关系情况也很复杂。 因此,我想要一种简单的方法来防止在错误的Ubuntu版本上安装Ubuntu软件包。 构建仅针对单个Ubuntu发行版的程序包的最佳方法是什么? 在最好的情况下(1),安装应仅适用于目标Ubuntu版本,(2) .deb包中包含分发名称*,例如package_1.0.0-3_trusty_amd64.deb 。 (*)否则,通过reprepro管理的apt存储库不能有两个具有相同版本号的软件包,每个软件包都针对不同的Ubuntur版本。 提前致谢。 更新: 我的包的debian/control文件: Source: mypackage Priority: extra Build-Depends: debhelper (>= 9), python (>=2.7), pyside-tools X-Python-Version: >= 2.7 Standards-Version: 3.9.2 Package: mypackage Architecture: amd64 Depends: ros-indigo-desktop-full|ros-hydro-desktop-full, ros-indigo-rqt|ros-hydro-rqt, ros-indigo-gps-umd|ros-hydro-gps-umd, ros-indigo-map-server|ros-hydro-map-server, imagemagick, octave (>= 3.6), libdc1394-22, sox, tree, python (>=2.7), python-psutil, python-usb, python-serial, […]

dpkg在尝试安装任何东西时为libc6:i386和libtinfo5:i386返回了错误代码(1)

当我尝试通过apt-get或synaptic安装任何东西时,我会继续这样做 … Fetched 23.6 MB in 1min 10s (336 kB/s) debconf: DbDriver “config”: /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable Setting up libc6:i386 (2.15-0ubuntu10.3) … debconf: DbDriver “config”: /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable dpkg: error processing libc6:i386 (–configure): subprocess installed post-installation script returned error exit status 1 dpkg: dependency […]

你能帮我修理破损的包裹吗?

我想从13.04升级到13.10,但是一些破损的软件包阻止了升级成功: grep Broken /var/log/dist-upgrade/apt.log输出: Broken libwayland-client0:amd64 Conflicts on libwayland0 [ amd64 ] ( libs ) (< 1.1.0) Broken libunity9:amd64 Breaks on unity-common [ amd64 ] ( gnome ) (< 7.1.2) Broken cups-filters:amd64 Conflicts on ghostscript-cups [ amd64 ] ( text ) Broken libpam-systemd:amd64 Conflicts on libpam-xdg-support [ amd64 ] ( admin ) Broken libharfbuzz0a:amd64 Breaks […]

以下软件包具有未满足的依赖项:无法安装任何软件。 Ubuntu 16:04

尝试安装gitlab,VLC,GParted和其他软件包时,我有未满足的依赖项。 openssh-server : Depends: openssh-client (= 1:7.2p2-4) Depends: openssh-sftp-server but it is not going to be installed Recommends: ssh-import-id but it is not going to be installed 对于VLC: vlc : Depends: libgles1-mesa (>= 7.8.1) but it is not going to be installed or libgles1 Depends: libgles2-mesa (>= 7.8.1) but it is not going to be […]

uname Ubuntu 16.04.1 LT返回错误的内核版本

uname -a返回: Linux decebal-mobile 4.2.0-35-generic #40-Ubuntu SMP Tue Mar 15 22:15:45 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux 但是E: Package ‘linux-headers-4.2.0-35-generic’ has no installation candidate ,我的机器说linux头版本是在linux-headers-4.4.0-21-generic 。 我在论坛中看到过类似的问题。 我该如何更新?

如何安装android studio?

我使用以下命令将android studio安装到Ubuntu: sudo apt-get install android-studio 但是,会出现以下消息: E: dpkg was interrupted, you must manually run ‘sudo dpkg –configure -a’ to correct the problem. 有什么问题以及如何解决?

无法删除apt包(未满足的依赖项)

问题描述 这一切都始于我在此帖后尝试安装texlive 2016时。 我添加了如下PPA: sudo add-apt-repository ppa:jonathonf/texlive 然后安装texlive-full 。 不幸的是安装崩溃然后我决定删除整个包并重新安装它。 我首先尝试使用apt-get remove删除texlive-full ,但是我收到以下错误: $ sudo apt-get remove texlive-full Reading package lists… Done Building dependency tree Reading state information… Done Package ‘texlive-full’ is not installed, so not removed You might want to run ‘apt-get -f install’ to correct these: The following packages have unmet dependencies: dvipng […]