Forum Discussion
Hi STATEABC,
Thanks for using Intel/Altera forums. I'm Kian and will looking into this case.
Do you have the full log of the command use and the output in the console as it is quite hard to analyze the issue.
My best bet is that when you run the command "sudo apt-get install --reinstall libappstream4" , the apt also detects alot of orphaned or sort of 'unused/leftover' packages that are deemed removeable by the application. You will get like "The following packages were automatically installed and are no longer required:" or these packages are automatically removed etc.
As libappstream4 is part of the core ubuntu package to access appstream packages (https://packages.ubuntu.com/focal/arm64/libappstream4) I'm suspecting apt is removing additional packages that it deemed orphaned. You might have to run apt to reinstall those packages that were removed.
Could you help answer the questions below
1. May I know whether the Ubuntu 20.04 is a freshly installed OS on the system (means just installed and run the command) ? If it is not , is there any OS upgrade done prior (eg from ubuntu 18 to 20.04 etc).
2. Is the ubuntu OS a standalone OS or based on Windows Linux (WSL)? If linux standalone, does the ubuntu desktop GUI working?
3. Is there any apt update run before that and is there any issues when running the update alone?
4. when running the command "sudo apt-get install --reinstall libappstream4" , what is the output of it, and any auto packages removal.
Thanks
Regards
Kian