On 2018-03-21 at 12:04, Josh W. wrote:

> I have a x86_64 archetecture on my Debian Stretch system... I am trying to
> play a i386 pc game but when i try to install wine32 in the terminal i get
> the following message.
> 
> josh@debian:/var/lib/dpkg$ sudo apt-get install wine32
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> Package wine32 is not available, but is referred to by another package.
> This may mean that the package is missing, has been obsoleted, or
> is only available from another source
> 
> E: Package 'wine32' has no installation candidate

This usually means that the i386 architecture is not enabled.

> I looked up wine32 and found that there was a bug report filed and they
> were getting the same output as i was. Here is the link "
> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=767096";... I followed the
> instructions and my output was:
> 
> josh@debian:/var/lib/dpkg$ sudo dpkg --add-architecture i386 && apt-get
> update && apt-get install wine32

This is actually a series of three commands, with each one run only if
the previous one succeeds:

$ sudo dpkg --add-architecture i386
$ apt-get update
$ apt-get install wine32

Since 'apt-get update' and 'apt-get install wine32' require root, but
only the dpkg command was run under sudo, the second command fails (and
the third doesn't even get run).

If you run each command under sudo separately (either one at a time, or
all on the same command line), you'll probably see this succeed.

-- 
   The Wanderer

The reasonable man adapts himself to the world; the unreasonable one
persists in trying to adapt the world to himself. Therefore all
progress depends on the unreasonable man.         -- George Bernard Shaw

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to