=== JanC is now known as Guest50625 === JanC_ is now known as JanC [03:32] good morning to all [03:39] http://www.theregister.co.uk/2016/05/26/microsoft_clarifies_upgrade_trick/ [03:40] lotuspsychje: Up before the birds ? Had your cuppa tea ? [03:41] oh no, i forgot lol [03:41] i need coffee :p [03:42] coffee is good . [06:27] morning, all [10:41] Howdy folks [10:41] morning :) [10:46] Hi ducasse [10:46] everything good? it's really quiet in here today :) [10:49] good here, how about there? [10:49] quiet :) [11:20] ducasse: hey man [11:20] hi, EriC^^ [11:21] what's up? [11:21] not much, looking for prices on cpu coolers [11:22] cool [11:26] also looking at disks for my nfs servers, hgst looks good. they have a good reputation. [11:28] cool [11:28] wanna work a little on the ppa-purge thing? [11:29] don't know how much i have to contribute, i'm not a developer... [11:30] neither am i.. [11:31] hmm, ppa-purge is just a bash script, shouldn't be too hard to add what's needed... [11:31] it is? [11:31] look at /usr/sbin/ppa-purge [11:31] i think it works via launchpad though only, let's see [11:31] it does, but the infrastructure is all there. [11:33] I thought ppa-purge was meant for non LP ppas since most of the ppa packages there eventually end up in the the backport repos. [11:34] or am I mistaken ....again :-) [11:35] oh, no, there's *lots* of stuff on lp that never gets into the repos at all. and ppa-purge only handles lp. [11:35] it's pretty concise, 200lines [11:37] ok ducasse thanks for the info [11:37] ok it first gets the list of packages from the pc itself from /var/lib/apt/lists/ppa*_Packages [11:38] EriC^^: the easiest might be to add an option to specify a .list file that contains a repo to purge... [11:38] then gets the list of packages to revert to [11:39] yeah [11:39] i think we dont need to modify it even [11:40] then it wouldn't be hard to parse which package list to read in /var/lib/apt/lists [11:40] if we pass it the arguments it takes export $PPAHOST=.... ppa-purge [11:40] it might work i think [11:40] this is what it uses PPA_LIST=/var/lib/apt/lists/${PPAHOST}_${PPAOWNER}_${PPANAME}_*_Packages [11:41] this is what's in my apt/lists/ for google repo dl.google.com_linux_chrome_deb_dists_stable_main_binary-amd64_Packages [11:41] and this is what's in the sources.list.d/.list deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main [11:42] [arch...] is rarely used. [11:42] yeah just google mainly [11:43] DIST can also vary from the actual distribution codename, some use 'stable', for example. [11:44] ok so basically if somebody wants to remove a ppa with a link we just tell him to get the name from /var/lib/apt/lists [11:44] and construct $PPAHOST and $PPAOWNER and $PPANAME so they match that _Packages file [11:44] let me try with google to see how it goes [11:46] here $PPAHOST=dl.google.com $PPAOWNER=linux_chrome_deb $PPANAME=dists_stable_main [11:48] i did sudo ppa-purge -s dl.google.com -o linux_chrome_deb -p dists_stable_main [11:49] "PPA purged successfully" [11:49] seems to have worked! [11:50] brilliant, i wonder if it will work with the suse-hosted repos, they use a weird setup. [11:51] it should i guess [11:52] seems it does :) [11:52] :) [11:55] ooops, killed the wireless here :) [11:56] it would be nice to just have ppa-purge construct the right line if given a .list file, though. [11:57] yeah i was just thinking that [11:57] maybe a one liner that splits it into 3 pieces [11:58] bla_bla_bla_bla_bla-bla-bla_Packages need to translate to -s bla_bla -o ... -p .. [11:59] * ducasse digs out "mastering regular expressions" again :) [11:59] hehe [11:59] i suck at regexps [11:59] same here [11:59] this is pretty complicated [12:00] there's an ugly way to do it i guess, get the last one, then one before the _ then the whole rest [12:01] it's probably easiest to just cheat and parse it in three passes to get the parameters, but that's a hack. [12:01] ninja'd :) [12:01] it'll end up like this ppa-purge -s dl.google.com_linux_chrome_deb -o stable -p main [12:01] hehe [12:02] or the opposite really, was thinking we need to remove the last binary-amd64 thing first [12:03] sure. [12:08] trying to grok the sed lines in ppa-purge, some of it is new to me. [12:10] we could use the .list file [12:10] i'm unsure of the format though, it's pretty much there though [12:10] deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main [12:11] main and stable are there and the whole link is there [12:11] but are they always like that? http://link something somethingelse [12:15] BluesKaj: Didn't know you spoke japanese :) Nice catch in #u [12:15] look at this: [12:16] deb http://download.opensuse.org/repositories/home:/Horst3180/xUbuntu_15.10/ / [12:16] A person of many talents :) [12:16] DJones, I don't , it's just a guess ;-0 [12:16] ducasse: wow [12:16] ducasse: that's pretty out there :D [12:16] Heh, random characters then, or google translate7 [12:16] ducasse: what does the _Package file look like? [12:17] hang on, brb [12:17] nope just subbed the chatroooms and server where they might fit [12:36] ducasse: i did it in a really ugly way [12:36] var=$(echo dl.google.com_linux_chrome_deb_dists_stable_main_binary-amd64_Packages | rev | cut -d_ -f3- | rev); PPAHOST=$(echo $var | cut -d_ -f1); PPAOWNER=$(echo $var | cut -d_ -f2); PPANAME=$(echo $var | cut -d_ -f3-) [12:40] great, i'm still fiddling with sed :) [14:02] Hi everyone [14:03] good afternoon to all [14:03] hi lotuspsychje [14:03] hey pauljw [14:03] :) [14:08] anyone knows what that rss icon is called: http://www.omgubuntu.co.uk/wp-content/uploads/2016/05/color-picker-tool-for-linux-desktops-750x417.png [14:12] Hey pauljw [14:13] hi BluesKaj [14:13] hi BluesKaj :) [14:15] hey lotuspsychje , rss in kde has the same icon , akregator is all i can find about the name in kde [14:16] BluesKaj: didnt agregator has the glasses also in the icon? [14:17] * BluesKaj dons his glasses for a closer look ;) [14:17] yup [14:18] it does here [14:18] :p [14:18] hmm perhaps the guy added it via a ppa [14:19] hi proc === nacc_ is now known as nacc [15:19] hi EriC^^ [15:19] hey lotuspsychje [15:22] any luck ducasse? [15:23] (my) morning all! [15:23] EriC^^: sorry, been eating dinner, just finished :) [15:23] oh, cool :) [15:24] hi nacc and ducasse [15:24] hi nacc [15:25] hi, lotuspsychje, started training for the new job yet? :) [15:27] ducasse: thuesday :p [15:27] i'm thinking of getting this for a firewall: http://routerboard.com/RB2011iL-RM [15:28] the perfect typo [15:29] can't know if you hit the h by mistake or e instead of r [15:29] thursday i guess though? [15:30] tuesday :p [15:30] ah [15:30] i get a 2 weeks course first [15:30] payed [15:31] cool [15:31] best kind of training :) [15:33] :p [15:33] me and ducasse were trying to make ppa-purge that can use links we modified ppa-purge in the end so it can take links and use them [15:33] ppa=dl.google.com_linux_chrome_deb_dists_stable_main_binary-amd64_Packages; var=$(echo $ppa | rev | cut -d_ -f3- | rev); sudo ppa-purge -s $(echo $var | cut -d_ -f1) -o $(echo $var | cut -d_ -f2) -p $(echo $var | cut -d_ -f3-) [15:34] oO wow [15:34] you put instead of dl.google... the ppa name from /var/lib/apt/lists/ppa....._Package [15:34] cool [15:34] ducasse is working on a shorter and more elegant sed version [15:35] hope i can get it to work, sed is hard. [15:39] EriC^^: i've been looking at the script to figure out how to add an option to use a link, need to read a few man pages :) [15:41] i've been thinking it might be cleaner to rewrite the whole thing in python, though. split it up into smaller functions, modularize it a bit, it would be easier to extend or work on in the future. [15:42] sure why not [15:43] i like to see it check if other packages that depend on the ppa stuff will break and warn about that, i dont think it does that, was kind of surprised [15:44] that's the kind of thing i was thinking of, it would make it easier to add things like that... [15:45] _or_ we could do something like this: https://github.com/mufc4martin/ppaag/blob/master/ppaag - just a wrapper around ppa-purge. [15:46] yeah that would be nice too [15:47] could even make one that lists the ppa's and the user can select which to remove (i have a weird obsession with making menu's in the cli) [15:50] just like [15:50] [1] dl.google.chrome [15:50] [2] something.else [15:50] ncurses type thing? :) [15:50] nothing fancy, nah :) [15:53] that would just require parsing every .list file in /etc/apt/sources.list.d and list the repos so they can be toggled on/off. or something like that. [15:53] EriC^^: yeah, i'm kind of surprised ppa-purge doesn't have a 'dry-run' mode [15:54] although i spend so much time in git, i also wonder why everything doesn't have a ~ 'add -i mode and then a commit mode [15:56] hehe [15:56] it makes too much sense to 'stage' changes [15:56] the debian devs were talking about adding a rollback/undo function to apt, i'm still hoping that happens... [15:56] ducasse: nice! that would be good [15:56] i guess for ubuntu, snaps is the plan there [15:57] * nacc still doesn't fully understand the interplay between .debs and snaps -- will have to learn [15:57] apt will still be there for a long time yet, i think. [15:57] yeah [15:57] well, if for no other reason then it is sync'ing from debian :) [15:58] and tbh, the day ubuntu strays too far from debian, i'll switch back to straight sid :) [15:59] nacc: snap find in terminal :p [15:59] sudo snap install yoursnap [15:59] * nacc learns from lotuspsychje [16:00] nacc: i think the unity team wants the same security model as ubuntu-touch in the future [16:01] locked down apps/snaps that cant harm the base system [16:02] lotuspsychje: ack, 'convergence' [16:02] and mark leaving us the choice between 2 worlds [16:02] unity7/xorg/debs or unity8/mir/snaps [16:03] i'm installing unity8 right now [16:03] i wanna give it a test run [16:03] EriC^^: last time i tried it crashed for me on xenial [16:03] not sure how it runs on yakkety these days [16:04] nice, apt has a progress bar [16:04] apt is fantastic isnt it [16:05] it's depressing me, i didn't know packages take this long to install [16:05] depends wich ones [16:05] lol, if it takes long apt should keep it to itself [16:05] i think unity8 comprises of a million small packages that's why [16:06] it reached GET 100+ while fetching stuff, they're all pretty small too [16:06] :p [16:06] reached them very quickly, i just have 1mb/sec max [16:06] apt vs windows updates..i know wich to choose! [16:07] !info unity8 [16:07] unity8 (source: unity8): Unity 8 shell. In component universe, is optional. Version 8.12+16.04.20160401-0ubuntu1 (xenial), package size 4605 kB, installed size 6409 kB [16:07] !info unity yakkety [16:07] unity (source: unity): Interface designed for efficiency of space and interaction.. In component main, is optional. Version 7.5.0+16.10.20160525-0ubuntu1 (yakkety), package size 1578 kB, installed size 6804 kB [16:07] oops [16:07] ok moment of truth [16:07] brb [16:07] !info unity8 yakkety [16:07] unity8 (source: unity8): Unity 8 shell. In component universe, is optional. Version 8.12+16.10.20160520.1-0ubuntu1 (yakkety), package size 4605 kB, installed size 6432 kB [16:12] checked my machines for removed packages wit residual config earlier today, the list was terrifying. to get rid of them, run this: dpkg -l | grep ^rc | awk '{print $2}' | xargs /usr/bin/sudo /usr/bin/dpkg --purge [16:12] *with [16:15] wb [16:15] thx [16:15] siema grzegorz [16:15] it's kind of shitty [16:16] EriC^^: still alot of work isnt it [16:16] the mouse feels funny, didn't have a launcher [16:16] hmm, launcher should be there [16:16] just a window that said browser, and store, and check apps, browser doesn't open store pretty much empty [16:17] the notification in the top is like windows 10, if you click on wifi it opens a huge black bar to the bottom of the screen and you can click on other stuff like power etc to switch between them too [16:17] yep [16:17] sounds still the same as when it came out [16:18] i did like the busy sign while the browser was loading, kind of silly but it's a nice touch [16:18] i really wonder if they will get it right on time for yakkety release.. [16:18] you guys usually run unity? [16:18] it was like 3 dots swirling and you can see the 3 dots, sort of like the ubuntu logo i think [16:19] ducasse: im a unity fan indeed [16:19] i doubt for yakkety [16:19] lotuspsychje: unity 8 will _never_ be finished for yakkety. no chance in hell. [16:19] it seemed empty [16:19] and the mouse feels really funny, like graphics are odd, i guess it's the mir [16:20] ducasse: i like the fact that unity is ease for noob machines also [16:20] ducasse: yes i use unity too [16:20] my 76y old father never got it crashed yet [16:21] lotuspsychje: i can agree with that. if i were to set up a machine for a newbie, i would probably use mate or xfce, though. [16:21] ducasse: well, i also like xubuntu but i prefer only on older boxes [16:21] i thought it was odd when i first got ubuntu that it had no menu [16:21] ducasse: as some stuff on xubuntu isnt as simple as unity [16:22] lotuspsychje: my desktop used to be xubuntu, but i've switched all of them to i3 by now. light on resources and fast :) [16:23] i should probably test it also :p [16:23] i use unity, else i end up with unused ram [16:23] ducasse: but i3 isnt really for noobs right [16:23] OerHeks: lol [16:24] lotuspsychje: no, that's true. it's a different way of using a gui. [16:24] and tweaked, unity is fast as rocket aswell [16:24] thats the good news of xenial under the hood [16:25] faster boot/shutdown/dash and systemd [16:25] lotuspsychje: it has gl-accelerated almost everything, doesn't it? [16:25] yeah [16:25] time to fix unity [16:25] lol [16:25] lol something called mediascanner is going through my ext hdd like nuts using cpu [16:26] cpu 93'c [16:27] EriC^^: it can probably be disabled. [16:27] oO [16:27] looks like a service or something [16:27] not sure if its wise to disable [16:28] it says mediascanner-ex and mediascanner-se [16:29] EriC^^: looks like it just indexes media files for easy/fast search. [16:29] !info mediascanner [16:29] Package mediascanner does not exist in xenial [16:30] https://bugs.launchpad.net/ubuntu/+source/mediascanner2/+bug/1294303 [16:30] Launchpad bug 1294303 in mediascanner2 (Ubuntu) "Mediascanner-service-2 process is killing HD and consumes lot of CPU" [Medium,Fix released] [16:30] !info mediascanner2 [16:30] Package mediascanner2 does not exist in xenial [16:30] !find mediascanner-ex [16:30] File mediascanner-ex found in mediascanner2.0 [16:30] !info mediascanner2.0 [16:30] mediascanner2.0 (source: mediascanner2): Media scanner package. In component universe, is optional. Version 0.111+16.04.20160317-0ubuntu1 (xenial), package size 90 kB, installed size 357 kB [16:30] ah tnx [16:31] look at apt show's description :) [16:31] "This package provides the media scanner service." [16:31] :) [16:31] it seems it was installed by unity8 [16:32] that's not very informative :) [16:32] i think i should better remove everything it installed [16:33] unity8 is just for devs at this point. [16:33] yeah [16:33] purge yep [16:34] i think i'm screwed though, the list has dbus i think and other stuff [16:34] let em play around for a bit [16:34] EriC^^: it won't remove anything in use by other parts of the system. [16:34] at least, it shouldn't. [16:34] lol [16:34] yeah i mean if i remove the actual list from history.log [16:35] let me try to uninstall the metapackage and try autoremove [16:35] nice [16:35] EriC^^: that's the recommended way (metapackage + autoremove) [16:36] metapackage 55kb disk space will be freed [16:36] autoremove, [16:36] autoremove will take the rest. [16:36] 1 point 6 mega bytes [16:37] lol, i'm doomed now [16:37] lol [16:37] * ducasse wonders whether to order the mikrotik box or not... [16:38] i had written a script once that takes 1 de and another de and tries to completely remove it while keeping the first de and it's packages [16:38] it wasn't very reliable though, it used apt-rdepends and debfoster to get the list and stuff so i never really used it or recommended it to anyone [16:38] ducasse: i hear good things on pfsense, sure you want to spend money on the hardware? [16:39] http://paste.ubuntu.com/16736101 [16:39] lotuspsychje: my pfsense box died, new hardware for that would be more expensive. [16:39] i need new hardware either way. [16:39] ducasse: ah [16:40] ducasse: ##hardware or #netfilter guys might give you hints on it? [16:41] i asked in ##mikrotik, and for my needs this box should have good performance. i really want something that is "set up and forget" and regularly patched. [16:41] i might be able to use /var/log/dpkg.log to get the new packages it actually installed [16:42] EriC^^: autoremove _should_ get everything, possibly except packages that fulfill recommends: or suggests: of other installed packages. [16:43] ducasse: nah it doesn't remove much [16:43] it literally rmoved 1.6mb of packages [16:43] like 4-6 or so, it installed like a 100 [16:44] mir this mir that [16:44] i just need to know if history.log will show packages that are already on the system or not [16:45] EriC^^: yes, it will show you exactly what was installed. [16:46] EriC^^: this is why the debian devs wants 'apt undo' [16:47] this is what it installed http://termbin.com/6q35 [16:47] ducasse: yeah, arch has had it for a long time, pacman with recursive remove [16:48] oh, $deity, so many firefox tabs! i'm a monster! [16:48] ;) [16:48] that's why i tried to make that de removal script [16:48] everybody installs another de to try it and they can't remove the extra packages later [16:49] it doesn't work though, debfoster somehow recommended pastebinit to be removed, it showed up as a dependency in xubuntu [16:49] and not in unity [16:49] i'll try it on my pc just to see the list it gives and maybe diff it with that one [16:52] it gave a very tiny list [16:52] http://termbin.com/3eqi [16:53] i had made it very conservative in the end, it uses debfoster also also apt-rdepends and takes the minimum, it's not really accurate and nice though [16:54] hmmm, no suggestions from me, i'm afraid. [16:54] history.log is my only hope [16:55] that program sucks, nobody should ever use it [16:55] the script i mean [16:55] anyways i'll try to remove the metapackage, and uninstall one random package from it, and see what history.log looks like after i try to reinstall the metapackage [16:57] bbl dinner [16:57] cool, history.log only lists the newly installed one, not the metapackage contents [16:57] EriC^^: probably the best way to go. [16:59] EriC^^: you might also look at the relevant entry in term.log [16:59] yeah that's also a good idea [17:00] forgot about that [17:02] the developers of apt have trouble with handling this properly, so don't be sad your script is not perfect :) [17:02] EriC^^: ^^ [17:06] hehe :) [17:06] ok done removing the packages, time to see if it'll reboot [17:06] :D [17:06] brb [17:09] seems still working [17:10] EriC^^: That's a bonus then [17:10] :D [17:10] EriC^^: good, but unity8 is gone? [17:10] yeah i think so [17:11] i used the list from history.log and used sed to remove the things between () [17:11] then xargs -a list sudo apt-get purge [17:12] oh man [17:12] i tried apt install to see the size it's going to say that it's going to install, it said 130mb [17:12] i think it said something like 52mb before [17:13] lol can someone run sudo apt install unity8-desktop-session-mir [17:13] then cancel it when it asks to continue or not? just check the size it says after install [17:13] oh ok, it says need to get 32mb i think that's what i glimpsed before [17:13] would appreciate the check though! [17:16] mine says 33mb [17:17] to be downloaded? or additional space will be used? [17:17] mine says 298mb :) [17:17] to be downloaded, 131mb additional EriC^^ [17:17] pauljw: ah ok, cool [17:18] (additional. 90mb to be downloaded) [17:18] it's like mine, you're using unity? [17:19] i'm using unity, yes. [17:19] mine isn't. [17:19] ok, cool, thanks guy :) [17:19] *guys [17:19] :) [17:41] BluesKaj: maybe we should move the sound discussion here, instead of cluttering up #ubuntu? [17:42] well, I would but I still have my back lawn to cut ;-) [17:42] BBIAB [17:44] :) === pavlushka is now known as kryten === kryten is now known as Guest62041 === Guest62041 is now known as pavlushka === Switches is now known as Guest79949