Bug#818036: "kpartx does not ship multipathd.service but tries to start/stop that service" not fixed in 0.5.0+git1.656f8865-7

Sven-Haegar Koch haegar at sdinet.de
Tue Mar 15 17:18:03 UTC 2016


On Tue, 15 Mar 2016, Ritesh Raj Sarraf wrote:

So the "official" workaround is

rm /var/lib/dpkg/info/kpartx.prerm

before upgrading from -6?

(That works)

Greetings
Haegar


> If you upgrade from -5 to -7, you shouldn't be hitting this problem. I
> thought about handling the breakage, but that would touch files outside
> , which I'm not keen on. 
> 
> And Unstable is supposed to have breakages.
> 
> 
> 2016-03-15 13:46:48 upgrade kpartx:amd64 0.5.0+git1.656f8865-5
> 0.5.0+git1.656f8865-7
> 2016-03-15 13:46:48 status half-configured kpartx:amd64
> 0.5.0+git1.656f8865-5
> 2016-03-15 13:46:48 status unpacked kpartx:amd64 0.5.0+git1.656f8865-5
> 2016-03-15 13:46:48 status half-installed kpartx:amd64
> 0.5.0+git1.656f8865-5
> 2016-03-15 13:46:48 status triggers-pending man-db:amd64 2.7.5-1
> 2016-03-15 13:46:48 status half-installed kpartx:amd64
> 0.5.0+git1.656f8865-5
> 2016-03-15 13:46:49 status unpacked kpartx:amd64 0.5.0+git1.656f8865-7
> 2016-03-15 13:46:49 status unpacked kpartx:amd64 0.5.0+git1.656f8865-7
> 2016-03-15 13:46:49 configure kpartx:amd64 0.5.0+git1.656f8865-7
> 0.5.0+git1.656f8865-7
> 2016-03-15 13:46:49 status unpacked kpartx:amd64 0.5.0+git1.656f8865-7
> 2016-03-15 13:46:49 status half-configured kpartx:amd64
> 0.5.0+git1.656f8865-7
> 2016-03-15 13:46:49 status installed kpartx:amd64 0.5.0+git1.656f8865-7
> 
> On Tue, 2016-03-15 at 17:30 +0100, Sven-Haegar Koch wrote:
> > Hallo,
> > 
> > This bug is not fixed yet - maybe just an empty pre-removal script
> > will 
> > help?
> > 
> > Preparing to unpack .../kpartx_0.5.0+git1.656f8865-7_amd64.deb ...
> > Failed to stop multipathd.service: Unit multipathd.service not
> > loaded.
> > dpkg: warning: subprocess old pre-removal script returned error exit 
> > status 5
> > dpkg: trying script from the new package instead ...
> > dpkg: error processing archive 
> > /var/cache/apt/archives/kpartx_0.5.0+git1.656f8865-7_amd64--unpack):
> >  there is no script in the new version of the package - giving up
> > Failed to get unit file state for multipathd.service: No such file
> > or 
> > directory
> > multipathd.service is a disabled or a static unit, not starting it.
> > Processing triggers for man-db (2.7.5-1) ...
> > Errors were encountered while processing:
> >  /var/cache/apt/archives/kpartx_0.5.0+git1.656f8865-7_amd64.deb
> 

c'ya
sven-haegar

-- 
Three may keep a secret, if two of them are dead.
- Ben F.


More information about the pkg-lvm-maintainers mailing list