Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Could not load list of meta packages: [Errno 12] Cannot allocate memory

Tags:

ubuntu

I use AWS free tier.
I've encountered the error message saying 'Could not load list of meta packages: [Errno 12] Cannot allocate memory' after apt-get upgrade error with the message 'fatal -> failed to fork'.
Does anyone know why I got these messages and how to solve the problem.
Thank you.

Could not load list of meta packages: [Errno 12] Cannot allocate memory

like image 251
neono Avatar asked Jan 06 '23 10:01

neono


1 Answers

Actually, this prompt was written in file

/var/lib/ubuntu-release-upgrader/release-upgrade-available

so remove it and the error message will disappear. This file was created by

/usr/lib/ubuntu-release-upgrader/release-upgrade-motd

and if you don't deal with it, I think it will disappear after a day.

like image 114
simileas Avatar answered Jan 09 '23 01:01

simileas