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

Questions about Wine on Linux
Post Reply
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 » Fri Nov 08, 2019 5:16 pm

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 6
Level 6
Posts: 686
Joined: Thu Aug 14, 2014 10:10 am

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

Post by jkfloris » Sat Nov 09, 2019 10:10 am

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

(Please, use the forum Code-tags)

User avatar
dimesio
Moderator
Moderator
Posts: 12684
Joined: Tue Mar 25, 2008 10:30 pm

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

Post by dimesio » Sat Nov 09, 2019 2:40 pm

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

Post Reply