On 7/5/21 3:29 PM, wes wrote:
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

On 7/5/21 3:31 PM, Bill Barry wrote:
You need another sudo before the apt-get. I don't know if this relates to
your main problem.


Thank you both for pointing out the error. I tried it, and it ran, but it didn't do anything. That might be because when I ran the GUI recommendation, it took care of what that command line was supposed to do.

In any event, the problem still exists.

--
Regards,

Dick Steffens

Reply via email to