I’ve installed wine in my persistent storage and it works fine. However a program I am trying to run requires a 32 bit library, so i wanted to install the wine32 package using apt. However, when I attempt to install it, I run into this error.
Traceback (most recent call last):
File "/usr/local/lib/additional-software/asp-pre-apt", line 78, in <module>
main()
~~~~^^
File "/usr/local/lib/additional-software/asp-pre-apt", line 62, in main
if not apt_cache[package_name].is_installed:
~~~~~~~~~^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/apt/cache.py", line 286, in __getitem__
raise KeyError("The cache has no package named %r" % key)
KeyError: "The cache has no package named 'wine32'"
Error: Sub-process /usr/local/lib/additional-software/asp-pre-apt returned an error code (1)
Error: Failure running script /usr/local/lib/additional-software/asp-pre-apt
This is after running sudo dpkg --add-architecture i386 and apt updateing. I’m not quite sure what could be the cause of this.