Linux 问题梳理

1-Ubuntu遇到W: GPG error: The following signatures couldn't be verified问题

c 复制代码
sudo gpg --keyserver keyserver.ubuntu.com --recv 89942AAE5CEAA174 //(这个公钥根据提示来写的)
 
sudo gpg --export --armor 89942AAE5CEAA174 | sudo apt-key add -

2- git config --global --add safe.directory

c 复制代码
方法1:git config --global --add safe.directory "*"
方法2:删除.git文件夹,在终端运行git init重新初始化
相关推荐
lllsure11 分钟前
【Docker】存储卷
运维·docker·容器
wheeldown16 分钟前
【Linux】 存储分级的秘密
linux·运维·服务器
不做菜鸟的网工26 分钟前
Headscale 的部署方法和使用教程
运维
天天进步201532 分钟前
掌握React状态管理:Redux Toolkit vs Zustand vs Context API
linux·运维·react.js
艾醒(AiXing-w)1 小时前
探索大语言模型(LLM):Ollama快速安装部署及使用(含Linux环境下离线安装)
linux·人工智能·语言模型
垚垚领先1 小时前
Kdump 文档 - 基于 kexec 的崩溃转储解决方案
linux
tongsound1 小时前
igh ethercat 实时性测试
linux·c++
大翻哥哥1 小时前
Python 2025:低代码开发与自动化运维的新纪元
运维·python·低代码
柯南二号1 小时前
【Java后端】Spring Boot 集成雪花算法唯一 ID
java·linux·服务器
半梦半醒*1 小时前
正则表达式
linux·运维·开发语言·正则表达式·centos·运维开发