Results 1 to 10 of 10

Thread: Update manager: Run a partial upgrade

  1. #1
    Join Date
    May 2011
    Location
    #/bin/sh
    Beans
    193

    Question Update manager: Run a partial upgrade

    What does the error message 'Run a partial upgrade' in update manager mean? How do I stop the problem? It won't let me install any updates, and occasionally says 'Software index is broken'.
    Too many cooks don't spoil the broth with Linux, and Ubuntu is the best broth!

    Mint-Ireland, Ubuntu-UK, SUSE-Germany, Fedora-USA, ROSA-From Russia, with Love!

  2. #2
    Join Date
    Aug 2007
    Location
    a puddle in Manchester
    Beans
    9,204
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Update manager: Run a partial upgrade

    Running a partial upgrade will often break something.
    Instead use Synaptic to update. That will tell you what is going to be removed if you update a given package. If you don't want the item(s) removed then don't run the update for that package.
    MacBook Pro 10,1 retina

  3. #3
    Join Date
    Sep 2007
    Location
    In here watching you!
    Beans
    Hidden!

    Re: Update manager: Run a partial upgrade

    You can fix the problem by running these commands:
    Code:
    sudo rm -vf /var/lib/apt/lists/*
    sudo apt-get update
    sudo apt-get upgrade
    Use whatever OS or desktop works for you. Dual boot or use VMs if you want. Backup your computer regularly, and definitely before upgrading, partitioning, or installing an OS.

    No support requests by PM please.

  4. #4
    Join Date
    Nov 2010
    Location
    India
    Beans
    Hidden!

    Re: Update manager: Run a partial upgrade

    Quote Originally Posted by Quackers View Post
    Running a partial upgrade will often break something.
    Instead use Synaptic to update. That will tell you what is going to be removed if you update a given package. If you don't want the item(s) removed then don't run the update for that package.
    now i am on 11.10 started using it from Alpha version.It has asked me several times for partial upgrade and i have given yes.at that time i have enquired about this and got the answer as this is testing version and everytime we need some new updates with fixes and security updates...is that right for that?
    Thanks in advance,
    Dont miss anything even it is small. one small pin is enough to bring down a man.


  5. #5
    Join Date
    Aug 2007
    Location
    a puddle in Manchester
    Beans
    9,204
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Update manager: Run a partial upgrade

    It is not normally a good idea to run Partial Upgrades.

    http://ubuntuforums.org/showthread.php?t=1751299
    MacBook Pro 10,1 retina

  6. #6
    Join Date
    Nov 2010
    Location
    India
    Beans
    Hidden!

    Re: Update manager: Run a partial upgrade

    Quote Originally Posted by Quackers View Post
    It is not normally a good idea to run Partial Upgrades.

    http://ubuntuforums.org/showthread.php?t=1751299

    Thank you very much.In future i am not gonna touch them.
    Thanks again.
    Dont miss anything even it is small. one small pin is enough to bring down a man.


  7. #7
    Join Date
    May 2011
    Beans
    14

    Re: Update manager: Run a partial upgrade

    Quote Originally Posted by Old_Gray_Wolf View Post
    You can fix the problem by running these commands:
    Code:
    sudo rm -vf /var/lib/apt/lists/*
    sudo apt-get update
    sudo apt-get upgrade
    I tried this and I still get the partial upgrade message, I noticed that the remove failed to remove the folder "/var/lib/apt/lists/partial" does it need to remove that folder also ?

    thanks
    nz

  8. #8
    Join Date
    Sep 2007
    Location
    In here watching you!
    Beans
    Hidden!

    Re: Update manager: Run a partial upgrade

    Yes, will need to remove "/var/lib/apt/lists/partial" as well.
    Code:
    sudo rm -rf /var/lib/apt/lists/partial
    The previous command should have had -rf instead of -vf
    Last edited by Old_Grey_Wolf; October 14th, 2011 at 06:17 PM.
    Use whatever OS or desktop works for you. Dual boot or use VMs if you want. Backup your computer regularly, and definitely before upgrading, partitioning, or installing an OS.

    No support requests by PM please.

  9. #9
    Join Date
    Mar 2009
    Location
    San Diego, CA
    Beans
    47
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Update manager: Run a partial upgrade

    Quote Originally Posted by Old_Gray_Wolf View Post
    Yes, will need to remove "/var/lib/apt/lists/partial" as well.
    Code:
    sudo rm -rf /var/lib/apt/lists/partial
    The previous command should have had -rf instead of -vf
    So the actual command should be:
    Code:
    sudo rm -rf /var/lib/apt/lists/*
    or
    Code:
    sudo rm -rf /var/lib/apt/lists/partial
    ??

    I just want to make sure running with the wildcard won't actually remove sources for anything that I don't want to remove from my system or some similar undesired result

    *********UPDATE*********
    I made a backup of the lists/ dir and tried with the wildcard, and then ran the apt-get update command and received an error message that the partial/ dir was missing.
    Last edited by Gremlyn1; October 18th, 2011 at 09:26 PM.

  10. #10
    Join Date
    Sep 2007
    Location
    In here watching you!
    Beans
    Hidden!

    Re: Update manager: Run a partial upgrade

    sudo rm -rf /var/lib/apt/lists/*

    will get you what you want.
    Use whatever OS or desktop works for you. Dual boot or use VMs if you want. Backup your computer regularly, and definitely before upgrading, partitioning, or installing an OS.

    No support requests by PM please.

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
  •