/srv/irclogs.ubuntu.com/2019/02/04/#ubuntustudio-devel.txt

OvenWerksEickmeyer: interesting. I guess I didn't expect the application to go so far :)  Feel free to try changing the -W to -S04:45
OvenWerksEickmeyer: I don't think we can do anything about the purge because the user will not use installer to remove packages, they may use apt or software may remove something so it can install something else... Which is another thing we don't check for04:47
OvenWerksSo that would be two bugs:04:47
OvenWerks1) Allow installing of a removed package.04:48
OvenWerks2) warn user if something they have installed will need to be removed to allow installing the new sw choice04:49
OvenWerks(mean while don't warn them it it is being removed because the new package is a "replaces")04:49
OvenWerksextra points for reading their mind and interpereting what they want even if they don't know what tha means...  ')04:50
EickmeyerOvenWerks: I determined changing -W to -S to be ineffective. The whole problem is that dpkg keeps the record in its cache unless purge is used to uninstall. 18:13
EickmeyerSo, it's possible that dpkg can't even be used in this case.18:13
EickmeyerA warning would be good, but I wouldn't include it except in a manpage or in a wiki. If we do add uninstall option to -installer, we should use purge to ensure that it can be detected as uninstalled.18:14
EickmeyerThat said, there's gotta be a way. Synaptic and aptitude figure it out.18:14
OvenWerksEickmeyer: I would suggest that in most cases, someone might install one of the packages inside the meta and remove it rather than the meta itself.18:54
OvenWerksEickmeyer: I would also guess it is possible to not install the meta at all... but rather just it's depends18:54
* OvenWerks thinks installer is about to get somewhat more complex...18:57
EickmeyerOvenWerks: This is true, but not all of the packages listed are metas.18:57
EickmeyerEither way, if we add the uninstall option, it ought to use purge.18:58
OvenWerksyes18:58
EickmeyerAnd, perhaps it'll get more complex, but we can worry about that when going Python.18:58
EickmeyerIt's actually as easy as "apt-get remove {metapackage} --purge}18:59
OvenWerksif you wish to add remove we would have to show what is removable. It starts to get to showing all the packages inside the meta like the iso install does.19:02
OvenWerkswe need to know that a package has been installed or removed and how it has been removed.19:02
OvenWerksif we remove/purge or not is not that big of a deal at that point19:03
OvenWerksThere may be good reasons to remove/no purge too. Such as removing the ubuntu version to replace it with an upstream version where keeping the config would be advantageous19:04
EickmeyerThis is true.19:23
EickmeyerAlthough, in my experience, purge doesn't remove anything from ~/.config, so if it's a user-level config, that doesn't get removed.19:24
OvenWerksEickmeyer: I guess anything the application writes after install is too hard to track19:27
EickmeyerIndeed. So long as it's not acting as root, it's untrackable and confined to ~/.19:28
EickmeyerUntrackable for dpkg, that is.19:29
OvenWerksThere must be a way for any package to find it's status19:33
OvenWerksinstalled, removed, purged19:33
OvenWerkshave you looked at the output of -s instead of -S?19:37
OvenWerksIt still doesn't return a 1/0 but it is parsable19:37
EickmeyerWhen I posted -S I meant -s. :S19:46
OvenWerksI think -s would work if it was properly parsed, it can't just be used as a substitute for -W19:52
OvenWerksWith -W it was enough just to look for output or not, with -s we have to look for the Status: line and parse that.19:54
EickmeyerYep.19:56
EickmeyerThat's over my head. 19:56

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!