dpkg

dpkg error: pycompile: not found

安稳与你 提交于 2019-12-04 04:47:41
sudo apt-get remove --purge mysql-server mysql-client mysql-common I am getting the following error as I try to remove mysql using the above command: Reading package lists... Done Building dependency tree Reading state information... Done Package 'mysql-client' is not installed, so not removed The following package was automatically installed and is no longer required: php5-mysqlnd Use 'apt-get autoremove' to remove it. The following extra packages will be installed: mysql-server-core-5.5 php5-mysqlnd python-aptdaemon python-aptdaemon.gtk3widgets python3-aptdaemon python3-aptdaemon.gtk3widgets

Versioning of debian packaging Information

人盡茶涼 提交于 2019-12-04 03:56:29
问题 I'm developing certain scripts and small software packages which I also package as debian packages. The code is maintained in git and I create new release tarballs with an make target and git-archive. This tarball is then fed to "uupdate -u .tar.gz" to update from the previous packaged version. This far everything works great and exactly as I want it to. Now the tricky part: I want to put the packaging information, i.e. everything below debian/ (e.g. mypackage-0.4.3/debian/*), under version

Can't remove, purge, unistall mongodb from debian

流过昼夜 提交于 2019-12-03 16:22:00
问题 I'm trying to reinstall it, because it has problems. For example, I can't install Chromium because mongodb-org-server is not configured. But I can't even remove it for the same reason. apt-get autoremove --purge mongodb Or: apt-get purge mongodb Or: apt-get remove --purge mongodb All end in the same way: dpkg: error processing package mongodb-org-server (--configure): subprocess installed post-installation script returned error exit status 102 Errors were encountered while processing: mongodb

Ubuntu16.04安装deb包

半世苍凉 提交于 2019-12-03 15:02:16
在Ubuntu下安装deb包需要使用dpkg命令.Dpkg 的普通用法: 1、sudo dpkg -i <package.deb> 安装一个 Debian 软件包,如你手动下载的文件。 2、sudo dpkg -c <package.deb> 列出 <package.deb> 的内容。 3、sudo dpkg -I <package.deb> 从 <package.deb> 中提取包裹信息。 4、sudo dpkg -r <package> 移除一个已安装的包裹。 5、sudo dpkg -P <package> 完全清除一个已安装的包裹。和 remove 不同的是,remove 只是删掉数据和可执行文件,purge 另外还删除所有的配制文件。 6、sudo dpkg -L <package> 列出 <package> 安装的所有文件清单。同时请看 dpkg -c 来检查一个 .deb 文件的内容。 7、sudo dpkg -s <package> 显示已安装包裹的信息。同时请看 apt-cache 显示 Debian 存档中的包裹信息,以及 dpkg -I 来显示从一个 .deb 文件中提取的包裹信息。 8、sudo dpkg-reconfigure <package> 重新配制一个已经安装的包裹,如果它使用的是 debconf (debconf

Can't remove, purge, unistall mongodb from debian

◇◆丶佛笑我妖孽 提交于 2019-12-03 06:38:48
I'm trying to reinstall it, because it has problems. For example, I can't install Chromium because mongodb-org-server is not configured. But I can't even remove it for the same reason. apt-get autoremove --purge mongodb Or: apt-get purge mongodb Or: apt-get remove --purge mongodb All end in the same way: dpkg: error processing package mongodb-org-server (--configure): subprocess installed post-installation script returned error exit status 102 Errors were encountered while processing: mongodb-org-server E: Sub-process /usr/bin/dpkg returned an error code (1) Some data about my machine from

Linux shell

我的未来我决定 提交于 2019-12-03 06:29:06
// 在桌面菜单(.....)管理出右键 得到桌面设置对话框 //chmod + x ...py 赋予权限 //验证 ssh // /etc/init.d/ssh status // vi /etc/ssh/sshd_config 服务配置 // /etc/init.d/networking restart 重启网络 //安装cmake //wget https://github.com/Kitware/CMake/releases/download/v3.15.0-rc3/cmake-3.15.0-rc3-Linux-x86_64.sh 参考链接:https://jingyan.baidu.com/article/3c343ff7e366820d3679637f.html 重置完之后发现网络适配器显示未托管。 解决办法: leafpad /etc/NetworkManager/NetworkManager.conf 把最后一行的managed=false改为managed=true。 保存重启即可。 // 安装谷歌 // wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb // dpkg -i google-chrome-stable_current_amd64.deb //

Can't install StarUML in Ubuntu 16.04

岁酱吖の 提交于 2019-12-03 04:48:14
问题 I’m using ubuntu 16.04 - 64 bit. I tried to install Start UML with .deb file and got this message from Ubuntu Software: This software comes from a 3rd party and may contain non-free components Then I trying to install with dpkg, and got this: $ sudo dpkg -i StarUML-v2.7.0-64-bit.deb Selecting previously unselected package staruml. (Reading database ... 212003 files and directories currently installed.) Preparing to unpack StarUML-v2.7.0-64-bit.deb ... Unpacking staruml (2.7.0) ... dpkg:

Ubuntu 软件管理

◇◆丶佛笑我妖孽 提交于 2019-12-03 04:18:05
Ubuntu软件管理:dpkg和apt    Debian软件包通常为预编译的二进制格式的扩展名“.deb”,类似rpm文件,   dpkg:package manager for Debian,类似于rpm, dpkg是基于Debian的系统的包管理器。可以安装,删除和构建软件包,但无法自动下载和安装软件包或其依赖项    APT:Advanced Packaging Tool,功能强大的软件管理工具,甚至可升级整个Ubuntu的系统,基于客户/服务器架构   APT工作原理:在服务器上先复制所有DEB包,然后用APT的分析工具genbasedir根据 每个DEB 包的包头(Header)信息对所有的DEB包进行分析,并将该分析结果记录在文 件夹base内的一个DEB 索引清单文件中,一旦APT 服务器内的DEB有所变动,要使用 genbasedir产生新的DEB索引清单。客户端在进行安装或升级时先要查询DEB索引清单, 从而获知所有具有依赖关系的软件包,并一同下载到客户端以便安装。当客户端需要安 装、升级或删除某个软件包时,客户端计算机取得DEB索引清单压缩文件后,会将其解 压置放于 /var/cache/apt/,而客户端使用apt-get install或apt-get upgrade命令的时 候,就会将这个文件夹内的数据和客户端计算机内的DEB数据库比对

Can&#039;t install StarUML in Ubuntu 16.04

匿名 (未验证) 提交于 2019-12-03 02:45:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I’m using ubuntu 16.04 - 64 bit. I tried to install Start UML with .deb file and got this message from Ubuntu Software: This software comes from a 3rd party and may contain non-free components Then I trying to install with dpkg, and got this: $ sudo dpkg -i StarUML-v2.7.0-64-bit.deb Selecting previously unselected package staruml. (Reading database ... 212003 files and directories currently installed.) Preparing to unpack StarUML-v2.7.0-64-bit.deb ... Unpacking staruml (2.7.0) ... dpkg: dependency problems prevent configuration of staruml:

How to check the version before install packages using apt-get

落花浮王杯 提交于 2019-12-03 01:32:58
问题 I'm thinking to install hylafax+ version 5.5.4 which was release last month on my Debian PC. I checked dpkg -l | grep "hylafax" and found out that the current version is 5.5.3. Then I checked apt-cache search hylafax and saw the packages are available, but I can't see any version number. How can I find the version of packages available in the apt-get ? 回答1: OK, I found it. apt policy <package name> will show the version details. It also shows which version is currently installed and which