On Mon, Feb 01, 2021 at 06:20:18PM +0100, Andreas Beckmann wrote: > From the attached log (scroll to the bottom...): > > Preparing to unpack .../ghdl-common_0.37+dfsg2-1_amd64.deb ... > Unpacking ghdl-common (0.37+dfsg2-1) ... > dpkg: error processing archive > /var/cache/apt/archives/ghdl-common_0.37+dfsg2-1_amd64.deb (--unpack): > trying to overwrite '/usr/bin/ghdl', which is also in package ghdl:amd64 > 0.37+dfsg-3 > dpkg-deb: error: paste subprocess was killed by signal (Broken pipe) > Errors were encountered while processing: > /var/cache/apt/archives/ghdl-common_0.37+dfsg2-1_amd64.deb
Ah, I didn't notice that as I haven't tried installing ghdl-common on its own with the older ghdl packages installed. > BTW, did you really intend to move /usr/bin/ghdl to the -common package? > That's rather unusual. > (But you need the B+R also for splitting out the /usr/lib bits to -common.) /usr/bin/ghdl is a shell script that selects one of the installed ghdl variants and executes that, and it can be influenced by an environment variable. In hindsight, I could have let /usr/bin/ghdl be handled by the alternatives system and let users select a non-default ghdl by executing the desired executable (ghdl-mcode, ghdl-gcc or ghdl-llvm) directly. But as it is now it is in -common so that every ghdl installation also provides /usr/bin/ghdl.