关于软件升级,请教大佬?
Tofloor
poster avatar
crazya
deepin
2020-05-08 05:31
Author
  1. xiaoa@xiaoa-PC:~$ sudo apt-get upgrade
  2. 正在读取软件包列表... 完成
  3. 正在分析软件包的依赖关系树      
  4. 正在读取状态信息... 完成      
  5. 正在计算更新... 完成
  6. 下列软件包的版本将保持不变:
  7.   libgnome-keyring-common libgnome2-common libgnomevfs2-common libsdl-image1.2 xserver-xorg-input-wacom
  8. 升级了 0 个软件包,新安装了 0 个软件包,要卸载 0 个软件包,有 5 个软件包未被升级。
  9. xiaoa@xiaoa-PC:~$ sudo apt-get dist-upgrade
  10. 正在读取软件包列表... 完成
  11. 正在分析软件包的依赖关系树      
  12. 正在读取状态信息... 完成      
  13. 正在计算更新... 完成
  14. 下列软件包的版本将保持不变:
  15.   libgnome-keyring-common libgnome2-common libgnomevfs2-common libsdl-image1.2 xserver-xorg-input-wacom
  16. 升级了 0 个软件包,新安装了 0 个软件包,要卸载 0 个软件包,有 5 个软件包未被升级。
  17. xiaoa@xiaoa-PC:~$ sudo apt-get dist-upgrade
  18. 正在读取软件包列表... 完成
  19. 正在分析软件包的依赖关系树      
  20. 正在读取状态信息... 完成      
  21. 正在计算更新... 完成
  22. 下列软件包的版本将保持不变:
  23.   libgnome-keyring-common libgnome2-common libgnomevfs2-common libsdl-image1.2 xserver-xorg-input-wacom
  24. 升级了 0 个软件包,新安装了 0 个软件包,要卸载 0 个软件包,有 5 个软件包未被升级。
Copy the Code
敢问大佬,怎么强制让这5个软件升级呢?
Reply Favorite View the author
All Replies
avatar
h***a@gmail.com
deepin
2020-05-08 06:17
#1
sudo apt-get install libgnome-keyring-common libgnome2-common libgnomevfs2-common libsdl-image1.2 xserver-xorg-input-wacom
Reply View the author
avatar
SamLukeYes
deepin
2020-05-08 07:39
#2
建议你别理它,克制一下自己
Reply View the author
avatar
crazya
deepin
2020-05-09 06:10
#3
https://bbs.deepin.org/post/193800
sudo apt-get install libgnome-keyring-common libgnome2-common libgnomevfs2-common libsdl-image1.2 xs ...

xiaoa@xiaoa-PC:~$ sudo apt-get install libgnome-keyring-common libgnome2-common libgnomevfs2-common libsdl-image1.2 xserver-xorg-input-wacom
正在读取软件包列表... 完成
正在分析软件包的依赖关系树      
正在读取状态信息... 完成      
有一些软件包无法被安装。如果您用的是 unstable 发行版,这也许是
因为系统无法达到您要求的状态造成的。该版本中可能会有一些您需要的软件
包尚未被创建或是它们已被从新到(Incoming)目录移出。
下列信息可能会对解决问题有所帮助:

下列软件包有未满足的依赖关系:
libsdl-image1.2 : 依赖: libjpeg8 (>= 8c) 但是它将不会被安装
xserver-xorg-input-wacom : 依赖: xorg-input-abi-22
E: 无法修正错误,因为您要求某些软件包保持现状,就是它们破坏了软件包间的依赖关系。
Reply View the author
avatar
SamLukeYes
deepin
2020-05-09 06:21
#4
https://bbs.deepin.org/post/193800
xiaoa@xiaoa-PC:~$ sudo apt-get install libgnome-keyring-common libgnome2-common libgnomevfs2-commo ...

升级命令不给你升级这些软件包就是因为依赖不满足,我以前遇到过这样的情况,别理它们就好
Reply View the author
avatar
Feng Yu
deepin
2020-05-09 18:00
#5
这种问题是楼主瞎搞软件仓库的问题,你肯定是自己不知道哪抄来的软件仓库配置,不懂就瞎搞一通,所以破坏了那一堆依赖。

顺便围观二楼这种半吊子,还强制升级我差点下巴没惊掉下来,一帮不懂装懂的在误导小白。

从楼主的问题来看,楼主没搞清楚apt的玩法,也不懂软件仓库的配置,不建议自己瞎搞,以上,你这已经算是破坏了系统依赖了,继续瞎搞下去系统早晚让你玩坏
Reply View the author
avatar
crazya
deepin
2020-05-09 19:15
#6
https://bbs.deepin.org/post/193800
这种问题是楼主瞎搞软件仓库的问题,你肯定是自己不知道哪抄来的软件仓库配置,不懂就瞎搞一通,所以破坏了 ...

坏了就重装,很简单!这是我配置的源。
  1. xiaoa@xiaoa-PC:/etc/apt$ cat sources.list
  2. ## Generated by deepin-installer
  3. deb [by-hash=force] http://packages.deepin.com/deepin lion main contrib non-free
  4. #deb-src http://packages.deepin.com/deepin lion main contrib non-free

  5. deb http://mirrors.aliyun.com/ubuntu/ trusty main restricted universe multiverse
  6. deb http://mirrors.aliyun.com/ubuntu/ trusty-security main restricted universe multiverse
  7. deb http://mirrors.aliyun.com/ubuntu/ trusty-updates main restricted universe multiverse
  8. deb http://mirrors.aliyun.com/ubuntu/ trusty-proposed main restricted universe multiverse
  9. deb http://mirrors.aliyun.com/ubuntu/ trusty-backports main restricted universe multiverse
  10. deb-src http://mirrors.aliyun.com/ubuntu/ trusty main restricted universe multiverse
  11. deb-src http://mirrors.aliyun.com/ubuntu/ trusty-security main restricted universe multiverse
  12. deb-src http://mirrors.aliyun.com/ubuntu/ trusty-updates main restricted universe multiverse
  13. deb-src http://mirrors.aliyun.com/ubuntu/ trusty-proposed main restricted universe multiverse
  14. deb-src http://mirrors.aliyun.com/ubuntu/ trusty-backports main restricted universe multiverse
  15. deb http://cz.archive.ubuntu.com/ubuntu xenial main
Copy the Code

Reply View the author
avatar
Feng Yu
deepin
2020-05-09 19:40
#7
本帖最后由 abcfy2 于 2020-5-9 11:42 编辑
https://bbs.deepin.org/post/193800
坏了就重装,很简单!这是我配置的源。

瞎搞,你明白这些仓库是啥意思吗?你配置的全是Ubuntu 14.04的仓库,最后还混用了一个Ubuntu 16.04的仓库,而且也不全,根本乱搞一气,根本是错的,不能通用,你早就把软件仓库的依赖破坏完了。你还是找一本Ubuntu或者Debian的系统书籍好好学学吧

软件仓库根本不能乱配,那根本不是新手小白该干的事,看到论坛一堆误人子弟的教程乱教别人改仓库我就想骂

Reply View the author
avatar
SamLukeYes
deepin
2020-05-09 20:02
#8
https://bbs.deepin.org/post/193800
坏了就重装,很简单!这是我配置的源。

哈哈哈这种事情我也干过,所以ubuntu和deepin都经常被我玩坏。换了manjaro就怎么玩也玩不坏,因为没有混用源的必要了
Reply View the author
avatar
crazya
deepin
2020-05-09 22:00
#9
https://bbs.deepin.org/post/193800
瞎搞,你明白这些仓库是啥意思吗?你配置的全是Ubuntu 14.04的仓库,最后还混用了一个Ubuntu 16.04的仓库 ...

上次是安装DBeaver时缺少依赖,百度到要添加源,然后就加了这些,确实解决了依赖问题,我这里有备份,说说要怎么改呢?
  1. xiaoa@xiaoa-PC:~$ cd /etc/apt/
  2. xiaoa@xiaoa-PC:/etc/apt$ ll
  3. 总用量 100
  4. drwxr-xr-x 2 root root  4096 3月  29 00:03 apt.conf.d
  5. -rw-r--r-- 1 root root     1 3月  29 00:03 preferences
  6. drwxr-xr-x 2 root root  4096 3月  29 00:03 preferences.d
  7. -rw-r--r-- 1 root root  1139 5月   3 09:44 sources.list
  8. -rw-r--r-- 1 root root    94 3月  29 00:07 sources.list~
  9. -rw-r--r-- 1 root root   184 5月   2 23:54 sources.list.bak20200502
  10. drwxr-xr-x 2 root root  4096 5月   2 21:36 sources.list.d
  11. -rw-r--r-- 1 root root 37484 5月   3 09:39 trusted.gpg
  12. -rw-r--r-- 1 root root 26650 5月   3 09:39 trusted.gpg~
  13. drwxr-xr-x 2 root root  4096 3月  29 00:03 trusted.gpg.d
  14. xiaoa@xiaoa-PC:/etc/apt$ cat sources.list.bak20200502
  15. ## Generated by deepin-installer
  16. deb [by-hash=force] http://packages.deepin.com/deepin lion main contrib non-free
  17. #deb-src http://packages.deepin.com/deepin lion main contrib non-free
  18. xiaoa@xiaoa-PC:/etc/apt$ cat sources.list
  19. ## Generated by deepin-installer
  20. deb [by-hash=force] http://packages.deepin.com/deepin lion main contrib non-free
  21. #deb-src http://packages.deepin.com/deepin lion main contrib non-free

  22. deb http://mirrors.aliyun.com/ubuntu/ trusty main restricted universe multiverse
  23. deb http://mirrors.aliyun.com/ubuntu/ trusty-security main restricted universe multiverse
  24. deb http://mirrors.aliyun.com/ubuntu/ trusty-updates main restricted universe multiverse
  25. deb http://mirrors.aliyun.com/ubuntu/ trusty-proposed main restricted universe multiverse
  26. deb http://mirrors.aliyun.com/ubuntu/ trusty-backports main restricted universe multiverse
  27. deb-src http://mirrors.aliyun.com/ubuntu/ trusty main restricted universe multiverse
  28. deb-src http://mirrors.aliyun.com/ubuntu/ trusty-security main restricted universe multiverse
  29. deb-src http://mirrors.aliyun.com/ubuntu/ trusty-updates main restricted universe multiverse
  30. deb-src http://mirrors.aliyun.com/ubuntu/ trusty-proposed main restricted universe multiverse
  31. deb-src http://mirrors.aliyun.com/ubuntu/ trusty-backports main restricted universe multiverse
  32. deb http://cz.archive.ubuntu.com/ubuntu xenial main
Copy the Code
Reply View the author