首页 > 系统相关 >ubuntu

ubuntu

时间:2023-04-18 18:44:10浏览次数:39  
标签:http ## ubuntu deb com focal

目录

ubuntu sys/app/config/solution.

ubuntu 20.04.x LTSC /etc/apt/source.list

# deb cdrom:[Ubuntu 20.04.3 LTS _Focal Fossa_ - Release amd64 (20210819)]/ focal main restricted

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://cn.archive.ubuntu.com/ubuntu/ focal main restricted
# deb-src http://cn.archive.ubuntu.com/ubuntu/ focal main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://cn.archive.ubuntu.com/ubuntu/ focal-updates main restricted
# deb-src http://cn.archive.ubuntu.com/ubuntu/ focal-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://cn.archive.ubuntu.com/ubuntu/ focal universe
# deb-src http://cn.archive.ubuntu.com/ubuntu/ focal universe
deb http://cn.archive.ubuntu.com/ubuntu/ focal-updates universe
# deb-src http://cn.archive.ubuntu.com/ubuntu/ focal-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://cn.archive.ubuntu.com/ubuntu/ focal multiverse
# deb-src http://cn.archive.ubuntu.com/ubuntu/ focal multiverse
deb http://cn.archive.ubuntu.com/ubuntu/ focal-updates multiverse
# deb-src http://cn.archive.ubuntu.com/ubuntu/ focal-updates multiverse

## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://cn.archive.ubuntu.com/ubuntu/ focal-backports main restricted universe multiverse
# deb-src http://cn.archive.ubuntu.com/ubuntu/ focal-backports main restricted universe multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
# deb http://archive.canonical.com/ubuntu focal partner
# deb-src http://archive.canonical.com/ubuntu focal partner

deb http://security.ubuntu.com/ubuntu focal-security main restricted
# deb-src http://security.ubuntu.com/ubuntu focal-security main restricted
deb http://security.ubuntu.com/ubuntu focal-security universe
# deb-src http://security.ubuntu.com/ubuntu focal-security universe
deb http://security.ubuntu.com/ubuntu focal-security multiverse
# deb-src http://security.ubuntu.com/ubuntu focal-security multiverse

# This system was installed using small removable media
# (e.g. netinst, live or single CD). The matching "deb cdrom"
# entries were disabled at the end of the installation process.
# For information about how to configure apt package sources,
# see the sources.list(5) manual.
deb [arch=amd64] https://download.docker.com/linux/ubuntu focal stable
# deb-src [arch=amd64] https://download.docker.com/linux/ubuntu focal stable
deb [arch=amd64] https://mirrors.ustc.edu.cn/docker-ce/linux/ubuntu focal stable
# deb-src [arch=amd64] https://mirrors.ustc.edu.cn/docker-ce/linux/ubuntu focal stable

更新源:sudo apt-get upgrade
更新依赖:sudo apt-get update
安装lsb-release:sudo apt install lsb-core
查看安装包:dpkg --list
卸载安装包及其配置:sudo apt-get --purge remove 包名

Linux远程图形化界面出错:MoTTY X11 proxy: Unsupported authorisation protocol

# 普通用户报错,root用户不报错的解决方法:
cp /root/.Xauthority /home/xxx/

# 普通用户不报错,root用户报错的解决方法:
cp /home/xxx/.Xauthority /root/
- xxx为用户名

标签:http,##,ubuntu,deb,com,focal
From: https://www.cnblogs.com/kuanghl/p/17330717.html

相关文章

  • 【小白新手教程】Ubuntu中安装MongoDB
    本文由葡萄城技术团队于原创并首发转载请注明出处:葡萄城官网,葡萄城为开发者提供专业的开发工具、解决方案和服务,赋能开发者。 分享给小白的操作教程,希望给有需要的人一点帮助。虽然是一个简单的问题,老手可能已经得心应手了,但是作为新手却要研究很久,这里按步骤给大家分享一下如......
  • Ubuntu下安装及配置MySQL
    与在centos下安装相比多很多坑,不建议用。 一、软件安装Ubuntu下有两种常用方式apt-get方式(类似于yum)deb包方式安装(类似于rpm包)1.下载并解压软件下载地址:http://dev.mysql.com/downloads/mysql/这个tar包里包含mysql软件所有deb软件包创建安装目录:mkdir/usr/local/mysql将.tar文......
  • Ubuntu Server QT开发
    平台:Ubuntu18.04server.文件:qt-everywhere-src-5.12.12.tar.xz1.安装环境1.1通用环境$sudoaptinstallbuild-essentialvimbcflexbisongawklibncurses5-devtexinfocurlwgetunzippython1.2专用环境$sudoaptinstalllibx11-devlibxext-devlibxtst-de......
  • 在Ubuntu上安装Anaconda
    您可以按照以下步骤在Ubuntu上安装Anaconda:1.在Anaconda官网上下载适合您的系统的Anaconda。可以从以下链接获取:https://www.anaconda.com/products/individual2.打开终端,并cd到您下载的Anaconda安装程序所在的目录。3.在终端中,输入以下命令来启动安装程序:```bashAnaconda......
  • ubuntu 20.04 更新阿里源
    一、如下更新源进入目录cd/etc/apt备份原文件sudomvsources.listsources.list.back编辑sudovimsources.list如下debhttp://mirrors.aliyun.com/ubuntu/bionicmainrestricteduniversemultiversedebhttp://mirrors.aliyun.com/ubuntu/bionic-securitymain......
  • ubuntu22.04 在多个应用中不能调用 fcitx5 输入法的问题
    网上找了很多教程,都是设置环境变量,本身思路没问题。只不过有问题的是,环境变量是基于会话的。大多数教程设置环境变量的方法需要启动一个shell进程才能加载。而用户的窗口进程是系统启动的时候就已经加载了,肯定不会去加载shell的环境变量。在用户配置中写入环境变量直接把......
  • ubuntu1804的网络配置(桥接)
    笔记ubuntu1804的网络配置(VMwareWorkstation)在虚拟机的编辑里面的虚拟网络编辑器中,先添加一个网络,然后更改设置,将VMnet信息选择桥接、自动。2.虚拟机设置,选择硬件里面的网络适配器,连接方式选择桥接。3.进入Ubuntu命令行,输入命令(1.ifconfig查看网卡和ip(2.sudovi/etc/n......
  • 《Ubuntu — NetworkManager开机提示A start job is running for Network Manager wai
    轉自:https://www.cnblogs.com/zhuangquan/p/13209758.html,僅供參考學習使用1.NetworkManagerUbuntuServer:Ubuntu的Server版本只有终端界面,没有桌面GUI,且Server版本不会安装NetworkManager,所以UbuntuServer网络由配置文件进行配置。由于Server版本一般用作服务器的......
  • 虚拟机ubuntu22.4报错ok_update_request:I/oerror, dev fdo, sector 0 op OX0:(READ)tl
    ok_update_request:I/oerror,devfdo,sector0opOX0:(READ)tlags0x0phys_segprioclass0BufferI/oerrorondevfdo,logicalblock0,asyncpageread如下图 不管你用的HYPER-V创建虚拟机,还是VMVBOX等。只要找到这里: 把DVD/CD或者软驱修改为物理驱动器,即可。 ......
  • 记录一次ubuntu软件安装未完全的解决
    背景预想是在ubuntu20.10上去安装android-studio,所以找了个教程,是使用ubuntu-make来进行安装,不过我也不知为何,安装到最后,出现了dpkg的报错并返回,错误提示是让我进行"sudoapt--fix-brokeninstall",我照做了,也复制错误去百度,结果。。。。。。一堆都是照本宣科的apt--fix-broken......