当前位置: 首页 > news >正文

Dell服务器升级ubuntu 22.04失败解决

ubuntu系统原版本20.04,服务器dell T40.

执行apt update后,再执行apt upgrade。

apt update执行成功,但apt upgrade执行中断,提示如下:

Checking package manager
Reading package lists... Done
Building dependency tree        
Reading state information... Done
Hit http://mirrors.aliyun.com/ubuntu focal InRelease                                                                                  
Hit http://mirrors.aliyun.com/ubuntu focal-updates InRelease                                                                          
Hit http://mirrors.aliyun.com/ubuntu focal-backports InRelease                                                                        
Hit http://mirrors.aliyun.com/ubuntu focal-security InRelease                                                                         
Fetched 0 B in 0s (0 B/s)                                                                                                             
Reading package lists... Done    
Building dependency tree          
Reading state information... Done

You are using pam_tally or pam_tally2 in your configuration. 

The pam_tally and pam_tally2 modules have been removed from PAM. You 
are using one of these modules in your PAM configuration in 
/etc/pam.d. You must remove the uses of these modules before PAM can 
be upgraded; including these modules in your PAM configuration after 
the upgrade will stop users from being able to log into the system. 

Consider the pam_faillock module as a replacement for pam_tally. 


Restoring original system state
 

进入/etc/pam.d目录

使用命令:

grep pam *

将所有pam相关的配置行使用#注释掉。

保存文件,再次执行apt upgrade。

运行成功。

http://www.lryc.cn/news/513178.html

相关文章:

  • 构建全志 T113 Tina SDK
  • (推荐)【通用业务分发架构】1.业务分发 2.rpc调用 3.Event事件系统
  • 最近的一些事情
  • CP AUTOSAR标准之FlexRayDriver(AUTOSAR_SWS_FlexRayDriver)(更新中……)
  • Cesium 实战 27 - 三维视频融合(视频投影)
  • GraphRAG实践:docker部署neo4j
  • 常用的数据库类型都有哪些
  • swiftui开发页面加载发送请求初始化@State变量
  • Ribbon和Eureka的集成
  • 关于UE加载osgb数据的研究(一)
  • 探索数据之美,Plotly引领可视化新风尚
  • List排序的方法
  • BurstAttention:高效的分布式注意力计算框架
  • 大数据治理:构建稳健的数据生态系统
  • 【图书介绍】几本适合当教材的大数据技术图书
  • 阴阳师の新手如何速刷5个SP/SSR?!(急速育成)
  • unity学习4:git和SVN的使用差别
  • 四大自平衡树对比:AVL树、红黑树、B树与B+树
  • BUUCTF Pwn ciscn_2019_es_2 WP
  • MongoDb-mongosh-登录
  • C语言day3:shell脚本
  • 微信小程序Uniapp
  • mongoTemplate的复杂组装条件查询
  • httpslocalhostindex 配置的nginx,一刷新就报404了
  • pandas删除值全部为0的整行和整列,还有0.0,0.000000也要删除
  • IO Virtualization with Virtio.part 1 [十二]
  • ShardingSphere-Proxy分表场景:go测试案例
  • OpenStack系列第四篇:云平台基础功能与操作(Dashboard)
  • ESP32 I2S音频总线学习笔记(一):初识I2S通信与配置基础
  • 25上半年软考高级系统分析师易混淆知识点