gaining / resetter Goto Github PK
View Code? Open in Web Editor NEWThe easiest way to reset your debian or ubuntu based linux back to stock
License: GNU General Public License v3.0
The easiest way to reset your debian or ubuntu based linux back to stock
License: GNU General Public License v3.0
*[SUGGESTION/IMPROVEMENT] dist-upgrade automated tool
*Ubuntu (desktop) 17.10
*v1.1.2-Stable
*Suggestion for app improvement: Adding an automated 'dist-upgrade' tool for systems that are having problems seeing new OS distribution upgrades
*content of Log file located in /var/log/resetter/resetter.log not necessary
The progress bar and throbber animations hangs although the program is doing its job. That is because they are both running on the main ui thread. This, in fact, causes the ui to become unresponsive.
Blank windows
Ubuntu Gnome 16.04
Reseter 2.2.0
I installed reseter and when trying to open it stays blank
The file has no data in it
Feature request: remove any other users and groups that weren't part of the default install.
i installed version resetter (0.3.7-rc on deepin v 15.4.1 and it opened but have'n't tested it yet
#but
when i installed v 1 stable on deepin 15.4.1 it didn't open and said thet deepin 15.4.1 not supported yet
Someone has sent me an email to support removing snaps. Seems like a good feature to add ๐
I know very little about snaps but from my initial research, this seems feasible.
will fix on next release this weekend.
Need to add support for mint 18.3
OEM Setup seems a bit more fitting when it comes to what the user should see when they restart their computer once they've Reset it, as it provides the User Addition-ing after Reset, and so on, meaning it's easier to then re-sell that laptop to someone else if they reset it because of wanting to give it to someone else, who'd otherwise have no idea what the password of the user is.
I can see an implementation of OEM Setup being really useful, for these reasons, especially when it comes to re-selling, which is probably what people would want to use this program for, and it's also for Linux Mint and Co, too. What do you think @gaining ?
$ sudo resetter
File "/usr/lib/resetter/Resetter.py", line 12, in
from PyQt4 import QtCore, QtGui
ImportError: /usr/lib/python2.7/dist-packages/PyQt4/QtGui.so: undefined symbol: _ZN15QSessionManager16staticMetaObjectE
I have ubuntu 16.04
*Stuck at File not found dialog box
*Linux Distro and version
Ubuntu 18.04
*Version of Resetter
resetter 2.2
*Description of Issue
*content of Log file located in /var/log/resetter/resetter.log
I believe there is no reason to be stuck with old and soon to be unsupported versions of Qt and python, and the targeted distros all include the newer versions.
I could provide a patch myself, if I find some time.
There's no documentation on how to execute via CLI, is it possible?
If you attempt to use VNC you just get "XInputExtension" missing on display ":1"
hm , will that support sometime debian? cuz i would like resset my debian as was in first time
This causes other processes to break and not finish their jobs. Fix will come in next release.
At a user's request from an email, I will add add support for linux deepin on the next release.
I chose a custom reset as I wanted to preserve some of my apps such as Synaptic for example. These were removed, however, after the process completed.
Not a massive issue as I can install them again, but it seems to have removed all rather than the custom set I specified.
This is on the first screen for the custom reset option where it suggests that you remove everything as they are not present in a vanilla build.
Have waited for over one hour and it is still only at 5%. Still on Loading packages.
Have selected to reset all packages but keep my user. Using Ubuntu 16.10
*Issue title: Custom Apply window disappears prematurely
*Linux Distro and version: All supported distros
*Version of Resetter: 1.0.3
*Description of Issue
After removing non: default apps, custom apply window will disappear.
*content of Log file located in /var/log/resetter/resetter.log
not needed
In case of a soft reset (no deleted user) . Seems like a good feature to add to resetter
Hi, I tried out the app many times, via the deb packages which works for ubuntu 16.10 also and everything runs smoothly except when using the default password NewLife3 it simply does not work. Am I doing something wrong?
Feature desc:
Implement a get request in Resetter so that it tries to find the latest manifest on a soon to be server in order to eliminate creating a new version of the app every time an os has a new release update.
This will be implemented whenever as I don't really get paid or get any donations from working on this project.
*Issue title
Make separate version for Ubuntu 17.10+
*Linux Distro and version
Recent Ubuntus
*Version of Resetter
next version
*Description of Issue
Ubuntu is using wayland which breaks qt gui apps ruining as root, Most other debian based linux distros aren't using wayland and these apps work fine without any workarounds. I'll make resetter start using pk-exec again for all the distros that aren't using wayland.
*content of Log file located in /var/log/resetter/resetter.log
na
*Issue title
Deleting accounts and creating an account under the same name
*Linux Distro and version
Ubuntu 16.04
*Version of Resetter
1.0.3-stable
*Description of Issue
When I chose to delete all my user accounts, one of them included mine "maxgitt". When I was later prompted to create a new account I named the account "maxgitt". Upon booting the newly reset OS I found that the only user account was "Guest". I had to drop into root to add the user and grant it root access.
*content of Log file located in /var/log/resetter/resetter.log
2017-10-05 19:13:13,154 - main - getInstalledList - INFO - getting installed list...
2017-10-05 19:13:13,216 - main - getInstalledList - DEBUG - installed list was generated with 2029 apps installed
2017-10-05 19:13:13,216 - main - processManifest - INFO - processing updated manifest...
2017-10-05 19:13:13,220 - main - processManifest - INFO - manifest processing complete
2017-10-05 19:13:13,224 - main - getLocalUserList - INFO - getting local users...
2017-10-05 19:13:13,232 - main - getLocalUserList - INFO - getLocalUserList() completed
2017-10-05 19:13:13,232 - main - getOldKernels - INFO - getting old kernels...
2017-10-05 19:13:13,382 - main - getOldKernels - INFO - getOldKernels() completed
2017-10-05 19:13:13,382 - main - findNonDefaultUsers - INFO - getting local users...
2017-10-05 19:13:13,389 - main - findNonDefaultUsers - INFO - getLocalUserList() completed
2017-10-05 19:17:21,971 - Account - custom_user - INFO - Custom user creation complete
2017-10-05 19:17:31,229 - CustomApplyDialog - removePackages - INFO - Removing Programs
2017-10-05 19:17:31,229 - CustomApplyDialog - removePackages - INFO - Removing Programs
2017-10-05 19:17:31,357 - CustomApplyDialog - removePackages - INFO - Keep Count before commit: 0
2017-10-05 19:17:31,357 - CustomApplyDialog - removePackages - INFO - Keep Count before commit: 0
2017-10-05 19:17:31,357 - CustomApplyDialog - removePackages - INFO - Delete Count before commit: 196
2017-10-05 19:17:31,357 - CustomApplyDialog - removePackages - INFO - Delete Count before commit: 196
2017-10-05 19:17:31,357 - CustomApplyDialog - removePackages - INFO - Broken Count before commit: 0
2017-10-05 19:17:31,357 - CustomApplyDialog - removePackages - INFO - Broken Count before commit: 0
2017-10-05 19:22:08,363 - CustomApplyDialog - removePackages - INFO - Broken Count after commit: 0
2017-10-05 19:22:08,363 - CustomApplyDialog - removePackages - INFO - Broken Count after commit: 0
2017-10-05 19:22:08,367 - CustomApplyDialog - fixBroken - INFO - Cleaning up...
2017-10-05 19:22:08,367 - CustomApplyDialog - fixBroken - INFO - Cleaning up...
2017-10-05 19:22:13,483 - CustomApplyDialog - onFinished - DEBUG - Cleanup finished with exit code: 0 and exit_status 0.
2017-10-05 19:22:13,483 - CustomApplyDialog - onFinished - DEBUG - Cleanup finished with exit code: 0 and exit_status 0.
2017-10-05 19:22:13,483 - CustomApplyDialog - installPackages - INFO - Starting installations...
2017-10-05 19:22:13,483 - CustomApplyDialog - installPackages - INFO - Starting installations...
2017-10-05 19:22:15,461 - InstallMissingDialog - installPackages - INFO - treating Packages
2017-10-05 19:22:15,461 - InstallMissingDialog - installPackages - INFO - treating Packages
2017-10-05 19:22:23,516 - CustomApplyDialog - removeUsers - INFO - Starting user removal
2017-10-05 19:22:23,516 - CustomApplyDialog - removeUsers - INFO - Starting user removal
2017-10-05 19:22:23,523 - CustomApplyDialog - removeUsers - DEBUG - user removal completed successfully: [-2]
2017-10-05 19:22:23,523 - CustomApplyDialog - removeUsers - DEBUG - user removal completed successfully: [-2]
2017-10-06 08:27:00,187 - CustomApplyDialog - showUserInfo - INFO - Credential message info shown
2017-10-06 08:27:00,187 - CustomApplyDialog - showUserInfo - INFO - Credential message info shown
2017-10-06 08:27:02,169 - CustomApplyDialog - rebootMessage - INFO - system rebooted after package removals
2017-10-06 08:27:02,169 - CustomApplyDialog - rebootMessage - INFO - system rebooted after package removals
I got stuck when removing vim-runtime
im using ubuntu 17.04
can you fixed this ?
*Issue title: Resetter is already running
*Linux Distro and version: Ubuntu 17.04
*Version of Resetter: 1.0.3-stable
*Description of Issue
After killing application it cannot launch again and shows message Resetter is already running
. Probably application should handle signals or shared memory should be better managed.
*content of Log file located in /var/log/resetter/resetter.log
not needed
found memory leaks when using the apt cache
If there could be a way to check a server that holds all updated manifests of distros, I would not need to push an update for the app each time distro maintainers add new packages to the base installs. Instead I could make resetter check that particular server for updated manifests, if updates are available, it would overwrite its current manifest with the updated ones from the server.
This is something I would need help with if anyone is interested. It's a lot to do but if this could be implemented, resetter would always have the latest manifests and supporting almost all debian based distros (32bit, 64bits, arm, etc) would be a breeze. Resetter doesn't support all debian based distros (although it can) mainly because it's too much work to keep maintaining them for just one guy.
If this could be implemented I could focus better on adding more features and making the program more useful.
If someone is interested in this job and would like to know how to get updated manifest and keep them updated. Please get in touch with me.
Are you planning to extend the compatibility of these project to the other Distros like Debian, Manjaro and Arch? Let me know, thanks! :)
Issue title
Fresh install missing beautifulsoup4
Linux Distro and version
Linux 16.04
Description of Issue
missing an install, I'm not sure if this can be included in the apt
install somehow. Below what the issue:
maxgitt@mgpc:~/Downloads$ resetter
Traceback (most recent call last):
File "/usr/lib/resetter/Resetter.py", line 22, in <module>
from EasyRepo import EasyPPAInstall
File "/usr/lib/resetter/EasyRepo.py", line 11, in <module>
from bs4 import BeautifulSoup
File "/usr/lib/python2.7/dist-packages/bs4/__init__.py", line 30, in <module>
from .builder import builder_registry, ParserRejectedMarkup
File "/usr/lib/python2.7/dist-packages/bs4/builder/__init__.py", line 314, in <module>
from . import _html5lib
File "/usr/lib/python2.7/dist-packages/bs4/builder/_html5lib.py", line 70, in <module>
class TreeBuilderForHtml5lib(html5lib.treebuilders._base.TreeBuilder):
content of Log file located in /var/log/resetter/resetter.log
I was able to follow a stackoverflow reference here
I simply needed to pip install --upgrade beautifulsoup4
to fix the issue.
During some package installs or removes, some maintainer scripts will ask questions on whether to accept a new configuration file or keep the current one. Another example is the oracle-java package which will ask for users to accept licenses. The current resetter has no way of dealing with that and will just hang as it is not set up to run non-interactively yet. If resetter was run from the terminal, you will see such prompts and be able to take care of them, the program will continue and not hang.
This shall be fixed on the next version.
Custom Reset
Debian 9.4 using manifest from 9.2
2.2.0
when the custom reset has been used, i have deselect some packages (libreoffice) and the package has been installed ...
Hi, my ubuntu is broken because of my actions. Can I use this while in root terminal on System Rescue?
It was disabled due to testing and I've forgotten to enable it. I will push a fix for this tonight along with other new features I've been working on. In the meantime, if you must reset, use the custom reset option as this one works properly.
This error is sometimes thrown when installation phase begins. This will be fixed on the next release this weekend.
*Issue title
OSError: [Errno 2] File or directory not found: '.resetter/data'
*Linux Distro and version
Distributor ID: Ubuntu
Description: Ubuntu 17.04
Release: 17.04
Codename: zesty
*Version of Resetter
resetter_1.1.1-stable
*Description of Issue
After the installation and execution of the resetter, the following error occurs:
OSError: [Errno 2] File or directory not found: '.resetter/data'
*content of Log file located in /var/log/resetter/resetter.log
No record in log.
Hi, thanks for your great work! I tested it out in the past(made tutorial videos), and you fixed a problem with a password immediately, thank you!
I was trying Deepin out today, and when it is installing packages it gets stuck at 68% at configuring Wireshark. Again it is not a big problem, a person simply press space and it fix the problem.
But I thought I should just inform you!
*Issue title: App fails to launch in ubuntu 17.10
*Linux Distro and version: Ubuntu 17.10
*Version of Resetter: 1.1.1
*Description of Issue:
App is completely incompatible with ubuntu 17.10, not just a simple manifest update this time. Will fix it on next release sometime this coming week.
*content of Log file located in /var/log/resetter/resetter.log
I saw this application featured on OMGUbuntu and I really like the simplicity and functionality it offers. I remember personally needing this functionality more than once when playing around with Ubuntu.
I feel that the logo design and the interface could be a bit improved. I'm a developer myself but I'm trying to learn UX. Would you like to work on a new logo and possibly some redesigns on the screens with me? I don't claim to be an expert but we can work on improving the UI/UX a bit on the application?
Hello
My Lenovo computer install Ubuntu and Windows 10. After using your app, ubuntu will strcu in /dev/sda3 :clean. Recovery mode is OK.
Can you tell me how to solve the problem?
Best Wishes
Hi, i tried to reset my linux mint 17.3 but nothing happened.
This message is shown when I open the app.
xhost: unable to open display ":20"
Resetter.py: cannot connect to X server :20
this is the error i keep getting the more i try to install
Feature will be added to the next release.
Hey gaining, first of all thanks for making the resetter. Sadly I run into a problem when I try to run it.
Ubuntu 16.04.4 LTS
Resetter 2.2.0
When I run the automatic reset option I get an error when the loader reaches 9%. The error is the following: Problems trying to remove: libllvm5.0:amd64 E:Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
This is the part of the log that I think is relevant, if you want more I can send you the whole log
I have tried custom reset, disabling the removal of the package mentioned above. Then it proceeds to go to 23% and get stuck with the same error but for a different package: libdrm-common.
The part of the log for this error is added below.
Fix will be pushed in the release later today
*Issue title: Skip account creating
*Linux Distro and version: Ubuntu 17.04
*Version of Resetter: 1.0.3-stable
*Description of Issue
It is unclear why after I don't checked any account to be removed I am forced to create new account. I want only to remove some packages and use my old account. It should be possible to skip that step.
*content of Log file located in /var/log/resetter/resetter.log
not needed
*Issue title
manifest and userlist cannot be found
*Linux Distro and version
ubuntu 18.04
*Version of Resetter
2.2.0
*Description of Issue
I want to reset my whole ubuntu because after updating it not working well so I open resetter but it gives me an error manifest could not be found if you have one then plz select and same for UserList also
*content of Log file located in /var/log/resetter/resetter.log
resetter.log
*Linux Distro and version
Ubuntu 16
*Version of Resetter
2.2.0-stable
*Description of Issue
Hangs at start of Cleaning Up phase. According to dpkg.log it is after it finished installing python-newt. It seems to have uninstalled itself since 'resetter' is no longer in my path. So I cannot try again without reinstalling.
Also, the error, QFile::seek: IODevice is not open, occurs regularly in my shell window.
*content of Log file located in /var/log/resetter/resetter.log
Does not exist.
please add support for deepin 15.5
the actual version doesn't support deepin 15.5
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.