Score:0

upgrading packages on 18.04 running on AWS ec2 instance results in error

ua flag

Attempting to upgrade packages on 18.04 running on an AWS ec2 instance and getting the following error.

The package linux-aws-5.4-headers-5.4.0-1030 needs to be reinstalled, but I can't find an archive for it.

I've tried apt dist-upgrade , apt-get install --fix-missing and dpkg --configure -a. All result in the same error above.The package linux-aws-5.4-headers-5.4.0-1030 doesn't appear to be listed in the software packages for 18.04

Thanks in advance for any help in resolving this issue.

Score:0
ua flag

Figured this one out. Ran the following in order and resolved the problem.

sudo dpkg --remove --force-remove-reinstreq linux-aws-5.4-headers-5.4.0-1030
sudo apt-get update
sudo apt-get upgrade (this will throw an unmet dependencies error)
sudo apt --fix-broken install
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.