Page 2 of 2 FirstFirst 12
Results 11 to 18 of 18

Thread: Software Index is broken

  1. #11
    Join Date
    Jan 2008
    Location
    France
    Beans
    83
    Distro
    Ubuntu

    Re: Software Index is broken

    Thanks, but I'm still getting error messages that the software index is broken. Then apt-get install -f shows:

    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    The following packages will be REMOVED
    fglrx
    0 upgraded, 0 newly installed, 1 to remove and 91 not upgraded.
    1 not fully installed or removed.
    After this operation, 60.0MB disk space will be freed.
    Do you want to continue [Y/n]? y
    (Reading database ... 381250 files and directories currently installed.)
    Removing fglrx ...
    dpkg-divert: mismatch on package
    when removing `diversion of /usr/lib/libGL.so.1.2 to /usr/lib/fglrx/libGL.so.1.2.xlibmesa by fglrx'
    found `diversion of /usr/lib/libGL.so.1.2 to /usr/lib/fglrx/libGL.so.1.2.xlibmesa by xorg-driver-fglrx'
    dpkg: error processing fglrx (--remove):
    subprocess installed post-removal script returned error exit status 2
    Processing triggers for ureadahead ...
    Errors were encountered while processing:
    fglrx
    E: Sub-process /usr/bin/dpkg returned an error code (1)

    Any other ideas on how to get updates working again?

  2. #12
    Join Date
    Jan 2008
    Location
    France
    Beans
    83
    Distro
    Ubuntu

    Re: Software Index is broken

    Hi, can anyone help with this problem - Update Manager says Software Index is broken and that it is impossible to install or remove any software. I'm using Ubuntu 10.04 - would upgrading to 10.10 fix this? Ideally I would like to avoid re-installation or upgrade as I'm happy with LTS. Any help much appreciated.

  3. #13
    Join Date
    Jun 2006
    Location
    Nux Jam
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: Software Index is broken

    Update-Manager is not the only one's tool to do the job: apt-get, synaptic

    sudo rm /var/cache/apt/archives/*
    ( dont worry about the warning, here nothing is destroyed as "-rf" is not used)

    if you are using not genuine repo (like ppa, or mixing distro), then update, otherwise deactivate them first.

  4. #14
    Join Date
    Jan 2008
    Location
    France
    Beans
    83
    Distro
    Ubuntu

    Re: Software Index is broken

    Hi, thanks for the help and your patience as I'm well out of my depth here. Think I might have screwed something up earlier:

    russ@russ-desktop:~$ sudo apt-get update
    E: Lists directory /var/lib/apt/lists/partial is missing.
    E: Archive directory /var/cache/apt/archives/partial is missing.

    Is this fixable?

    (I should point out that I tried sudo rm /var/cache/apt/archives/*, which appeared to work but didn't give any error messages when I was expecting to receive one).
    Last edited by SnoopFogg; July 20th, 2011 at 08:53 PM. Reason: Pointed out that I tried doing what was suggested

  5. #15
    Join Date
    Jan 2008
    Location
    France
    Beans
    83
    Distro
    Ubuntu

    Re: Software Index is broken

    I still cannot make any updates. I get the following error messages:

    1. System/Administration/Update manager
    It is impossible to install or remove any software. Please use the package manager "Synaptic" or run "sudo apt-get install -f" in a terminal to fix this issue at first

    2. Synaptic package manager
    Could not download all repository indexes
    Lists directory /var/lib/apt/lists/partial is missing.Archive directory /var/cache/apt/archives/partial is missing.

    3. sudo apt-get install -f
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    The following packages will be REMOVED
    fglrx
    0 upgraded, 0 newly installed, 1 to remove and 91 not upgraded.
    1 not fully installed or removed.
    E: Lists directory /var/lib/apt/lists/partial is missing.
    E: Archive directory /var/cache/apt/archives/partial is missing.

    4. sudo apt-get update
    E: Lists directory /var/lib/apt/lists/partial is missing.
    E: Archive directory /var/cache/apt/archives/partial is missing.


    Any suggestions to fix this gratefully received.

  6. #16
    Join Date
    Jan 2008
    Location
    France
    Beans
    83
    Distro
    Ubuntu

    Re: Software Index is broken

    Hi, Can anyone confirm whether the broken software index problem I am having is related to problems installing the nvidia closed source driver on my 10.04 machine? (I want to use Compiz).

    russ@russ-desktop:~$ sudo apt-get install nvidia-xconfig
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    E: Couldn't find package nvidia-xconfig


    Below is a summary of the errors I get when attempting updates on my 10.04 machine:

    1. System/Administration/Update manager
    It is impossible to install or remove any software. Please use the package manager "Synaptic" or run "sudo apt-get install -f" in a terminal to fix this issue at first

    2. Synaptic package manager
    Could not download all repository indexes
    Lists directory /var/lib/apt/lists/partial is missing.
    Archive directory /var/cache/apt/archives/partial is missing.

    3. sudo apt-get install -f
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    The following packages will be REMOVED
    fglrx
    0 upgraded, 0 newly installed, 1 to remove and 91 not upgraded.
    1 not fully installed or removed.
    E: Lists directory /var/lib/apt/lists/partial is missing.
    E: Archive directory /var/cache/apt/archives/partial is missing.

    4. sudo apt-get update
    E: Lists directory /var/lib/apt/lists/partial is missing.
    E: Archive directory /var/cache/apt/archives/partial is missing.


    Are there any solutions to this problem other than a complete re-install? I really don't want to do that if I can avoid it!

    Cheers

  7. #17
    Join Date
    Jan 2011
    Beans
    Hidden!

    Re: Software Index is broken

    Try

    Code:
    sudo mkdir /var/lib/apt/lists/partial
    sudo mkdir /var/cache/apt/archives/partial
    sudo apt-get update

  8. #18
    Join Date
    Jan 2008
    Location
    France
    Beans
    83
    Distro
    Ubuntu

    Re: Software Index is broken

    Brilliant. Thanks for your help. Back in business now and all working with compiz too. Cheers

Page 2 of 2 FirstFirst 12

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
  •