Having issues with apt-get upgrade
Tofloor
poster avatar
svassallo
deepin
2019-08-28 01:26
Author
Having issues with apt-get upgrade and wondered if anyone can assist?

In the meantime I look at the Deepin Wiki.

Thanks in advance.

simon@Deepin:~$ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree      
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
console-setup-linux : Depends: kbd (>= 0.99-12) but it is not installable or
                                console-tools (>= 1:0.2.3-16) but it is not installable
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
simon@Deepin:~$


Reply Favorite View the author
All Replies
Feng Yu
deepin
2019-08-28 01:52
#1
本帖最后由 abcfy2 于 2019-8-27 17:54 编辑

Did you ever change the default /etc/apt/sources.list ?

Please show me the commands output:
  1. cat /etc/apt/sources.lsit

  2. cat /etc/apt/sources.list.d/*.list

  3. lsb_release -a
Copy the Code


And try:

  1. sudo apt update && sudo apt full-upgrade -y
Copy the Code
Reply View the author
svassallo
deepin
2019-08-28 05:49
#2
https://bbs.deepin.org/post/182214
本帖最后由 abcfy2 于 2019-8-27 17:54 编辑

Did you ever change the default /etc/apt/sources.list ? ...

simon@Deepin:~$ cat /etc/apt/sources.lsit
cat: /etc/apt/sources.lsit: No such file or directory
simon@Deepin:~$ cat /etc/apt/sources.list.d/*.list
deb [trusted=yes] https://apt.fury.io/lvtommy-kernel/ /
deb [trusted=yes] https://apt.fury.io/lvtommyrepo/ /
simon@Deepin:~$ lsb_release -a
No LSB modules are available.
Distributor ID:        Deepin
Description:        Deepin 15.11
Release:        15.11
Codename:        stable
simon@Deepin:~$
Reply View the author
svassallo
deepin
2019-08-28 05:53
#3
https://bbs.deepin.org/post/182214
本帖最后由 abcfy2 于 2019-8-27 17:54 编辑

Did you ever change the default /etc/apt/sources.list ? ...

Just ran 'sudo apt update && sudo apt full-upgrade -y , then sudo apt-get update and finally sudo apt-get upgrade and this worked
Reply View the author
Feng Yu
deepin
2019-08-28 06:06
#4
https://bbs.deepin.org/post/182214
Just ran 'sudo apt update && sudo apt full-upgrade -y , then sudo apt-get update and finally sudo  ...

Oh, it seems that your apt cache has been expired. So after sudo apt update, it works.

It's better run sudo apt update before you want to install any packages.
Reply View the author
svassallo
deepin
2019-08-28 07:11
#5
https://bbs.deepin.org/post/182214
Oh, it seems that your apt cache has been expired. So after sudo apt update, it works.

It's bette ...

That's for the tip and your help
Reply View the author