Reputation
648
Top tag
Next privilege 1,000 Rep.
See vote count; VIP usercard
Badges
3 9 21
Newest
 Yearling
Impact
~104k people reached

  • 0 posts edited
  • 0 helpful flags
  • 12 votes cast
Jan
17
comment Preparing Ubuntu to be turned off unexpectedly?
Well... whilst a battery would work, it isn't really that viable on this project... I'm really looking to learn how to build more of an embedded/in memory type approach where state isn't important and trying to build the machine to be bullet proof/fault resistant...
Jan
13
asked Preparing Ubuntu to be turned off unexpectedly?
Jan
5
revised Aptitude is unmarking packages as “Auto”, is this a bug or feature?
deleted 172 characters in body
Jan
4
asked Aptitude is unmarking packages as “Auto”, is this a bug or feature?
Jan
3
comment How can I detect all changes made from a default install or point in time?
Sorry, still not 100% clear (and sorry that this takes away from the original question)! e.g. Let's say I do apt-get install mypackage, and lets say that has a file called setup.sh which then writes /etc/mypackage.cfg, the /etc/mypackage.cfg is not know to apt-get or part of the original package... so, I am guessing apt-get remove will still keep the cfg file - I just don't get how apt-get purge knows to remove it... I guess I have to read up on package management in a lot more detail!
Jan
3
comment How can I detect all changes made from a default install or point in time?
Ahh, got you! Just curious though, does purge run scripts/is it configured on a per package basis or does it simply delete files that were installed as part of the package manifest? For example, if I install something that invokes a script and creates a bunch of config files, will those files be removed as they were not in the original packages?
Jan
3
comment How can I detect all changes made from a default install or point in time?
... I'll keep question open for a day or so, in case anyone can recommend any other tools - but if nothing else comes up, happy to give this one the mark! ... Thanks
Jan
3
comment How can I detect all changes made from a default install or point in time?
Thanks! As I tried to make clear in the comments to the other answer... whilst the package management is highly related to my problems right now, I am interested in looking at complete changes from two different points in time (as a package could create a config/script as part of the install or just running that wasn't actually part of the package manifest).... So, I think this rules out dpkg.log, however, snapper and back-in-time look like the perfect tools for what I want to do! (Just need to figure out how to use from CLI or another machine and set up a workflow now!)
Jan
3
comment How can I detect all changes made from a default install or point in time?
@mchid Thanks, I wasn't really looking at any programs in particular, I am just trying to learn how all these individual programs snap together and work! But, I will certainly take a look at the two you mention - thanks. Also, many thanks for those apt-get commands... I love how easy it makes installing stuff - I just seem to be having a bit of a nightmare removing and getting the order of the uninstall/commands correct... I didn't know I could call autoremove/autoclean without specifying a package.
Jan
3
awarded  Yearling
Jan
3
comment How can I detect all changes made from a default install or point in time?
Just to be clear, I could always take a look at the Ubuntu Packages site, but, there are many applications that write config files (e.g. Heartbeat/pacemaker write the cib.xml files) that just aren't created until you run certain apps.... in addition, I have seen a few packages that have conflicting settings, so, I simply want to snapshot or similar and then compare the system later so I can study and learn.
Jan
3
comment How can I detect all changes made from a default install or point in time?
I am actually trying to experiment right now with X and various other shells, so, using Ubuntu Software Centre really is a no-go. That aside, synaptic or even aptitude are more fit for purpose here, however, I am looking to look for changes made to the system after various packages are installed - not what packages are installed.
Jan
3
comment How can I detect all changes made from a default install or point in time?
Hi @Gyropyge - Thanks, but, I am actually trying to work without a GUI at this point and am trying to check more fundamental system changes... For example, I would love to freeze the system, muck around, and then perform a diff between the two stages. Software Center abstracts far too much and I wouldn't be able to see config/similar changes that have been made.
Jan
3
revised How can I detect all changes made from a default install or point in time?
added 104 characters in body
Jan
3
asked How can I detect all changes made from a default install or point in time?
Oct
10
awarded  Popular Question
Aug
10
accepted Why does hitting Control + C when in an application launched from a script, break the script?
Aug
10
comment Why does hitting Control + C when in an application launched from a script, break the script?
that is great! Thanks for both the explanation and the fix! Works great and now I fully understand why it is happening! :)
Aug
9
comment Why does hitting Control + C when in an application launched from a script, break the script?
Hi, Thanks for this and I'll try it shortly. Os it basically killing the entire process tree when I do control + c or is something else going on? It is great you provided an answer, but, I'm trying to get a deeper understanding of Linux so I can understand why these things happen the way they do!
Aug
9
asked Why does hitting Control + C when in an application launched from a script, break the script?