apt

package 'python3-apt' in incoherent state on Ubuntu 18.04

一世执手 提交于 2020-04-18 05:38:36
问题 Few days ago, I got a no-entry sign on my Ubuntu desktop related to updates. I checked there is probably something to be done about my Java8 ppa though that is not what is preventing gnome-console to start. Also I recently installed some packages that seemed unrelated to the issue. So I started an Ubuntu-forum thread Apparently python3-apt is at the art of the problem but I didn't manage a reinstall. I'm considering getting it using wget and do a manual install if allowed (mentionned in my

package 'python3-apt' in incoherent state on Ubuntu 18.04

老子叫甜甜 提交于 2020-04-18 05:36:04
问题 Few days ago, I got a no-entry sign on my Ubuntu desktop related to updates. I checked there is probably something to be done about my Java8 ppa though that is not what is preventing gnome-console to start. Also I recently installed some packages that seemed unrelated to the issue. So I started an Ubuntu-forum thread Apparently python3-apt is at the art of the problem but I didn't manage a reinstall. I'm considering getting it using wget and do a manual install if allowed (mentionned in my

How to download PPA through proxy on Debian WSL?

﹥>﹥吖頭↗ 提交于 2020-04-17 20:29:12
问题 I am trying to download/install php7.2 on Debian which is installed on my WSL (Windows Subsystem for Linux), through my company's proxy. I have been able to download apt packages by using this solution : https://askubuntu.com/questions/89437/how-to-install-packages-with-apt-get-on-a-system-connected-via-proxy The problem now is that I need ppa from sudo add-apt-repository ppa:ondrej/php cause php > 7.0 is not available anymore with sudo apt-get install and I tried many solutions but no one

kali初始命令

落花浮王杯 提交于 2020-04-08 14:05:46
1.apt update 或sudo apt update:更新官网包架构 sudo需要输入管理员密码,再次输入管理员密码即可 2.sudo apt -y full-upgrade:更新安装包,看是否有最新更新,有,则安装 来源: https://www.cnblogs.com/jingzaixin/p/12659499.html

kali Linux添加add-apt-repository

浪子不回头ぞ 提交于 2020-04-08 07:13:13
Debian让用户可以通过一个名为add-apt-repository的应用程序,添加和使用PPA软件库,不过Kali Linux在其默认的程序包列表中并不含有该应用程序。就Kali而言,由于这是个特殊用途的应用程序,已进行了某些改动,以便让它适用于最擅长的地方 (渗透测试)。想通过add-apt-repository应用程序启用PPA软件库,遵照下面几个步骤。 首先安装Python软件属性程序包。 apt-get install python-software-properties 接下来安装apt-file。 apt-get install apt-file 更新apt-file。 apt-file update 这需要一点时间,所以万一你的apt-file更新起来很慢,可能想试试一并解决这个问题。(注意:我的/etc/apt /sources.list文件中有repo.kali.org,而不是http.kali.org。)一旦apt-file更新完毕,你应该能够搜索它 了。 apt-file search add-apt-repository 你的输出结果应该看起来类似这样: python-software-properties: /usr/bin/add-apt-repository python-software-properties: /usr/share/man

UOS软件安装(一)

为君一笑 提交于 2020-04-07 17:00:22
1.chrome安装 wget -q -O - https://dl.google.com/linux/linux_signing_key.pub | sudo apt-key add - sudo apt-get update sudo apt-get install google-chrome-stable /usr/bin/google-chrome-stable 2.go 安装 (1.)下载go安装包 go安装包 解压到/usr/local/go tar -zxvf xxx.tar.gz -C /usr/local/ (2.)配置环境变量 vim /etc/profile export GOROOT=/usr/local/go #设置为go安装的路径,有些安装包会自动设置默认的goroot export GOPATH=$HOME/gocode #默认安装包的路径 export PATH=$PATH:$GOROOT/bin:$GOPATH/bin source /etc/profile 3.git 安装 (1.)安装 apt-get update -y apt-get upgrade -y apt install git git --version (2.)配置 git config --global user.name "linuxidc" git config -

docker容器内apt快速更换国内源

半世苍凉 提交于 2020-04-05 15:43:12
mv /etc/apt/sources.list /etc/apt/sources.list.bak echo "deb http://mirrors.163.com/debian/ jessie main non-free contrib" >> /etc/apt/sources.list echo "deb http://mirrors.163.com/debian/ jessie-proposed-updates main non-free contrib" >>/etc/apt/sources.list echo "deb-src http://mirrors.163.com/debian/ jessie main non-free contrib" >>/etc/apt/sources.list echo "deb-src http://mirrors.163.com/debian/ jessie-proposed-updates main non-free contrib" >>/etc/apt/sources.list #更新安装源 apt-get update 来源: oschina 链接: https://my.oschina.net/u/4188716/blog/3217843

ubuntu18.04在线安装docker、nvidia-docker2与docker-compos

送分小仙女□ 提交于 2020-03-31 16:07:53
说明 由于项目测试需要,须安装如下版本的docker组建: Docker:18.09.6 nvidia-docker2:18.09.6 部署 Docker 主要步骤如下: (1)安装基础包 apt-get install -y apt-transport-https ca-certificates curl software-properties-common (2)添加 apt-key curl -fsSL http://mirrors.aliyun.com/docker-ce/linux/ubuntu/gpg | sudo apt-key add (3)添加阿里云仓库 add-apt-repository "deb [arch=amd64] http://mirrors.aliyun.com/docker-ce/linux/ubuntu $(lsb_release -cs) stable" (4)查看当前库对应的 docker 可用的版本 apt-cache madison docker-ce (5)安装 Docker:18.09.6 apt-get install -y docker-ce=5:18.09.6~3-0~ubuntu-bionic docker-ce-cli=5:18.09.6~3-0~ubuntu-bionic (6)查看 docker 版本 docker

Deepin GNU/Linux 15.11 装机配置

前提是你 提交于 2020-03-28 02:20:03
安装 Tenda U12 wifi 驱动 官网下载linux驱动安装出现如下报错 通过如下方法安装可以成功安装驱动 sudo apt install dkms sudo apt update sudo apt install git git clone https://github.com/gnab/rtl8812au.git sudo dkms add ./rtl8812au dkms build 8812au/4.2.3 sudo dkms install 8812au/4.2.3 sudo modprobe 8812au 安装 KVM sudo apt-get install virt-manager bridge-utils libvirt-clients qemu qemu-kvm service libvirtd status reboot 来源: https://www.cnblogs.com/cjwnb/p/12585299.html

Ubuntu Nvidia docker 安装常见问题

回眸只為那壹抹淺笑 提交于 2020-03-26 17:41:38
3 月,跳不动了?>>> 一、APT证书验证问题 Acquire::https::nvidia.github.io::Verify-Peer "false"; 将以上内容添加到/etc/apt/apt.conf文件中即可; 二、apt install nvidia-docker2超时问题 采用离线方式安装。 三、docker runtime配置 { "runtimes" : { "nvidia" : { "path" : "nvidia-container-runtime" , "runtimeArgs" : [] } }, "default-runtime" : "nvidia" , ... } 四、docker run --runtime=nvidia找不到runtime 重启docker服务即可解决 systemctl restart docker 来源: oschina 链接: https://my.oschina.net/u/242695/blog/3211994