At Sun, 26 Oct 2025 12:25:43 -0700 Van Snyder <[email protected]> wrote:
> > On Sun, 2025-10-26 at 15:14 -0400, Greg Wooledge wrote: > > On Sun, Oct 26, 2025 at 12:02:54 -0700, Van Snyder wrote: > > > I ran "dpkg --add-architecture i386" and "apt install libgtk2\*" > > > [...] > > > Finally, I ran "apt install libgtk2\*:i386" and it worked. > > > > > > What is the REAL way to add 32-bit support in Trixie? > > > > That looks correct.ÃÂ The --add-architecture, followed by apt update, > > and then the manual installation of libraries ending with :i386 -- > > those are the proper steps. > > I would have expected "dpkg --add-architecture i386" followed by "apt > update" and "apt install libgtk2\*" to install the i386 version (and > dependencies). But it didn't. > > I had to run "apt install libgtk2\*:i386". > > What's the point of "dpkg --add-architecture i386" if it doesn't really > add that architecture? It adds it to the list of the package lists (eg what apt update downloads and apt install searches). apt install will *default* to whatever the primary (?) machine architecture is. You *must* include ":<arch>" to install "secondary" architecture packages. > > -- Robert Heller -- Cell: 413-658-7953 GV: 978-633-5364 Deepwoods Software -- Custom Software Services http://www.deepsoft.com/ -- Linux Administration Services [email protected] -- Webhosting Services

