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 24.04 LTS failing install #173

Open
jaribeckman opened this issue Aug 27, 2024 · 3 comments
Open

Ubuntu 24.04 LTS failing install #173

jaribeckman opened this issue Aug 27, 2024 · 3 comments
Labels

Comments

@jaribeckman
Copy link

jaribeckman commented Aug 27, 2024

Hello, using cloud image for Ubuntu 24.04 LTS. Trying to install from latest v8-stable repo but kept failing even after removing and deleting files and retrying. Suspecting some corrupt file or typo. For now switched to daily developer repo instead which installs fine.

ubuntu@syslog01:~$ sudo apt-get -y install rsyslog
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Suggested packages:
rsyslog-mysql | rsyslog-pgsql rsyslog-doc rsyslog-relp rsyslog-elasticsearch rsyslog-mmjsonparse
rsyslog-imptcp rsyslog-gnutls rsyslog-openssl rsyslog-udpspoof rsyslog-mmrm1stspace rsyslog-mmutf8fix
rsyslog-kafka rsyslog-omstdout
The following NEW packages will be installed:
rsyslog
0 upgraded, 1 newly installed, 0 to remove and 2 not upgraded.
Need to get 778 kB of archives.
After this operation, 1976 kB of additional disk space will be used.
Get:1 https://ppa.launchpadcontent.net/adiscon/v8-stable/ubuntu noble/main amd64 rsyslog amd64 8.2408.0-0adiscon1 noble1 [778 kB]
Fetched 778 kB in 0s (1587 kB/s)
(Reading database ... 71867 files and directories currently installed.)
Preparing to unpack .../rsyslog_8.2408.0-0adiscon1noble1_amd64.deb ...
Unpacking rsyslog (8.2408.0-0adiscon1noble1) ...
dpkg: error processing archive /var/cache/apt/archives/rsyslog_8.2408.0-0adiscon1noble1_amd64.deb (--unpack):
unable to open '/usr/lib/systemd/system/rsyslog.service.dpkg-new': No such file or directory
No apport report written because the error message indicates an issue on the local system
Errors were encountered while processing:
/var/cache/apt/archives/rsyslog_8.2408.0-0adiscon1noble1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

@AnSPetrov
Copy link

AnSPetrov commented Aug 28, 2024

Same problem. I can try install from ppa:adiscon/daily-stable but noble series doesnt supported. @jaribeckman How were you able to achieve a successful installation?

@friedl friedl added the bug label Aug 28, 2024
@friedl
Copy link
Contributor

friedl commented Aug 28, 2024

We are already aware of the issue with the failing install on Ubuntu 24.04 and investigating.

There seems to be an issue with the package building process for the stable packages. For the time being, the issue is marked as a bug.

@useful64
Copy link

It seems that the rsyslog.service file is duplicated. If you delete it, it works:

dpkg -x /var/cache/apt/archives/rsyslog_8.2408.0-0adiscon5noble1_amd64.deb ./rsyslog
mkdir ./rsyslog/DEBIAN
dpkg --control /var/cache/apt/archives/rsyslog_8.2408.0-0adiscon5noble1_amd64.deb ./rsyslog/DEBIAN/
rm ./rsyslog/lib/systemd/system/rsyslog.service
rmdir ./rsyslog/lib/systemd/system/
rmdir ./rsyslog/lib/systemd/
rmdir ./rsyslog/lib/
dpkg -b ./rsyslog/ /tmp/rsyslog.deb
sudo apt install /tmp/rsyslog.deb

Also I have problems with Apparmor and with the file "/usr/lib/rsyslog/reload-apparmor-profile" as it does not exist and I had to get the files from Ubuntu package.

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

No branches or pull requests

4 participants