2

I'm new in Ubuntu 16 and want to know, how to fix this problem.

Reading package lists... Done
Building dependency tree       
Reading state information... Done
4 packages can be upgraded. Run 'apt list --upgradable' to see them.
W: http://archive.canonical.com/dists/precise/Release.gpg: Signature by key 630239CC130E1A7FD81A27B140976EAF437D05B5 uses weak digest algorithm (SHA1)
Melebius
  • 11,431
  • 9
  • 52
  • 78
  • 2
    Lines that begin with W: are just warnings. You can still run your upgrades as normal. That warning is just that whatever site you are connecting to has a weak digest algorithm that whoever owns it needs to update it. – Terrance May 18 '17 at 03:53
  • 1
    what Ubuntu version are you using? are you trying to install some very old package? why are "Precise" repos being looked up? – astrob0t May 18 '17 at 03:55
  • Ubuntu 12.04 (Precise) went end of life and that will be the reason for this problem. Are you sure you use Ubuntu 16? You fix this by removing 12.04 related data from your system. "archive.canonical.com/dists/precise" = 12.04. – Rinzwind May 18 '17 at 06:46

1 Answers1

1

Copy and paste sudo dpkg --configure -a into the Terminal.

Then paste sudo apt-get update && sudo apt-get upgrade -y

You can also try: sudo apt-get install -f to fix broken dependencies.

These commands should help you to upgrade the packages in question.

Joe
  • 51