On Sun, Aug 20, 2023 at 06:41:20PM +0900, yokota wrote:
> > 7zip-standalone and 7zip both ship /usr/bin/7zip, but they do not
> > declare any Conflicts, Replaces or diversions to alleviate that
> > situation. As a consequence, an unpack error may result when attempting
> > to install both.
> >
> > Given the changelog entry saying "split", I think you meant to move
> > files between packages. In this case, please ensure that you set both
> > Breaks and Replaces.
> 
> 7zip and 7zip-standalone dose not provides /usr/bin/7zip.

I'm sorry. I failed at copy and pasting. The conflicting file is
/usr/bin/7zz.

> They provides:
>   7zip: 7z, 7za, 7zr, p7zip
>   7zip-standalone: 7zz

This is true for experimental. In older versions, 7zip contains 7zz. The
problem arises from unpacking an old version of 7zip concurrently with a
current version of 7zip-standalone.

> And 7zip-standalone requires "7zip (= ${binary:Version})" and 7zip
> breaks/conflicts/replaces "p7zip (<= 16.02+dfsg-8)".

The dependency you mention here removes the need to issue Breaks, but
you can still unpack those packages together even when their
dependencies are unsatisfied. You still need to declare "Replaces: 7zip
(<< 23.01+dfsg-4~)".

> I think it works at least on my machine.

Please try dpkg --unpack 7zip-standalone_23.01+dfsg-4~exp1_amd64.deb
7zip_23.01+dfsg-3_amd64.deb.

Helmut

Reply via email to