in-line :- On 21/11/2016, Guillem Jover <guil...@debian.org> wrote: > Hi! > > On Mon, 2016-11-21 at 01:47:45 +0530, shirish शिरीष wrote: >> The patch didn't work :( > > Well that it didn't work was actually also very useful! Because in > your case it should not have worked due to having debug output > enabled. If you retry it again w/o debugging enabled it should work, > and the attached patch should make it impervious to debug settings. > >> So it seems some issue is still there. I'll reboot and see if the >> issue still persists. > > Yes and no. The original problem should be gone (the problem with the > exit code, the new problem with the non-empty output string due to the > debug output is new, but very welcome as it should make the code more > robust. Thanks for that. Attached new patch. > > (BTW reboot should not in general fix this kind of issues. :)
Hi Gulllem, I don't know whether the NEW patch you shared should have been on top of the OLD patch or should do from scratch, hence did it from scratch . Sorry, am new to this patching business :) Anyways, think it got through but for some reason dpkg died/failed it says , see - ─[$] sudo aptitude reinstall cme libconfig-model-perl libconfig-model-dpkg-perl fonts-arphic-uming The following packages will be REINSTALLED: cme fonts-arphic-uming libconfig-model-dpkg-perl libconfig-model-perl 0 packages upgraded, 0 newly installed, 4 reinstalled, 0 to remove and 45 not upgraded. Need to get 0 B/8,465 kB of archives. After unpacking 0 B will be used. D000001: ensure_diversions: new, (re)loading D000001: ensure_statoverrides: new, (re)loading (Reading database ... 1207479 files and directories currently installed.) Preparing to unpack .../0-fonts-arphic-uming_0.2.20080216.2-7_all.deb ... D000001: process_archive oldversionstatus=broken due to postinst failure D000001: ensure_diversions: same, skipping D000001: cmpversions a='0:0.2.20080216.2-7' b='0:0.2.20080216.2-6~' r=1 D000001: cmpversions a='0:0.2.20080216.2-7' b='0:0.2.20080216.2-1' r=6 D000001: ensure_diversions: same, skipping Unpacking fonts-arphic-uming (0.2.20080216.2-7) over (0.2.20080216.2-7) ... D000001: ensure_diversions: same, skipping D000001: process_archive updating info directory D000001: generating infodb hashfile Preparing to unpack .../1-cme_1.015-1_all.deb ... D000001: process_archive oldversionstatus=broken due to postinst failure D000001: ensure_diversions: same, skipping D000001: cmpversions a='0:1.015-1' b='0:1.008-1~' r=1 D000001: ensure_diversions: same, skipping Unpacking cme (1.015-1) over (1.015-1) ... D000001: ensure_diversions: same, skipping D000001: process_archive updating info directory D000001: generating infodb hashfile Preparing to unpack .../2-libconfig-model-perl_2.094-1_all.deb ... D000001: process_archive oldversionstatus=broken due to postinst failure D000001: ensure_diversions: same, skipping D000001: cmpversions a='0:2.094-1' b='0:2.070-1~' r=2 D000001: cmpversions a='0:2.094-1' b='0:2.073-1~' r=2 D000001: cmpversions a='0:2.094-1' b='0:2.070-1~' r=2 D000001: cmpversions a='0:2.094-1' b='0:2.075-2~' r=2 D000001: ensure_diversions: same, skipping Unpacking libconfig-model-perl (2.094-1) over (2.094-1) ... D000001: ensure_diversions: same, skipping D000001: process_archive updating info directory D000001: generating infodb hashfile Preparing to unpack .../3-libconfig-model-dpkg-perl_2.085_all.deb ... D000001: process_archive oldversionstatus=broken due to postinst failure D000001: ensure_diversions: same, skipping D000001: cmpversions a='0:2.085' b='0:2.070~' r=1 D000001: ensure_diversions: same, skipping Unpacking libconfig-model-dpkg-perl (2.085) over (2.085) ... D000001: ensure_diversions: same, skipping D000001: process_archive updating info directory D000001: generating infodb hashfile D000001: cmpversions a='0:2016.03.30' b='0:2016.05.24' r=-2 D000001: cmpversions a='0:1.18.15+nmu1' b='0:1.16' r=2 D000001: cmpversions a='0:1.18.15+nmu1' b='0:1.16' r=2 D000001: cmpversions a='0:1.18.15+nmu1' b='0:1.16' r=2 D000001: ensure_diversions: new, (re)loading D000001: process queue pkg fonts-arphic-uming:all queue.len 5 progress 1, try 1 Setting up fonts-arphic-uming (0.2.20080216.2-7) ... D000001: deferred_configure updating conffiles D000001: cmpversions a='0:0.2.20080216.2-7' b='0:0.2.20080216.2-6~' r=1 D000001: cmpversions a='0:0.2.20080216.2-7' b='0:0.2.20080216.2-1' r=6 D000001: ensure_diversions: same, skipping D000001: process queue pkg cme:all queue.len 4 progress 1, try 1 D000001: process queue pkg libconfig-model-perl:all queue.len 4 progress 2, try 1 Setting up libconfig-model-perl (2.094-1) ... D000001: deferred_configure updating conffiles D000001: cmpversions a='0:2.094-1' b='0:2.070-1~' r=2 D000001: cmpversions a='0:2.094-1' b='0:2.073-1~' r=2 D000001: cmpversions a='0:2.094-1' b='0:2.070-1~' r=2 D000001: cmpversions a='0:2.094-1' b='0:2.075-2~' r=2 D000001: ensure_diversions: same, skipping D000001: process queue pkg libconfig-model-dpkg-perl:all queue.len 3 progress 1, try 1 Setting up libconfig-model-dpkg-perl (2.085) ... D000001: deferred_configure updating conffiles D000001: cmpversions a='0:2.085' b='0:2.070~' r=1 D000001: ensure_diversions: same, skipping D000001: process queue pkg man-db:amd64 queue.len 2 progress 1, try 1 Processing triggers for man-db (2.7.5-1) ... D000001: ensure_diversions: same, skipping D000001: process queue pkg fontconfig:amd64 queue.len 1 progress 1, try 1 Processing triggers for fontconfig (2.11.0-6.7) ... D000001: ensure_diversions: same, skipping D000001: process queue pkg cme:all queue.len 0 progress 1, try 1 Setting up cme (1.015-1) ... D000001: deferred_configure updating conffiles D000001: cmpversions a='0:1.015-1' b='0:1.008-1~' r=1 D000001: ensure_diversions: same, skipping D000001: cmpversions a='0:2016.03.30' b='0:2016.05.24' r=-2 D000001: cmpversions a='0:1.18.15+nmu1' b='0:1.16' r=2 D000001: cmpversions a='0:1.18.15+nmu1' b='0:1.16' r=2 D000001: cmpversions a='0:1.18.15+nmu1' b='0:1.16' r=2 D000001: cmpversions a='0:1.4.0-1~local' b='0:1.4.0-1~local' r=0 ====== How can you help? (doc: https://wiki.debian.org/how-can-i-help ) ====== ----- Show old opportunities as well as new ones: how-can-i-help --old ----- needrestart is being skipped since dpkg has failed Now have no idea why I get the dpkg has failed message ? > Thanks, > Guillem > -- Regards, Shirish Agarwal शिरीष अग्रवाल My quotes in this email licensed under CC 3.0 http://creativecommons.org/licenses/by-nc/3.0/ http://flossexperiences.wordpress.com EB80 462B 08E1 A0DE A73A 2C2F 9F3D C7A4 E1C4 D2D8