[syslog-ng] Upgrade from 3.10.1-1 to 3.11.1-1 fails on Ubuntu

Sandor Geller sandor.geller at ericsson.com
Fri Jul 28 17:04:22 UTC 2017


Hi,

If only the packaging conflict is the problem but v3.11 itself works 
then you could manually install syslog-ng using dpkg and use the 
--force-overwrite flag (or when installing syslog-ng-core later than 
syslog-ng, I haven't checked the packaging to see which package the file 
should actually belong to). Of course there could be an issue when the 
packaging gets fixed and in the next version the other package tries to 
reclaim the file. Kind of annoying, using the Replaces control field 
could help cleaning up such conflicts.

Regards,

Sandor

On 07/28/2017 06:28 PM, Clayton Dukes wrote:
>
> I have verified that 3.11.1-1 fails on ALL servers that we have.
>
> *From: *Clayton Dukes <cdukes at logzilla.net>
> *Date: *Friday, July 28, 2017 at 10:42 AM
> *To: *Syslog-ng users' and developers' mailing list 
> <syslog-ng at lists.balabit.hu>
> *Subject: *Re: Upgrade from 3.10.1-1 to 3.11.1-1 fails on Ubuntu
>
> The Only thing I could do to get it working was to force v3.10.1-1:
>
> # apt-get install syslog-ng=3.10.1-1
>
> The following NEW packages will be installed:
>
> syslog-ng
>
> 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
>
> Need to get 6,112 B of archives.
>
> After this operation, 29.7 kB of additional disk space will be used.
>
> Get:1 
> http://download.opensuse.org/repositories/home:/laszlo_budai:/syslog-ng/xUbuntu_14.04/ 
> ./ syslog-ng 3.10.1-1 [6,112 B]
>
> Fetched 6,112 B in 0s (22.0 kB/s)
>
> (Reading database ... 213661 files and directories currently installed.)
>
> Preparing to unpack .../syslog-ng_3.10.1-1_all.deb ...
>
> Unpacking syslog-ng (3.10.1-1) ...
>
> Setting up syslog-ng (3.10.1-1) ...
>
> *From: *Clayton Dukes <cdukes at logzilla.net>
> *Date: *Friday, July 28, 2017 at 10:37 AM
> *To: *Syslog-ng users' and developers' mailing list 
> <syslog-ng at lists.balabit.hu>
> *Subject: *Re: Upgrade from 3.10.1-1 to 3.11.1-1 fails on Ubuntu
>
> Seems I can't even remove it and install again.
>
> The following NEW packages will be installed:
>
> syslog-ng
>
> 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
>
> Need to get 5,234 B of archives.
>
> After this operation, 43.0 kB of additional disk space will be used.
>
> Get:1 
> http://download.opensuse.org/repositories/home:/laszlo_budai:/syslog-ng/xUbuntu_14.04/ 
> ./ syslog-ng 3.11.1-1 [5,234 B]
>
> Fetched 5,234 B in 0s (16.8 kB/s)
>
> (Reading database ... 213661 files and directories currently installed.)
>
> Preparing to unpack .../syslog-ng_3.11.1-1_all.deb ...
>
> Unpacking syslog-ng (3.11.1-1) ...
>
> dpkg: error processing archive 
> /var/cache/apt/archives/syslog-ng_3.11.1-1_all.deb (--unpack):
>
> trying to overwrite '/lib/systemd/system/syslog-ng.service', which is 
> also in package syslog-ng-core 3.11.1-1
>
> Errors were encountered while processing:
>
> /var/cache/apt/archives/syslog-ng_3.11.1-1_all.deb
>
> E: Sub-process /usr/bin/dpkg returned an error code (1)
>
> *From: *Clayton Dukes <cdukes at logzilla.net>
> *Date: *Friday, July 28, 2017 at 10:24 AM
> *To: *Syslog-ng users' and developers' mailing list 
> <syslog-ng at lists.balabit.hu>
> *Subject: *Upgrade from 3.10.1-1 to 3.11.1-1 fails on Ubuntu
>
> I got this today on one of our Customer's systems, anyone else had 
> this happen?
>
> Unpacking syslog-ng (3.11.1-1) over (3.10.1-1) ...
>
> dpkg: error processing archive 
> /var/cache/apt/archives/syslog-ng_3.11.1-1_all.deb (--unpack):
>
> trying to overwrite '/lib/systemd/system/syslog-ng.service', which is 
> also in package syslog-ng-core 3.11.1-1
>
> Errors were encountered while processing:
>
> /var/cache/apt/archives/syslog-ng_3.11.1-1_all.deb
>
> E: Sub-process /usr/bin/dpkg returned an error code (1)
>
> **
>
> 	
>
> **
>
> 	
>
> *Clayton Dukes*
>
> Founder & CEO
>
> LogZilla Corporation
> 2900 N. Quinlan Park Rd, B240-341
> Austin, TX, 78732
>
> Tel: 936-4NetOps (463-8677)
>
> Web: www.logzilla.net <http://www.logzilla.net/>
>
> <https://twitter.com/logzilla><https://youtu.be/drg5wv_mgfA><https://www.linkedin.com/in/lzcdukes/>
>
> /For NetOps, By NetOps!/
>
>
>
> ______________________________________________________________________________
> Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng
> Documentation: http://www.balabit.com/support/documentation/?product=syslog-ng
> FAQ: http://www.balabit.com/wiki/syslog-ng-faq
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.balabit.hu/pipermail/syslog-ng/attachments/20170728/6f4bc529/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 6536 bytes
Desc: not available
URL: <http://lists.balabit.hu/pipermail/syslog-ng/attachments/20170728/6f4bc529/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.png
Type: image/png
Size: 2263 bytes
Desc: not available
URL: <http://lists.balabit.hu/pipermail/syslog-ng/attachments/20170728/6f4bc529/attachment-0005.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image003.png
Type: image/png
Size: 1911 bytes
Desc: not available
URL: <http://lists.balabit.hu/pipermail/syslog-ng/attachments/20170728/6f4bc529/attachment-0006.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image004.png
Type: image/png
Size: 1815 bytes
Desc: not available
URL: <http://lists.balabit.hu/pipermail/syslog-ng/attachments/20170728/6f4bc529/attachment-0007.png>


More information about the syslog-ng mailing list