0

Unable to install flash player on Ubuntu 16.04.

  1. I tried locating on Software Center. Didn't help. No good results on Soft Center

  2. Tried updating Ubuntu. Didn't help. Screen I get when I tried #1 comment suggestion

  3. Tried going through the process of downloading .tar.gz from Adobe. That didn't help either.

  4. I tried all three steps on wikihow. Didn't worked for me.

What should I do?

[Update:] This might help. When I tried running command sudo apt-add-repository multiverse && sudo apt-get update, I get the following message: N: Ignoring file '50unattended-upgrades.ucf-old' in directory '/etc/apt/apt.conf.d/' as it has an invalid filename extension

Doherty
  • 33

1 Answers1

0

This is a known problem in 16.04 that happens because /var/lib/update-notifier/package-data-downloads/partial/ is owned by root:root but apt drops privileges and runs as user _apt when downloading files.

More details and a quick fix on launchpad:

sudo chown _apt:root /var/lib/update-notifier/package-data-downloads/partial/
sudo rm /var/lib/update-notifier/package-data-downloads/partial/*.FAILED
sudo apt install --reinstall update-notifier-common

To get rid of the warning:

N: Ignoring file '50unattended-upgrades.ucf-old' in directory '/etc/apt/apt.conf.d/'

Remove file /etc/apt/apt.conf.d/50unattended-upgrades.ucf-old, more information can be found in another askubuntu.com question.

mgor
  • 1,231