On 2019-08-06 16:45 +0200, Jens Reyer wrote: > Hi all, > > is there a way for two different, arch-specific packages (from the same > source package) to share an identical file (script)?
Yes, provided one of these two packages diverts the other one's file, see dpkg-divert(1). This is usually done if the files are different, but it should work for your case as well. ,---- | $ dpkg -S /usr/bin/perldoc | diversion by perl-doc from: /usr/bin/perldoc | diversion by perl-doc to: /usr/bin/perldoc.stub | perl-doc, perl: /usr/bin/perldoc `---- Cheers, Sven