How to delete an architecture called “1386” (a typo) in Ubuntu?

1

After typing:

dpkg --remove-architecture 1386

I get the message:

dpkg: error: unable to create new file '/var/lib/dpkg/arch-new': Permission denied

1386 is a typo, I'm trying to rid myself of in Ubuntu.

Louis Browne

Posted 2016-01-09T18:37:15.493

Reputation: 13

Answers

2

Run the command as root:

sudo dpkg --remove-architecture 1386

(putting my comment in an answer)

ethanwu10

Posted 2016-01-09T18:37:15.493

Reputation: 931