When installing updates, I get this error:
$ sudo apt-get update
Hit:11 http://ppa.launchpad.net/lutris-team/lutris/ubuntu cosmic InRelease
Hit:13 http://ppa.launchpad.net/system76/pop/ubuntu cosmic InRelease
Reading package lists... Done
N: Skipping acquire of configured file 'main/binary-1386/Packages' as repository 'http://apt.pop-os.org/proprietary cosmic InRelease' doesn't support architecture '1386'
N: Skipping acquire of configured file 'main/binary-1386/Packages' as repository 'http://us.archive.ubuntu.com/ubuntu cosmic InRelease' doesn't support architecture '1386'
N: Skipping acquire of configured file 'restricted/binary-1386/Packages' as repository 'http://us.archive.ubuntu.com/ubuntu cosmic InRelease' doesn't support architecture '1386'
N: Skipping acquire of configured file 'universe/binary-1386/Packages' as repository 'http://us.archive.ubuntu.com/ubuntu cosmic InRelease' doesn't support architecture '1386'
N: Skipping acquire of configured file 'multiverse/binary-1386/Packages' as repository 'http://us.archive.ubuntu.com/ubuntu cosmic InRelease' doesn't support architecture '1386'
repository 'http://ppa.launchpad.net/system76/pop/ubuntu cosmic InRelease' doesn't support architecture '1386'
That happens to me errors from repository's of ubuntu, system 76 winehq also for updates.
$ dpkg --print-foreign-architectures
i386
1386
I try to remove 1386 (I must have installed while updating and installing updates for ubuntu, wine or lutris)
$ dpkg --remove-architecture 1386
dpkg: error: unable to create new file '/var/lib/dpkg/arch-new': Permission denied
Does anyone have idea of how to remove or 'instill privileged' for access to read & write to system architecture.
sudo dpkg --remove-architecture 1386
– Liso Apr 22 '19 at 01:52ls /var/lib/dpkg
, paste the result here. – Liso Apr 22 '19 at 02:06alternatives arch arch-new available cmethopt diversions diversions-old info lock lock-frontend parts statoverride statoverride-old status status-old triggers updates```
– TLable Apr 22 '19 at 02:20arch-new
? Runcat /var/lib/dpkg/arch-new
– Liso Apr 22 '19 at 02:38cat: /var/lib/dpkg/arch-new: Is a directory```
– TLable Apr 22 '19 at 03:25ls /var/lib/dpkg/arch-new
. – Liso Apr 22 '19 at 03:26/var/lib/dpkg
, runls /var/lib/dpkg/arch-new
to list file inside of it. – Liso Apr 22 '19 at 03:32/var/lib/dpkg
Is a directoryls /var/lib/dpkg/arch-new
no contents if that dir – TLable Apr 25 '19 at 01:37