Results 1 to 10 of 10

Thread: How can I Locate corrupt packages from a status report

  1. #1
    Join Date
    Nov 2011
    Beans
    19

    How can I Locate corrupt packages from a status report

    How can I locate the corrupt package, and remove the whole block of information about it and save the file from a status file and how can I copy and paste the file as it's quite long.
    Thank you

  2. #2
    Join Date
    Nov 2007
    Location
    Wisconsin
    Beans
    1,139

    Re: How can I Locate corrupt packages from a status report

    The description of your problem is confusing.
    Normally, you redownload and reinstall a corrupt package.
    There is no 'status report' by that name or intent.

    Are you having problems locating a corrupt package?
    Or are you having problems fixing a corrupt package you have located?

  3. #3
    Join Date
    Nov 2011
    Beans
    19

    Re: How can I Locate corrupt packages from a status report

    Hi ,I am having problems finding and fixing broken packages. I am unable to fix them in synaptic.

  4. #4
    Join Date
    Nov 2007
    Location
    Wisconsin
    Beans
    1,139

    Re: How can I Locate corrupt packages from a status report

    1) Quit all package managers, including Synaptic and Software Center
    2) Open a Terminal.
    3) Enter this command: sudo apt-get update
    4) Enter this command, and paste the entire reply here: sudo apt-get upgrade

    The system will tell you what is broken in the error messages...Of course, Synaptic tells you what the packages are if you use the filter setting.

    Broken packages are usually caused by a PPA or other unsupported third party repository, or a partial-upgrade (which is usually also caused by a PPA). If you have installed any PPAs, disable them and try the commands again.
    Last edited by Cheesehead; July 13th, 2013 at 05:17 AM.

  5. #5
    Join Date
    Apr 2011
    Location
    Mystletainn Kick!
    Beans
    13,615
    Distro
    Ubuntu

    Re: How can I Locate corrupt packages from a status report

    Quote Originally Posted by ro12 View Post
    Hi ,I am having problems finding and fixing broken packages. I am unable to fix them in synaptic.
    If you open synaptic and go to custom filters, broken is a selection you can choose(right after ALL).
    If you have any broken packages they will be listed here.
    Splat Double Splat Triple Splat
    Earn Your Keep
    Don't mind me, I'm only passing through.
    Once in a blue moon, I'm actually helpful
    .

  6. #6
    Join Date
    Nov 2011
    Beans
    19

    Re: How can I Locate corrupt packages from a status report

    When I try to fix broken packages in synaptic I get this
    Code:
     Extracting templates from packages: 100%Preconfiguring packages ...
    dpkg: error: parsing file '/var/lib/dpkg/status' near line 27728 package 'rar':
     mixed non-coinstallable and coinstallable package instances present
    E: Sub-process /usr/bin/dpkg returned an error code (2)
    A package failed to install.  Trying to recover:
    dpkg: error: parsing file '/var/lib/dpkg/status' near line 27728 package 'rar':
     mixed non-coinstallable and coinstallable package instances present

  7. #7
    Join Date
    Nov 2007
    Location
    Wisconsin
    Beans
    1,139

    Re: How can I Locate corrupt packages from a status report

    According to https://bugs.launchpad.net/ubuntu/+s...g/+bug/1015567 , this can happen if a wrong-arch package gets installed. A solution is in there, too.

    First, try reinstalling the 'rar' package.
    Disable any PPAs you have installed. Then:
    Code:
    sudo apt-get clean rar    # delete the existing copy(ies) of the rar package in your local archive
    sudo apt-get --reinstall install rar    # download a new copy of rar and reinstall.

  8. #8
    Join Date
    Nov 2011
    Beans
    19

    Re: How can I Locate corrupt packages from a status report

    What is the rar package and how can I find and disable ppa's?
    Thank you for your help

  9. #9
    Join Date
    Apr 2011
    Location
    Mystletainn Kick!
    Beans
    13,615
    Distro
    Ubuntu

    Re: How can I Locate corrupt packages from a status report

    The rar package is an archiver for .rar files.

    To disable PPAs, In synaptic
    Settings > Repositories > Other Software.
    Look for any lines that say PPA.
    Uncheck them.
    Then close and reload the package list.

    Run Cheesehead's commands.
    Splat Double Splat Triple Splat
    Earn Your Keep
    Don't mind me, I'm only passing through.
    Once in a blue moon, I'm actually helpful
    .

  10. #10
    Join Date
    Oct 2013
    Beans
    1

    Re: How can I Locate corrupt packages from a status report

    I think what they are asking is this.....
    sudo gedit /var/lib/dpkg/status
    How would you locate the corrupt package in the text file. At least that is what I have been trying to figure out

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
  •