Results 1 to 4 of 4

Thread: Remove packages

  1. #1
    Senior Member
    Join Date
    Jul 2011
    Posts
    110

    Remove packages

    What is an easy way to remove all packages at once. I just need the ones I want installed. No Accessories, Education, Games, Graphics, Internet, Office, Programming, Sound, ect. I only want Konqueror and rdesktop? I am remastering a dvd and I want my Knoppix build to only have these. I want it as lightweight as possible. I want this for a student lab environment. Thanks greatly for all input.

  2. #2
    Senior Member registered user
    Join Date
    Sep 2006
    Posts
    802
    First, if you haven't setup a 2+ GB persistent store, do it. You need several MB for the updated package database, which resided in the cloop image, but now will be completely rewritten.

    Second, do a dpkg-query variant to get the package lists. There are several possible versions, you can grab good examples from the remastering notes in the wiki here.
    Don't trust the package list published with Knoppix, take your actual packages.

    Third, prepare a purge-list to feed into aptitude purge from the package list. You may want to make sections, and because removing some key components will prompt the removal of a whole series of packages, you may want to make an updated package list after having purged for a while.

    Fourth, don't be afraid if some of your to keep-components are suggested for removal. You just reinstall them afterwards.

    Fifth, don't try to remove too much of system components, even if you think you don't need them. Concentrate on userspace packages.

    Sixth, you can check your remastering with qemu-kvm. One simple way, if you use grub, is adding a grub entry for the remastered version, for example copied to a pendrive, and run qemu /dev/sda &. You get the ordinary grub startup screen in a window, and choose the new alternative. You can even do quite a bit of basic functionality checking this way, provided you have kvm running. Qemu complains if it can't get it to run.

    Seventh, only attempt CD remastering after thorough testing of the new cloop image.

    Good luck!

  3. #3
    Senior Member
    Join Date
    Jul 2011
    Posts
    110

    Remove Packages

    Thanks greatly for you reply. I tried to remaster but the guide I followed seemed outdated and ended up not working.

  4. #4
    Senior Member registered user
    Join Date
    Sep 2006
    Posts
    802
    Outdated directions: Sorry, I didn't mention that. I thought you had that under control.

    Look in the recent forum thread about remastering for Forester's script for simple remastering without chroot etc. I'm using a variant of that, and it works really well - and predictable.

Posting Permissions

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


Dell Poweredge R640 Server | 2x Xeon Gold 6132 | 128GB | H730P | 8x HDD Trays picture

Dell Poweredge R640 Server | 2x Xeon Gold 6132 | 128GB | H730P | 8x HDD Trays

$1849.00



Dell PowerEdge R730XD 28 Core Server 2X Xeon E5-2680 V4 H730 128GB RAM No HDD picture

Dell PowerEdge R730XD 28 Core Server 2X Xeon E5-2680 V4 H730 128GB RAM No HDD

$389.99



Dell PowerEdge R720XD Xeon E5-2680 V2 2.8GHz 20 Cores 256GB RAM 12x4TB picture

Dell PowerEdge R720XD Xeon E5-2680 V2 2.8GHz 20 Cores 256GB RAM 12x4TB

$510.00



Dell PowerEdge R730, 2 sinks, SystemBoard, 8 trays,H330,Idrac 8 exp, 2x750w Psu picture

Dell PowerEdge R730, 2 sinks, SystemBoard, 8 trays,H330,Idrac 8 exp, 2x750w Psu

$135.00



DELL PowerEdge R630 8SFF Server 2x E5-2690v3 2.6GHz =24 Cores 32GB H730 4xRJ45 picture

DELL PowerEdge R630 8SFF Server 2x E5-2690v3 2.6GHz =24 Cores 32GB H730 4xRJ45

$254.00



Dell PowerEdge R720 Server - 2x8c CPU,256Gb RAM, 128Gb SSD/3x600Gb SAS, Proxmox picture

Dell PowerEdge R720 Server - 2x8c CPU,256Gb RAM, 128Gb SSD/3x600Gb SAS, Proxmox

$360.00



DELL POWEREDGE T430 SERVER W/ DUAL XEON E5-2609 CPU & 16GB MEMORY picture

DELL POWEREDGE T430 SERVER W/ DUAL XEON E5-2609 CPU & 16GB MEMORY

$329.00



DELL PowerEdge R730 16SFF Server 2x E5-2690v4 =28 Cores No RAM/ HDD H730 4xRJ45 picture

DELL PowerEdge R730 16SFF Server 2x E5-2690v4 =28 Cores No RAM/ HDD H730 4xRJ45

$232.97



CTO Dell PowerEdge R630 Server, 2x Xeon E5-2620V4, 64GB- 512GB RAM, 480GB SSDs picture

CTO Dell PowerEdge R630 Server, 2x Xeon E5-2620V4, 64GB- 512GB RAM, 480GB SSDs

$320.00



Dell R730XD 12LFF 2SFF 2x E5-2690v4 28C 128GB H730 12xTrays iDRAC ENT RJ-45 10G picture

Dell R730XD 12LFF 2SFF 2x E5-2690v4 28C 128GB H730 12xTrays iDRAC ENT RJ-45 10G

$670.00