Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ubuntu 22.04 install rsyslog with Ubuntu Repository error #171

Open
zhuchqun opened this issue Jul 10, 2024 · 0 comments
Open

ubuntu 22.04 install rsyslog with Ubuntu Repository error #171

zhuchqun opened this issue Jul 10, 2024 · 0 comments

Comments

@zhuchqun
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant