RK3399Pro sudo apt-get upgrade相关问题

RK3399Pro sudo apt-get upgrade相关问题

  1. sudo apt-get upgrade 出现 not upgraded 解决办法(0 upgraded,0 newly installed,0 to remove and 23 not upgraded)
  2. sudo apt-get upgrade 出现dpkg:error processing package rsyslog (–configure)解决办法
  3. sudo apt-get upgrade 出现 not upgraded 解决办法(0 upgraded,0 newly installed,0 to remove and 23 not upgraded)

执行

$ sudo apt-get dist-upgrade
1
2. sudo apt-get upgrade 出现dpkg:error processing package rsyslog (–configure)解决办法

通过执行以下命令有效解决该问题:

$ sudo mv /var/lib/dpkg/info/ /var/lib/dpkg/info_old/
$ sudo mkdir /var/lib/dpkg/info/
$ sudo apt-get update
$ sudo apt-get -f install
$ sudo apt-get update
$ sudo apt-get upgrade
1
2
3
4
5
6
注:如果依然存在问题,请查询Ubuntu系统默认python版本,一般如果修改过默认版本,修改回python2.7原始默认版本即可)
————————————————
版权声明:本文为CSDN博主「汇创慧玩」的原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接及本声明。
原文链接:https://blog.csdn.net/limuyuanrs/article/details/107979262

你可能感兴趣的:(ubuntu,linux,服务器)