On Mon, Jul 5, 2021 at 3:27 PM Dick Steffens <[email protected]> wrote:
> > > https://blog.opstree.com/2019/04/02/resolving-segmentation-fault-core-dumped-in-ubuntu/ > > I followed the command line instructions. Steps 1 through 4 worked. But > I get this error when I run step 5: > > rsteff@ENU-1:~$ sudo dpkg -l | grep ^..r | apt-get purge > E: Could not open lock file /var/lib/dpkg/lock-frontend - open (13: > Permission denied) > E: Unable to acquire the dpkg frontend lock > (/var/lib/dpkg/lock-frontend), are you root? > > > I don't know anything about the image display problem you're having, but this error can probably be resolved by putting another "sudo" in front of "apt-get" like so: sudo dpkg -l | grep ^..r | sudo apt-get purge this is because sudo does not apply to anything after a redirect (pipe in this case). -wes
