Home | Community | Message Board

EdenShrooms.com
Please support our sponsors.


Welcome to the Shroomery Message Board! You are experiencing a small sample of what the site has to offer. Please login or register to post messages and view our exclusive members-only content. You'll gain access to additional forums, file attachments, board customizations, encrypted private messages, and much more!

Kraken Kratom Shop: Red Vein Kratom

Jump to first unread post Pages: 1
Invisiblesherm
sherman
 User Gallery

Registered: 10/02/03
Posts: 20,498
Loc: Euthanasia
possible to strip debian back to base system?
    #4366883 - 07/03/05 04:58 PM (17 years, 8 months ago)

Is it possible to strip debian back to the base system using apt or dpkg?
to remove all programs and libs back to that point?

When I install debian i just install the base system, then I add what I want from there.
Then I get to playing with things, trying to learn how stuff works.
Sometimes I trash my system beyond repair, or at least that i have the patience to repair.
Curiosity killed the OS
maybe I should just install the base on a seperate partition and copy that over when i destroy the other one?

thanks


--------------------
shroomery.
not even once.



Extras: Filter Print Post Top
Offlinepzilo
Stranger
Registered: 07/04/05
Posts: 2
Last seen: 17 years, 2 months
Re: possible to strip debian back to base system? [Re: sherm]
    #4370769 - 07/04/05 11:36 PM (17 years, 8 months ago)

well if you really mess stuff up, just deleting packages isn't going to help you; You'd most likely want to wipe and reinstall(this is where keeping /home on a separate partition comes in handy, so you don't need to wipe that one) Though, its pretty tough to totally trash a system to this point... What have you done before that made you think the system was trashed?

You could probably easily write a script to dpkg --purge all packages below a certain priority threshold. The easiest way would be, after you reinstall, do dpkg --get-selections > somefile, and save that file. Then to restore, you can just do dpkg --set-selections < somefile.


Extras: Filter Print Post Top
InvisibleHuehuecoyotl
Fading Slowly
Male User Gallery

Registered: 06/13/04
Posts: 10,679
Loc: On the Border
Re: possible to strip debian back to base system? [Re: sherm]
    #4384781 - 07/08/05 06:03 PM (17 years, 8 months ago)

You can do it but you might break apt. If you were using Gentoo I would say go for it.


--------------------
"A warrior is a hunter. He calculates everything. That's control. Once his calculations are over, he acts. He lets go. That's abandon. A warrior is not a leaf at the mercy of the wind. No one can push him; no one can make him do things against himself or against his better judgment. A warrior is tuned to survive, and he survives in the best of all possible fashions." ― Carlos Castaneda


Extras: Filter Print Post Top
Offlinedelta9
Active Ingredient
Male

Registered: 10/28/04
Posts: 5,390
Loc: California
Last seen: 12 years, 5 months
Re: possible to strip debian back to base system? [Re: Huehuecoyotl]
    #4385436 - 07/08/05 10:14 PM (17 years, 8 months ago)

Quote:

Huehuecoyotl said:
You can do it but you might break apt. If you were using Gentoo I would say go for it.



Please explain what you mean by "break apt" as well as why "using Gentoo [you] would say go for it"?..  Well, don't really, it would be pointless.

Quote:

sherm said:
Is it possible to strip debian back to the base system using apt or dpkg?
to remove all programs and libs back to that point?



Sure, you could geting a list of all the packages in base, then remove every package on your box apart from those ones (even with awk or whatever, it's going to be a hassle)...  Or you could just reinstall, which:
Quote:

Then I get to playing with things, trying to learn how stuff works.
Sometimes I trash my system beyond repair, or at least that i have the patience to repair.



If it's literally trashed beyond repair (uh, what the hell is wrong with it - I mean specifically?) then reinstall is your only option.  Were you on woody and failed an upgrade to sarge or something?  Or running unstable and pulled some funky package from experimental? :wink:


--------------------
delta9


Extras: Filter Print Post Top
Invisiblesherm
sherman
 User Gallery

Registered: 10/02/03
Posts: 20,498
Loc: Euthanasia
Re: possible to strip debian back to base system? [Re: delta9]
    #4386251 - 07/09/05 07:37 AM (17 years, 8 months ago)

im good at using rm or cp at inappropriate moments :blazed: :strokebeard:

and i like to install alot of different packages to see if i like them.
so sometimes i end up with grips of libs and other packages that i dont
need when i remove a package, that i don't want.


lately i have been doing this when i install something

#apt-get install *package > install_list.txt

just to keep a list of what gets installed.

the only problem is apt-get wont let me remove all the packages at once. I have to feed it a few at a time. like this

#apt-get remove *package1 *package2 *package3

#apt-get remove *package4 *package5 *package6


--------------------
shroomery.
not even once.



Extras: Filter Print Post Top
Offlinedelta9
Active Ingredient
Male

Registered: 10/28/04
Posts: 5,390
Loc: California
Last seen: 12 years, 5 months
Re: possible to strip debian back to base system? [Re: sherm]
    #4387313 - 07/09/05 04:25 PM (17 years, 8 months ago)

That's where scripting comes in handy.


--------------------
delta9


Extras: Filter Print Post Top
Invisiblesherm
sherman
 User Gallery

Registered: 10/02/03
Posts: 20,498
Loc: Euthanasia
Re: possible to strip debian back to base system? [Re: delta9]
    #4388086 - 07/09/05 09:31 PM (17 years, 8 months ago)

i've been trying to pick up on some of that lately.


--------------------
shroomery.
not even once.



Extras: Filter Print Post Top
InvisibleHuehuecoyotl
Fading Slowly
Male User Gallery

Registered: 06/13/04
Posts: 10,679
Loc: On the Border
Re: possible to strip debian back to base system? [Re: delta9]
    #4389515 - 07/10/05 10:48 AM (17 years, 8 months ago)

I have broken the debian package manager many times trying similar stuff. Remove one program no prob....strip it down and you cause problems. I did this once and it removed apt even though I did not tell it to. Portage is much more resiliant. For the record I like Debian, but you just have to be more cautious. Gentoo is a bitch to get installed, but it is more robust.


--------------------
"A warrior is a hunter. He calculates everything. That's control. Once his calculations are over, he acts. He lets go. That's abandon. A warrior is not a leaf at the mercy of the wind. No one can push him; no one can make him do things against himself or against his better judgment. A warrior is tuned to survive, and he survives in the best of all possible fashions." ― Carlos Castaneda


Extras: Filter Print Post Top
Jump to top Pages: 1

Kraken Kratom Shop: Red Vein Kratom


Similar ThreadsPosterViewsRepliesLast post
* comparing gentoo to debian ~ commands and configs automanM 996 0 08/30/05 06:01 PM
by automan
* scsi emulation in Debian sherm 2,108 9 02/04/05 04:52 PM
by delta9
* Debian or Kubuntu? Colonel Kurtz Ph.D 1,712 11 05/31/07 08:35 PM
by automan
* Firefox, Thunderbird and Debian, oh my *fixed* blink 1,048 5 08/30/05 08:03 AM
by Vvellum
* Debian: is changing permissions to use firefox acceptable? sherm 686 3 01/22/05 12:10 PM
by delta9
* base pi Jangempo 805 1 03/16/04 12:16 PM
by phi1618
* Solar System May Be Unique After All, Astronomers Say
( 1 2 all )
ivi 4,491 21 08/23/04 07:53 PM
by Asante
* generating words based on a template OJK 625 3 01/04/05 04:22 PM
by ummikko

Extra information
You cannot start new topics / You cannot reply to topics
HTML is disabled / BBCode is enabled
Moderator: trendal, automan, Northerner
1,288 topic views. 0 members, 2 guests and 0 web crawlers are browsing this forum.
[ Show Images Only | Sort by Score | Print Topic ]
Search this thread:

Copyright 1997-2023 Mind Media. Some rights reserved.

Generated in 0.025 seconds spending 0.007 seconds on 14 queries.