E: Could not get lock /var/lib/dpkg/lock - open (11 Resource temporarily unavailable) E: Unable to lock the administration directory (/var/lib/dpkg/)

Asked by Vipin Kumar Kabra

/etc/apt/sources.list.d/videolan-stable-daily-precise.list

     1 # deb http://ppa.launchpad.net/videolan/stable-daily/ubuntu precise main
     2 # deb-src http://ppa.launchpad.net/videolan/stable-daily/ubuntu precise main

/etc/apt/sources.list.d/gwibber-daily-ppa-precise.list

     1 # deb http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu precise main
     2 # deb-src http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu precise main

/etc/apt/sources.list.d/webupd8team-java-precise.list

     1 # deb http://ppa.launchpad.net/webupd8team/java/ubuntu precise main
     2 # deb-src http://ppa.launchpad.net/webupd8team/java/ubuntu precise main

/etc/apt/sources.list.d/playdeb.list

     1 deb http://archive.getdeb.net/ubuntu precise-getdeb games

/etc/apt/sources.list

     1 # deb cdrom:[Ubuntu 12.04.3 LTS _Precise Pangolin_ - Release i386 (20130820.2)]/ precise main restricted
     2
     3 # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
     4 # newer versions of the distribution.
     5 deb http://archive.ubuntu.com/ubuntu precise main restricted
     6
     7 ## Major bug fix updates produced after the final release of the
     8 ## distribution.
     9 deb http://archive.ubuntu.com/ubuntu precise-updates main restricted
    10
    11 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
    12 ## team. Also, please note that software in universe WILL NOT receive any
    13 ## review or updates from the Ubuntu security team.
    14 deb http://archive.ubuntu.com/ubuntu precise universe
    15 deb http://archive.ubuntu.com/ubuntu precise-updates universe
    16
    17 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
    18 ## team, and may not be under a free licence. Please satisfy yourself as to
    19 ## your rights to use the software. Also, please note that software in
    20 ## multiverse WILL NOT receive any review or updates from the Ubuntu
    21 ## security team.
    22 deb http://archive.ubuntu.com/ubuntu precise multiverse
    23 deb http://archive.ubuntu.com/ubuntu precise-updates multiverse
    24
    25 ## N.B. software from this repository may not have been tested as
    26 ## extensively as that contained in the main release, although it includes
    27 ## newer versions of some applications which may provide useful features.
    28 ## Also, please note that software in backports WILL NOT receive any review
    29 ## or updates from the Ubuntu security team.
    30 deb http://archive.ubuntu.com/ubuntu precise-backports main restricted universe multiverse
    31
    32 deb http://archive.ubuntu.com/ubuntu precise-security main restricted
    33 deb http://archive.ubuntu.com/ubuntu precise-security universe
    34 deb http://archive.ubuntu.com/ubuntu precise-security multiverse
    35
    36 ## Uncomment the following two lines to add software from Canonical's
    37 ## 'partner' repository.
    38 ## This software is not part of Ubuntu, but is offered by Canonical and the
    39 ## respective vendors as a service to Ubuntu users.
    40 deb http://archive.canonical.com/ubuntu precise partner
    41 deb-src http://archive.canonical.com/ubuntu precise partner
    42
    43 ## This software is not part of Ubuntu, but is offered by third-party
    44 ## developers who want to ship their latest software.
    45 # deb http://extras.ubuntu.com/ubuntu precise main
    46 deb http://deb.torproject.org/torproject.org precise main
    47 deb-src http://deb.torproject.org/torproject.org precise main
    48 # deb-src http://extras.ubuntu.com/ubuntu precise main
    49 deb http://archive.canonical.com/ precise partner
    50 deb-src http://archive.canonical.com/ precise partner

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu apt Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

If you have updates or software centre etc open, let them finish then close and retry.

If not then run:

sudo fuser -vki /var/lib/dpkg/lock;sudo dpkg --configure -a

And it will free up the packages.
Thanks

Revision history for this message
Vipin Kumar Kabra (kabra-vipin) said :
#2

E:GPG error: http://deb.torproject.org precise Release: The following
signatures were invalid: NODATA 1 NODATA 2

I am getting above error when i m trying to download any software from
ubuntu software center.

Please help me out.

Thank you in advance :-)

On Mon, Nov 11, 2013 at 5:46 PM, actionparsnip <
<email address hidden>> wrote:

> Your question #239023 on apt in Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+source/apt/+question/239023
>
> Status: Open => Answered
>
> actionparsnip proposed the following answer:
> If you have updates or software centre etc open, let them finish then
> close and retry.
>
> If not then run:
>
> sudo fuser -vki /var/lib/dpkg/lock;sudo dpkg --configure -a
>
> And it will free up the packages.
> Thanks
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
>
> https://answers.launchpad.net/ubuntu/+source/apt/+question/239023/+confirm?answer_id=0
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/ubuntu/+source/apt/+question/239023
>
> You received this question notification because you asked the question.
>

--
Vipin Kumar Kabra
Scientific Officer - C
PTS / ChTD
BARC Mumbai

Revision history for this message
Vipin Kumar Kabra (kabra-vipin) said :
#3

Last day it was working perfectly but

Today I am getting this error

E:GPG error: http://deb.torproject.org precise Release: The following
signatures were invalid: NODATA 1 NODATA 2

So yes please help me out.

On Thu, Nov 14, 2013 at 11:16 AM, Vipin Kumar Kabra <
<email address hidden>> wrote:

> Your question #239023 on apt in Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+source/apt/+question/239023
>
> Status: Answered => Open
>
> You are still having a problem:
> E:GPG error: http://deb.torproject.org precise Release: The following
> signatures were invalid: NODATA 1 NODATA 2
>
> I am getting above error when i m trying to download any software from
> ubuntu software center.
>
> Please help me out.
>
>
> Thank you in advance :-)
>
>
> On Mon, Nov 11, 2013 at 5:46 PM, actionparsnip <
> <email address hidden>> wrote:
>
> > Your question #239023 on apt in Ubuntu changed:
> > https://answers.launchpad.net/ubuntu/+source/apt/+question/239023
> >
> > Status: Open => Answered
> >
> > actionparsnip proposed the following answer:
> > If you have updates or software centre etc open, let them finish then
> > close and retry.
> >
> > If not then run:
> >
> > sudo fuser -vki /var/lib/dpkg/lock;sudo dpkg --configure -a
> >
> > And it will free up the packages.
> > Thanks
> >
> > --
> > If this answers your question, please go to the following page to let us
> > know that it is solved:
> >
> >
> https://answers.launchpad.net/ubuntu/+source/apt/+question/239023/+confirm?answer_id=0
> >
> > If you still need help, you can reply to this email or go to the
> > following page to enter your feedback:
> > https://answers.launchpad.net/ubuntu/+source/apt/+question/239023
> >
> > You received this question notification because you asked the question.
> >
>
>
> --
> Vipin Kumar Kabra
> Scientific Officer - C
> PTS / ChTD
> BARC Mumbai
>
> You received this question notification because you asked the question.
>

--
Vipin Kumar Kabra
Scientific Officer - C
PTS / ChTD
BARC Mumbai

Revision history for this message
Vipin Kumar Kabra (kabra-vipin) said :
#4

When I am updating APT
using
sudo apt-get update

at the end i am getting following warning/error

W: GPG error: http://deb.torproject.org precise Release: The following
signatures couldn't be verified because the public key is not available:
NO_PUBKEY 74A941BA219EC810

and i am unable to resolve this.

Please help me.

Thank you

On Thu, Nov 14, 2013 at 11:20 AM, vipin kabra <email address hidden> wrote:

> Last day it was working perfectly but
>
> Today I am getting this error
>
>
> E:GPG error: http://deb.torproject.org precise Release: The following
> signatures were invalid: NODATA 1 NODATA 2
>
> So yes please help me out.
>
>
> On Thu, Nov 14, 2013 at 11:16 AM, Vipin Kumar Kabra <
> <email address hidden>> wrote:
>
>> Your question #239023 on apt in Ubuntu changed:
>> https://answers.launchpad.net/ubuntu/+source/apt/+question/239023
>>
>> Status: Answered => Open
>>
>> You are still having a problem:
>> E:GPG error: http://deb.torproject.org precise Release: The following
>> signatures were invalid: NODATA 1 NODATA 2
>>
>> I am getting above error when i m trying to download any software from
>> ubuntu software center.
>>
>> Please help me out.
>>
>>
>> Thank you in advance :-)
>>
>>
>> On Mon, Nov 11, 2013 at 5:46 PM, actionparsnip <
>> <email address hidden>> wrote:
>>
>> > Your question #239023 on apt in Ubuntu changed:
>> > https://answers.launchpad.net/ubuntu/+source/apt/+question/239023
>> >
>> > Status: Open => Answered
>> >
>> > actionparsnip proposed the following answer:
>> > If you have updates or software centre etc open, let them finish then
>> > close and retry.
>> >
>> > If not then run:
>> >
>> > sudo fuser -vki /var/lib/dpkg/lock;sudo dpkg --configure -a
>> >
>> > And it will free up the packages.
>> > Thanks
>> >
>> > --
>> > If this answers your question, please go to the following page to let us
>> > know that it is solved:
>> >
>> >
>> https://answers.launchpad.net/ubuntu/+source/apt/+question/239023/+confirm?answer_id=0
>> >
>> > If you still need help, you can reply to this email or go to the
>> > following page to enter your feedback:
>> > https://answers.launchpad.net/ubuntu/+source/apt/+question/239023
>> >
>> > You received this question notification because you asked the question.
>> >
>>
>>
>> --
>> Vipin Kumar Kabra
>> Scientific Officer - C
>> PTS / ChTD
>> BARC Mumbai
>>
>> You received this question notification because you asked the question.
>>
>
>
>
> --
> Vipin Kumar Kabra
> Scientific Officer - C
> PTS / ChTD
> BARC Mumbai
>

--
Vipin Kumar Kabra
Scientific Officer - C
PTS / ChTD
BARC Mumbai

Revision history for this message
Vipin Kumar Kabra (kabra-vipin) said :
#5

vipin@vipin-desktop:~$ sudo apt-get update
Get:1 http://deb.torproject.org precise Release.gpg [490 B]
Hit http://deb.torproject.org precise Release
Ign http://deb.torproject.org precise Release
Hit http://archive.canonical.com precise Release.gpg
Ign http://deb.torproject.org precise/main Sources/DiffIndex
Ign http://deb.torproject.org precise/main i386 Packages/DiffIndex
Hit http://archive.canonical.com precise Release.gpg
Hit http://archive.ubuntu.com precise Release.gpg
Ign http://deb.torproject.org precise/main TranslationIndex
Hit http://archive.canonical.com precise Release
Get:2 http://archive.ubuntu.com precise-updates Release.gpg [198 B]
Hit http://archive.getdeb.net precise-getdeb Release.gpg
Hit http://archive.canonical.com precise Release
Get:3 http://archive.ubuntu.com precise-backports Release.gpg [198 B]
Hit http://archive.canonical.com precise/partner Sources
Get:4 http://archive.ubuntu.com precise-security Release.gpg [198 B]
Hit http://archive.canonical.com precise/partner i386 Packages
Hit http://archive.ubuntu.com precise Release
Ign http://archive.canonical.com precise/partner TranslationIndex
Hit http://archive.getdeb.net precise-getdeb Release
Hit http://archive.canonical.com precise/partner Sources
Hit http://archive.canonical.com precise/partner i386 Packages
Hit http://deb.torproject.org precise/main Sources
Hit http://deb.torproject.org precise/main i386 Packages
Ign http://archive.canonical.com precise/partner TranslationIndex
Hit http://archive.getdeb.net precise-getdeb/games i386 Packages
Ign http://deb.torproject.org precise/main Translation-en_IN
Get:5 http://archive.ubuntu.com precise-updates Release [49.6 kB]
Ign http://deb.torproject.org precise/main Translation-en
Get:6 http://archive.ubuntu.com precise-backports Release [49.6 kB]
Ign http://archive.getdeb.net precise-getdeb/games TranslationIndex
Get:7 http://archive.ubuntu.com precise-security Release [49.6 kB]
Hit http://archive.ubuntu.com precise/main i386 Packages
Hit http://archive.ubuntu.com precise/restricted i386 Packages
Hit http://archive.ubuntu.com precise/universe i386 Packages
Hit http://archive.ubuntu.com precise/multiverse i386 Packages
Hit http://archive.ubuntu.com precise/main TranslationIndex
Hit http://archive.ubuntu.com precise/multiverse TranslationIndex
Hit http://archive.ubuntu.com precise/restricted TranslationIndex
Hit http://archive.ubuntu.com precise/universe TranslationIndex
Ign http://archive.canonical.com precise/partner Translation-en_IN
Ign http://archive.canonical.com precise/partner Translation-en
Ign http://archive.canonical.com precise/partner Translation-en_IN
Ign http://archive.canonical.com precise/partner Translation-en
Ign http://archive.getdeb.net precise-getdeb/games Translation-en_IN
Get:8 http://archive.ubuntu.com precise-updates/main i386 Packages [729 kB]
Ign http://archive.getdeb.net precise-getdeb/games Translation-en
Get:9 http://archive.ubuntu.com precise-updates/restricted i386 Packages [11.4 kB]
Get:10 http://archive.ubuntu.com precise-updates/universe i386 Packages [226 kB]
Get:11 http://archive.ubuntu.com precise-updates/multiverse i386 Packages [14.2 kB]
Hit http://archive.ubuntu.com precise-updates/main TranslationIndex
Hit http://archive.ubuntu.com precise-updates/multiverse TranslationIndex
Hit http://archive.ubuntu.com precise-updates/restricted TranslationIndex
Hit http://archive.ubuntu.com precise-updates/universe TranslationIndex
Get:12 http://archive.ubuntu.com precise-backports/main i386 Packages [2,838 B]
Get:13 http://archive.ubuntu.com precise-backports/restricted i386 Packages [14 B]
Get:14 http://archive.ubuntu.com precise-backports/universe i386 Packages [36.9 kB]
Get:15 http://archive.ubuntu.com precise-backports/multiverse i386 Packages [5,178 B]
Hit http://archive.ubuntu.com precise-backports/main TranslationIndex
Hit http://archive.ubuntu.com precise-backports/multiverse TranslationIndex
Hit http://archive.ubuntu.com precise-backports/restricted TranslationIndex
Hit http://archive.ubuntu.com precise-backports/universe TranslationIndex
Get:16 http://archive.ubuntu.com precise-security/main i386 Packages [359 kB]
Get:17 http://archive.ubuntu.com precise-security/restricted i386 Packages [4,620 B]
Get:18 http://archive.ubuntu.com precise-security/universe i386 Packages [88.9 kB]
Get:19 http://archive.ubuntu.com precise-security/multiverse i386 Packages [2,635 B]
Hit http://archive.ubuntu.com precise-security/main TranslationIndex
Hit http://archive.ubuntu.com precise-security/multiverse TranslationIndex
Hit http://archive.ubuntu.com precise-security/restricted TranslationIndex
Hit http://archive.ubuntu.com precise-security/universe TranslationIndex
Hit http://archive.ubuntu.com precise/main Translation-en
Hit http://archive.ubuntu.com precise/multiverse Translation-en
Hit http://archive.ubuntu.com precise/restricted Translation-en
Hit http://archive.ubuntu.com precise/universe Translation-en
Hit http://archive.ubuntu.com precise-updates/main Translation-en
Hit http://archive.ubuntu.com precise-updates/multiverse Translation-en
Hit http://archive.ubuntu.com precise-updates/restricted Translation-en
Hit http://archive.ubuntu.com precise-updates/universe Translation-en
Hit http://archive.ubuntu.com precise-backports/main Translation-en
Hit http://archive.ubuntu.com precise-backports/multiverse Translation-en
Hit http://archive.ubuntu.com precise-backports/restricted Translation-en
Hit http://archive.ubuntu.com precise-backports/universe Translation-en
Hit http://archive.ubuntu.com precise-security/main Translation-en
Hit http://archive.ubuntu.com precise-security/multiverse Translation-en
Hit http://archive.ubuntu.com precise-security/restricted Translation-en
Hit http://archive.ubuntu.com precise-security/universe Translation-en
Fetched 1,631 kB in 23s (69.8 kB/s)
Reading package lists... Done
W: GPG error: http://deb.torproject.org precise Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 74A941BA219EC810
vipin@vipin-desktop:~$

This wat i am getting on updateing apt-get

Kindly help me out regarding this warning in updating

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#6

Then the torproject repo is bad and needs readding. It does exist but seems to have changed.

http://deb.torproject.org/torproject.org/dists/

You will need to remove:

deb http://deb.torproject.org/torproject.org precise main
deb-src http://deb.torproject.org/torproject.org precise main

From your /etc/apt/sources.list file then find out how to readd it properly.

Revision history for this message
Manfred Hampl (m-hampl) said :
#7

The terminal command

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 74A941BA219EC810

might add the missing crypto key information to your system.

Can you help with this problem?

Provide an answer of your own, or ask Vipin Kumar Kabra for more information if necessary.

To post a message you must log in.