Tag: dpkg

安装python 3.5后apt依赖项的问题

我下载并编译了最新的python 3.5,并使用checkinstall安装了它。 现在我得到了大量在apt中缺少依赖项的软件包。 apt-xapian-index : Depends: python (< 2.8) but 3.5.0-1 is to be installed duplicity : Depends: python (= 2.6.6-7~) ubuntu-system-service : Depends: python (= 2.7.1-0ubuntu2) E: Unmet dependencies. Try ‘apt-get -f install’ with no packages (or specify a solution). 但是我仍然安装了python,包括2.7.9。 $ which python /usr/bin/python $ python Python 2.7.9 (default, Apr 2 2015, 15:33:21) […]

dpkg总是尝试安装mysql-server-5.7

每当我尝试安装任何东西时,它总是安装mysql-server-5.7。 我尝试了sudo apt-get install php-mbstring但它首先尝试安装mysql-server-5.7。 我不知道出了什么问题。 我收到了以下错误 Reading package lists… Done Building dependency tree Reading state information… Done php-mbstring is already the newest version (1:7.0+35ubuntu6). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 2 not fully installed or removed. After this operation, 0 B of additional disk space will be used. […]

运行“apt-get remove dependencies-names”后,“dpkg -l”中仍然存在依赖关系

我怀疑安装xfce4会导致Ubuntu出现一些问题,所以我使用apt-get remove xfce4 xfce4-goodeis删除了它们。 但是当我运行’dpkg -l’时,我仍然可以看到xfce4的一些库和包: $ dpkg -l | grep -i xfce rc libexo-1-0:amd64 0.10.2-2 amd64 Library with extensions for Xfce rc libgarcon-1-0 0.2.1-1 amd64 freedesktop.org compliant menu implementation for Xfce rc libxfce4ui-1-0 4.11.0-0ubuntu1~ppa0.13.10.1 amd64 widget library for Xfce – Gtk+2 variant rc libxfce4ui-common 4.11.0-0ubuntu1~ppa0.13.10.1 all common files for libxfce4ui rc libxfce4util6 4.10.1-1 amd64 […]

重新编译所有包并触发更新

我在一个定制的路由器上使用Ubuntu,在看到Gentoo上自定义编译的延迟丢失后,我想用CFLAGS =“ – march = atom”重新编译所有包。 这个指南和一个有用的论坛post演示了重新编译的步骤: export CFLAGS=”-march=nocona” export CXXFLAGS=”-march=nocona” apt-get build-dep packagename apt-get -b source packagename dpkg -i *.deb 是否可以自动执行完整的系统重新编译,而不是一次指定一个包并在安装之前自动重新编译新的包更新?

无法安装任何东西,dpkg错误

我无法在我的Ubuntu上安装任何东西..我用谷歌搜索它,发现同样的问题,但没有提出的解决方案解决了我的问题..所有的时间,它一直给我 没有编写apport报告,因为错误消息 表示先前失败的后续错误。 处理时遇到错误: TEX-常见 的texlive-二进制 E:子进程/ usr / bin / dpkg返回错误代码(1) 当我尝试使用sudo apt-get install xx 非常感谢!

无法卸载AVG防病毒软件

每当我尝试卸载AVG或任何其他应用程序时,会弹出: ~$ sudo dpkg -r avg2013flx (Reading database … 204955 files and directories currently installed.) Removing avg2013flx (2013.3118) … Failed to stop avgd.service: Unit avgd.service not loaded. invoke-rc.d: initscript avgd, action “stop” failed. dpkg: error processing package avg2013flx (–remove): subprocess installed pre-removal script returned error exit status 5 Errors were encountered while processing: avg2013flx**

如何在Ubuntu 14.10上安装MariaDB?

在通过官方页面提供的存储库(对于Ubuntu 14.04)未能成功安装最新版本的MariaDB之后,我尝试安装已经包含在Ubuntu 14.10中的mariadb-5.5。 但是我收到以下错误: Setting up mariadb-client (5.5.39-2) … dpkg: dependency problems prevent configuration of mariadb-server: mariadb-server depends on mariadb-server-5.5 (>= 5.5.39-2); however: Package mariadb-server-5.5 is not configured yet. dpkg: error processing package mariadb-server (–configure): dependency problems – leaving unconfigured No apport report written because the error message indicates its a followup error from a […]

dpkg:error handlingopenoffice4.0-debian-menus_4.0-9714_all.deb

试图在Ubuntu 13.10 64bit上安装openoffice。 安装没有问题,但应用程序没有显示在我的GUI应用程序窗口中。 这是因为桌面集成吗? 当我尝试安装桌面集成器时,我得到了这个…… jacob@jacob-desktop:~/mydebs/en-US/DEBS/desktop-integration$ sudo dpkg -i *.deb(Reading database … 172964 files and directories currently installed.) Unpacking openoffice-debian-menus (from openoffice4.0-debian-menus_4.0-9714_all.deb) … dpkg: error processing openoffice4.0-debian-menus_4.0-9714_all.deb (–install): trying to overwrite ‘/usr/bin/soffice’, which is also in package libreoffice-common 1:4.1.2~rc3-0ubuntu1 /usr/bin/gtk-update-icon-cache gtk-update-icon-cache: Cache file created successfully. /usr/bin/gtk-update-icon-cache gtk-update-icon-cache: Cache file created successfully. Processing triggers for […]

更新到4.15.0-29.31 Ubuntu 18.04,我的wifi和以太网停止工作

我做了一个更新,其中包括内核升级,之后我的Wifi和以太网停止工作。 我尝试了一些命令,包括Ubuntu建议的命令: $ sudo apt-get install -f Reading package lists… Done Building dependency tree Reading state information… Done Correcting dependencies… Done The following packages were automatically installed and are no longer required: linux-headers-4.15.0-23 linux-headers-4.15.0-23-generic linux-image-4.15.0-23-generic linux-modules-4.15.0-23-generic linux-modules-extra-4.15.0-23-generic linux-tools-4.15.0-23 linux-tools-4.15.0-23-generic Use ‘sudo apt autoremove’ to remove them. The following additional packages will be installed: linux-modules-extra-4.15.0-29-generic The […]

安装tex-common时“在生成texmf.cnf时忽略/etc/texmf/texmf.d/*.cnf”

在从12.04 LTS更新到14.04 LTS之后,我的Ubuntu遇到了很多问题。 每次启动系统时,都会显示很多对话框,说明系统遇到了问题,它给了我“OK”和“报告问题”的选项。 另外,我的主要问题是apt-get无法正常工作。 例如,执行upgrade时,它会显示与Latex页面相关的问题,如下所示: Reading package lists… Done Building dependency tree Reading state information… Done Calculating upgrade… Done The following packages were automatically installed and are no longer required: libdb5.1-java libdb5.1-java-jni Use ‘apt-get autoremove’ to remove them. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 78 not fully installed […]