apt

Fail to install gcc-4.9 in ubuntu17.04

放肆的年华 提交于 2019-12-04 08:23:57
While trying to build llvm 3.4 from source on Ubuntu 17.04 , I have encountered some problems related to gcc 6.3 (described here ), so I want to use gcc-4.9 . However, when I run from terminal: sudo apt install gcc-4.9 --fix-missing I get the following error: Reading package lists... Done Building dependency tree Reading state information... Done The following additional packages will be installed: cpp-4.9 gcc-4.9-base libasan1 libcloog-isl4 libgcc-4.9-dev Suggested packages: gcc-4.9-locales gcc-4.9-multilib gcc-4.9-doc libgcc1-dbg libgomp1-dbg libitm1-dbg libatomic1-dbg libasan1-dbg liblsan0

解决方案E: Unable to locate package ros-kinetic-rgbd-launch

对着背影说爱祢 提交于 2019-12-04 08:21:59
sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu $(lsb_release -sc) main" > /etc/apt/sources.list.d/ros-latest.list' sudo apt-key adv --keyserver hkp://ha.pool.sks-keyservers.net:80 --recv-key 421C365BD9FF1F717815A3895523BAEEB01FA116    sudo apt-get update 来源: https://www.cnblogs.com/zxzmnh/p/11848180.html

Could not select 'OK' in mysql-apt-config [Ubuntu 14.04]

╄→гoц情女王★ 提交于 2019-12-04 08:20:35
问题 I am using Ubuntu 14.04. sudo apt-get update always give me this option to configure mysql-apt-config. I am have tried to select the version, press 'tab' -> key highlighted on 'OK', press 'Enter' but nothing happens. It goes back again highlighting the version number. Software Updater also crashes at mysql-apt-config. Any idea on what is causing this problem and how to get rid of it? Thx. 回答1: When you can't do apt-get purge mysql-apt-config because you're trapped: It won't execute because

ubuntu指令大全

怎甘沉沦 提交于 2019-12-04 05:43:23
一、文件/文件夹管理 ls 列出当前目录文件(不包括隐含文件) ls -a 列出当前目录文件(包括隐含文件) ls -l 列出当前目录下文件的详细信息 cd .. 回当前目录的上一级目录 cd - 回上一次所在的目录 cd ~ 或 cd 回当前用户的宿主目录 mkdir 目录名 创建一个目录 rmdir 空目录名 删除一个空目录 rm 文件名 文件名 删除一个文件或多个文件 rm -rf 非空目录名 删除一个非空目录下的一切 mv 路经/文件 /经/文件移动相对路经下的文件到绝对路经下 mv 文件名 新名称 在当前目录下改名 find 路经 -name “字符串” 查找路经所在范围内满足字符串匹配的文件和目录 二、系统管理 fdisk fdisk -l 查看系统分区信息 fdisk fdisk /dev/sdb 为一块新的SCSI硬盘进行分区 chown chown root /home 把/home的属主改成root用户 chgrp chgrp root /home 把/home的属组改成root组 Useradd 创建一个新的用户 Groupadd 组名 创建一个新的组 Passwd 用户名 为用户创建密码 Passwd -d用户名 删除用户密码也能登陆 Passwd -S用户名 查询账号密码 Usermod -l 新用户名 老用户名 为用户改名 Userdel–r 用户名

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

更换python版本后出现 No module named \"apt_pkg\"

纵然是瞬间 提交于 2019-12-04 04:44:48
本文链接:https://blog.csdn.net/jaket5219999/article/details/78464310 $ sudo apt-get remove --purge python-apt $ sudo apt-get install python-apt -f $ sudo find / -name "apt_pkg.cpython-35m-x86_64-linux-gnu.so" $ cd /usr/lib/python3/dist-packages/ $ sudo cp apt_pkg.cpython-35m-x86_64-linux-gnu.so apt_pkg.cpython-36m-x86_64-linux-gnu.so 背景: 系统: ubuntu17 python版本: 默认版本原来是python2.7, 先装了python3.5=python3.5.3 , 后又装了python3.6=python3.6.1 将默认版本改为python3.6后就出现No module named "apt_pkg"的问题了: 本来Ctrl+Alt+T是打开终端的快捷键, 突然用不了, 去到键盘里面的快捷键设置看到命令还是`gnome-terminal` 打开一个终端, 运行`gnome-terminal`就出现如下错误了: ... Error in sys

ubuntu安装以及卸载软件

 ̄綄美尐妖づ 提交于 2019-12-04 03:54:18
dpkg安装以及卸载软件 deb文件是linux发行版debian系统的安装包格式,还有像基于debian系统的发型版ubuntu等系统就是使用的deb格式安装包,我们可以使用dpkg命令进行安装管理这些deb安装包文件。 方法/步骤 Ubuntu安装软件 这里我使用的ubuntu系统做演示,首先把deb文件放到一个文件夹中,例如我这里的dolphin_emu文件。 在文件夹里右键“在终端打开”。 3. 使用dpkg命令进行安装。 sudo dpkg -i deb文件名 4. 根据经验,通常情况下会报依赖关系的错误,我们可以使用以下的命令修复安装。 sudo apt-get install -f sudo dpkg -l 查看已经安装的软件 Ubuntu卸载软件 如果要卸载安装的应用我们通过“sudo dpkg -l”查看已经安装的软件,并找到自己的安装的软件名。 最后使用”sudo dpkg -r 软件名“进行卸载。 apt-get方法 apt-get 命令是 Ubuntu 系统中的包管理工具,可以用来安装、卸载包,也可以用来升级包,还可以用来把系统升级到新的版本。本文介绍 apt-get 命令的基本用法,演示环境为 Ubuntu 18.04。 基本语法 语法格式: apt-get [options] command 配置文件: 早期 apt-get 默认的配置文件为 /etc

How to install Python bindings originating from an apt package?

微笑、不失礼 提交于 2019-12-04 03:41:04
I've got a website hosted at Heroku , and I now want to use the python-qrtools package which uses the ZBar bar code scanner . On a regular debian (based) I can do a simple: sudo apt-get install python-qrtools According to the command dpkg-query -L python-qrtools , this installs the following: /usr/lib/python2.7/dist-packages/qrtools-1.2.egg-info /usr/lib/python2.7/dist-packages/qrtools.py /usr/share/doc/python-qrtools/copyright /usr/share/doc/python-qrtools/changelog.Debian.gz When I look at the imports of qrtools.py , it also does an import zbar , which is (as far as I understand) the python

eclipse java annotation processing

那年仲夏 提交于 2019-12-04 02:10:16
I want to do something using Annotation processing in eclipse jdt. Eclipse jdtapt help tells me I should configure things on the java/compiler/annotation processing preferences page. But on my installation (Indigo), the compiler section doesn't have this annotation processing subsection. It only has building,errors/warnings,javadoc, task tags. Is something wrong with my installation ? thkala The annotation processing tab does not exist in the Preferences page that is accessible from the Eclipse menu bar. It is a project-specific menu that is accessible if you right-click on a project in the