Today I finally guessed the mechanism why when I tried to install set of debian packages downloaded with dependencies e.g.
apt-get install --download-only --assume-yes libssl-dev even with dpkg status file empty (lots of deb files), still when installing I once (and today again) could not install:
apt-get install path/*.deb printed
The following additional packages will be installed: libssl1.1:i386. (I've already tried to get help describing the result, but the questions were aimed at as I know understand incorrect cause): How does apt keep track of BUILD (source) dependencies? and https://stackoverflow.com/questions/70491862/how-to-list-download-the-recursive-build-dependencies-of-a-debian-package
My guess was that package
libssl1.1 for i386 architecture was installed here (that I checked in status file - it was:
Status: install ok installed for both
i386). So when installing
apt-get tried to upgrade that
libssl1.1 for all installed architectures for that package. But when downloading on a system where there are no packages for other architectures except for the one requested on command line
apt-get downloads only one architecture.
Is there any option to install packages and dependencies for only one architecture? I do not see how it could break the system if only one architecture gets a change. (alternatively to download dependencies for all available architectures)?
man apt-get: --arch-only Only process architecture-dependent build-dependencies. Configuration Item: APT::Get::Arch-Only.
sudo apt-get install --download-only --assume-yes --arch-only libssl-dev E: Command line option --arch-only is not understood in combination with the other options