<div dir="ltr"><br><br><div class="gmail_quote">On Tue, Aug 12, 2008 at 3:36 PM, Verde Denim <span dir="ltr"><<a href="mailto:tdldev@gmail.com">tdldev@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div dir="ltr"><br><br><div class="gmail_quote"><div><div></div><div class="Wj3C7c">On Tue, Aug 12, 2008 at 6:18 PM, Leonard Chatagnier <span dir="ltr"><<a href="mailto:lenc5570@sbcglobal.net" target="_blank">lenc5570@sbcglobal.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
--- Allen Meyers <<a href="mailto:chef11994@sbcglobal.net" target="_blank">chef11994@sbcglobal.net</a>> wrote:<br>
<br>
><br>
> Pidgin cease to load so I un-installed in SPM, but<br>
> before attemptin to re-install I went to their home<br>
> page. It gave me 2 terminal options and I tried them<br>
> both without success, but I discovered what could be<br>
> my problem.<br>
><br>
> I intered  apt-get build-dep gaim as well as apt-get<br>
> build-dep pidgin<br>
> Both times I received the following<br>
> E: Could not open lock file /var/lib/dpkg/lock -<br>
> open (13 Permission denied)<br>
> E: Unable to lock the administration directory<br>
> (/var/lib/dpkg/), are you root?<br>
> allen@allen-laptop:~$<br>
> I also tried sudo apt-get install pidgin<br>
> with same results<br>
> Could someone direct me on how to get back to pidgin<br>
> with a fresh install and unlocking whatever needs<br>
> unlocking/<br>
> Thanks in advance<br>
><br>
Not refuting anything anybody else has said but if<br>
you, in fact, have a locked file in /var/lib/dpkg/, cd<br>
to that dir and remove/delete the lock file using<br>
sudo.<br>
</blockquote></div></div><div><br>i just noticed that the two commands are different. You ran apt-get build-dep pidgin but chose sudo apt-get install pidgin. Was that a typo? Usually you'll get a slightly different "lock error" message if you try something which requires sudo-er or root privilege. But if you sudo apt-get remove with the 'force' option (can't recall off the top of my head which that is, maybe -f), it should clean it out so you can do a clean re-install.<br>

<br>Jack<br> <br></div></div></div>
<br>--<br>
ubuntu-users mailing list<br>
<a href="mailto:ubuntu-users@lists.ubuntu.com">ubuntu-users@lists.ubuntu.com</a><br>
Modify settings or unsubscribe at: <a href="https://lists.ubuntu.com/mailman/listinfo/ubuntu-users" target="_blank">https://lists.ubuntu.com/mailman/listinfo/ubuntu-users</a><br>
<br></blockquote></div><br>I think you can use:<br>sudo apt-get --purge remove "nameofpackage"<br><br>But you should really check if there is a lock first though<br></div>