rsyslog-pkg-ubuntu icon indicating copy to clipboard operation
rsyslog-pkg-ubuntu copied to clipboard

ubuntu 22.04 install rsyslog with Ubuntu Repository error

Open zhuchqun opened this issue 7 months ago • 0 comments

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

Then an error occurred. image

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.

zhuchqun avatar Jul 10 '24 07:07 zhuchqun