Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    /var/lib/apt/lists MISSING :/

    Reply
    Page 2 of 2 | Prev |   1   2 |
    pichlo | # 11 | 2013-10-28, 14:36 | Report

    Originally Posted by tanago View Post
    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
    Or even - skipping a manula step and without a need for vi...
    Code:
    mkdir /var/lib/apt/lists
    touch /var/lib/apt/lists/lock
    mkdir /var/lib/apt/lists/partial

    Edit | Forward | Quote | Quick Reply | Thanks

     
    ZeNzO | # 12 | 2013-10-28, 16:25 | Report

    Originally Posted by michaaa62 View Post
    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?
    It's definitely not the App Manager, this has been happening since a month now no matter if I had my Internet connection on, or how long I've been waiting for the updater to end.

    I've also tried root access by BusyBox. Doesn't really work and I'm kind of scared of that one really. I'm not a pro Linux user, just a regular one.

    My app manager on startup states "Operation Failed" and I can't really do anything.

    /var/lib/apt/lists is empty and... I don't know what to do. I had that once already on the Easy Debian LXDE image and couldn't fix that either.

    Edit | Forward | Quote | Quick Reply | Thanks

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

    You need rootsh installed for these commands to work
    Code:
    sudo gainroot
    apt-get update
    apt-get upgrade
    If you are unsure about the output, please post it here via Copy'nPaste, please.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    ZeNzO | # 14 | 2013-10-28, 20:29 | Report

    Here's a full paste.

    Code:
    BusyBox v1.10.2 (Debian 3:1.10.2.legal-1osso31+0cssu0) built-in shell (ash)
    Enter 'help' for a list of built-in commands.
    
    mkdir: cannot create directory '/dev/cgroup/cpu/user/': Permission denied
    -sh: /home/user/.bashrc: line 1: cannot create /dev/cgroup/cpu/user/2235/tasks: nonexistent directory
    -sh: /home/user/.bashrc: line 1: cannot create /dev/cgroup/cpu/user/2235/notify_on_release: nonexistent directory
    ~ $ sudo gainroot
    Root shell enabled
    
    
    BusyBox v1.10.2 (Debian 3:1.10.2.legal-1osso31+0cssu0) built-in shell (ash)
    Enter 'help' for a list of built-in commands.
    
    /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 list directory
    /home/user # apt-get upgrade
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Error!
    E: Read error - read (21 Is a directory)
    E: Read error - read (21 Is a directory)
    /home/user #
    Just now I've noticed I've got some -sh errors. Wonder if that's relevant.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    michaaa62 | # 15 | 2013-10-29, 07:29 | Report

    Originally Posted by ZeNzO View Post
    Here's a full paste.

    Code:
    BusyBox v1.10.2 (Debian 3:1.10.2.legal-1osso31+0cssu0) built-in shell (ash)
    Enter 'help' for a list of built-in commands.
    
    mkdir: cannot create directory '/dev/cgroup/cpu/user/': Permission denied
    -sh: /home/user/.bashrc: line 1: cannot create /dev/cgroup/cpu/user/2235/tasks: nonexistent directory
    -sh: /home/user/.bashrc: line 1: cannot create /dev/cgroup/cpu/user/2235/notify_on_release: nonexistent directory
    ~ $ sudo gainroot
    Root shell enabled
    
    
    BusyBox v1.10.2 (Debian 3:1.10.2.legal-1osso31+0cssu0) built-in shell (ash)
    Enter 'help' for a list of built-in commands.
    
    /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 list directory
    /home/user # apt-get upgrade
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Error!
    E: Read error - read (21 Is a directory)
    E: Read error - read (21 Is a directory)
    /home/user #
    Just now I've noticed I've got some -sh errors. Wonder if that's relevant.
    These are remnants from those quite infamous '*-patches', either battery or power!
    Those are not revertable but with a full reflash of the device.

    Please verify the error message of apt-get
    Code:
    ls -al /var/lib/apt
    ls -al /var/lib/apt/lists
    to see if the structure is okay.

    Edit | Forward | Quote | Quick Reply | Thanks

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