Home | Community | Message Board


MushroomCube.com
Please support our sponsors.

General Interest >> Science and Technology

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!

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 06:58 PM (11 years, 9 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.



Post Extras: Print Post  Remind Me! Notify Moderator
Offlinepzilo
Stranger
Registered: 07/04/05
Posts: 2
Last seen: 11 years, 3 months
Re: possible to strip debian back to base system? [Re: sherm]
    #4370769 - 07/05/05 01:36 AM (11 years, 9 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.


Post Extras: Print Post  Remind Me! Notify Moderator
InvisibleHuehuecoyotl
Stranger
Male User Gallery

Registered: 06/14/04
Posts: 10,344
Loc: On the Border
Re: possible to strip debian back to base system? [Re: sherm]
    #4384781 - 07/08/05 08:03 PM (11 years, 9 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


Post Extras: Print Post  Remind Me! Notify Moderator
Offlinedelta9
Active Ingredient
Male Arcade Champion: Plumber

Registered: 10/29/04
Posts: 5,390
Loc: California
Last seen: 6 years, 5 months
Re: possible to strip debian back to base system? [Re: Huehuecoyotl]
    #4385436 - 07/09/05 12:14 AM (11 years, 9 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


Post Extras: Print Post  Remind Me! Notify Moderator
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 09:37 AM (11 years, 9 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.



Post Extras: Print Post  Remind Me! Notify Moderator
Offlinedelta9
Active Ingredient
Male Arcade Champion: Plumber

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

That's where scripting comes in handy.


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


Post Extras: Print Post  Remind Me! Notify Moderator
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 11:31 PM (11 years, 9 months ago)

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


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



Post Extras: Print Post  Remind Me! Notify Moderator
InvisibleHuehuecoyotl
Stranger
Male User Gallery

Registered: 06/14/04
Posts: 10,344
Loc: On the Border
Re: possible to strip debian back to base system? [Re: delta9]
    #4389515 - 07/10/05 12:48 PM (11 years, 9 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


Post Extras: Print Post  Remind Me! Notify Moderator
Jump to top. Pages: 1

General Interest >> Science and Technology

Similar ThreadsPosterViewsRepliesLast post
* comparing gentoo to debian ~ commands and configs automanM 822 0 08/30/05 08:01 PM
by automan
* Debian or Kubuntu?
Colonel Kurtz Ph.D
1,462 11 05/31/07 10:35 PM
by automan
* First Intel Based Apple Computer *DELETED*
( 1 2 all )
Scott Bennett 1,664 21 03/19/06 02:12 AM
by Vulture
* Differences between freeBSD and linux?
( 1 2 all )
Colonel Kurtz Ph.D
3,619 30 05/01/07 10:52 PM
by delta9
* Games for linux supra 1,156 18 12/12/07 01:57 PM
by Frosty_Storm
* scsi emulation in Debian sherm 1,574 9 02/04/05 06:52 PM
by delta9
* what operating system do you use?
( 1 2 3 all )
wilshire 2,906 58 10/15/05 11:35 PM
by nonoman
* Best Operating System?
( 1 2 all )
Robo Shaman 2,455 30 10/02/07 11:15 AM
by Bully

Extra information
You cannot start new topics / You cannot reply to topics
HTML is disabled / BBCode is enabled
Moderator: Lana, trendal, Diploid, automan
1,142 topic views. 0 members, 1 guests and 1 web crawlers are browsing this forum.
[ Toggle Favorite | Print Topic | Stats ]
Search this thread:
Original Seeds Store - Cannabis Seeds
Please support our sponsors.

Copyright 1997-2017 Mind Media. Some rights reserved.

Generated in 0.035 seconds spending 0.003 seconds on 14 queries.