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) [cid:image001.png@01D3078B.AD39C7D0] 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/> [cid:image002.png@01D3078B.AD39C7D0]<https://twitter.com/logzilla>[cid:image003.png@01D3078B.AD39C7D0]<https://youtu.be/drg5wv_mgfA>[cid:image004.png@01D3078B.AD39C7D0]<https://www.linkedin.com/in/lzcdukes/> For NetOps, By NetOps!
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/xUbu... ./ 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@logzilla.net> Date: Friday, July 28, 2017 at 10:24 AM To: Syslog-ng users' and developers' mailing list <syslog-ng@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) [cid:image001.png@01D3078D.7F34B460] 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/> [cid:image002.png@01D3078D.7F34B460]<https://twitter.com/logzilla>[cid:image003.png@01D3078D.7F34B460]<https://youtu.be/drg5wv_mgfA>[cid:image004.png@01D3078D.7F34B460]<https://www.linkedin.com/in/lzcdukes/> For NetOps, By NetOps!
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/xUbu... ./ 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@logzilla.net> Date: Friday, July 28, 2017 at 10:37 AM To: Syslog-ng users' and developers' mailing list <syslog-ng@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/xUbu... ./ 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@logzilla.net> Date: Friday, July 28, 2017 at 10:24 AM To: Syslog-ng users' and developers' mailing list <syslog-ng@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) [cid:image001.png@01D3078E.2DD09070] 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/> [cid:image002.png@01D3078E.2DD09070]<https://twitter.com/logzilla>[cid:image003.png@01D3078E.2DD09070]<https://youtu.be/drg5wv_mgfA>[cid:image004.png@01D3078E.2DD09070]<https://www.linkedin.com/in/lzcdukes/> For NetOps, By NetOps!
I have verified that 3.11.1-1 fails on ALL servers that we have. From: Clayton Dukes <cdukes@logzilla.net> Date: Friday, July 28, 2017 at 10:42 AM To: Syslog-ng users' and developers' mailing list <syslog-ng@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/xUbu... ./ 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@logzilla.net> Date: Friday, July 28, 2017 at 10:37 AM To: Syslog-ng users' and developers' mailing list <syslog-ng@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/xUbu... ./ 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@logzilla.net> Date: Friday, July 28, 2017 at 10:24 AM To: Syslog-ng users' and developers' mailing list <syslog-ng@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) [cid:image001.png@01D3079D.004F1900] 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/> [cid:image002.png@01D3079D.004F1900]<https://twitter.com/logzilla>[cid:image003.png@01D3079D.004F1900]<https://youtu.be/drg5wv_mgfA>[cid:image004.png@01D3079D.004F1900]<https://www.linkedin.com/in/lzcdukes/> For NetOps, By NetOps!
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@logzilla.net> *Date: *Friday, July 28, 2017 at 10:42 AM *To: *Syslog-ng users' and developers' mailing list <syslog-ng@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/xUbu... ./ 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@logzilla.net> *Date: *Friday, July 28, 2017 at 10:37 AM *To: *Syslog-ng users' and developers' mailing list <syslog-ng@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/xUbu... ./ 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@logzilla.net> *Date: *Friday, July 28, 2017 at 10:24 AM *To: *Syslog-ng users' and developers' mailing list <syslog-ng@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
Hi, it should work now. ________________________________ From: syslog-ng <syslog-ng-bounces@lists.balabit.hu> on behalf of Clayton Dukes <cdukes@logzilla.net> Sent: Friday, July 28, 2017 6:28:24 PM To: Syslog-ng users' and developers' mailing list Subject: Re: [syslog-ng] Upgrade from 3.10.1-1 to 3.11.1-1 fails on Ubuntu I have verified that 3.11.1-1 fails on ALL servers that we have. From: Clayton Dukes <cdukes@logzilla.net> Date: Friday, July 28, 2017 at 10:42 AM To: Syslog-ng users' and developers' mailing list <syslog-ng@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/xUbu... ./ 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@logzilla.net> Date: Friday, July 28, 2017 at 10:37 AM To: Syslog-ng users' and developers' mailing list <syslog-ng@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/xUbu... ./ 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@logzilla.net> Date: Friday, July 28, 2017 at 10:24 AM To: Syslog-ng users' and developers' mailing list <syslog-ng@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) [cid:image001.png@01D3079D.004F1900] 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/> [cid:image002.png@01D3079D.004F1900]<https://twitter.com/logzilla>[cid:image003.png@01D3079D.004F1900]<https://youtu.be/drg5wv_mgfA>[cid:image004.png@01D3079D.004F1900]<https://www.linkedin.com/in/lzcdukes/> For NetOps, By NetOps!
Confirmed, works. Thanks! From: syslog-ng <syslog-ng-bounces@lists.balabit.hu> on behalf of Laszlo Budai <laszlo.budai@outlook.com> Reply-To: Syslog-ng users' and developers' mailing list <syslog-ng@lists.balabit.hu> Date: Friday, July 28, 2017 at 5:20 PM To: Syslog-ng users' and developers' mailing list <syslog-ng@lists.balabit.hu> Subject: Re: [syslog-ng] Upgrade from 3.10.1-1 to 3.11.1-1 fails on Ubuntu Hi, it should work now. ________________________________ From: syslog-ng <syslog-ng-bounces@lists.balabit.hu> on behalf of Clayton Dukes <cdukes@logzilla.net> Sent: Friday, July 28, 2017 6:28:24 PM To: Syslog-ng users' and developers' mailing list Subject: Re: [syslog-ng] Upgrade from 3.10.1-1 to 3.11.1-1 fails on Ubuntu I have verified that 3.11.1-1 fails on ALL servers that we have. From: Clayton Dukes <cdukes@logzilla.net> Date: Friday, July 28, 2017 at 10:42 AM To: Syslog-ng users' and developers' mailing list <syslog-ng@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/xUbu... ./ 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@logzilla.net> Date: Friday, July 28, 2017 at 10:37 AM To: Syslog-ng users' and developers' mailing list <syslog-ng@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/xUbu... ./ 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@logzilla.net> Date: Friday, July 28, 2017 at 10:24 AM To: Syslog-ng users' and developers' mailing list <syslog-ng@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) [cid:image001.png@01D309EC.CDD7F350] 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/> [cid:image002.png@01D309EC.CDD7F350]<https://twitter.com/logzilla>[cid:image003.png@01D309EC.CDD7F350]<https://youtu.be/drg5wv_mgfA>[cid:image004.png@01D309EC.CDD7F350]<https://www.linkedin.com/in/lzcdukes/> For NetOps, By NetOps!
Thanks for reporting the issue. On Monday, July 31, 2017, Clayton Dukes <cdukes@logzilla.net> wrote:
Confirmed, works. Thanks!
*From: *syslog-ng <syslog-ng-bounces@lists.balabit.hu <javascript:_e(%7B%7D,'cvml','syslog-ng-bounces@lists.balabit.hu');>> on behalf of Laszlo Budai <laszlo.budai@outlook.com <javascript:_e(%7B%7D,'cvml','laszlo.budai@outlook.com');>> *Reply-To: *Syslog-ng users' and developers' mailing list < syslog-ng@lists.balabit.hu <javascript:_e(%7B%7D,'cvml','syslog-ng@lists.balabit.hu');>> *Date: *Friday, July 28, 2017 at 5:20 PM *To: *Syslog-ng users' and developers' mailing list < syslog-ng@lists.balabit.hu <javascript:_e(%7B%7D,'cvml','syslog-ng@lists.balabit.hu');>> *Subject: *Re: [syslog-ng] Upgrade from 3.10.1-1 to 3.11.1-1 fails on Ubuntu
Hi,
it should work now.
------------------------------
*From:* syslog-ng <syslog-ng-bounces@lists.balabit.hu <javascript:_e(%7B%7D,'cvml','syslog-ng-bounces@lists.balabit.hu');>> on behalf of Clayton Dukes <cdukes@logzilla.net <javascript:_e(%7B%7D,'cvml','cdukes@logzilla.net');>> *Sent:* Friday, July 28, 2017 6:28:24 PM *To:* Syslog-ng users' and developers' mailing list *Subject:* Re: [syslog-ng] Upgrade from 3.10.1-1 to 3.11.1-1 fails on Ubuntu
I have verified that 3.11.1-1 fails on ALL servers that we have.
*From: *Clayton Dukes <cdukes@logzilla.net <javascript:_e(%7B%7D,'cvml','cdukes@logzilla.net');>> *Date: *Friday, July 28, 2017 at 10:42 AM *To: *Syslog-ng users' and developers' mailing list < syslog-ng@lists.balabit.hu <javascript:_e(%7B%7D,'cvml','syslog-ng@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@logzilla.net <javascript:_e(%7B%7D,'cvml','cdukes@logzilla.net');>> *Date: *Friday, July 28, 2017 at 10:37 AM *To: *Syslog-ng users' and developers' mailing list < syslog-ng@lists.balabit.hu <javascript:_e(%7B%7D,'cvml','syslog-ng@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@logzilla.net <javascript:_e(%7B%7D,'cvml','cdukes@logzilla.net');>> *Date: *Friday, July 28, 2017 at 10:24 AM *To: *Syslog-ng users' and developers' mailing list < syslog-ng@lists.balabit.hu <javascript:_e(%7B%7D,'cvml','syslog-ng@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
<https://twitter.com/logzilla> <https://youtu.be/drg5wv_mgfA> <https://www.linkedin.com/in/lzcdukes/>
*For NetOps, By NetOps!*
hi, I'll check it on next week. regards, Laszlo Budai On Friday, July 28, 2017, Clayton Dukes <cdukes@logzilla.net> wrote:
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
<https://twitter.com/logzilla> <https://youtu.be/drg5wv_mgfA> <https://www.linkedin.com/in/lzcdukes/>
*For NetOps, By NetOps!*
participants (4)
-
Budai, László
-
Clayton Dukes
-
Laszlo Budai
-
Sandor Geller