[05:22] boo. what has happened on our fonts. Do we as linux developers not love our fonts anymore? [05:23] the list and selection of fonts is terrible in the current version of ubuntu-mate. I don't know if it's a GIMP display interface issue, how the gimp now works, some weird packages that got installed or just how ubuntu works in general at this point. [05:24] There were some great free fonts a few years ago, the names escape me but they all seem to be gone now. I can't imagine what reason they would be removed [05:25] some really good designers went out of their way to specifically make free fonts for us IMHO [05:27] I suppose it's some sort of backward compatability error that will have to fixed or backported [05:27] side ported might be a better way to say it rather than "back" ported [05:27] unforked [05:28] No user needs to be presented with 8 million "Noto Serif" font names [05:28] that's not how that should work ever [16:29] bonsoir [16:29] je n'utilise pas très souvent ce mode d'échange, soyez indulgent; merci !!! [16:32] situation inedite, firefox plante dés son lancement !!! [17:23] Hello all I need help freeing up space on in /boot can anyone help me out [17:25] latitude, remove old kernels [17:25] ok How do I do that I'm new to linux [17:26] I can't see /root from the terminal [17:26] ok why do you need that in the first place? [17:27] I keep getting warning that I have 0 space in /boot and it prevents me from updating and installing new software [17:28] ok first open terminal and run: lsblk [17:28] ok brb [17:28] Ok i did [17:28] or paste the output from 'df -h' [17:29] latitude, whatever you get copy and then go here: https://paste.ubuntu.com/ [17:29] paste the output in there click paste ad share the link here [17:29] ok let you know when done thank you [17:30] https://paste.ubuntu.com/26043042/ [17:32] in the same fashion you share here the output of the command given by basilarchia [17:32] ok [17:33] https://paste.ubuntu.com/26043059/ [17:34] and the optput of: uname -r [17:34] and the output of ls /boot [17:37] https://paste.ubuntu.com/26043083/ [17:37] and the other one? [17:37] both are in the same one [17:37] oh ok they are both here [17:39] are you sure the ls /boot is the entire output? because I don't see initrd.img-4.4.0-66-generi [17:40] I will run again and check [17:40] ok [17:41] I ran it twice more and there is not line like that [17:41] hmm strange ok now you have to run gksu namo /boot [17:42] or wait [17:42] I dn't know what is the file manager in mate [17:42] what is the file manager called? [17:42] not sure let me check [17:45] caja [17:45] ?? [17:45] ok [17:45] run: gksu caja /boot [17:45] thats what google said [17:46] weird. ya, this shit should never happen [17:46] apt should be smart enough to remove the old kernels [17:47] latitude, did you run? [17:47] dpkg -l |grep linux-image [17:47] Its running now [17:47] basilarchia, is there an apt command that does this? [17:47] then just remove some of your kernel packages [17:47] well, it should be automatic in this case, but this is a weird case [17:48] yes but let not leave him remove anything on his own because he is a newbie [17:48] did you specifically create a 500MB /boot partition for some reason or did the ubuntu-mate installer do that? [17:48] I really can't remember [17:49] latitude, did my command opened the caja? [17:50] I got a bunch or messages and warning [17:50] you want me to paste like before [17:50] no [17:51] press ctrl+c [17:51] and wait a bit I'm preparing a paste for you [17:51] it stopped running already [17:53] latitude, meanwhile you run in terminal: sudo apt install gksu [17:54] i ran it somethings didn't install [17:55] why it didn't install? [17:55] it said gksu is already the newest version [17:55] ok then wait I'm finishing the file for you [17:55] ok thank you [17:57] latitude, run: gksu caja [17:57] it should open the file manager [17:57] you gonna have to enter your password [17:58] ok its open [17:58] go to your /boot directory [17:59] ok there [17:59] latitude, open this link in your browser: http://paste.ubuntu.com/26043209/ [18:00] ok [18:01] i have opened it [18:01] now extremely careful [18:01] remove ONLY the files listed in the given link [18:01] don't touch the files that end in -66 -57 and -93 [18:01] copy [18:02] remove the files in your /boot directory the files I've mentioned in the link [18:02] right click and remove [18:03] remember only the ones given in the link, double check before removing, otherwise you might end up with a broken system [18:06] ok I notice that -47 are removed from all except initrd.img-4.4.0 [18:07] ok now run: ls /boot [18:07] and share the link here [18:07] ok not finished yet lol [18:07] ok when you finish [18:09] should i remove initrd.img-4.4.0-47-generic?? [18:10] is it listed there? in my link? [18:10] no [18:10] ok remove it anyway [18:11] https://paste.ubuntu.com/26043326/ [18:12] brb I have to take the dogs out..lol [18:12] ok good now you can update [18:12] it should be ok [18:17] ok thank you [18:18] where those old kernals?? [18:31] Have a full /boot can someone help me free this up. I can't update [18:38] latitude: dpkg -l '*linux*' | grep ^ii | nc termbin.com 9999 [18:40] latitude: this will show you the packages. Copy the names of 2-3 that you want to remove, and type sudo dpkg --purge linux-blablaversiongoeshere [18:41] dpkg will free up space, so then you can resume working with apt [18:41] alkisg I manually removed old kernels.. I think they where [18:41] what is the command again [18:41] (08:38:31 μμ) alkisg: latitude: dpkg -l '*linux*' | grep ^ii | nc termbin.com 9999 [18:43] ok its running? [18:43] latitude: paste the output here, e.g. termbin.com/qwer [18:45] do I include the termbin.com 9999 at the end....Noting seams to be happening [18:45] You misstyped something. Anyway, just type dpkg -l '*linux*' [18:45] And put the result to paste.ubuntu.com [18:46] diogenes_ still not enough free space [18:46] latitude, did u reboot? [18:46] yeah [18:47] Well I restarted [18:48] latitude, again: df -h [18:49] Here is the result https://paste.ubuntu.com/26043548/ [18:49] latitude: what about my command? dpkg -l '*linux*' [18:50] I will paste the link [18:51] https://paste.ubuntu.com/26043563/ [18:52] This is not the command I asked [18:53] Use copy/paste [18:53] https://paste.ubuntu.com/26043571/ [18:53] try that [18:55] Yes, you have tens of linux packages there [18:55] bb in 20'... [18:56] ok thank you [18:56] latitude, you didn't have to make a separate /boot partition [18:57] it was my first install of ANY linux OS [18:58] let's see this first: sudo apt autoremove [18:58] Is there a way to remove it with out reformatting the entire drive [18:59] got an error [19:00] what error? [19:00] the fallowing packages have unmet dependencies: [19:01] try: sudo apt autoremove -f [19:01] apt doesn't work at this point [19:01] dpkg is needed to force remove enough space from /boot first [19:01] latitude: retry my previous command with the termbin [19:04] latitude, let's try this: sudo apt remove linux-image-4.4.0-21.37 [19:04] see what you get [19:06] i ran the apt autoremove -f [19:06] think it worked [19:06] did you notice what packages were removed? [19:07] will I have to reboot to see the free space [19:07] no [19:07] I ran df -h and /boot is still at 100% [19:07] did you run: sudo apt remove linux-image-4.4.0-21 [19:08] not yet i will now [19:08] latitude: dpkg -l '*linux*' | nc termbin.com 9999 [19:08] alkisg, this is the output: https://paste.ubuntu.com/26043571/ [19:08] diogenes_: this is cut [19:08] If you use termbin, it won't be cut [19:08] ok [19:09] that wasn't installed noting to remove [19:10] copy/paste this: dpkg -l '*linux*' | nc termbin.com 9999 [19:10] I did [19:10] I get http://termbin.com/iq05 [19:11] nice [19:11] go there [19:11] o ther [19:11] there [19:11] brb [19:11] now use this command: sudo dpkg --purge linux-image-4.4.0-21-generic [19:11] And use it again for all those packages, except for the 2 latest [19:12] You can see the package names from that url, http://termbin.com/iq05 [19:14] I get an error: dependency prevents removal [19:15] latitude, runningwhich command you get the error? [19:16] now use this command: sudo dpkg --purge linux-image-4.4.0-21-generic [19:16] ok try adding -f at the end [19:20] -f gives an error: unknown force refuse [19:21] ok then try: sudo apt remove linux-image-4.4.0-21-generic -f [19:22] The fallowing packages have unmet dependency [19:23] another error [19:23] this: sudo apt remove linux-headers-4.4.0-28-generic -f [19:24] still get error unmet dependencies [19:25] sudo dpkg --purge --force-all linux-image-4.4.0-21-generic [19:27] looks like that worked: @alkisg [19:27] continue with all the other linux-images [19:27] exceptfor the last 2 ones [19:27] do I need to do that for all in that list [19:29] latitude, except the ones that end in -66 -93 [19:29] Ok @diogenes [19:29] I have on that is -101 [19:30] will that remove the headers and extra...too?? [19:31] latitude, first remove these ones [19:31] latitude: no, but you can remove headers later when apt works [19:31] ok [19:31] You can also include multiple names in one line [19:31] dpkg --purge etc linux1 linu2 linux3... [19:31] So that you don't wait a lot [19:31] ok I will try that [19:33] latitude: open another terminal, and type: uname -r [19:33] This is the name of the kernel that you're using now [19:33] Don't remove that one [19:34] I can remove ever other one except that one right? [19:39] what is the command to check what I purged [19:40] it has freed up some space already [19:45] How do I use apt to remove the rest [19:47] sudo apt autoremove [19:48] error: unmet dependencies linux-image-extra... [19:48] try with -f at the end [19:48] sudo apt autoremove -f [19:50] when I run that is says the images that I purged will be installed [19:50] lol copy/paste and share the link [19:51] before you take any further actions [19:51] * diogenes_ will be back in a few minutes [19:52] https://paste.ubuntu.com/26043951/ [20:02] latitude: press "n", no there [20:02] You don't want to reinstall all those kernels [20:04] latitude: run this command: dpkg --purge --force-all linux-image-4.4.0-21-generic linux-image-4.4.0-28-generic linux-image-4.4.0-31-generic linux-image-4.4.0-36-generic linux-image-4.4.0-38-generic linux-image-4.4.0-45-generic linux-image-4.4.0-47-generic linux-image-4.4.0-57-generic linux-image-extra-4.4.0-21-generic linux-image-extra-4.4.0-28-generic linux-image-extra-4.4.0-31-generic linux-image-extra-4.4.0-36-generic linux-image-extra-4.4.0-38 [20:05] latitude: in case irc cut it, here it is: http://paste.debian.net/plain/997571 [20:06] Once that is finished, *then* run sudo apt install -f [20:06] Autoremove will come later. [20:06] ok. working on it [20:09] Here is what I get when I run sudo apt install -f https://paste.ubuntu.com/26044095/ [20:11] latitude: say yes there [20:11] Watch out for errors [20:11] I'll be afk for 20', so here are the next steps: [20:11] 1) see no errors [20:12] 2) sudo apt-get update; sudo apt-get dist-upgrade [20:12] 3) reboot [20:12] 4) sudo apt-get purge --auto-remove ==> pastebin before saying yes there [20:12] ok its running [20:14] I got errors :( [20:14] latitude, again? what errors share the link [20:15] https://paste.ubuntu.com/26044130/ [20:15] Man the is PAINFUL!!!!! [20:16] this* [20:16] latitude, remeber it's your first time, everything is painful at the first time [20:16] absolutely everything [20:18] I use linux a work but that most a file server and I use that to write c code for embedded systems [20:19] everything has a solution just be patient [20:20] Yeah I have to work on my patients...lol [20:22] did you run sudo apt autoremove -f [20:23] Yeah it asked me if I wanted to install the packages the I purged [20:24] HEre is the output from that command https://paste.ubuntu.com/26043951/ [20:30] latitude, you still alive? [20:31] yeah man [20:31] I posted the link from the result [20:31] the result of sudo apt autoremove -f? [20:32] yeah [20:32] post it one more time I got disconnected [20:32] https://paste.ubuntu.com/26043951/ [20:33] I hope you didn't run yes [20:33] I hit no [20:33] ok one more time run: dpkg -l '*linux*' | nc termbin.com 9999 [20:34] http://termbin.com/ezyj [20:36] I noticed after I used the purge command that worked I had freed up some space. But once alksig told me to run sudo apt install -f I lost the free space I gained [20:37] latitude: back. sorry, i misread your last pastebin, you shouldn't have pressed yes there [20:37] run:sudo dpkg --purge --force-all linux-headers-4.4.0-21-generic linux-headers-4.4.0-28-generic linux-headers-4.4.0-31-generic linux-headers-4.4.0-36-generic linux-headers-4.4.0-38-generic linux-headers-4.4.0-45-generic linux-headers-4.4.0-47-generic linux-headers-4.4.0-57-generic [20:37] latitude: let's go again, use the previous command, http://paste.debian.net/plain/997571 [20:39] here is what I get https://paste.ubuntu.com/26044322/ [20:39] ...followed by this one: http://paste.debian.net/plain/997575 [20:40] latitude: what was/is the name of uname -r? [20:41] -66 [20:42] latitude: df -h | nc termbin.com 9999 [20:44] I;m removing the headers [20:45] OK, although headers don't have anything in /boot [20:45] http://termbin.com/8bwe [20:45] thats from df -h [20:46] latitude: ok. let's do the quicker method... do those, stop if you ever see errors: [20:46] sudo -i [20:46] cp -a /boot /var/tmp/boot [20:46] umount /boot [20:47] cp -a /var/tmp/boot/* /boot/ [20:47] apt install -f [20:47] Note, don't reboot until everything is done, including some others I'll write later [20:48] ok [20:52] Here is the output from apt install -f https://paste.ubuntu.com/26044431/ [20:54] latitude: press y [20:57] 40% done [20:58] latitude: to explain: we'll use a temporary /boot to fix everything, which has no space issues, and then copy the result to the real /boot [20:59] I.e. now you can run apt-get dist-upgrade, apt-get purge --auto-remove etc etc, with no issues at all. Just don't reboot until we copy the result back to the real /boot [20:59] I figured something like that was happening with cp command [21:00] had some errors [21:01] erros were encountered while processing linux-image-exrta-4.4.0-45-generic same for -47 -57 [21:02] its doen [21:02] done [21:03] What was the sudo -i command for?? [21:04] sudo -i gives you permanent sudo access [21:04] alkisg you still there?? [21:04] You exit by typing "exit" [21:04] So we don't need to type sudo each time [21:04] is that the same as sudo bash? [21:04] sudo bash is bad actually, sudo -i is better [21:04] Put the errors to pastebin [21:05] https://paste.ubuntu.com/26044505/ [21:06] This doesn't help. Put more lines, the actual error is above that. [21:06] It's ok to copy 100 lines, it's not ok to copy 10 :) [21:07] lol ok [21:08] https://paste.ubuntu.com/26044529/ [21:08] looks like some where half installed and can't be configured [21:10] try this: apt-get purge --auto-remove linux-image-extra-4.4.0-45-generic linux-image-extra-4.4.0-47-generic linux-image-extra-4.4.0-57-generic [21:10] show pastebin before pressing yes [21:11] https://paste.ubuntu.com/26044561/ [21:13] forget that one [21:13] here is the one you want [21:13] https://paste.ubuntu.com/26044568/ [21:13] latitude: go for it, press y [21:14] done [21:14] now what [21:15] latitude: try plain apt-get purge --auto-remove [21:15] Does it remove anything? [21:16] said 0 upgraded, 0newly installed, 0 to remove [21:16] Cool [21:16] Now apt-get dist-upgrade [21:17] (dist-upgrade means normal upgrade, not go to a newer ubuntu...) [21:17] it will us 96.7 mb of additional space...continue [21:18] use* [21:18] sure [21:19] 30% [21:19] 50% [21:20] Is this happening because the old kernals are still on my system? [21:20] Which part is happenning? [21:21] The 101 kernel was never properly installed [21:21] this whole this /boot being full [21:21] This is the one that you'll want to reboot into [21:21] Yes, it's because you never bothered to remove the old ones [21:21] Run apt-get purge --auto-remove from time to time. [21:21] Also, it's not worth it to have a separate /boot... [21:22] great that was my next question [21:22] yeah. Not sure why [21:22] I did that [21:23] looks like everything is getting unpacked [21:23] I'm going to give you a script that properly purges old kernels [21:24] wow thats great man [21:24] It's in greek, don't get scared, you'll just press ok when prompted [21:24] We're using it in 1000+ schools here [21:24] cool I have written some scripts [21:25] Did apt finish? [21:25] not yet still unpacking [21:26] Open another terminal, and type: [21:26] sudo wget https://git.launchpad.net/sch-scripts/plain/share/sch-scripts/purge-kernels?id=c92627515847e6a031b1f5a8361f36563e76ea02 -Ο /usr/local/bin/purge-kernels [21:26] sudo chmod +x /usr/local/bin/purge-kernels [21:27] After that, when you want to remove older kernels, just run sudo purge-kernels, it will keep the newest and the running one, which is the best thing to do [21:27] (it will prompt you and tell you which packages it will remove etc etc) [21:29] ok only some of that script is in greek some I can read [21:29] You can translate the 3 greek lines if you want [21:30] I'll need to leave in a few minutes so let's finish quickly [21:30] Did apt finish? [21:30] not lol [21:30] Meh :D [21:30] What's the size of /boot now? du -sh /boot [21:32] command didnt work [21:32] That doesn't help, use copy/paste of messages :) [21:32] du -sh /boot [21:33] That should work without issues... [21:33] sorry i wasn't root [21:33] 665m [21:35] Ouch, you'll need to run purge kernels before you copy it back :) [21:35] Wait until apt finishes of course [21:35] Then run purge-kernels, put the result to pastebin before pressing yes, and ping me [21:35] done! [21:35] how do I ping? [21:36] i ran that command again now /root is 460M [21:36] Ping means to write my name, alkisg [21:37] It makes a sound in the other person's computer [21:37] got it [21:37] apt finished [21:37] You can use tab in irc to autocomplete names, e.g. lat => autocompletes latitude [21:37] OK, run purge-kernels [21:38] there was an error with apt [21:38] Use pastebin again [21:39] https://paste.ubuntu.com/26044707/ [21:40] No space left on device?! Which device, we don't have /boot mounted... [21:41] latitude: actually, do you mind if I help with vnc to finish faster? It's almost midnight here... [21:41] yeah sure [21:41] sudo apt install x11vnc [21:41] x11vnc -connect srv1-dide.ioa.sch.gr [21:41] apt install might fail because of the other errors, but x11vnc should run anyway [21:42] ok [21:54] latitude: I think you're good [21:54] wow man that was GREAT!!! [21:54] Is grub installed in /dev/sda? [21:54] I'd like to reinstall it just in case... [21:55] not sure [21:56] Can you reboot just to make sure,before I leave? [21:56] yeah I will be right back [21:56] If it doesn't... you'd need a live cd or something [21:56] I'm hoping it'll boot fine though :) [21:56] think I have a usb stick with linux on it [21:56] Cool, go for reboot [21:56] ok I hope to be back soon [22:00] YEAH alkisg [22:01] :) [22:01] it worked [22:01] thank you so much [22:01] Cool. Now you are with 101 kernel, run sudo purge-kernels once more to remove 66 [22:01] Good night all :) [22:01] ok thank you [22:04] alkisg, all purged from -66. you where a great help [22:04] I added you as a friend [22:21] Hey gents