Ubuntu 20.04 problems after installation

Asked by Luis M.Jacinto on 2021-04-05

After installing Ubuntu 20.04 and boot it shows the normal screen but on clicking on any icon nothing happens and after a few seconds the screen starts flashing very fast and I have to switch off the PC.
TRY UBUNTU from the ISO USB disk works very well have no problems
I format and reinstall 4 times but still the same.
Can some one help with this problem.
Thank you

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
actionparsnip
Solved:
2021-04-12
Last query:
2021-04-12
Last reply:
2021-04-09

If you press CTRL + ALT + T does this bring up a terminal. If so then you can run:

sudo apt update
sudo apt full-upgrade

To get fully updated. This may help

Luis M.Jacinto (ljacinto) said : #2

Search on line for the problem found to change to ‘Ubuntu on Wayland’ will fix the problem which i did but now have another problem click on Firefox or Thunderbird icons computer hangs.
Shoude i start another question or should i follow you suggestion?
Please guide me.
Thank you

Luis M.Jacinto (ljacinto) said : #3

Tried the updare and this and it gave an error Terminal result.
luis@luis-desktop:~$ sudo apt update
[sudo] password for luis:
Reading package lists... Done
E: Could not get lock /var/lib/apt/lists/lock. It is held by process 1027 (packagekitd)
N: Be aware that removing the lock file is not a solution and may break your system.
E: Unable to lock directory /var/lib/apt/lists/
luis@luis-desktop:~$

And you haven't searched the Web for a fix...? If you get error messages, try using them on the Web to find solutions. Loads of forums and guides on how to fix things. Just because you posted a question doesn't mean you can't resolve your own issue yourself then post the fix you used.

If you run:

sudo fuser -vki /var/lib/dpkg/lock;sudo dpkg --configure -a

And tell fuser to kill the lock it should be OK. This is the semaphore on the packages as only one application can update the packages at one time. It's the same in Windows

Luis M.Jacinto (ljacinto) said : #5

Thanks actionparsnip, that solved my question.

Luis M.Jacinto (ljacinto) said : #6

Thank you actionparsnip always get positive good help.