Results 1 to 10 of 10

Thread: 'Unable to lock the administration directory'

  1. #1
    Join Date
    Aug 2013
    Beans
    295

    'Unable to lock the administration directory'

    Hi guys; i have this on the terminal when i want to install some slftware in ubuntu 14.04
    Attached Images Attached Images

  2. #2
    Join Date
    Nov 2009
    Beans
    3,336

    Re: what does this means!

    You only need to enter

    sudo apt-get install synaptic

    then it might work - as long as nothing else is running like USC or

    ( yep - spotted it on the left - two white markers next to the orange bag - with A on it Ubuntu Software Center is running )

    the lock may have been on if it was trying to do some automatic updates in the background maybe - need to come out

    of it - so that you can use the terminal command as above in bold that is all you need to get synaptic in.

    _________________________
    Last edited by 23dornot23d; April 14th, 2014 at 02:37 AM. Reason: removed that last chunk of text as I spotted the USC active on the left in Unity.

  3. #3
    Join Date
    Apr 2011
    Location
    Mystletainn Kick!
    Beans
    13,615
    Distro
    Ubuntu

    Re: what does this means!

    Maybe I'm too late, but isn't that synaptic installing down at the bottom of the launcher?
    You have the software center open, so it would seem you've already started the download process to install synaptic.
    The software center does an interesting thing that the terminal and other installation method do not.
    That is it throws the new applications icon onto the launcher as it is being installed.

    Anyway, the odd thing is, if you had tried installing it through the terminal, it probably would have spit out a no package found for what you wrote. It looked like synaptic has a capital S. As well as Package and Manager would be read as two different programs altogether.

    Well, hope something I wrote helps, somewhat...maybe.
    Splat Double Splat Triple Splat
    Earn Your Keep
    Don't mind me, I'm only passing through.
    Once in a blue moon, I'm actually helpful
    .

  4. #4
    Join Date
    Aug 2013
    Beans
    295

    Re: what does this means!

    Thanks guys;i rebooted the pc and now all good, thanks

  5. #5
    Join Date
    Oct 2008
    Location
    ExodusHair<Čubura
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: what does this means!

    Quote Originally Posted by 23dornot23d View Post
    You only need to enter

    sudo apt-get install synaptic

    then it might work - as long as nothing else is running like USC or

    ( yep - spotted it on the left - two white markers next to the orange bag - with A on it Ubuntu Software Center is running )

    the lock may have been on if it was trying to do some automatic updates in the background maybe - need to come out

    of it - so that you can use the terminal command as above in bold that is all you need to get synaptic in.

    _________________________
    Using plain sudo with GUI application (especially with one such as Synaptic) is not a good idea... Gksu or at least sudo -H should be used as we have wrote one time too much here and elsewhere... It is weird that it still persist...

    Edit: Mea culpa, I made an error in reading, explained below... Sorry...
    Last edited by zika; April 14th, 2014 at 08:16 AM.

  6. #6
    Join Date
    Nov 2009
    Beans
    3,336

    Re: what does this means!

    Using plain sudo with GUI application (especially with one such as Synaptic) is not a good idea... Gksu or at least sudo -H should be used as we have wrote one time too much here and elsewhere... It is weird that it still persist...
    Think you should re-read .......... am installing it not running it ........

  7. #7
    Join Date
    Oct 2008
    Location
    ExodusHair<Čubura
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: what does this means!

    Quote Originally Posted by 23dornot23d View Post
    Think you should re-read .......... am installing it not running it ........
    Mea culpa, did not read well...
    I've edited my message, sorry...
    To redeem myself I'm offering a nice video: http://www.youtube.com/watch?v=BKezUd_xw20 ...
    Last edited by zika; April 14th, 2014 at 08:19 AM.

  8. #8
    Join Date
    Nov 2009
    Beans
    3,336

    Re: what does this means!

    Its ok - guessed you just scanned through it ....... early morning too ......

  9. #9
    Join Date
    Oct 2008
    Location
    ExodusHair<Čubura
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: what does this means!

    Quote Originally Posted by 23dornot23d View Post
    Its ok - guessed you just scanned through it ....... early morning too ......
    I wish I've scanned, obviously just glanced with this old glasses...

  10. #10
    Join Date
    Jun 2010
    Location
    London, England
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: 'Unable to lock the administration directory'

    This problem will happen in whatever version of Ubuntu we are using if we try to access the repositories using the terminal and the software centre at the same time. Not 14.04 specific.
    It is a machine. It is more stupid than we are. It will not stop us from doing stupid things.
    Ubuntu user #33,200. Linux user #530,530


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •