blew system to bits

Stephen Partington cryptworks at gmail.com
Tue Aug 24 16:01:31 MST 2021


in this case, i would make sure nothing is running that would touch apt or
synaptic and then just do an ls -lFas /var/cache/apt/archives/lock

I have had lock files stick around after a dead process etc. you should be
able to cat the file and see what pid its related to. if that pid is gone
you can safely delete the fille.


On Tue, Aug 24, 2021 at 2:12 PM Michael via PLUG-discuss <
plug-discuss at lists.phxlinux.org> wrote:

> OOPS. I hit return after typin rm -rf it deleted everything in /home. So I
> restored my system and now this happens:
> bmike1 at bmike1-desktop:~$ sudo apt install gparted
> [sudo] password for bmike1:
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> The following additional packages will be installed:
>   gparted-common
> Suggested packages:
>   gpart reiser4progs udftools
> E: Could not get lock /var/cache/apt/archives/lock. It is held by process
> 84872 (synaptic)
> N: Be aware that removing the lock file is not a solution and may break
> your system.
> E: Unable to lock directory /var/cache/apt/archives/
> bmike1 at bmike1-desktop:~$
>
>
> it happened before and as a solution killed the roces. It happened again
> so I must find a solution. WIll someone share their wisdom?
>
> --
> :-)~MIKE~(-:
> ---------------------------------------------------
> PLUG-discuss mailing list - PLUG-discuss at lists.phxlinux.org
> To subscribe, unsubscribe, or to change your mail settings:
> https://lists.phxlinux.org/mailman/listinfo/plug-discuss



-- 
A mouse trap, placed on top of your alarm clock, will prevent you from
rolling over and going back to sleep after you hit the snooze button.

Stephen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.phxlinux.org/pipermail/plug-discuss/attachments/20210824/809ba89d/attachment.html>


More information about the PLUG-discuss mailing list