-
Notifications
You must be signed in to change notification settings - Fork 22
Description
The system version is Ubuntu 22.04.The following are the steps I installed, according to the official website:
sudo add-apt-repository ppa:adiscon/v8-stable
sudo apt-get update
sudo apt-get install rsyslog
But after checking the service, I found that rsyslog has been installed. Just systemd restart rsyslog will do.
After searching on Google, I found that repairing the status of dpkg would solve the problem. I tried to repair it with the following command and it worked:
sudo mv /var/lib/dpkg/info /var/lib/dpkg/info_silent
sudo mkdir /var/lib/dpkg/info
sudo apt-get update
sudo apt-get -f install
sudo mv /var/lib/dpkg/info/* /var/lib/dpkg/info_silent
sudo rm -rf /var/lib/dpkg/info
sudo mv /var/lib/dpkg/info_silent /var/lib/dpkg/info
I don't know how this problem occurs, I hope I can avoid it during installation.
