Results 1 to 6 of 6

Thread: How can I clean up when Synaptic screws up?

  1. #1
    Junior Member
    Join Date
    Jun 2013
    Posts
    14

    How can I clean up when Synaptic screws up?

    Preface #1: I posted in this section because it has "apt" in its title, but I apologize in advance if it should have gone elsewhere.

    Preface #2: I use Knoppix for two purposes: A) to repair those other OSs when they get too badly screwed up to run properly, and B) to experiment with *nix technology in a way that won't crash my essential systems.

    From Apt-get / dpkg tutorial:
    Quote Originally Posted by MickLinux
    that's how *I* learn. Not by man, not by asking questions, but by blowing it up and then examining all the little pieces, and finally publishing and asking for opinions. The nuclear physicist method, if you will.
    For B), I do many things with Knoppix that KK and WPS specifically warn not to do, including (in my current case) trying to upgrade the preinstalled packages that come with Knoppix. I ask this question here because I haven't had any luck finding an answer elsewhere - not because it's particularly appropriate to Knoppix.

    Preface #3: I'm not exactly a clueless newbie; when I started using Unix, it was an actual AT&T product on actual AT&T hardware, connected to actual terminals - but much of what computers do nowadays involves hiding the complexities of running them, making finding out what's going on "under the hood" (let alone digging around in there) next to impossible.

    And now, on to the actual question: I recently tried to upgrade some of the packages on my Knoppix USB key, but one of the upgrades failed, and now every time I do anything with Synaptic, it keeps trying (and again failing) to redo the failed upgrade. (I'm deliberately not mentioning which package failed to upgrade, because I don't want to sidetrack this thread with package-specific discussions, or warnings about how bad it is to try to upgrade packages you know little about.)

    How do I make Synaptic forget that this upgrade is pending, and stop trying to finish it?
    Last edited by soubeagi; 06-29-2013 at 09:02 PM.

  2. #2
    Moderator Moderator
    Join Date
    Nov 2010
    Location
    Germany/ Dietzenbach
    Posts
    1,124
    .. I do anything with Synaptic, it keeps trying (and again failing) to redo the failed upgrade. (I'm deliberately not mentioning which package failed to upgrade, ..
    Perhaps "Synaptic => File => History" can display you, which package failed. I would try "aptitude purge this_package".

  3. #3
    Junior Member
    Join Date
    Jun 2013
    Posts
    14
    Quote Originally Posted by Werner P. Schulz View Post
    Perhaps "Synaptic => File => History" can display you, which package failed.
    I know which package failed; I just didn't want to tell you.

    Quote Originally Posted by Werner P. Schulz View Post
    I would try "aptitude purge this_package".
    This would result in some two dozen other packages also getting uninstalled because of dependencies. I was hoping to find some way of forcing the system to temporarily ignore the dependencies. At this point it seems the easiest solution will be to restore from my backup again.

  4. #4
    Moderator Moderator
    Join Date
    Nov 2010
    Location
    Germany/ Dietzenbach
    Posts
    1,124
    This would result in some two dozen other packages also getting uninstalled ..
    Sometimes this is the only way to get a solution. Make a notice of this packages and if needed try to reinstall them later.

    You can play with "aptitude" and his options "-t" and/or "-f" and for the first time always combined with "-s" (read "man aptitude" about what these options will do). But this is a painful job.

  5. #5
    Junior Member
    Join Date
    Jun 2013
    Posts
    14
    Quote Originally Posted by Werner P. Schulz View Post
    You can play with "aptitude" [...] But this is a painful job.
    And one that I'm currently not up to tackling. I think my best course of action right now is to switch to Knoppix 7.2 (now that it's out) and work on customizing that.

  6. #6
    Junior Member
    Join Date
    Dec 2013
    Posts
    3
    On crunchbang linux which is basically debian wheezy I've had to run "sudo apt-get -f install" a few times, perhaps that will be a simple fix for you, it often is for me when I have problems apt.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G picture

A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G

$13.99



Samsung 16GB 2Rx4 PC4-2133P DDR4-17000 1.2V RDIMM ECC Registered Server Memory picture

Samsung 16GB 2Rx4 PC4-2133P DDR4-17000 1.2V RDIMM ECC Registered Server Memory

$16.29



HyperX FURY DDR3 8GB 16GB 32GB 1600 MHz PC3-12800 Desktop RAM Memory DIMM 240pin picture

HyperX FURY DDR3 8GB 16GB 32GB 1600 MHz PC3-12800 Desktop RAM Memory DIMM 240pin

$12.90



A-Tech 8GB PC3-12800 Desktop DDR3 1600 MHz Non ECC 240-Pin DIMM Memory RAM 1x 8G picture

A-Tech 8GB PC3-12800 Desktop DDR3 1600 MHz Non ECC 240-Pin DIMM Memory RAM 1x 8G

$13.99



Corsair Vengeance LPX 32GB PC4-25600 (DDR4-3200) Memory NEVER USED LOOSE STICKS picture

Corsair Vengeance LPX 32GB PC4-25600 (DDR4-3200) Memory NEVER USED LOOSE STICKS

$40.00



A-Tech 16GB 2 x 8GB PC3-12800 Laptop SODIMM DDR3 1600 Memory RAM PC3L 16G DDR3L picture

A-Tech 16GB 2 x 8GB PC3-12800 Laptop SODIMM DDR3 1600 Memory RAM PC3L 16G DDR3L

$27.98



Kingston HyperX FURY DDR3 8GB 16GB 32G 1600 1866 1333 Desktop Memory RAM DIMM picture

Kingston HyperX FURY DDR3 8GB 16GB 32G 1600 1866 1333 Desktop Memory RAM DIMM

$13.25



8GB PC3L-12800S 1600MHz SODIMM DDR3 RAM | Grade A picture

8GB PC3L-12800S 1600MHz SODIMM DDR3 RAM | Grade A

$12.00



A-Tech 256GB 4x 64GB 4Rx4 PC4-19200 ECC Load Reduced LRDIMM Server Memory RAM picture

A-Tech 256GB 4x 64GB 4Rx4 PC4-19200 ECC Load Reduced LRDIMM Server Memory RAM

$287.96



A-Tech 64GB 4x 16GB 2Rx4 PC4-17000R DDR4 2133MHz ECC REG RDIMM Server Memory RAM picture

A-Tech 64GB 4x 16GB 2Rx4 PC4-17000R DDR4 2133MHz ECC REG RDIMM Server Memory RAM

$87.96