guiverc | Thanks Bashing-om ; i | 04:15 |
---|---|---|
guiverc | (sorry) - i'm working in another room & only occasionally viewing this .. (#ubuntu tama..) | 04:15 |
Bashing-om | guiverc: NP .. I bounce around a lot too . | 04:16 |
lotuspsychje | good morning to all | 04:31 |
EriC^^ | hey lotuspsychje | 04:32 |
lotuspsychje | hey EriC^^ | 04:32 |
EriC^^ | how are you? | 04:32 |
lotuspsychje | EriC^^: do you know a graphical way of apt autoremove? | 04:32 |
EriC^^ | not really | 04:32 |
lotuspsychje | EriC^^: customer last night had like 15 kernels from not updating | 04:32 |
EriC^^ | synaptic maybe? | 04:33 |
lotuspsychje | i need something automatic cleanup | 04:33 |
lotuspsychje | i dont want customers to experiment with bleachbit neither | 04:33 |
EriC^^ | run a cronjob or something? | 04:33 |
lotuspsychje | yeah good idea | 04:34 |
lotuspsychje | update initram was crazy, took me 2 hours | 04:34 |
EriC^^ | maybe some unattended updates stuff | 04:34 |
lotuspsychje | unattended is now automaticly enabled | 04:35 |
lotuspsychje | but doesnt take care of autoremove | 04:35 |
lotuspsychje | and if the user denys updates.. | 04:35 |
lotuspsychje | i had to dpgk configure too lol | 04:36 |
EriC^^ | lotuspsychje: see /etc/apt/apt.conf.d/10periodic | 04:36 |
EriC^^ | APT::Periodic::Update-Package-Lists "1"; | 04:36 |
EriC^^ | APT::Periodic::Download-Upgradeable-Packages "0"; | 04:36 |
EriC^^ | APT::Periodic::AutocleanInterval "0"; | 04:36 |
lotuspsychje | ah nice one | 04:36 |
EriC^^ | maybe the autocleaninterval can help? | 04:36 |
lotuspsychje | lemme look that up | 04:36 |
lotuspsychje | EriC^^: seems like it accept 30 days | 04:39 |
lotuspsychje | EriC^^: so i guess 1 will do a cleanup each month? | 04:39 |
EriC^^ | nope 1 every day | 04:42 |
EriC^^ | but it's just apt-get autoclean | 04:42 |
lotuspsychje | yeah i know but my users dont use the terminal | 04:42 |
EriC^^ | // Automatically upgrade packages from these (origin:archive) pairs | 04:42 |
EriC^^ | Unattended-Upgrade::Allowed-Origins { | 04:42 |
EriC^^ | "${distro_id}:${distro_codename}"; | 04:42 |
EriC^^ | "${distro_id}:${distro_codename}-security"; | 04:42 |
EriC^^ | // Extended Security Maintenance; doesn't necessarily exist for | 04:42 |
EriC^^ | // every release and this system may not have it installed, but if | 04:42 |
EriC^^ | // available, the policy for updates is such that unattended-upgrades | 04:42 |
EriC^^ | // should also install from here by default. | 04:42 |
EriC^^ | "${distro_id}ESM:${distro_codename}"; | 04:43 |
EriC^^ | //"${distro_id}:${distro_codename}-updates"; | 04:43 |
EriC^^ | //"${distro_id}:${distro_codename}-proposed"; | 04:43 |
EriC^^ | //"${distro_id}:${distro_codename}-backports"; | 04:43 |
EriC^^ | }; | 04:43 |
EriC^^ | // List of packages to not update (regexp are supported) | 04:43 |
EriC^^ | Unattended-Upgrade::Package-Blacklist { | 04:43 |
EriC^^ | //"vim"; | 04:43 |
EriC^^ | //"libc6"; | 04:43 |
EriC^^ | //"libc6-dev"; | 04:43 |
EriC^^ | //"libc6-i686"; | 04:43 |
EriC^^ | }; | 04:43 |
EriC^^ | // This option allows you to control if on a unclean dpkg exit | 04:43 |
EriC^^ | // unattended-upgrades will automatically run | 04:43 |
EriC^^ | // dpkg --force-confold --configure -a | 04:43 |
EriC^^ | // The default is true, to ensure updates keep getting installed | 04:43 |
EriC^^ | //Unattended-Upgrade::AutoFixInterruptedDpkg "false"; | 04:43 |
EriC^^ | // Split the upgrade into the smallest possible chunks so that | 04:43 |
EriC^^ | // they can be interrupted with SIGUSR1. This makes the upgrade | 04:43 |
EriC^^ | // a bit slower but it has the benefit that shutdown while a upgrade | 04:43 |
EriC^^ | // is running is possible (with a small delay) | 04:43 |
EriC^^ | //Unattended-Upgrade::MinimalSteps "true"; | 04:43 |
EriC^^ | // Install all unattended-upgrades when the machine is shuting down | 04:43 |
EriC^^ | // instead of doing it in the background while the machine is running | 04:43 |
EriC^^ | // This will (obviously) make shutdown slower | 04:43 |
EriC^^ | //Unattended-Upgrade::InstallOnShutdown "true"; | 04:43 |
EriC^^ | // Send email to this address for problems or packages upgrades | 04:43 |
EriC^^ | // If empty or unset then no email is sent, make sure that you | 04:43 |
EriC^^ | // have a working mail setup on your system. A package that provides | 04:43 |
EriC^^ | // 'mailx' must be installed. E.g. "user@example.com" | 04:44 |
EriC^^ | //Unattended-Upgrade::Mail "root"; | 04:44 |
EriC^^ | // Set this value to "true" to get emails only on errors. Default | 04:44 |
EriC^^ | // is to always send a mail if Unattended-Upgrade::Mail is set | 04:44 |
EriC^^ | //Unattended-Upgrade::MailOnlyOnError "true"; | 04:44 |
EriC^^ | // Do automatic removal of new unused dependencies after the upgrade | 04:44 |
EriC^^ | // (equivalent to apt-get autoremove) | 04:44 |
EriC^^ | //Unattended-Upgrade::Remove-Unused-Dependencies "false"; | 04:44 |
EriC^^ | // Automatically reboot *WITHOUT CONFIRMATION* | 04:44 |
EriC^^ | // if the file /var/run/reboot-required is found after the upgrade | 04:44 |
EriC^^ | //Unattended-Upgrade::Automatic-Reboot "false"; | 04:44 |
EriC^^ | // If automatic reboot is enabled and needed, reboot at the specific | 04:44 |
EriC^^ | // time instead of immediately | 04:44 |
EriC^^ | // Default: "now" | 04:44 |
EriC^^ | //Unattended-Upgrade::Automatic-Reboot-Time "02:00"; | 04:44 |
EriC^^ | // Use apt bandwidth limit feature, this example limits the download | 04:44 |
EriC^^ | // speed to 70kb/sec | 04:44 |
EriC^^ | //Acquire::http::Dl-Limit "70"; | 04:44 |
EriC^^ | in /etc/apt/apt.conf.d/50unattended-upgrades | 04:44 |
EriC^^ | wow that was huge didnt expect it | 04:44 |
EriC^^ | lotuspsychje: Unattended-Upgrade::Remove-Unused-Dependencies set to "true" in /etc/apt/apt.conf.d/50unattended-upgrades | 04:44 |
lotuspsychje | lets check | 04:45 |
lotuspsychje | EriC^^: done! | 04:48 |
lotuspsychje | nice find mate | 04:48 |
EriC^^ | cool | 04:48 |
lotuspsychje | EriC^^: enabled it, ill let you know what it does next time | 04:49 |
EriC^^ | alright | 04:49 |
lotuspsychje | EriC^^: tryed update, but no items yet to autoremove | 04:53 |
lotuspsychje | hmm i got a few in list now, think that needs a reboot? | 04:58 |
EriC^^ | hmm | 05:17 |
EriC^^ | did you uncomment it in the file and stuff | 05:17 |
lotuspsychje | uncomment what? | 05:22 |
EriC^^ | the // at the start' | 05:23 |
lotuspsychje | ah dang | 05:24 |
Bashing-om | lotuspsychje: Use the unattended-upgrades package to regularly run autoremove for you. Edit the autoremove setting in /etc/apt/apt.conf.d/50unattended-upgrades from 'false' to 'true' | 05:26 |
Bashing-om | Unattended-updates is triggered by a daily cronjob: /etc/cron.daily/apt-compat | 05:26 |
Bashing-om | Simply edit that file to comment out the 'random_sleep' on line 49. | 05:26 |
Bashing-om | That 'random sleep' is why you think it's not running. It is running, it's just set for a random time when your system happens to be off. It will run automatically a few minutes after reboot. It's clever that way. | 05:26 |
Bashing-om | If you edit out the 'random_sleep' (intended to spread the load on servers), then apt-daily will run at the same time each day...or a few minutes after startup is the system happens to be off (thanks, anacron) | 05:26 |
Bashing-om | -- To run unattended-upgrades before shutdown, enable the option in the config file: /etc/apt/apt.conf.d/50unattended-upgrades . It's around line 37. | 05:27 |
lotuspsychje | aha | 05:31 |
lotuspsychje | tnx Bashing-om | 05:33 |
Bashing-om | lotuspsychje: Nawww .. just passing on what some one else told me :) | 05:37 |
=== lotuspsychje_ is now known as lotuspsychje | ||
Bashing-om | Well, I got to give it up and call this a night .. laters all \o | 06:49 |
lordievader | Good morning | 07:06 |
EriC^^ | morning lordievader | 07:12 |
lordievader | Good morning | 07:15 |
EriC^^ | how are you | 07:16 |
EriC^^ | ? | 07:16 |
lordievader | Hey EriC^^ | 07:16 |
lordievader | Doing allright here :) | 07:16 |
EriC^^ | cool | 07:17 |
EriC^^ | :) | 07:17 |
lordievader | How are you doing? | 07:20 |
EriC^^ | good thanks :) | 07:20 |
lordievader | Any plans for today? | 07:29 |
ducasse | good morning, everyone | 07:33 |
EriC^^ | not much, couple errands here and there | 07:35 |
EriC^^ | morning ducasse , how are you? | 07:35 |
ducasse | good thanks, how are you EriC^^ ? | 07:35 |
EriC^^ | good thanks | 07:35 |
ducasse | how are you, lordievader? | 07:37 |
lordievader | Doing good here ducasse | 07:48 |
=== guiverc_d is now known as guiverc | ||
=== kostkon_ is now known as kostkon | ||
AI_ | guiverc: i'm sorry for using the wrong channel, just didn't know there was a specia one :) | 10:57 |
guiverc | AI_, i've got an old 2008 copy (08.04) so i can only talk about that prehistoric one (don't worry about channels) | 10:57 |
guiverc | i also can't recall reading it (too long ago), but have it in front of me so can give opinions on what i see. | 10:58 |
AI_ | guiverc: did you find it useful at the time? | 10:58 |
JimBuntu | When even the "one star" review says "Really good book"... | 11:00 |
guiverc | i'd come from debian; so not really. it was mostly to make myself feel more comfortable with ubuntu. there are bookmarks in it; so I did mark sections.. it covers heaps, but nothing in real detail (unless you're a beginner/new-to-gnu/linux reader) | 11:00 |
guiverc | it says on cover int-advanced; i'd say it was beg-intermediate myself... | 11:01 |
JimBuntu | No single book (unless it's huge) will be likely to go into real detail on any single aspect... entire books are written on single aspects. | 11:01 |
AI_ | I have been using centos for my servers, but i see people are migrating to ubuntu for most stuff. So I'm thinking of buying the 2016 book | 11:01 |
guiverc | (but then i see reference to sendmail - that's sure not beginner!) | 11:01 |
guiverc | its a book; most of what you need to know will be the same. most issues you get are fastest solved online; i like books & reading paper (not screens) so I didn't mind its purchase (years ago). | 11:03 |
guiverc | it's got a ton of info (mine is ~830 pages) | 11:04 |
AI_ | yeah, i'm going to travel a lot in the next weeks so i just wanted to buy a book to read on planes and so on | 11:05 |
JimBuntu | I find that reading on manipulated tree carcass is a good alternative to pixels, especially to reduce the strain associated with looking at pixels for too long. | 11:05 |
guiverc | you're right JimBuntu - my rating is probably wrong (intermediate is my rating now) LOL @ tree carcus | 11:05 |
JimBuntu | guiverc, IMHO, the level of that book changes a bit depending on the section. So many great books AI_ , start with this one, then check out other ones, or vice-versa. You really can't go wrong when adding info to your brain | 11:06 |
AI_ | thats true | 11:06 |
JimBuntu | Linux Bible (various versions) are good, if super interested specifically in Ubuntu... there is also "The official Ubuntu book" | 11:07 |
JimBuntu | it's by the same author | 11:08 |
guiverc | i like the "ubuntu unleashed" over my copy of "ubuntu linux bible" (equally old vintage) | 11:09 |
JimBuntu | That's the "problem" guiverc, once you get comfortable, it's easy for the personal Linux library to become old... at least, that's my experience. | 11:09 |
guiverc | yep - concur 100% | 11:10 |
* JimBuntu is a huge fan of the local public library... and a few that aren't local ;-) | 11:11 | |
guiverc | "a practical guide to ubuntu linux" is good too, and better the 'official ubuntu book' in my opinion (mine are all same vintage - guess that's when I started using ubuntu!) | 11:11 |
pauljw | hi everyone | 16:11 |
lotuspsychje | good evening to all | 18:01 |
nacc | sigh, where are our ops? | 18:04 |
lotuspsychje | lol | 18:04 |
lotuspsychje | nacc: 1640 users and no ops aint good news :p | 18:06 |
lotuspsychje | !info firefox | 18:45 |
ubot5 | firefox (source: firefox): Safe and easy web browser from Mozilla. In component main, is optional. Version 59.0.1+build1-0ubuntu0.17.10.1 (artful), package size 45813 kB, installed size 175127 kB | 18:45 |
lotuspsychje | tv time ttyl guys | 19:16 |
TJ- | nickname 'Irritiable' from last evening is 'BadPractice' this evening | 19:26 |
kostkon | nope, paulywog is | 19:30 |
kostkon | amirite? | 19:31 |
TJ- | I don't think so; paulywog is struggling with a Mac; Irritiable was working with an Acer Swift One SM131 or similar, with locked-down firmware | 19:36 |
kostkon | yeah probably and looks like he's already at it, getting mad, slowly but steadily. will see | 19:37 |
nacc | TJ-: definitely the same person? | 19:38 |
TJ- | nacc: Not sure as yet, if we get info on the PC itself it'll be easier to tell :) | 19:39 |
nacc | heh, yep | 19:39 |
TJ- | nacc: did you see the weirdness about anonymous listening kernel TCP ports in -hardened earlier? | 19:39 |
nacc | TJ-: no, i hadn't | 19:50 |
TJ- | Good bit of intel to know about. Was spurred by a question in #ubuntu earlier | 19:50 |
Bashing-om | Do this again - See what the day brings :) | 21:02 |
daftykins | :D | 21:02 |
Bashing-om | daftykins: :) .. all clients happy and satisfied ? | 21:03 |
daftykins | yep! just about to send some invoices though, so not for long ;D | 21:04 |
Bashing-om | daftykins: All the traffic can bear :P | 21:05 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!