<?xml version="1.0"?>
<rss version="2.0">
  <channel>
    <title><![CDATA[Regular system cleaning]]></title>
    <link>http://brainstorm.ubuntu.com/item/10209/</link>
    <description><![CDATA[This is an idea that, if it would be implemented, should be optional at first and be tested through and through. It's quite experimental in my eyes. I'm not even sure if this idea can be executed at all.<br /><br />When you use a system it will always become fuller and fuller. Although Linux doesn't suffer as much from this as Windows, it can still make things harder to find and influence the performance( a lot). A way to solve this is to regularly clean your system by removing all unused applications and manually search the whole system for files that were left behind. Sometimes the --purge option when removing software still leaves stuff behind and let alone compilated programs.<br /><br />What I suggest is to create temporally views of the whole system as it should be. Every once in a while the system will return to that state with the exception of the user data, leaving alone the configuration but also deleting all unnecessary configuration files. In a more advanced stadium applications could be adapted to work together with this system and update their view files automatically so the user doesn't have to create a view every time he updates the computer or installs something new and it will probably include less unnecessary files and be able to handle already existing configuration better. This way a user can easily restore his system very easily reducing the need for backup applications and if the program would be a little bit extended and get support for GNOME's lock-down editor it could also be used in labs.<br /><br />A view ideas behind the technique that could be used to do this. I'm not sure if what I say actually makes sense, but I'll try to let it.<br /><br />I think it would be the best if a basic image/view of the whole system would be delivered when the system is installed. At least this image should be kept to allow the user to restore his/her system easier to the original state. Here you've probably got a question. Because, when you would keep all files, your system would be twice as large as normal, _at_least_. And we don't want that. I've got three ideas how to solve this:<br />1. Create a central mirror where the files are stored. There are two options here: a mirror owned by the user or a mirror from Ubuntu/Canonical. The latter has some huge downsides: you'll have to upload all files to the server, which won't make your ISP happy. And it would cost an enormous amount of space at the server.<br />2.Do store all the files on your harddisk, but do it in the way of some kind of Bazaar repository, so it isn't as big as keeping all files.<br />3.Keep offering the old .deb files and just keep a list of installed programs. The .deb files themselves know what files they supply, so their lists can be used to check for unnecessary files. This only leaves the problem for compiled programs and other possible files that will be deleted if just the .deb files would be used. I think the only solution would be to add those files manually with a nice GUI. All used programs are listened in a file with their dpkg name, version and repository.<br /><br />I think 3 would be the best. This would also allow users to easier get back to their old version when an upgrade fails.<br /><br />Of course the cleaning of a system should be done really careful and the user should be completely informed of all files that are going to be deleted and warned if it are important files or if it's mentioned in configuration files(should the entries also be deleted from those files?). The option to automatically restore shouldn't be easy to accidentally enable and the whole recovery thing shouldn't be enabled in the first place.<br /><br />Any thoughts on this long idea?<br /><br />NB: I got this idea while I was installing Radmin, maybe it can be of any use. Either as source of inspiration or as a source of code.<br />
<br />


<b>[97 votes] Solution #1: Auto-generated solution of idea #10209</b>
<br />

<br />
<br />



]]></description>

    <language>en-us</language>
    <pubDate>Mon, 23 Jun 2008 17:00:44 +0000</pubDate>
    <lastBuildDate>Fri, 23 Oct 2009 08:13:45 +0000</lastBuildDate>
    <generator>QAPoll module</generator>
    <guid isPermaLink="true">http://brainstorm.ubuntu.com/idea/10209/</guid>
        <item>
  <title>Comment from juno eclipse</title>
  <description><![CDATA[Good ideas.<br />But I think, snapshot and imaging system will be easier in the month to come with new filesystem like btrfs or ext4...<br />]]></description>
  <pubDate>Mon, 23 Jun 2008 20:45:25 +0000</pubDate>
</item>
        <item>
  <title>Comment from seiryoku</title>
  <description><![CDATA[there is a tool for ubuntu, FSlint, its powerful but unpractical, ie always loved ccleaner for windows and ive always wanted something like that on ubuntu, maybe you or some developer could make something based on that fslint.<br /><br />thats a start<br />]]></description>
  <pubDate>Tue, 24 Jun 2008 01:33:11 +0000</pubDate>
</item>
        <item>
  <title>Comment from Hayate</title>
  <description><![CDATA[I don't understand this idea. Are you saying the system should with no warning suddenly revert everything other than /home/* to a previous state?<br /><br />Plus, you mention the point would be to solve the problem of the system getting "fuller". Surely storing previous states would just take up more space anyway? It seems completely silly to me.]]></description>
  <pubDate>Tue, 24 Jun 2008 04:01:08 +0000</pubDate>
</item>
        <item>
  <title>Comment from prince_niceguy</title>
  <description><![CDATA[there is something called as kleensweep it is a kde app and i think it does the same.]]></description>
  <pubDate>Tue, 24 Jun 2008 06:11:17 +0000</pubDate>
</item>
        <item>
  <title>Comment from notyetroot</title>
  <description><![CDATA[Wouldn't this overwrite custom configuration? What if somebody edited a config file to fix a lockup and the system 'cleaned up'?]]></description>
  <pubDate>Thu, 21 Aug 2008 13:11:44 +0000</pubDate>
</item>
        <item>
  <title>Comment from tommynz1975</title>
  <description><![CDATA[what is scarry for the new user is<br /><br />will such a program see I have not opend my picture folder in a  month and delete it??<br /><br />it needs to be spelt out if it will remove just dependancies that are not attached to any given program<br /><br />Could it just put dependancies not used anymore into time-out in case you want to install a program later on that uses said dependancy it could be taken out of time-out<br /><br />Would it delete your thumbnails that are taking up needed space... look at the deleted files on the HDD and perminantly delete them.<br /><br />]]></description>
  <pubDate>Fri, 29 Aug 2008 00:22:15 +0000</pubDate>
</item>
      </channel>
</rss>
