Bug#833656: cme fails with dpkg error

2016-08-14 Thread gregor herrmann
On Mon, 15 Aug 2016 10:37:47 +1000, Brendan O'Dea wrote: > Turns out that the first pkgInitSystem is coming from lintian, which does the > following: > > use AptPkg::Config '$_config'; > my $versioning = $_config->system->versioning; > > here: > > >

Bug#833656: cme fails with dpkg error

2016-08-14 Thread Brendan O'Dea
reassign -1 lintian 2.5.45 thanks On Sun, Aug 14, 2016 at 01:00:33PM +0200, David Kalnischkies wrote: >On Sun, Aug 14, 2016 at 05:27:39PM +1000, Brendan O'Dea wrote: >> which suggests that the _config object has been modified prior to this code >> being run. Not sure where, perhaps there is

Bug#833656: cme fails with dpkg error

2016-08-14 Thread David Kalnischkies
On Sun, Aug 14, 2016 at 05:27:39PM +1000, Brendan O'Dea wrote: > This is a bit puzzling, but I am guessing that the bug is in apt: > getDpkgStatusLocation is modifying the global _config object of libapt-pkg in > such a way that if debSystem::Initialize is called twice, the results will be >

Bug#833656: cme fails with dpkg error

2016-08-14 Thread Brendan O'Dea
On Sun, Aug 14, 2016 at 12:36:03AM +0200, gregor herrmann wrote: >use AptPkg::Config '$_config'; >use AptPkg::System '$_system'; >use AptPkg::Version; >use AptPkg::Cache ; > >$_config->init; >$_system = $_config->system; >my $vs = $_system->versioning; >my $apt_cache = AptPkg::Cache->new ; This

Bug#833656: cme fails with dpkg error

2016-08-13 Thread gregor herrmann
On Sat, 13 Aug 2016 15:45:36 +0200, David Kalnischkies wrote: Thanks for looking into this issue! > The problem for cme while caused by the same change in apt, is caused in > a completely different way through. Ack, I realized this later ... > /var/lib/apt/var/lib/dpkg/status > suggests that

Bug#833656: cme fails with dpkg error

2016-08-13 Thread David Kalnischkies
On Mon, Aug 08, 2016 at 12:07:37AM +0200, gregor herrmann wrote: > And there's an interesting hint about changes in apt and a possible > way for a fix: > > | problem is: > | * don't hardcode /var/lib/dpkg/status as dir::state::status > | in apt 1.3~pre3 > | > | fix is adding: > |

Bug#833656: cme fails with dpkg error

2016-08-07 Thread gregor herrmann
Control: reassign -1 libconfig-model-dpkg-perl 2.082 On Sun, 07 Aug 2016 17:02:48 +0200, gregor herrmann wrote: > % cme fix dpkg-control > cme: using Dpkg::Control model > cme: running fix on dpkg-control configuration... > Reading package lists... Error! > flAbsPath on

Bug#833656: cme fails with dpkg error

2016-08-07 Thread gregor herrmann
Package: cme Version: 1.013-2 Severity: normal -BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Has something changed in dpkg? This doesn't look nice: % cme fix dpkg-control cme: using Dpkg::Control model cme: running fix on dpkg-control configuration... Reading package lists... Error! flAbsPath