ubuntu14.04 add-apt-repository: command not found 解决方案

本文介绍了在阿里云服务器上遇到的 Ubuntu14.04 中 add-apt-repository 命令未找到的问题及解决方法。通过安装 python-software-properties 和 software-properties-common 两个软件包可以解决该问题。
部署运行你感兴趣的模型镜像

您可能感兴趣的与本文相关的镜像

Python3.8

Python3.8

Conda
Python

Python 是一种高级、解释型、通用的编程语言,以其简洁易读的语法而闻名,适用于广泛的应用,包括Web开发、数据分析、人工智能和自动化脚本

zrt@zrt:~$ sudo add-apt-repository ppa:team-gcc-arm-embedded/ppa 源: 'deb https://ppa.launchpadcontent.net/team-gcc-arm-embedded/ppa/ubuntu/ jammy main' 描述: This PPA is an alternative to toolchain released at https://launchpad.net/gcc-arm-embedded. The source codes for both are same. Currently supports Ubuntu 10.04/12.04/14.04/14.10 32 and 64 bit. Detailed explanations to Launchpad PPA can be found at https://help.launchpad.net/Packaging/. That website explains how a PPA is set up and how to add existing PPA and install software from it. Here are quick steps to install toolchain from this PPA on Ubuntu before 14.04: Step1: Inside Ubuntu, open a terminal and input "sudo add-apt-repository ppa:team-gcc-arm-embedded/ppa" Step2: Continue to input "sudo apt-get update" Step3: Continue to input to install toolchain "sudo apt-get install gcc-arm-embedded" To remove installed toolchain, just input "sudo apt-get remove gnu-arm-embedded". To update the toolchain, just repeat above step2 and step3. If it reports error message of conflict to gcc-arm-none-eabi, which is likely if upgrading from 4.x to 5+, please uninstall it first with: "sudo apt-get remove gcc-arm-none-eabi" Questions should be asked at https://answers.launchpad.net/gcc-arm-embedded Bug can be filed at https://bugs.launchpad.net/gcc-arm-embedded/+filebug. It is highly encouraged to ask question first before filing a bug. 更多信息:https://launchpad.net/~team-gcc-arm-embedded/+archive/ubuntu/ppa 正在添加源。 按 [ENTER] 继续,或按 Ctrl-c 取消。 Found existing deb entry in /etc/apt/sources.list.d/team-gcc-arm-embedded-ubuntu-ppa-jammy.list Adding deb entry to /etc/apt/sources.list.d/team-gcc-arm-embedded-ubuntu-ppa-jammy.list Found existing deb-src entry in /etc/apt/sources.list.d/team-gcc-arm-embedded-ubuntu-ppa-jammy.list Adding disabled deb-src entry to /etc/apt/sources.list.d/team-gcc-arm-embedded-ubuntu-ppa-jammy.list Adding key to /etc/apt/trusted.gpg.d/team-gcc-arm-embedded-ubuntu-ppa.gpg with fingerprint B4D03348F75E3362B1E1C2A1D1FAA6ECF64D33B0 命中:1 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy InRelease 命中:2 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-updates InRelease 命中:3 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-backports InRelease 获取:4 https://mirrors.ustc.edu.cn/ros2/ubuntu jammy InRelease [4,682 B] 命中:5 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-security InRelease 忽略:6 https://ppa.launchpadcontent.net/jonathonf/tup/ubuntu jammy InRelease 忽略:7 https://ppa.launchpadcontent.net/team-gcc-arm-embedded/ppa/ubuntu jammy InRelease 错误:8 https://ppa.launchpadcontent.net/jonathonf/tup/ubuntu jammy Release 404 Not Found [IP: 2620:2d:4000:1::81 443] 错误:9 https://ppa.launchpadcontent.net/team-gcc-arm-embedded/ppa/ubuntu jammy Release 404 Not Found [IP: 2620:2d:4000:1::81 443] 正在读取软件包列表... 完成 E: 仓库 “https://ppa.launchpadcontent.net/jonathonf/tup/ubuntu jammy Release” 没有 Release 文件。 N: 无法安全地用该源进行更新,所以默认禁用该源。 N: 参见 apt-secure(8) 手册以了解仓库创建和用户配置方面的细节。 E: 仓库 “https://ppa.launchpadcontent.net/team-gcc-arm-embedded/ppa/ubuntu jammy Release” 没有 Release 文件。 N: 无法安全地用该源进行更新,所以默认禁用该源。 N: 参见 apt-secure(8) 手册以了解仓库创建和用户配置方面的细节。
最新发布
11-28
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值