-
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.
-
Senior Member
registered user
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!
-
Remove Packages
Thanks greatly for you reply. I tried to remaster but the guide I followed seemed outdated and ended up not working.
-
Senior Member
registered user
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
-
Forum Rules
SFP-10G-LR Compatible 10GBase-LR SFP+ LR Transceiver 10G 1310nm SMF up ot 10km
$45.00
Cisco SG110 24 Port Gigabit Ethernet Switch w/ 2 x SFP SG110-24
$117.00
Allen-Bradley 1783-SFP1GSX Compatible 1000BASE-SX SFP 850nm 550m Transceiver-895
$65.50
Ubiquiti UF-RJ45-10G Compatible 10GBASE-T SFP+ Copper RJ-45 30m Transceiver-7656
$65.00
Genuine Cisco SFP-10G-SR V03 10GBASE-SR SFP+ Transceiver Module 10-2415-03
$8.00
F5 Networks 10GB OPT-0016-00 F5-UPG-SFP+-R 10GBASE/SR SFP Transceiver
$4.00
NEW Sealed Cisco SFP-10G-LR 10GBASE-LR SFP+ 1310nm 10km *US Shipping*
$18.00
Brand New Cisco GLC-LH-SMD 1000BASE-LX/LH SFP Module 1310nm 10km SMF LC
$13.89
Cisco Meraki MA-SFP-10GB-SR 10G SFP+ SR 850nm 300m LC MMF
$29.99
LOT OF 20 Genuine Cisco SFP-10G-SR V03 10GBASE-SR SFP+ Transceiver Module
$89.00