Configuring dpkg stops processing when calling an HTTP request to Adobe Flash Player

I recently moved to Linux, and I am in love with the experience. Opinions apart, I am having problems when running

sudo dpkg --configure -a

My computer stops processing the command here:

terminal output

You may know Adobe Flash Player is no longer supported, and I believe that could be why the command is unable to load pepperflashplugin-nonfree.

I have tried fixing the problem by checking older posts here, but none of them was able to fix this problem.


Solution 1:

Unfortunately, with Flash having reached EOL and it no longer being supported, the only option you have to fix this is to remove the package and anything depending on it.

sudo apt remove pepperflashplugin-nonfree

The above command will simply remove the package, thereby no longer hanging up on Adobe's "Flash is End of Life" page. This does, however, prohibit you from running Flash content now. (Though, most of the browsers on the market have already disallowed the Flash plugin because of the December 31, 2020 EOL date)

NOTE: As of January 19, 2020, the process has begun to make the pepperflashplugin-nonfree package a 'dummy package' that removes the existing Flash plugins and then doesn't install Flash anymore. This came as an OEM request, and is in the process of being SRU'd.

As of January 26, 2020, a Stable Release Update has been released for pepperflashplugin-nonfree that essentially fixes this issue and kills Flash installed by the package. This was an OEM request, and is now live, and SHOULD resolve the issue being observed by people running into PepperFlash hanging dpkg and apt installs.

Solution 2:

If sudo apt purge pepperflashplugin-nonfree doesn't work, reboot and then run:

sudo dpkg -P pepperflashplugin-nonfree 
sudo dpkg --configure -a