Page 1 of 9 123 ... LastLast
Results 1 to 10 of 87

Thread: Items cannot be installed or removed until the package catalog is repaired

  1. #1
    Join Date
    Mar 2013
    Beans
    47

    Items cannot be installed or removed until the package catalog is repaired

    Hi,
    I cannot install or remove any thing from my laptop.
    When ever i click Ubuntu Software center i get this message;
    Items cannot be installed or removed until the package catalog is repaired. Do you want to repair it now?

    when i click the "Repair" button, nothing happens and the same screen comes up again.

    I tried Sudo apt-get update
    and
    Sudo apt-get -f install

    but to no avail,
    and this is what it gave me;


    I am absolutely new to ubuntu and no nothing about the commands.
    Can any body help please?
    I will really appreciate it.
    thanks,
    Iltesham Z Syed

  2. #2
    Join Date
    Jul 2007
    Location
    Magic City of the Plains
    Beans
    Hidden!
    Distro
    Xubuntu 14.10 Utopic Unicorn

    Re: Items cannot be installed or removed until the package catalog is repaired

    Can you post the output of
    Code:
    cat /etc/apt/sources.list
    ? You can copy and paste the output into a post.

  3. #3
    Join Date
    Mar 2013
    Beans
    47

    Re: Items cannot be installed or removed until the package catalog is repaired

    Thanks for the response,
    here is what i get with the command you gave me;
    iltesham@iltesham-Inspiron-1525:~$ cat /etc/apt/sources.list
    # deb cdrom:[Ubuntu 11.10 _Oneiric Ocelot_ - Release i386 (20111012)]/ oneiric main restricted

    # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
    # newer versions of the distribution.
    deb http://us.archive.ubuntu.com/ubuntu/ precise main restricted
    deb-src http://us.archive.ubuntu.com/ubuntu/ precise main restricted

    ## Major bug fix updates produced after the final release of the
    ## distribution.
    deb http://us.archive.ubuntu.com/ubuntu/ precise-updates main restricted
    deb-src http://us.archive.ubuntu.com/ubuntu/ precise-updates main restricted

    ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
    ## team. Also, please note that software in universe WILL NOT receive any
    ## review or updates from the Ubuntu security team.
    deb http://us.archive.ubuntu.com/ubuntu/ precise universe
    deb-src http://us.archive.ubuntu.com/ubuntu/ precise universe
    deb http://us.archive.ubuntu.com/ubuntu/ precise-updates universe
    deb-src http://us.archive.ubuntu.com/ubuntu/ precise-updates universe

    ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
    ## team, and may not be under a free licence. Please satisfy yourself as to
    ## your rights to use the software. Also, please note that software in
    ## multiverse WILL NOT receive any review or updates from the Ubuntu
    ## security team.
    deb http://us.archive.ubuntu.com/ubuntu/ precise multiverse
    deb-src http://us.archive.ubuntu.com/ubuntu/ precise multiverse
    deb http://us.archive.ubuntu.com/ubuntu/ precise-updates multiverse
    deb-src http://us.archive.ubuntu.com/ubuntu/ precise-updates multiverse

    ## N.B. software from this repository may not have been tested as
    ## extensively as that contained in the main release, although it includes
    ## newer versions of some applications which may provide useful features.
    ## Also, please note that software in backports WILL NOT receive any review
    ## or updates from the Ubuntu security team.
    deb http://us.archive.ubuntu.com/ubuntu/ precise-backports main restricted universe multiverse
    deb-src http://us.archive.ubuntu.com/ubuntu/ precise-backports main restricted universe multiverse

    deb http://security.ubuntu.com/ubuntu precise-security main restricted
    deb-src http://security.ubuntu.com/ubuntu precise-security main restricted
    deb http://security.ubuntu.com/ubuntu precise-security universe
    deb-src http://security.ubuntu.com/ubuntu precise-security universe
    deb http://security.ubuntu.com/ubuntu precise-security multiverse
    deb-src http://security.ubuntu.com/ubuntu precise-security multiverse

    ## Uncomment the following two lines to add software from Canonical's
    ## 'partner' repository.
    ## This software is not part of Ubuntu, but is offered by Canonical and the
    ## respective vendors as a service to Ubuntu users.
    deb http://archive.canonical.com/ubuntu precise partner
    deb-src http://archive.canonical.com/ubuntu precise partner

    ## This software is not part of Ubuntu, but is offered by third-party
    ## developers who want to ship their latest software.
    deb http://extras.ubuntu.com/ubuntu precise main
    deb-src http://extras.ubuntu.com/ubuntu precise main
    iltesham@iltesham-Inspiron-1525:~$


    thanks for the help;
    Iltesham Syed

  4. #4
    Join Date
    Jul 2007
    Location
    Magic City of the Plains
    Beans
    Hidden!
    Distro
    Xubuntu 14.10 Utopic Unicorn

    Re: Items cannot be installed or removed until the package catalog is repaired

    That looks ok. Can you do the same for
    Code:
    ls /etc/apt/sources.list.d/

  5. #5
    Join Date
    Mar 2013
    Beans
    47

    Re: Items cannot be installed or removed until the package catalog is repaired

    Hi,
    thanks for the reply,
    here is what i get with this command;

    iltesham@iltesham-Inspiron-1525:~$ ls /etc/apt/sources.list.d/
    google-talkplugin.list
    google-talkplugin.list.distUpgrade
    google-talkplugin.list.save
    oneiric-partner.list
    oneiric-partner.list.distUpgrade
    oneiric-partner.list.save
    openfoam.list
    openfoam.list.distUpgrade
    openfoam.list.save
    weather-indicator-team-ppa-oneiric.list
    weather-indicator-team-ppa-oneiric.list.distUpgrade
    iltesham@iltesham-Inspiron-1525:~$

  6. #6
    Join Date
    Jul 2007
    Location
    Magic City of the Plains
    Beans
    Hidden!
    Distro
    Xubuntu 14.10 Utopic Unicorn

    Re: Items cannot be installed or removed until the package catalog is repaired

    Are you running Precise (12.04)? The problem is the oneiric-partner files, so let's get rid of those:
    Code:
    sudo rm /etc/apt/sources.list.d/oneiric*
    Now try
    Code:
    sudo apt-get update
    again, and the error should be gone.

  7. #7
    Join Date
    Mar 2013
    Beans
    47

    Re: Items cannot be installed or removed until the package catalog is repaired

    Thanks again,
    but this time i get this message;

    W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/...-i386/Packages 404 Not Found [IP: 91.189.91.13 80]

    W: Failed to fetch http://security.ubuntu.com/ubuntu/di...source/Sources 404 Not Found [IP: 91.189.92.200 80]

    W: Failed to fetch http://security.ubuntu.com/ubuntu/di...source/Sources 404 Not Found [IP: 91.189.92.200 80]

    W: Failed to fetch http://security.ubuntu.com/ubuntu/di...source/Sources 404 Not Found [IP: 91.189.92.200 80]

    W: Failed to fetch http://security.ubuntu.com/ubuntu/di...source/Sources 404 Not Found [IP: 91.189.92.200 80]

    W: Failed to fetch http://security.ubuntu.com/ubuntu/di...-i386/Packages 404 Not Found [IP: 91.189.92.200 80]

    W: Failed to fetch http://security.ubuntu.com/ubuntu/di...-i386/Packages 404 Not Found [IP: 91.189.92.200 80]

    W: Failed to fetch http://security.ubuntu.com/ubuntu/di...-i386/Packages 404 Not Found [IP: 91.189.92.200 80]

    W: Failed to fetch http://security.ubuntu.com/ubuntu/di...-i386/Packages 404 Not Found [IP: 91.189.92.200 80]

    E: Some index files failed to download. They have been ignored, or old ones used instead.
    iltesham@iltesham-Inspiron-1525:~$

  8. #8
    Join Date
    Mar 2013
    Beans
    47

    Re: Items cannot be installed or removed until the package catalog is repaired

    Hi,
    and when i click the software center i again get the same error and when i press the repair button, this time i get this message;

    An unhandlable error occured
    There seems to be a programming error in aptdaemon, the software that allows you to install/remove software and to perform other package management related tasks.

  9. #9
    Join Date
    Jul 2007
    Location
    Magic City of the Plains
    Beans
    Hidden!
    Distro
    Xubuntu 14.10 Utopic Unicorn

    Re: Items cannot be installed or removed until the package catalog is repaired

    That's odd. I wonder if updating the package lists will help.
    Code:
    sudo rm /var/lib/apt/lists/* -vf
    
    sudo apt-get update

  10. #10
    Join Date
    Mar 2013
    Beans
    47

    Re: Items cannot be installed or removed until the package catalog is repaired

    still the same error.

Page 1 of 9 123 ... LastLast

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
  •