Hi,
How do you do when you need to build an application and it make you to install dozens of devs packages.. that you want to get rif of later.
Since I use btrfs I hardly ever unistall anything.. just use rollback snapshot sytem to prevent leave any unfit package forgotten... but i wondered if you dont consider that's a properly way to proceed...or you do the same thing?
Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
Restore snapshot or unistall packages for undo devs
Re: Restore snapshot or unistall packages for undo devs
Interesting, this is a new linux technology..isnt it?... is it easy to use and deploy? ..i know how to use chroot..I will take it a look later..sickpig wrote:Systemd-nspawn containers.
thanks. oink!!; oink!!
bester69 wrote:STOP 2030 globalists demons, keep the fight for humanity freedom against NWO...
Re: Restore snapshot or unistall packages for undo devs
If I really want to get rid of a package, I remove it with the --purge option, then run That removes the unneeded dependencies the install pulled in, provided they aren't needed by something I installed after the first one.
Code: Select all
apt autoremove
Take my advice, I'm not using it.
-
- Posts: 195
- Joined: 2019-03-12 23:26
Re: Restore snapshot or unistall packages for undo devs
I want to second the pig! Containers are the way to go. Yes, they are easy to use and deploy. I am not advocating a specific technology, but if you want to try Docker, I have a container for C/C++ development that you can use as a starting point or as an example. https://github.com/tonywalker1bester69 wrote:Interesting, this is a new linux technology..isnt it?... is it easy to use and deploy? ..i know how to use chroot..I will take it a look later..sickpig wrote:Systemd-nspawn containers.
Good luck!
- stevepusser
- Posts: 12930
- Joined: 2009-10-06 05:53
- Has thanked: 41 times
- Been thanked: 72 times
Re: Restore snapshot or unistall packages for undo devs
Or build them with pbuilder or sbuild, both of which don't touch your own system packages, (mostly, some packages require dev package installs on your system for the cleaning step).
You can also use Timeshift instead of btrfs snapshots.
You can also use Timeshift instead of btrfs snapshots.
MX Linux packager and developer
Re: Restore snapshot or unistall packages for undo devs
I believed Timeshift was a gui for btrfs or rsync hardlinks backup restoring..what did I miss?stevepusser wrote:Or build them with pbuilder or sbuild, both of which don't touch your own system packages, (mostly, some packages require dev package installs on your system for the cleaning step).
You can also use Timeshift instead of btrfs snapshots.
Very interesting, there seems to be a lot of good Solutions... I think I will try to learn Systemd-nspawn containers, to me looks like a more practical tool for many things,,
Thanks to all, for your help and opinions ..
bester69 wrote:STOP 2030 globalists demons, keep the fight for humanity freedom against NWO...
- Head_on_a_Stick
- Posts: 14114
- Joined: 2014-06-01 17:46
- Location: London, England
- Has thanked: 81 times
- Been thanked: 133 times
Re: Restore snapshot or unistall packages for undo devs
systemd-nspawn just offers a systemd interface for a chroot container, it is nothing new.bester69 wrote:Interesting, this is a new linux technology..isnt it?... is it easy to use and deploy? ..i know how to use chroot..I will take it a look later..sickpig wrote:Systemd-nspawn containers.
EDIT: I'm lazy so I don't bother with sbuild, I just package up the software and use this to install the build dependencies:
Code: Select all
# mk-build-deps --install --remove
Code: Select all
# aptitude purge $package-build-deps
deadbang
-
- Posts: 677
- Joined: 2018-05-10 19:34
- Location: Some where out west
- Been thanked: 1 time
Re: Restore snapshot or unistall packages for undo devs
https://wiki.debian.org/nspawnsickpig wrote:Systemd-nspawn containers.
Please Read What we expect you have already Done
Search Engines know a lot, and
"If God had wanted computers to work all the time, He wouldn't have invented RESET buttons"
and
Just say NO to help vampires!
Search Engines know a lot, and
"If God had wanted computers to work all the time, He wouldn't have invented RESET buttons"
and
Just say NO to help vampires!