Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    /var/lib/apt/lists MISSING :/

    Reply
    Page 1 of 2 | 1   2   | Next
    danielpublic | # 1 | 2010-03-26, 09:50 | Report

    Hi!
    I have this application manager problem:
    Code:
    E: could not open lock file /var/lib/apt/lists/lock - open (2
    no such file or directory)
    
    E: unable to lock the list directory
    I thought: "Hey well ok, thats really sane and so I ssh'ed in and sudo gainroot and apt-get update"
    As the error message says, the dir:
    Code:
    /var/lib/apt/lists
    Does NOT exist.

    How can I resolve this?
    I mean it has nothing to do with a rootfs space issue. I got almost 40mb there. Its all about the apt missing its dirs and cant do its thing.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    qwerty12 | # 2 | 2010-03-26, 09:55 | Report

    FWIW, mkdir -p /var/lib/apt/lists/partial (as root) and then setting permissions on both the partial and lists folder to 755 should work. An "apt-get update" will recreate the files in the lists folder.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to qwerty12 For This Useful Post:
    danielpublic

     
    danielpublic | # 3 | 2010-03-26, 10:12 | Report

    This fixed my application manager not working. Its all good, from here!

    What I did was for the interested crowed:

    1# SSH into your lovely device
    2# sudo gainroot
    3#
    Code:
    mkdir -p /var/lib/apt/lists/partial
    4#
    Code:
    chmod 755 /var/lib/apt/lists && chmod 755 /var/lib/apt/lists/partial
    5# Profit! Use the Application Manager on the "phone" to do your thing!

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by danielpublic; 2010-03-26 at 10:17.
    The Following 3 Users Say Thank You to danielpublic For This Useful Post:
    lujo, tape_ape, Usman4life

     
    Niggydip | # 4 | 2010-03-26, 11:51 | Report

    sorry but my question might sound silly...what does it mean to ssh?

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to Niggydip For This Useful Post:
    danielpublic

     
    Rob1n | # 5 | 2010-03-26, 13:31 | Report

    Originally Posted by Niggydip View Post
    sorry but my question might sound silly...what does it mean to ssh?
    Ssh is the secure shell - it's a client/server protocol designed to allow secure access to the command line on remote computers. You don't actually need that at all though - just open X Terminal, then follow the instructions from step 2.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to Rob1n For This Useful Post:
    danielpublic

     
    danielpublic | # 6 | 2010-03-26, 14:35 | Report

    Originally Posted by Niggydip View Post
    sorry but my question might sound silly...what does it mean to ssh?
    No need for apologies!
    Its rather I, that am sorry for not explaining things better. I will take this into account in the future! Thanks for your input!

    Edit | Forward | Quote | Quick Reply | Thanks

     
    lujo | # 7 | 2013-03-20, 16:52 | Report

    Originally Posted by danielpublic View Post
    This fixed my application manager not working. Its all good, from here!

    What I did was for the interested crowed:

    1# SSH into your lovely device
    2# sudo gainroot
    3#
    Code:
    mkdir -p /var/lib/apt/lists/partial
    4#
    Code:
    chmod 755 /var/lib/apt/lists && chmod 755 /var/lib/apt/lists/partial
    5# Profit! Use the Application Manager on the "phone" to do your thing!
    It's work! sure!
    Maybe anyone confuse with point #1 and #2. Just type "sudo su" on your terminal. After finish, you can quit from gainroot (sudo su) by "Ctrl+D".

    Maybe I've made mistake?

    Edit | Forward | Quote | Quick Reply | Thanks

     
    tanago | # 8 | 2013-03-24, 17:45 | Report

    If somebody else has that problem and to quickly solve:
    as root

    mkdir /var/lib/apt/lists
    vi /var/lib/apt/lists/lock -> Press Esc on the screen then write ':wq' on the keyboard, then Enter
    mkdir /var/lib/apt/lists/partial

    Problem solved

    Edit | Forward | Quote | Quick Reply | Thanks

     
    ZeNzO | # 9 | 2013-10-28, 13:41 | Report

    Sorry for diggin up such an old topic but I've got a bit different problem here.

    with su
    Code:
    /home/user # apt-get update
    E: Could not open lock file /var/lib/apt/lists/lock - open (5 Input/output error)
    E: Unable to lock the lists directory
    Best thing is that /var/lib/apt/lists/ dir does exist.
    How to fix that?

    Edit | Forward | Quote | Quick Reply | Thanks

     
    michaaa62 | # 10 | 2013-10-28, 14:13 | Report

    It may be that the automatic update from Hildon Application Manager is interfering, this even might take some minutes...

    Are you really using 'su' instead of the other tweaks to gain the rights of root?

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Page 1 of 2 | 1   2   | Next
vBulletin® Version 3.8.8
Normal Logout