winehq-staging-i386 will not install. get permission errors

Questions about Wine on Linux
Locked
bjb1959
Newbie
Newbie
Posts: 2
Joined: Fri Nov 08, 2019 3:07 pm

winehq-staging-i386 will not install. get permission errors

Post by bjb1959 »

Get these errors:

Do you want to continue? [Y/n] y
Extracting templates from packages: 100%
Preconfiguring packages ...
(Reading database ... 442572 files and directories currently installed.)
Preparing to unpack .../wine-staging-i386_4.19~eoan_i386.deb ...
Unpacking wine-staging-i386:i386 (4.19~eoan) ...
dpkg: error processing archive /var/cache/apt/archives/wine-staging-i386_4.19~eo
an_i386.deb (--unpack):
unable to open '/opt/wine-staging/lib/wine/xcopy.exe.dpkg-new': Operation not p
ermitted
Selecting previously unselected package wine-staging.
Preparing to unpack .../wine-staging_4.19~eoan_amd64.deb ...
Unpacking wine-staging (4.19~eoan) ...
Errors were encountered while processing:
/var/cache/apt/archives/wine-staging-i386_4.19~eoan_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
jkfloris
Level 12
Level 12
Posts: 3141
Joined: Thu Aug 14, 2014 10:10 am

Re: winehq-staging-i386 will not install. get permission errors

Post by jkfloris »

Could you post the complete terminal output, including the command you used?

(Please, use the forum Code-tags)
User avatar
dimesio
Moderator
Moderator
Posts: 13204
Joined: Tue Mar 25, 2008 10:30 pm

Re: winehq-staging-i386 will not install. get permission errors

Post by dimesio »

bjb1959 wrote: Fri Nov 08, 2019 5:16 pm unable to open '/opt/wine-staging/lib/wine/xcopy.exe.dpkg-new': Operation not p
ermitted
Do you happen to have Sophos anti-virus installed? There is a known issue with that interfering with dpkg. https://bugs.launchpad.net/ubuntu/+sour ... ug/1739991
Locked