/srv/irclogs.ubuntu.com/2017/11/25/#ubuntu-mate.txt

basilarchiaboo. what has happened on our fonts. Do we as linux developers not love our fonts anymore?05:22
basilarchiathe 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:23
basilarchiaThere 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 removed05:24
basilarchiasome really good designers went out of their way to specifically make free fonts for us IMHO05:25
basilarchiaI suppose it's some sort of backward compatability error that will have to fixed or backported05:27
basilarchiaside ported might be a better way to say it rather than "back" ported05:27
basilarchiaunforked05:27
basilarchiaNo user needs to be presented with 8 million "Noto Serif" font names05:28
basilarchiathat's not how that should work ever05:28
gerardbonsoir16:29
gerardje n'utilise pas très souvent ce mode d'échange, soyez indulgent; merci !!!16:29
gerardsituation inedite, firefox plante dés son lancement !!!16:32
latitudeHello all I need help freeing up space on in /boot can anyone help me out17:23
diogenes_latitude, remove old kernels17:25
latitudeok How do I do that I'm new to linux17:25
latitudeI can't see /root from the terminal17:26
diogenes_ok why do you need that in the first place?17:26
latitudeI keep getting warning that I have 0 space in /boot and it prevents me from updating and installing new software17:27
diogenes_ok first open terminal and run: lsblk17:28
latitudeok brb17:28
latitudeOk i did17:28
basilarchiaor paste the output from 'df -h'17:28
diogenes_latitude, whatever you get copy and then go here: https://paste.ubuntu.com/17:29
diogenes_paste the output in there click paste ad share the link here17:29
latitudeok let you know when done thank you17:29
latitudehttps://paste.ubuntu.com/26043042/17:30
diogenes_in the same fashion you share here the output of the command given by basilarchia17:32
latitudeok17:32
latitudehttps://paste.ubuntu.com/26043059/17:33
diogenes_and the optput of: uname -r17:34
diogenes_and the output of ls /boot17:34
latitudehttps://paste.ubuntu.com/26043083/17:37
diogenes_and the other one?17:37
latitudeboth are in the same one17:37
diogenes_oh ok they are both here17:37
diogenes_are you sure the ls /boot is the entire output? because I don't see initrd.img-4.4.0-66-generi17:39
latitudeI will run again and check17:40
diogenes_ok17:40
latitudeI ran it twice more and there is not line like that17:41
diogenes_hmm strange ok now you have to run gksu namo /boot17:41
diogenes_or wait17:42
diogenes_I dn't know what is the file manager in mate17:42
diogenes_what is the file manager called?17:42
latitudenot sure let me check17:42
latitudecaja17:45
latitude??17:45
diogenes_ok17:45
diogenes_run: gksu caja /boot17:45
latitudethats what google said17:45
basilarchiaweird. ya, this shit should never happen17:46
basilarchiaapt should be smart enough to remove the old kernels17:46
diogenes_latitude, did you run?17:47
basilarchiadpkg -l |grep linux-image17:47
latitudeIts running now17:47
diogenes_basilarchia, is there an apt command that does this?17:47
basilarchiathen just remove some of your kernel packages17:47
basilarchiawell, it should be automatic in this case, but this is a weird case17:47
diogenes_yes but let not leave him remove anything on his own because he is a newbie17:48
basilarchiadid you specifically create a 500MB /boot partition for some reason or did the ubuntu-mate installer do that?17:48
latitudeI really can't remember17:48
diogenes_latitude, did my command opened the caja?17:49
latitudeI got a bunch or messages and warning17:50
latitudeyou want me to paste like before17:50
diogenes_no17:50
diogenes_press ctrl+c17:51
diogenes_and wait a bit I'm preparing a paste for you17:51
latitudeit stopped running already17:51
diogenes_latitude, meanwhile you run in terminal: sudo apt install gksu17:53
latitudei ran it somethings didn't install17:54
diogenes_why it didn't install?17:55
latitudeit said gksu is already the newest version17:55
diogenes_ok then wait I'm finishing the file for you17:55
latitudeok thank you17:55
diogenes_latitude, run: gksu caja17:57
diogenes_it should open the file manager17:57
diogenes_you gonna have to enter your password17:57
latitudeok its open17:58
diogenes_go to your /boot directory17:58
latitudeok there17:59
diogenes_latitude, open this link in your browser: http://paste.ubuntu.com/26043209/17:59
latitudeok18:00
latitudei have opened it18:01
diogenes_now extremely careful18:01
diogenes_remove ONLY the files listed in the given link18:01
diogenes_don't touch the files that end in -66 -57 and -9318:01
latitudecopy18:01
diogenes_remove the files in your /boot directory the files I've mentioned in the link18:02
diogenes_right click and remove18:02
diogenes_remember only the ones given in the link, double check before removing, otherwise you might end up with a broken system18:03
latitudeok I notice that -47 are removed from all except initrd.img-4.4.018:06
diogenes_ok now run: ls /boot18:07
diogenes_and share the link here18:07
latitudeok not finished yet lol18:07
diogenes_ok when you finish18:07
latitudeshould i remove initrd.img-4.4.0-47-generic??18:09
diogenes_is it listed there? in my link?18:10
latitudeno18:10
diogenes_ok remove it anyway18:10
latitudehttps://paste.ubuntu.com/26043326/18:11
latitudebrb I have to take the dogs out..lol18:12
diogenes_ok good now you can update18:12
diogenes_it should be ok18:12
latitudeok thank you18:17
latitudewhere those old kernals??18:18
latitudeHave a full /boot can someone help me free this up. I can't update18:31
alkisglatitude: dpkg -l '*linux*' | grep ^ii | nc termbin.com 999918:38
alkisglatitude: this will show you the packages. Copy the names of 2-3 that you want to remove, and type sudo dpkg --purge linux-blablaversiongoeshere18:40
alkisgdpkg will free up space, so then you can resume working with apt18:41
latitudealkisg I manually removed old kernels.. I think they where18:41
latitudewhat is the command again18:41
alkisg(08:38:31 μμ) alkisg: latitude: dpkg -l '*linux*' | grep ^ii | nc termbin.com 999918:41
latitudeok its running?18:43
alkisglatitude: paste the output here, e.g. termbin.com/qwer18:43
latitudedo I include the termbin.com 9999 at the end....Noting seams to be happening18:45
alkisgYou misstyped something. Anyway, just type dpkg -l '*linux*'18:45
alkisgAnd put the result to paste.ubuntu.com18:45
latitudediogenes_ still not enough free space18:46
diogenes_latitude, did u reboot?18:46
latitudeyeah18:46
latitudeWell I restarted18:47
diogenes_latitude, again: df -h18:48
latitudeHere is the result   https://paste.ubuntu.com/26043548/18:49
alkisglatitude: what about my command? dpkg -l '*linux*'18:49
latitudeI will paste the link18:50
latitudehttps://paste.ubuntu.com/26043563/18:51
alkisgThis is not the command I asked18:52
alkisgUse copy/paste18:53
latitudehttps://paste.ubuntu.com/26043571/18:53
latitudetry that18:53
alkisgYes, you have tens of linux packages there18:55
alkisgbb in 20'...18:55
latitudeok thank you18:56
diogenes_latitude, you didn't have to make a separate /boot partition18:56
latitudeit was my first install of ANY linux OS18:57
diogenes_let's see this first: sudo apt autoremove18:58
latitudeIs there a way to remove it with out reformatting the entire drive18:58
latitudegot an error18:59
diogenes_what error?19:00
latitudethe fallowing packages have unmet dependencies:19:00
diogenes_try: sudo apt autoremove -f19:01
alkisgapt doesn't work at this point19:01
alkisgdpkg is needed to force remove enough space from /boot first19:01
alkisglatitude: retry my previous command with the termbin19:01
diogenes_latitude, let's try this: sudo apt remove linux-image-4.4.0-21.3719:04
diogenes_see what you get19:04
latitudei ran the apt autoremove -f19:06
latitudethink it worked19:06
diogenes_did you notice what packages were removed?19:06
latitudewill I have to reboot to see the free space19:07
diogenes_no19:07
latitudeI ran df -h and /boot is still at 100%19:07
diogenes_did you run: sudo apt remove linux-image-4.4.0-2119:07
latitudenot yet i will now19:08
alkisglatitude: dpkg -l '*linux*' | nc termbin.com 999919:08
diogenes_alkisg, this is the output: https://paste.ubuntu.com/26043571/19:08
alkisgdiogenes_: this is cut19:08
alkisgIf you use termbin, it won't be cut19:08
diogenes_ok19:08
latitudethat wasn't installed noting to remove19:09
alkisgcopy/paste this: dpkg -l '*linux*' | nc termbin.com 999919:10
latitudeI did19:10
latitudeI get http://termbin.com/iq0519:10
alkisgnice19:11
alkisggo there19:11
latitudeo ther19:11
latitudethere19:11
latitudebrb19:11
alkisgnow use this command: sudo dpkg --purge linux-image-4.4.0-21-generic19:11
alkisgAnd use it again for all those packages, except for the 2 latest19:11
alkisgYou can see the package names from that url, http://termbin.com/iq0519:12
latitudeI get an error: dependency prevents removal19:14
diogenes_latitude, runningwhich command you get the error?19:15
latitudenow use this command: sudo dpkg --purge linux-image-4.4.0-21-generic19:16
diogenes_ok try adding -f at the end19:16
latitude-f gives an error: unknown force refuse19:20
diogenes_ok then try: sudo apt remove linux-image-4.4.0-21-generic -f19:21
latitudeThe fallowing packages have unmet dependency19:22
latitudeanother error19:23
diogenes_this: sudo apt remove linux-headers-4.4.0-28-generic -f19:23
latitudestill get error unmet dependencies19:24
alkisgsudo dpkg --purge --force-all linux-image-4.4.0-21-generic19:25
latitudelooks like that worked: @alkisg19:27
alkisgcontinue with all the other linux-images19:27
alkisgexceptfor the last 2 ones19:27
latitudedo I need to do that for all in that list19:27
diogenes_latitude, except the ones that end in -66 -9319:29
latitudeOk @diogenes19:29
latitudeI have on that is -10119:29
latitudewill that remove the headers and extra...too??19:30
diogenes_latitude, first remove these ones19:31
alkisglatitude: no, but you can remove headers later when apt works19:31
latitudeok19:31
alkisgYou can also include multiple names in one line19:31
alkisgdpkg --purge etc linux1 linu2 linux3...19:31
alkisgSo that you don't wait a lot19:31
latitudeok I will try that19:31
alkisglatitude: open another terminal, and type: uname -r19:33
alkisgThis is the name of the kernel that you're using now19:33
alkisgDon't remove that one19:33
latitudeI can remove ever other one except that one right?19:34
latitudewhat is the command to check what I purged19:39
latitudeit has freed up some space already19:40
latitudeHow do I use apt to remove the rest19:45
diogenes_sudo apt autoremove19:47
latitudeerror: unmet dependencies linux-image-extra...19:48
diogenes_try with -f at the end19:48
diogenes_ sudo apt autoremove -f19:48
latitudewhen I run that is says the images that I purged will be installed19:50
diogenes_lol copy/paste and share the link19:50
diogenes_before you take any further actions19:51
* diogenes_ will be back in a few minutes19:51
latitudehttps://paste.ubuntu.com/26043951/19:52
alkisglatitude: press "n", no there20:02
alkisgYou don't want to reinstall all those kernels20:02
alkisglatitude: 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-3820:04
alkisglatitude: in case irc cut it, here it is: http://paste.debian.net/plain/99757120:05
alkisgOnce that is finished, *then* run sudo apt install -f20:06
alkisgAutoremove will come later.20:06
latitudeok. working on it20:06
latitudeHere is what I get when I run sudo apt install -f  https://paste.ubuntu.com/26044095/20:09
alkisglatitude: say yes there20:11
alkisgWatch out for errors20:11
alkisgI'll be afk for 20', so here are the next steps:20:11
alkisg1) see no errors20:11
alkisg2) sudo apt-get update; sudo apt-get dist-upgrade20:12
alkisg3) reboot20:12
alkisg4) sudo apt-get purge --auto-remove ==> pastebin before saying yes there20:12
latitudeok its running20:12
latitudeI got errors :(20:14
diogenes_latitude, again? what errors share the link20:14
latitudehttps://paste.ubuntu.com/26044130/20:15
latitudeMan the is PAINFUL!!!!!20:15
latitudethis*20:16
diogenes_latitude, remeber it's your first time, everything is painful at the first time20:16
diogenes_absolutely everything20:16
latitudeI use linux a work but that most a file server and I use that to write c code for embedded systems20:18
diogenes_everything has a solution just be patient20:19
latitudeYeah I have to work on my patients...lol20:20
diogenes_did you run sudo apt autoremove -f20:22
latitudeYeah it asked me if I wanted to install the packages the I purged20:23
latitudeHEre is the output from that command   https://paste.ubuntu.com/26043951/20:24
diogenes_latitude, you still alive?20:30
latitudeyeah man20:31
latitudeI posted the link from the result20:31
diogenes_the result of sudo apt autoremove -f?20:31
latitudeyeah20:32
diogenes_post it one more time I got disconnected20:32
latitudehttps://paste.ubuntu.com/26043951/20:32
diogenes_I hope you didn't run yes20:33
latitudeI hit no20:33
diogenes_ok one more time run: dpkg -l '*linux*' | nc termbin.com 999920:33
latitudehttp://termbin.com/ezyj20:34
latitudeI 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 gained20:36
alkisglatitude: back. sorry, i misread your last pastebin, you shouldn't have pressed yes there20:37
diogenes_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-generic20:37
alkisglatitude: let's go again, use the previous command, http://paste.debian.net/plain/99757120:37
latitudehere is what I get https://paste.ubuntu.com/26044322/20:39
alkisg...followed by this one: http://paste.debian.net/plain/99757520:39
alkisglatitude: what was/is the name of uname -r?20:40
latitude-6620:41
alkisglatitude: df -h | nc termbin.com 999920:42
latitudeI;m removing the headers20:44
alkisgOK, although headers don't have anything in /boot20:45
latitudehttp://termbin.com/8bwe20:45
latitudethats from df -h20:45
alkisglatitude: ok. let's do the quicker method... do those, stop if you ever see errors:20:46
alkisgsudo -i20:46
alkisgcp -a /boot /var/tmp/boot20:46
alkisgumount /boot20:46
alkisgcp -a /var/tmp/boot/* /boot/20:47
alkisgapt install -f20:47
alkisgNote, don't reboot until everything is done, including some others I'll write later20:47
latitudeok20:48
latitudeHere is the output from apt install -f   https://paste.ubuntu.com/26044431/20:52
alkisglatitude: press y20:54
latitude40% done20:57
alkisglatitude: to explain: we'll use a temporary /boot to fix everything, which has no space issues, and then copy the result to the real /boot20:58
alkisgI.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 /boot20:59
latitudeI figured something like that was happening with cp command20:59
latitudehad some errors21:00
latitudeerros were encountered while processing linux-image-exrta-4.4.0-45-generic same for -47 -5721:01
latitudeits doen21:02
latitudedone21:02
latitudeWhat was the sudo -i command for??21:03
alkisgsudo -i gives you permanent sudo access21:04
latitudealkisg you still there??21:04
alkisgYou exit by typing "exit"21:04
alkisgSo we don't need to type sudo each time21:04
latitudeis that the same as sudo bash?21:04
alkisgsudo bash is bad actually, sudo -i is better21:04
alkisgPut the errors to pastebin21:04
latitudehttps://paste.ubuntu.com/26044505/21:05
alkisgThis doesn't help. Put more lines, the actual error is above that.21:06
alkisgIt's ok to copy 100 lines, it's not ok to copy 10 :)21:06
latitudelol ok21:07
latitudehttps://paste.ubuntu.com/26044529/21:08
latitudelooks like some where half installed and can't be configured21:08
alkisgtry 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-generic21:10
alkisgshow pastebin before pressing yes21:10
latitudehttps://paste.ubuntu.com/26044561/21:11
latitudeforget that one21:13
latitudehere is the one you want21:13
latitudehttps://paste.ubuntu.com/26044568/21:13
alkisglatitude: go for it, press y21:13
latitudedone21:14
latitudenow what21:14
alkisglatitude: try plain apt-get purge --auto-remove21:15
alkisgDoes it remove anything?21:15
latitudesaid 0 upgraded, 0newly installed, 0 to remove21:16
alkisgCool21:16
alkisgNow apt-get dist-upgrade21:16
alkisg(dist-upgrade means normal upgrade, not go to a newer ubuntu...)21:17
latitudeit will us 96.7 mb of additional space...continue21:17
latitudeuse*21:18
alkisgsure21:18
latitude30%21:19
latitude50%21:19
latitudeIs this happening because the old kernals are still on my system?21:20
alkisgWhich part is happenning?21:20
alkisgThe 101 kernel was never properly installed21:21
latitudethis whole this /boot being full21:21
alkisgThis is the one that you'll want to reboot into21:21
alkisgYes, it's because you never bothered to remove the old ones21:21
alkisgRun apt-get purge --auto-remove from time to time.21:21
alkisgAlso, it's not worth it to have a separate /boot...21:21
latitudegreat that was my next question21:22
latitudeyeah. Not sure why21:22
latitudeI did that21:22
latitudelooks like everything is getting unpacked21:23
alkisgI'm going to give you a script that properly purges old kernels21:23
latitudewow thats great man21:24
alkisgIt's in greek, don't get scared, you'll just press ok when prompted21:24
alkisgWe're using it in 1000+ schools here21:24
latitudecool I have written some scripts21:24
alkisgDid apt finish?21:25
latitudenot yet still unpacking21:25
alkisgOpen another terminal, and type:21:26
alkisgsudo wget https://git.launchpad.net/sch-scripts/plain/share/sch-scripts/purge-kernels?id=c92627515847e6a031b1f5a8361f36563e76ea02 -Ο /usr/local/bin/purge-kernels21:26
alkisgsudo chmod +x /usr/local/bin/purge-kernels21:26
alkisgAfter 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 do21:27
alkisg(it will prompt you and tell you which packages it will remove etc etc)21:27
latitudeok only some of that script is in greek some I can read21:29
alkisgYou can translate the 3 greek lines if you want21:29
alkisgI'll need to leave in a few minutes so let's finish quickly21:30
alkisgDid apt finish?21:30
latitudenot lol21:30
alkisgMeh :D21:30
alkisgWhat's the size of /boot now? du -sh /boot21:30
latitudecommand didnt work21:32
alkisgThat doesn't help, use copy/paste of messages :)21:32
alkisgdu -sh /boot21:32
alkisgThat should work without issues...21:33
latitudesorry i wasn't root21:33
latitude665m21:33
alkisgOuch, you'll need to run purge kernels before you copy it back :)21:35
alkisgWait until apt finishes of course21:35
alkisgThen run purge-kernels, put the result to pastebin before pressing yes, and ping me21:35
latitudedone!21:35
latitudehow do I ping?21:35
latitudei ran that command again now /root is 460M21:36
alkisgPing means to write my name, alkisg21:36
alkisgIt makes a sound in the other person's computer21:37
latitudegot it21:37
latitudeapt finished21:37
alkisgYou can use tab in irc to autocomplete names, e.g. lat<tab> => autocompletes latitude21:37
alkisgOK, run purge-kernels21:37
latitudethere was an error with apt21:38
alkisgUse pastebin again21:38
latitudehttps://paste.ubuntu.com/26044707/21:39
alkisgNo space left on device?! Which device, we don't have /boot mounted...21:40
alkisglatitude: actually, do you mind if I help with vnc to finish faster? It's almost midnight here...21:41
latitudeyeah sure21:41
alkisgsudo apt install x11vnc21:41
alkisgx11vnc -connect srv1-dide.ioa.sch.gr21:41
alkisgapt install might fail because of the other errors, but x11vnc should run anyway21:41
latitudeok21:42
alkisglatitude: I think you're good21:54
latitudewow man that was GREAT!!!21:54
alkisgIs grub installed in /dev/sda?21:54
alkisgI'd like to reinstall it just in case...21:54
latitudenot sure21:55
alkisgCan you reboot just to make sure,before I leave?21:56
latitudeyeah I will be right back21:56
alkisgIf it doesn't... you'd need a live cd or something21:56
alkisgI'm hoping it'll boot fine though :)21:56
latitudethink I have a usb stick with linux on it21:56
alkisgCool, go for reboot21:56
latitudeok I hope to be back soon21:56
latitudeYEAH alkisg22:00
alkisg:)22:01
latitudeit worked22:01
latitudethank you so much22:01
alkisgCool. Now you are with 101 kernel, run sudo purge-kernels once more to remove 6622:01
alkisgGood night all :)22:01
latitudeok thank you22:01
latitudealkisg, all purged from -66. you where a great help22:04
latitudeI added you as a friend22:04
adam5isaliveHey gents22:21

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