-
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](images/misc/quote_icon.png)
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.
-
.. 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".
-
![Quote](images/misc/quote_icon.png)
Originally Posted by
Werner P. Schulz
Perhaps "Synaptic => File => History" can display you, which package failed.
I know which package failed; I just didn't want to tell you. ![Wink](images/smilies/icon_wink.gif)
![Quote](images/misc/quote_icon.png)
Originally Posted by
Werner P. Schulz
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.
-
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.
-
![Quote](images/misc/quote_icon.png)
Originally Posted by
Werner P. Schulz
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.
-
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
-
Forum Rules
![3 Vintage Computer Keyboards PC Dell Acer And Microsoft All Working picture](/store/img/g/tlEAAOSwHhRmfO4J/s-l225/3-Vintage-Computer-Keyboards-PC-Dell-Acer-And-Micr.jpg)
3 Vintage Computer Keyboards PC Dell Acer And Microsoft All Working
$35.00
![Vintage Motorola MC6800L, 8 Bit Microprocessor, Gold Purple Ceramic Collectible picture](/store/img/g/BF0AAOSwRz9mfDml/s-l225/Vintage-Motorola-MC6800L-8-Bit-Microprocessor-Gold.jpg)
Vintage Motorola MC6800L, 8 Bit Microprocessor, Gold Purple Ceramic Collectible
$12.50
![NOS VINTAGE COMPAQ PORTABLE III KEYBOARD NEW IN BOX picture](/store/img/g/qsAAAOSwEvRmeuzq/s-l225/NOS-VINTAGE-COMPAQ-PORTABLE-III-KEYBOARD-NEW-IN-BO.jpg)
NOS VINTAGE COMPAQ PORTABLE III KEYBOARD NEW IN BOX
$150.00
![BlueSCSI V2 WiFi (Narrow DB25) - Modern Storage for Vintage Computers picture](/store/img/g/-Q4AAOSwI3hmPnUb/s-l225/BlueSCSI-V2-WiFi-Narrow-DB25-Modern-Storage-for-Vi.jpg)
BlueSCSI V2 WiFi (Narrow DB25) - Modern Storage for Vintage Computers
$51.50
![Vintage Iomega Zip 100 Parallel Port External Drive for PC 100MB 10012 Open Box picture](/store/img/g/~jkAAOSwMgtmfNIy/s-l225/Vintage-Iomega-Zip-100-Parallel-Port-External-Driv.jpg)
Vintage Iomega Zip 100 Parallel Port External Drive for PC 100MB 10012 Open Box
$79.99
![Vintage IBM Black PS/2 KB-7953 Keyboard Tested & Working picture](/store/img/g/5xcAAOSwfrRmfFN-/s-l225/Vintage-IBM-Black-PS-2-KB-7953-Keyboard-Tested-Wor.jpg)
Vintage IBM Black PS/2 KB-7953 Keyboard Tested & Working
$39.00
![BlueSCSI V2 WiFi (Desktop) Modern Storage for Vintage Computers Latest Model picture](/store/img/g/GXUAAOSwWZRmPnHK/s-l225/BlueSCSI-V2-WiFi-Desktop-Modern-Storage-for-Vintag.jpg)
BlueSCSI V2 WiFi (Desktop) Modern Storage for Vintage Computers Latest Model
$53.50
![Vintage Atari STM1 Rollerball Two-Button Mouse picture](/store/img/g/hHgAAOSwMYRmfN6r/s-l225/Vintage-Atari-STM1-Rollerball-Two-Button-Mouse.jpg)
Vintage Atari STM1 Rollerball Two-Button Mouse
$49.99
![Vintage 1985 Zenith ZF-158-42 PC, 8 MHz 8088, 2x 360K floppies, CGA, powers on picture](/store/img/g/4HsAAOSw~hdmfK33/s-l225/Vintage-1985-Zenith-ZF-158-42-PC-8-MHz-8088-2x-360.jpg)
Vintage 1985 Zenith ZF-158-42 PC, 8 MHz 8088, 2x 360K floppies, CGA, powers on
$75.00
![Vintage Compaq Presario 9642 Desktop Computer Intel Pentium 133MHz 32MB Ram NoHD picture](/store/img/g/5eEAAOSwc0lj0qe5/s-l225/Vintage-Compaq-Presario-9642-Desktop-Computer-Inte.jpg)
Vintage Compaq Presario 9642 Desktop Computer Intel Pentium 133MHz 32MB Ram NoHD
$106.24