/srv/irclogs.ubuntu.com/2017/07/04/#ubuntu.txt

adrian_1908Hello. I have a strange problem with my Acer C720's wifi. It finds my router (strong signal), it gets notice if the entered PW is wrong, but with the right password it doesn't establish a connection. I used my smartphone to verify it isn't the router itself. Any idea what it could be?00:00
adrian_1908p.s. the router even appears to think the netbook is connected:00:00
adrian_1908idx MAC               Associated Authorized    RSSI PSM Tx rate Rx rate Connect Time00:01
adrian_1908    9C:D2:1E:85:61:71 Yes        Yes         -46dBm No     270M   43.3M 00:00:0500:01
adrian_1908(above connection drop after ~30 seconds or so)00:02
adrian_1908*drops00:02
SkyriderBashing-om00:05
SkyriderThe following NEW packages will be installed:   mysql-server-5.7 - when using autoremove00:06
Skyridernot what I want00:06
Bashing-omSkyrider: Yeah . Not what you want . hummmm .. take the package manager's advise ' sudo apt -f install ' ?? not sure how that will turn out either .00:07
zzo38How can I use version 4.8 of libstdc++6 on Precise?00:21
tomreynzzo38: dont use precise, it's end of life00:26
tomreyn!eol00:26
ubottuEnd-Of-Life is the time when security updates and support for an Ubuntu release stop, see https://wiki.ubuntu.com/Releases for more information. Looking to upgrade from an EOL release? See https://help.ubuntu.com/community/EOLUpgrades00:26
SkyriderI used -f Bashing-om00:26
SkyriderThat's what it making wanting to install it00:26
Skyridercan I 'clear' the cache?00:27
SkyriderI can't even undo it?00:30
[n0mad]Skyrider: have you tried what's recommended here, just not reinstalling at the end...https://askubuntu.com/questions/776845/uninstall-mysql-from-ubuntu-16-0400:31
Skyriderif I'd purge mysql, will it remove my mariadb.00:33
Skyriderwhereis mysql -> mysql: /usr/bin/mysql /etc/mysql /usr/share/mysql /usr/share/man/man1/mysql.1.gz00:33
zzo38I do not want to upgrade and mess up everything00:34
nacczzo38: you would rather be insecure and not get any updates?00:36
[n0mad]Skyrider: i couldn't tell you. the method in the OS would be to purge and then autoremove and autoclean, as is mentioned in multiple places on the web00:36
[n0mad]Skyrider: you could probably find the answer to your question in #maria00:37
zzo38nacc: I would rather avoid all upgrades and then selectively choose which packages I want to upgrade.00:38
VitruviaHi guys, how can I wrap a long string in my .bashrc?00:39
zzo38Vitruvia: I think you do by adding \ at the end?00:39
zzo38Also, I am running OEM version of Ubuntu, in case that matters.00:39
Vitruviazzo38 I tried that but it didn't work so well00:41
Vitruviamaybe I missed a detail00:41
VitruviaI mean I think it works fine for long lines but for strings I'm not so sure00:42
Seihavasb levelclear -levels JOINS,PARTS,QUITS00:43
Seihava>.<00:43
tomreynzzo38: you really need to upgrade. to keep running any OS which does not receive security updates means you just ask for the (nowadays suffciently hostile) internet to take over your computer and use it to attack others. this can also become quite expensive when someone abuses your computer to do things which are illegal in your area and you cannot proove that it wasn't you.00:44
oerheksEOL-OEM00:46
oerheks:-D00:46
zzo38I do have a router though, which specifies which incoming ports can be used. Also, I have various unusual configurations and want to be able to continue to use them.00:47
tomreynzzo38:  this is what backups, personal documentation and configuration management are for. sticking to an outdated, insecure system is not a solution, it is a problem.00:50
edwinkslthe longer you wait, the more painful the eventual upgrade will be00:57
tomreynzzo38: this is also why (most, i guess) people in this channel (and most likely elsewhere), as you have surely noticed by now ;) , are not going to support you with anything but upgrading (or reinstalling) your system so it gets security support. you are putting your personal data (and any other peoples' data you have stored on your computer or access from this computer) as well as the Internet at large at risk by trying to picture yourself in a00:58
tomreynsecure world where you'll be protected because you have some firewall in front of you. it won't help, not if you use any of those outdated softwares on your computer with anything on the Internet. Trying to ignore this situation is just irresponsive towards yourself and - worse - others.00:58
=== Wulf4 is now known as Wulf
=== coffeeguy is now known as zenguy
Kitlithin short, firewalls don't help with software that makes outbound connections. Only software updates do.01:46
zzo38I do at least know where I kept all of my files in three different directories (and all subdirectories), as well as a few additional configurations such as /etc/aliases and /etc/apache2/ and /etc/exim4/ but I also hexedited one of the .so files used by Firefox.01:46
zzo38Kitlith: That is true, yes.01:46
zzo38Actually even when I purchased this computer, it was not the newest version, and they mentioned to not upgrade it (possibly due to hardware issues).01:47
zzo38I cannot answer all of my question about upgrade anyways, too01:48
zzo38And I do not want Wayland; I want to use X01:49
KitlithWho did you buy it from, so that we can smack them in the face (or at least can point people away from them)?01:49
KitlithWhat reason do you have for specifically wanting X over wayland? Application breakage?01:50
zzo38X is a better system than Wayland01:51
KitlithAhh, so me with systemd. Understandable.01:51
zzo38(I also use xterm)01:51
KitlithThere is a compatibilty layer, so most if not all x applications should be able to run under wayland, iirc?01:52
Kitlith(https://wayland.freedesktop.org/xserver.html)01:52
zzo38Maybe, but, I still don't like Wayland so well, X is just a much better design (although a lot of worthless extensions have been added on)01:53
KitlithI don't have any comments on X vs Wayland, personally, but I will say this: Is it worth being insecure and staying on ubuntu to keep using X?01:54
KitlithAnyways, what are your other questions about the upgrade?01:56
zzo38I could even just install X and uninstall Wayland if I wanted to I suppose. I don't like much of the new widgets either; I think Xaw is good.01:56
zzo38Kitlith: Various stuff, about how to avoid changing software to incompatible versions, to avoid changing configuration files, etc.01:57
KitlithThat... will be on an application by application basis. Are you sure you don't want to run CentOS/RHEL?01:58
zzo38Yes I did think also of possibly selecting a different distribution, but then it involves other questions.01:59
zzo38I am not sure if CentOS will be better or not, actually01:59
zzo38Ubuntu is just what the computer came with.01:59
KitlithI only asked that because they seem to focus heavily on what your concerns seem to be.02:00
Kitlith(idk about X vs Wayland, I just mean stability and only upgrading what needs to be upgraded.)02:01
KitlithPoint is, I think it'd be better to upgrade in some way than to remain insecure. Whether it's to later ubuntu or another disctribution.02:03
zzo38I use X core fonts and do not like the newer blurry and overkerned fonts.02:03
KitlithI'm glad to assist in whatever way I can, just keep in mind that there is a point where we're off-topic for #ubuntu, and you may want to start PMing me.02:07
zzo38I actually do use all of the X stuff mentioned in the Wayland FAQ that they say is no good, and would rather avoid FreeType, Pango, etc.02:08
zzo38So I wanted a bit different one which I proposed which is just a new version of X, very close to X11, although some features are removed (mainly such things as the ability for clients to change configuration settings such as the font path and the access controls), and a few new stuff such as 3D coordinates and a modified system of visual classes and two new flags for the font loader (EnableLigatures and EnableAntialiasing, both off by default).02:11
=== KindTwo is now known as KindOne
=== r0Oter is now known as r00ter
xjkxI'm watching netflix and getting a black screen while I watch, because I guess the keyboard is quiet and it wants to save energy ? It's not a laptop02:20
xanguaxjkx: which browser?02:22
xjkxxangua: firefox02:22
xanguaOoh screen turning off02:23
xjkxYes02:23
striveSo, what's the best, lightweight, ubuntu-based distro?02:30
Kitlithstrive, Lubuntu is supposed to be light, since I like xfce I'd use xubuntu... oh, wait. The lightest of them all is going to be a minimal install of Ubuntu server. :P02:35
striveMakes sense.02:35
striveKitlith: Thank you.02:36
Kitlithother than lubuntu and ubuntu server, it really just comes down to personal preference.02:36
KitlithI'm sure there's better options, but those are what come to mind.02:37
striveSounds good.02:37
striveThanks again.02:37
spotterso my chromium isn't working for google maps (as normal user, as incognito it works fine).  I get 400 errors for many many many requests02:38
spotterany idea on how to debug this02:38
=== yanome is now known as yn
sirru5hHow are ya all doing tonight?02:43
hdon_hi all :) i'm trying to use ufw :\ here's my status numbered: http://ix.io/yfa -- but it seems like rule #8 is not taking effect. any ideas?02:47
hdon_actually, one strange thing about this is that i don't have a deny rule anywhere, so why would "ufw disable" suddenly allow packets through02:51
hdon_oh, i guess the "defaults" aren't listed in ufw... man ufw is confusing...02:52
hdon_so much for "uncomplicated"02:52
hdon_oh, i guess the packets aren't getting through just because tcpdump sees them02:54
hanasakiwhat is the origin of kernel mod asus_wifi?02:56
whatistime...I had a boyfriend named "ubuntu" once03:01
guzzlefryIs it possible to install a single package from 16.10 while I'm on 16.04?04:01
Bashing-om!backports | guzzlefry04:05
ubottuguzzlefry: If new updated Ubuntu packages are built for an application, then they may go into Ubuntu Backports. See https://help.ubuntu.com/community/UbuntuBackports - See also !packaging04:05
hanasakihow do I installed ubuntu on a windows box that has secure boot to end up w/ dual boot.  windows + linux?04:07
guzzlefryhanasaki: Someone might have a better answer, but I'd just run Ubuntu in a VM.04:08
hanasakiguzzlefry:  I may run win in a vm LOL.  just don't want to totally wipe win off the pc04:10
hanasakianyone know if the rt8152 can do gigabit?  looks only 10/100 to me04:10
Bashing-om!dualboot | hanasaki04:15
ubottuhanasaki: Dual boot instructions: x86/AMD64: https://help.ubuntu.com/community/DualBoot/Windows - Macs: https://help.ubuntu.com/community/MacBookPro https://help.ubuntu.com/community/YabootConfigurationForMacintoshPowerPCsDualBoot04:15
whatistimeHAPPY 4RTH OF JULY EVERYBODY!  AMERICA RULES!  FREEDOM RULES!  CHOLBY RULES!04:46
donofriothis is what I got when I ran "apt-get upgrade -y" https://apaste.info/oH6b on this 16.04 setup https://apaste.info/ugY4 how do I get past these errors?04:57
=== zenguy is now known as buildingAsentry
capellakill blueman? or dig thru here? https://journalxtra.com/linux/fixing-the-dreaded-errors-were-encountered-while-processing-errors/05:03
donofriono pid running05:04
capella"kill == uninstall05:04
donofriok05:05
donofrioit's not installed.....apt-get remove blue(tabcomplete didn't pull anything up)05:06
=== Jochen_wvdT is now known as Schlawiner
donofriothis didn't fix it - sudo apt-get upgrade --fix-missing I tried05:12
donofriowhere are downloaded pkg's go from apt-get guessing the blueman package is there and if I just remove it poof?05:14
whatistimehttps://www.youtube.com/watch?v=RG6EOci0suI05:14
en1gmarunning ubuntu amd64 16.04 desktop on laptop with i3-4005u cpu. no dedicated gpu. how can i tell if i have hardware accel enabled? i followed this guide. http://www.binarytides.com/linux-get-gpu-information/ but the comments at the bottom are basically saying that guide is no good no more05:17
capellaheh, Key & Peele are the best05:17
sirru5hdonofrio, looks like blueman didn't install05:18
sirru5hif you scroll to the bottom of about line 28505:18
sirru5hit's neither installed nor uninstalled05:18
sirru5hdid you try a sudo dpkg --configure -a05:19
capellarelated, but mildly offtopic, Kats Williams is the bomb05:21
Apachezany of you who have seen a ubuntu installation trying with TCP53 several times before giving up and try UDP53 for dns queries (even small ones) ?05:26
sirru5hhmmm Apachez if I remember correctly isn't DNS using UPD and if that fails it goes to TCP05:28
sirru5hokay did a quick google if the DNS query is large it uses TCP05:28
sirru5hhttps://serverfault.com/questions/404840/when-do-dns-queries-use-tcp-instead-of-udp05:29
Apachezsirru5h: yes, but now I have a ubuntu box (this happens when using java who is trying to verify codesigning) who is trying tcp53 several times before giving up and then try udp53 (and get a quick reply from the server)05:29
Apachezthis gives that this java app takes minutes to startup05:29
Apachezbecause the client cannot reach the dns server over tcp53 (out of my control)05:29
Apachezso either its something in ubuntu (systemd?) who is misbehaving or its the java who is misbehaving (dunno if java would query itself or if it would go through the system settings because ubuntu today points dns queries to itself so I guess both java and systemd is to blame - but question is how to fix this?)05:31
sirru5hhmm that's interesting05:32
Apachezcould it be some "force dnssec" setting somewhere?05:34
Apachezso systemd-resolver/java goes "lets try tcp" "lets try tcp" "lets try tcp" ... "lets try tcp" ... "oh fuck, tcp doesnt work lets try udp instead"  and gets an answer05:35
=== buildingAsentry is now known as zenguy
senapshi, when executing apt upgrade i get an error for dpkg https://paste.ubuntu.com/25016425/ anybody to help me?05:36
Phaneshello.  seem to be having some issues setting up encrypted volumes during ubuntu install.  i downloaded the desktop iso from the releases page (LTS).  Should I be using a text installer to get this?  Kinda need crypt-dm.05:37
Phanessince it wants to install from the live boot, which likes to mount things randomly, it appears there are some quirks.  i do not want a livecd.  i want to install.05:38
sirru5hApachez, hmmm that is weird because usually for larger packets tcp is used with dns small stuff its usually tcp05:41
sirru5hthat is true Apachez I was also thinking DNSSEC05:41
Apachezgiving the latest fuckups of systemd I wouldnt be surprised if systemd is to blame for this05:43
Phanesis there a "text mode" for the installer?05:44
Apachezseems like if some app queries 127.0.1.1 over tcp systemdresolver will use tcp outbound05:44
Apachezbut dunno how it behaves if something query systemdresolver over udp and its a large query or dnssec?05:44
c0mpub0mbtrying to use the newest ubuntu, no ports other than ssh are available, if I go to localhost via links, I see http server, if I try to port-forward, nothing works, is there any new special stuff in ubuntu-server 17.04?05:48
sirru5hI dunno Apachez usually it routes dns to the gateway05:48
Phanesha.  yeah it fails to mount / if it is encrypted even if you have encrypted swap and an unencrypted /boot05:49
Phanesin fact something is preventing any partition table updates from being read by the kernel05:49
sirru5hApachez, so this is a java app that needs to connect to a server remotely right like this isn't your app that your are hosting hence why it is pointing to your machine to resolve DNS?05:51
Phanesmic check05:52
Phanestesting if my client is sending messages05:52
Phanestest05:53
Apachezsirru5h: you have a clientbox, this clientbox runs ubuntu, the clientbox then tries to start a javaapp, this javaapp is codesigned so a couple of dns queries will be fired05:55
Apachezrunning tcpdump locally on this clientbox shows me that the clientbox attempts tcp53 for dns queries several times before giving up and then use udp5305:55
Phanestest05:56
Apachezreason for why tcp53 fails is that this is blocked elsewhere in the network out of my control05:56
Phanestest05:56
sirru5hso the java app double checks the signture making sure the application has integrity05:56
Apachezso question is why this ubuntu box tries tcp53 instead of udp53 ?05:56
Phanestest05:56
Apachezsirru5h: yeah you can see that the queries made (once it use udp53) goes to find out crl, ocsp etc for the CA who signed the cert which the javaapp is signed with05:57
Phanestest05:57
Apachezso turns out I have 3 prime suspects:  systemd-resolved, dnsmasq and java itself05:57
Phanestest05:57
Apachezso question is who to blame or rather where the fix might be05:58
Apachezand if somebody else in here have seen such behaviour?05:58
Phanestest05:58
ApachezPhanes: yes shutup now ;)05:58
PhanesTHANKS FOR ACKNOWLEDING05:59
sirru5hApachez, hmmm why not run tcpdump and see where the packets are failing at05:59
ApachezI did05:59
ApachezI see several tcp53 syn05:59
Phaneson to actually ubuntu related issues, anyone know how to get dm-crypt working on the desktop installer?05:59
Apachezwho fails because its blocked elsewhere in the network05:59
sirru5hhm hence how you know it's shooting to your machine for DNS05:59
Apachezperhaps 10 or so05:59
Apachezand THEN I see a udp5305:59
Apachezwhich gets a quick reply from the dns server05:59
Apachezand this repeats for every domainname java tries to resolve06:00
sirru5hwow thats odd06:00
Apachezwhich is why it takes 1-2 minutes to start this javaapp06:00
Phanessounds like a ##networking issue06:00
Apachezna, the network is fine06:00
Apachezit just blocks tcp5306:00
Apachezbut this shouldnt affect small queries as these are06:01
Apachezso the issue is ubuntu related06:01
sirru5hyou know just a crazy thought maybe company is blocking tcp dns to prevent xfil of data I wonder if through cli you can send a tcp packet on port 5306:01
Apachezbecause other operating systems sitting at the same spot of the network works06:01
sirru5hsee if that goes through06:01
Apachezbecause they will use udp53 directly and never ends up with this retries for tcp53 before giving up and THEN try udp5306:01
Apachezsirru5h: nope its blocked, verified with dig06:01
Phanes....no one's using encrypted volumes?06:02
Apachezso again why does ubuntu (or if its systemd-resolved, dnsmasq or java) attempt tcp53 when its supposed to do udp53 at first attempt?06:02
ApachezPhanes: sounds like a ##encryption issue06:02
sirru5hahhh hmm that is odd06:02
Phanesit is actually a bug in the official installer for ubuntu06:03
Apachezno shit :)06:03
Phanesif there is a better, more on-topic channel focusing specifically on ubuntu I can ask there but am not sure what channel that is06:03
Phanesyour issue looks like networking (firewall, et al)06:04
sirru5hthat would mean the java app they coded it to use a tcp socket ...06:04
sirru5hfor dns which is usually upd06:04
sirru5hthat'd be bonkers06:05
Phanesnow this is interesting: http://paste.silogroup.org/pimusebewi.md06:05
Phanesseems to be an MBR v. GPT thing06:05
Apachezhttps://github.com/cpriego/valet-linux/issues/7   dunno if this is related06:06
Apachezsirru5h: its not the javaapp itself who does the codesigning verify, its java itself who does this06:06
Apachezbut dns flows in ubuntu is a mess nowadays06:07
sirru5hYeah I understand that but it'd be bonkers that first thing they open sockets for DNS resolution is Tcp06:07
Apachezapplication -> resolv.conf -> dnsmasq -> systemd-resolved -> nic ->06:07
Apachezand when I run tcpdump it hooks on whats passing the nic06:07
Apachezyeah and I doubt java itself would query the external server06:08
Apachezbecause java can only see whats in resolv.conf06:08
sirru5hApachez, yeah I hear you I just came back to ubuntu a few months back06:08
Apachezand that says 127.0.1.106:08
Apachezwhich is dnsmaq06:08
Apachezhowever06:08
Apachezif java uses tcp to query dnsmasq then I would assume dnsmasq would just forward that as tcp06:08
sirru5hI flipflop between ubuntu/debian/slackware06:08
Apachezand if java uses udp to query dnsmasq I would assume dnsmasq would forward that as udp06:08
Apachezhowever...06:09
Apachezwhat if you query a large question through udp to dnsmasq06:09
Apachezwill dnsmasq transform that udp query into a tcp query?06:09
Apachezand if so is this what happens in this case even if the query is small?06:09
sirru5hI think over 4096 it uses tcp06:09
Apachezyeah and the queries are more like <100 bytes06:10
sirru5hremember that upd was meant for small queries06:10
Phanesok.  so the installer is not rereading the partition tables after changing them06:10
Apachezso the output from tcpdump is that I see multiple (one after another) syn requests go out for tcp5306:10
Apachezand after like 10 or so attempts I see a udp53 attempt (who directly succeeds and answer is returned from server)06:11
Apachezcan I tcpdump a specific pid?06:11
Apachezlike hooking onto whatever network traffic java is attempting?06:12
Apachezto rule out if its java who is trying these tcp queries before giving up and give udp a go?06:12
swenssonI got a .sh script in my /home/myusername/script/myfilename.sh ... how do I make that accessable from anywhere? ln -s ~/ /home/myusername/script/myfilename.sh or something?06:12
sirru5hmmmm06:13
sirru5hhang on that might be an options06:13
Apachez"After some digging it turned out to be an issue with DNSSEC. The current version of systemd-resolve seems to expect a working DNSSEC config of your DNS servers. Not signed replies are rejected. Had to add DNSSEC=off to resolved.conf"06:14
Apachezlooks like another suspect06:14
Apachezhowever regular queries (like when the browser tries to resolve something) seems to work06:14
sirru5hdoes the java application use a special port06:15
sirru5hyou can always filter for a special port06:15
sirru5hApachez, https://stackoverflow.com/questions/7842533/how-can-i-capture-network-packets-per-pid06:16
Apachezwell it should use dstport 53 :P06:16
Apacheztnx, will try that when I get access to the client06:18
Apachezwill also try that disabling dnssec in systemdresolved to verify if that somehow misbehaves06:18
sirru5hCool Apachez  let me know how that goes06:20
sirru5hand good luck Apachez06:20
Apacheztnx :)06:20
sirru5hNp sorry I wasn't more help06:24
Apachezseems like systemd-resolved was compiled with dnssec=no06:53
sirru5hha Apachez interesting06:56
sirru5hwell that would eliminate dnssec as an issue06:56
emxis there a tool that lets me define from which level up to which level my laptop battery shall be charged?07:13
sirru5hhmm emx laptop batteries and phone batteries are not the same as say a flashlight battery07:17
sirru5hif they are constantly not charged to full they bascially forget how much charge they are supposed to hold and battery performance will degrade07:18
yellabs-r2hello all07:19
sirru5hHello yellabs-r207:20
yellabs-r2i am using skype beta on ubuntu , it alway's asks for password with keyring manager, is there a way to avoid that ?07:20
emxsirru5h, which type of batteries are you talking about? NiMH, LiPo, others?07:20
wedgieemx: i don't have an answer but am curious what the purpose of such anthing would be07:21
sirru5hemx, iirc ion07:22
emxwedgie, expand battery lifetime (not "how much work can i do with one charge" but "how many times can i charge the battery and still can work for more then 4 hours with one charge")07:22
ApachezI fail to locate - from where is dnsmasq started in ubuntu 16.10?07:28
sirru5hisn't it in /etc/dnsmasq.d07:30
sirru5hdouble checking07:30
Apacheznope07:41
Apachezthere is only network-manager file07:41
Apachezperhaps thats the config?07:41
sirru5hhttp://manpages.ubuntu.com/manpages/zesty/man8/dnsmasq.8.html07:46
sirru5hsorry Apachez working on reports for work man07:46
Apachezyes but who is starting it?07:51
Apachezno entry in /etc/init.d07:51
nerfurhello, I installed ubuntu 17.04 and evolution, added my dns server to /etc/resolv.conf & network manager connection, host can resolve, but evolution can't resolve07:56
ph88hey guys, i'm trying to update my system all packages installed succesfully, but with the linux-* packages it says i'm out of disk space https://bpaste.net/show/266e31392a08  but when i check Computer properties i says i still have 6 GB left .. what could be wrong here ?07:56
nerfuranybdy knows there evolution takes it's dns settings?07:56
nerfurph88, show "df -h" command output from terminal07:57
ph88ok07:57
ph88i did  sudo apt autoremove   also it cleaned out 2 GB07:57
ChaiTRexph88: It uses a different partiion for kernels and things it uses to boot.07:58
ChaiTRexph88: See https://askubuntu.com/questions/2793/how-do-i-remove-old-kernel-versions-to-clean-up-the-boot-menu07:58
ph88ok thx guys08:00
sirru5hApachez, I think systemd08:01
sirru5hApachez, I'm looking at the github page right now ...08:03
thoftehi everyone, my "file" command only ever gives the error message "file: could not find any valid magic files!". man pages says magic.mgc file is in anaconda folder: anaconda3/share/misc/magic.mgc. anyone have any suggestions?08:07
sirru5hhttps://help.ubuntu.com/community/Dnsmasq08:08
OlofLi use tmux with set -g mouse on.. if I copy text with shift it is only available to paste with shift+ins.. how do I make it copyable outside of the terminal?08:09
nerfursirru5h, is it for me?08:10
cymenI guess this question must pop up a lot but I just rebooted and the system tray icons are gone. How do I fix that?08:12
=== jstein_ is now known as jstein
ChaiTRexthofte: What does `file /bin/sh` say?08:14
mrigHi, I asked in here yesterday about a patch for intel skylake processor.08:14
thoftehi chai, thanks for the response. it gives the same error message08:14
mrigJust wanted to mention that the patch was in the apt-get repo for the distro as installed, applied now and appears to be fine.08:15
thofteit always just says "file: could not find any valid magic files!" no matter what file I apply it on08:15
sirru5hnerfur, no that was for Apachez08:15
ChaiTRexthofte: What does `which file` say?08:16
Apachezsirru5h: unfortunately that seems like outdated info08:16
Apachezthere is no /etc/dnsmasq.conf as a starter08:16
sirru5hnerfur, I scrolled up oh man another DNS with issues08:16
sirru5houch...08:16
thofteanaconda3/bin/file, it uses the anaconda distro08:16
thoftewell ~/anaconda3/bin/file08:17
ChaiTRexthofte: You might get better help in #python or something like that.08:19
ChaiTRexthofte: Assuming that Anaconda is the Python distribution.08:19
thofteaye it is08:20
sirru5hApachez, https://askubuntu.com/questions/842380/dnsmasq-why-is-this-running ... Network-Manager uses it to cache DNS Locally and Network-Manager is called upon by systemd08:20
thofteit seems weird to me that a core linux command like file would use a version that comes with anaconda, but I suppose it has to do with the python magic libs I use08:21
thofteanyway, thanks for the advice, I will try08:22
ChaiTRexthofte: The user's home directory can contain a bin directory. If it does, the files in it are used before the system files.08:22
ChaiTRexthofte: If you want to prevent that, move the distribution to some subdirectory of the user's home directory instead. Then, its bin directory won't be ~/bin..08:23
thofteah right. but it's not ~/bin though, it's ~/anaconda3/bin08:23
ChaiTRexthofte: Ahh, misread what you wrote. I think the ~/anaconda3/bin must be in your PATH ahead of the system bin directories.08:24
thofteyes, it's in first spot08:25
ChaiTRexthofte: You can try moving it to the end instead.08:26
mrigThat said, I now see that all the search engines have disappeared from firefox, that is strange.08:27
nerfurcan anybody give me default ubuntu 17.04 string for "hosts" in nsswitch ?08:27
ChaiTRexnerfur: Do you mean /etc/hosts?08:28
nerfurI mean hosts: .... in /etc/nsswitch.conf08:29
ChaiTRexnerfur: Here's my untouched since installation file: http://lpaste.net/35666508:31
=== jackNemrod_ is now known as jackNemrod
thofteChaiTRex: I moved anaconda3/bin to the end of PATH, but ofcourse that changes the python version being used, so my scripts no longer works, but file works as expected now :D08:35
thofteso your first suggestion was probably right, I'll head on over to #python to see if anyone can help08:36
thoftebut thank you, though08:36
Guest96217hi, anyone know the cause of this error in the auth log: pam_ftp(ftp:auth): conversation failed08:36
ChaiTRexthofte: You're welcome.08:38
=== jackNemrod_ is now known as jackNemrod
SkyriderGreetings all.08:42
SkyriderWas hoping I could get some help from yesterday, I went to bed ^_^08:42
Skyrider"I accidently attempted to install mysql-server and got " mysql-server : Depends: mysql-server-5.7 but it is not installed" .. how can I undo it?" - if I attempt to do sudo apt-get -f autoremove, it 'attempts' to install mysql-server.5.7, and removing the package says its not installed.08:43
nerfurChaiTRex: thanks08:45
cymenoh, I had accidentally switched to gnome or something08:46
theoceaniscoolSkyrider, sudo dpkg --purge mysql-server, and then sudo apt-get install -f08:47
ChaiTRexnerfur: You're welcome.08:54
=== jackNemrod_ is now known as jackNemrod
Apachez" It's from dnsmasq-base. This version of the package doesn't include the server-start-up scripts that the dnsmasq package does."09:16
Apachezbah!09:16
Apachezit was better back in the days without this systemd and networkmanager mumbojumbo09:16
bartocchi all09:20
bartoccI need help with a live usb that I'd like to be persistant09:20
bartoccI've created it on a Mac with unetbootin09:20
bartoccthe capser-rw file is present on the usb09:20
bartoccI boot under ubuntu, change the screen resolution, then reboot09:21
bartoccbut the screen resolution is not saved09:21
bartoccany idea on what I am doing wrong ?09:21
ZN_thi all. I am looking to migrate to ubuntu from windows and was wondering if there's anyone here who has done something similar. My work does involve use of MS office quite often so i will need something that can perform similar tasks whilst enabling me to seamlessly work with files created on ms office by other users09:41
ZN_tthanks in advance09:41
Ben64ZN_t: libreoffice, or the web versions of office online, or google docs09:44
akikZN_t: for office compatibility you could try playonlinux which uses wine. libreoffice is good but not 100%09:45
Skyridersudo dpkg --purge mysql-server, and then sudo apt-get install -f completely wiped my mariadb..09:49
ApachezZN_t: I use libreoffice just fine09:49
SkyriderWhy is it so hard to UNDO a stupid apt-get install09:49
Apachezyou can add microsoft icons if needed09:49
Apachezotherwise you got wps which is like a ripoff of office201309:49
SkyriderUgh...09:50
SkyriderSometimes I hate linux for being so damn complicated.09:50
SkyriderI merely 'wanted' to undo the mysql-server installation as mariadb was already installed.. mysql-server wasn't installed yet due to dependencies. But it kept whining after every apt-get command I do.09:51
SkyriderYet for odd reasons, you can't undo that.09:51
Ben641. backups09:53
SkyriderOh, I made backups as I didn't trust this..09:53
SkyriderDoesn't change the fact that you can't undo a simple apt-get command09:53
Ben64sure you can09:53
mrigAny ideas why the intel-microcode patch might disrupt my firefox sync?09:53
SkyriderDo tell09:53
Ben64depends on the command09:53
Skyriderapt-get install mysql-server while mariadb was already installed.09:54
SkyriderBut due to "dependencies" it never installed.09:54
Viltieshttps://chaturbate.com/b/viltiesvance/09:54
Viltiesfree webcam show :)09:55
Viltiesmale based09:55
Viltiesfree09:55
Viltiesenjoy09:55
Ben64Vilties: no. stop09:55
Viltiestoo late09:55
Viltiesits done!09:55
SkyriderWhich is good, actually.. but after every apt-get install command (non mysql related), it kept 'attempting' to install mysql-server.09:55
cfhowlettVilties, and now that you have been silenced --- please take your pervy porn spam crap out of here.  unwelcome and off-topic09:56
ZN_tthats one thing that i can't understand. linux does most things better than windows except have a better office suite.09:56
Ben64ZN_t: that's not true09:57
cfhowlettZN_t, many *nix suites are "better" --- they're just not widely used.  Plus, MSoft introduces features with each release which may/may not be back hacked thus leading to compatibility issues09:58
ZN_tok.09:59
ZN_ti guess its the compatibility issue then. integrating into a corporate environment that widely uses msoffice. is anyone here using the office online offerings ?10:00
Ben64that's not really on topic here, but i'm sure microsoft's online stuff is compatible with the desktop stuff10:01
ZN_tBen64 - apologies for that10:01
Ben64no worries10:02
ZN_tregarding security - how vulnerable is ubuntu to ransomware attacks ? is it more easily secured without compromising ease of use i.e. web acccess etc.10:04
cfhowlettZN_t, less of a fat target than windows so less frequent attacks.  I've found that enabling firewall, setting my browser to default incognito mode and only using a low standard desktop account for daily driving has resulted in 0 breaches over the past 5 years10:06
cfhowlettYMMV10:06
Ben64don't install stuff from random places, don't run things you don't know what they do, don't have java enabled on your browser and you should be fine10:07
Ben64oh, and if you have ssh enabled, keep it to key auth only10:07
ZN_tok10:08
ZN_tthats promising. im contemplating a dual boot.10:08
ZN_twith totally seperate drives for each os.10:08
cfhowlettmany of use dual boot in one form or another.  personally, as I only ever fire up win7 once or twice a year, it lives happily within ubuntu + vbox10:10
ZN_thows the resource usage in vbox ? besides office i might need to run visual studio which is a resource hog. Is gaming advisable in vbox ?10:11
cfhowlettZN_t, limiting factors = amount of ram supplied to the virtual machine.  also consider that virtual graphics is nowhere near as spiffy as actual gpu10:12
edwardiiihey guys i feel a bit like i have millions of iptables saved configs dotted around heh. /etc/iptables.rules, /etc/network/iptables.rules, /etc/iptables/ipv4.rules, etc10:15
edwardiiiwhat's the story? do they get merged together or something?10:15
edwardiiii see no firewall rules in /etc/interfaces, but the machine does have iptables-persistent installed10:18
edwardiiier /etc/network/interfaces sorry10:20
mrigThere is an issue in my application of this patch; Is anyone interested?10:28
mrigI guess there is some channel for filing bug repports?10:28
cfhowlett!bug | mrig10:28
ubottumrig: If you find a bug in Ubuntu or any of its derivatives, please report it using the command « ubuntu-bug <package> » - See https://help.ubuntu.com/community/ReportingBugs for other ways to report bugs.10:28
mrigubottu: Thanks.10:29
ubottuYou're welcome! But keep in mind I'm just a bot ;-)10:29
mrigubottu: Well you are more polite than many humans on irc :P10:29
ubottumrig: I am only a bot, please don't think I'm intelligent :)10:29
mriglol10:30
=== jackNemrod_ is now known as jackNemrod
BluesKajHey folks10:45
ZN_tslightly off topic but is there anyone from south africa here or is there a seperate ZA ubuntu channel ?10:54
EriC^^!africa10:55
cfhowlettZN_t, irc channels can be searched for language but I believe geo location is out10:56
strsccgmshi, has anyone seen this error in "pam_ftp(ftp:auth): conversation failed" in auth.log? filling up the logs10:56
karab44hi11:15
mistralolI have this problem on 17.04. Some icons won't appear in system tray eg slack. So when I added export XDG_CURRENT_DESKTOP=Unityto /etc/enviroment then half the control panel icons disappear. How to fix this without breaking the other?11:27
ioriamistralol, http://www.dangtrinh.com/2017/04/fix-slacks-icon-tray-missing-in-ubuntu.html11:31
mistralolioria: yeah wanted a fix for all apps for trays not one at a time ;)11:32
ioriamistralol, oops11:32
mistraloli guess i can do the same for each app11:32
ioriamaybe11:32
mistralolbut how do you know the app actually appears in the tray in the first place when you have never used it before :)11:33
=== jackNemrod_ is now known as jackNemrod
ioriamistralol, you don't edit the /etc/env , just the /usr/shate/app . desktop file11:35
donofriosirru5h, I tried here is what i got....https://apaste.info/THAb11:53
donofriothis is what I got when I ran "apt-get upgrade -y" https://apaste.info/oH6b on this 16.04 setup https://apaste.info/ugY4 how do I get past these errors?11:53
donofrioanyone know how I can get around this pkg error?11:57
=== dmitris is now known as kirsikas
=== KindTwo is now known as KindOne
laceylaneyRecently switched from xfce to openbox. Looking at uninstalling xfce completly. Can anyone here tell me how I can completly remove xfce but then after reinstall all the default ubuntu settings panel ??12:09
laceylaneyInstall was done through netinstall .iso and would like to use only openbox but still have access to regular ubuntu settings menu.12:10
cfhowlettlaceylaney, the xfce panel and ubuntu (unity) panel are 2 different things.12:10
oerheksadding a desktop is no problem, removing one can be a pain. there is no guide anymore like !puregnome or !purekde, i suggest clean reinstall12:10
laceylaneyI know they are lol12:10
laceylaneyOk so if I do a clean install what do I need to install to have access to ubuntu settings ??12:11
oerheks'ubuntu settings' or openbox??12:11
oerhekswhy mixing those 2, unlogical12:12
cfhowlettillogical?12:12
laceylaneyI want to use openbox so won't be installing a desktop. Yes ubuntu setting.... You know like the window that gives you access to install drivers, appearance etc etc12:12
oerhekslaceylaney, if you want that tool, keep xfce12:13
cfhowlettno desktop?  so ... a server environment??12:13
oerheks(it is not an independant package)12:13
laceylaneyNope no desktop as such, just openbox.12:13
laceylaneynot even a server just like openbox ^^*12:13
laceylaneyhttps:/i.stack.imgur.com/PsryW.png12:16
laceylaneyThat link shows the system settings that I would want to install and access through openbox...12:17
oerheksThat systemsettings comes with the whole core of xfce .. so make your choise, keep xfce+settings or go for openbox clean12:18
laceylaneyso there is no way to just install the system settings on their own ??12:19
iorialaceylaney, you can try  unity-control-center  or gnome-control-center , but it gets a lot of deps12:19
oerheksthat is what i just explained, ioria12:20
ioriaoky12:20
laceylaneyhmmm I see. I may have a look into it. thanks for the heads up though ^^*12:20
laceylaneyI'm aiming for a really mimimal system so I may not install either lol.12:21
oerhekscleaning out a desktop will be easy in the future, if all packages are snap12:22
laceylaneyyea that is true ^^*12:22
cfhowlett!lubuntu | laceylaney12:22
ubottulaceylaney: lubuntu is Ubuntu with LXDE instead of !GNOME as desktop environment, which makes it extremely lightweight. See https://wiki.ubuntu.com/Lubuntu - /join #lubuntu for lubuntu support.12:22
laceylaneyAhhh yea lubuntu.... That completly skipped my mind lol. Thanks soooooooo much ^^*12:23
saryor xubuntu for that matter , and setup openbox.12:23
iorialaceylaney, lubuntu will give you openbox, btw , it's its wm12:23
laceylaneyxubuntu with openbox is almost what I have now lol.12:23
laceylaneyYes I have used lubuntu before.12:23
laceylaneyDon't know why I didn't think to give it a try lol12:24
laceylaneyAnyway thank you all for the help and heads up. I'm off to install lubuntu on this system ^^*12:24
laceylaney12:24
iorialaceylaney, i suggest tint2  with ob12:24
laceylaneytint2 is what I'm currently using ^^*12:25
ioriaoky12:25
laceylaneycouldn't get yabar or some of the other bars to work properly lol12:25
=== ledeni_ is now known as ledeni
PhysicsSucksHi guys, a server is running Ubuntu and on port 3000 there's an angular app. Where are the files related to the app stored on the server? Using ls -A I could see that there are only some hidden directories on the server13:02
guysoft42hey, er any help with this?: cups-browsed: Segmentation fault (core dumped)13:03
tomreynguysoft42: provide more information: package version, ubuntu release version, are you fully patched?13:04
guysoft42tomreyn, ubuntu 17.04. cups 2.2.2. its from the package repository. also tried apt-get source and building, same result13:05
tomreynPhysicsSucks: i'm not into angularjs, but i think content is served by npm? you would review the configuration of whatever is listening on this port 3000 (to find out: lsof -i :3000) and see where it serves it from.13:05
tim167when I create a zip file, it adds a folder in the zip file called "home" containing the directory structure to the files in the zip, how can I prevent this?13:08
tomreynguysoft42: "2.2.2" is not the version of the cups-browsed package (which contains the cups-browsed binary). however, it's true that the other cups package versions also matter. use: dpkg -l cups-browsed cups-daemon cups13:08
tomreyntim167: how do you create the zip file?13:09
tim167tomreyn, right-click on a selection of files and choose "create archive" in menu (Thunar, I think)13:10
tim167yes the file manager is Thunar13:10
PhysicsSuckstomreyn: I got a message "Unknown protocol name 3000"13:11
tomreyntim167: can you show an example with a screenshot? you could upload it to imgur.com13:11
tomreynPhysicsSucks: you missed the :13:12
tomreyn"lsof -i :3000" would be correct, "lsof -i 3000" (which i assume you typed) is not.13:13
tim167tomreyn, http://imgur.com/YDKSBHI13:14
tomreyntim167: and the 'home' directory inside the zip contains what?13:15
PhysicsSuckstomreyn: thanks13:16
tim167tomreyn, the directory structure leading to the files you see below, which in this case is /home/me/Desktop/test.zip13:17
tomreynhmm, are you running file-roller (the archiving utility) as root there? that's maybe not a good idea. i would recommend to resort to the comand line for this purpose.13:17
tomreyntim167: which ubuntu release is this? lsb_release -ds13:18
tim167tomreyn, not as root afaik13:18
tim167tomreyn, Ubuntu 14.04.5 LTS13:18
tomreynokay i just misinterpreted the 'location' sown on your screenshot.13:19
tomreyn*shown13:19
Scoop7I thought this feature is exclusive to windows   <---  http://imgur.com/a/0Wf6Z13:20
Scoop7was*13:20
tomreynhmm, i'm afraid i really don't know then, tim167, i also use thunar and file roller and i used to use it on 14.04 for a good while, but never had this happen.13:20
tim167tomreyn, hmm, thanks anyway, it just started happening recently, never had that before13:20
tomreyntim167: you could try running thunar from a temrinal, this would enable to view its output there, which can contain error messages.13:20
nzoueidiScoop7: Compiz? lol13:20
kailiHello. I'm trying to ssh to an ubuntu livecd. ssh was installed on the server, a password for user "ubuntu" was set, but when I try to login on ssh server using username ubuntu and password, I get "Access denied"13:21
kailiubuntu is the default username for 16.04 livecd right ?13:21
Scoop7nzoueidi: nah my ubuntu 16.04  just stopped working13:21
nzoueidiyep kaili, an ssh -vvv would give you much better details.13:21
Scoop7in windows style13:22
nzoueidiWeird.13:22
tomreynkaili: check /var/log/auth.log on the ssh server13:22
Scoop7to be fair that only happened to my second screen, the main laptop screen stayed the same(but unresponsive as well)13:23
nzoueidiI see, what DE are you using Scoop7 ?13:24
Scoop7by DE you mean ?13:25
strsccgmshi, seeing this in auth.log: pam_ftp(ftp:auth): conversation failed. Anybody know the cause?13:26
Scoop7need to restart my ubuntu because the problem won't go away, lol13:27
tim167tomreyn, I get no output from simply running thunar from terminal, it gives me back the prompt, promptly...13:30
tomreyntim167: you'd need to find out which command tuhnar runs when you create the zip file using context menu. it will be something including "file-roller" once you know this command, you could run it from a temrinal and see whether errors are reported.13:31
tomreyntim167: it should be something similar to: file-roller --default-dir=/home/tim167/Desktop --add /home/tim167/Desktop/Some_Folder_on_Yopur_Desktop13:36
tomreyntim167: run "ps auxw | grep file-roller" after selecting the command from the context menu (which brings up the prompt about how to archive it) to see the very command.13:38
kailiI got in, thanks you13:38
kailiCan anyone paste me the default ubuntu 16.04.2 /etc/rsyncd.conf please ?13:39
tomreynkaili: which package does this beloig to?13:42
tomreynhttps://packages.ubuntu.com/xenial/amd64/rsync/filelist does not list rsyncd13:42
kailihm tomreyn : the fact is I tweaked some stuffs in rsync and it crashed my full server, lost all ssh access, samba access, etc13:43
kailiNow I'm on my server running a livecd and I access the hard drive through the livecd13:43
kailiSo I'm checking my bash history to see what might be wrong13:43
kailiThanks for the link, checking other files I have edited13:44
kailiI also edited /etc/default/rsync it seems13:44
tomreynkaili: so, your sevrer is now running the ubuntu 16.04 x86_54 live dvd, and you ssh into it from a different computer, is this correct?13:44
kailitomreyn: yes, even from another country through a mobile on a 4g connection :p13:45
tomreyn* x86_6413:45
tomreyni see. hopefully you weren't running samba on the internet?13:46
kailiI didn't do much but 3 things might be wrong : I edited /etc/default/rsync, created /etc/rsyncd then rm it just before reboot and I also sudo apt-get upgrade before reboot13:46
kailitomreyn: no it was on the local network13:46
tomreynso 'some stuffs [you] tweaked' may have somehow caused your server to fail somehow. you might want to review its system logs to get a better idea of what happened.13:48
kailitomreyn: I'm on it, any idea where to start ? It seems ubuntu from hard disk even lost control of usb keyboard and mouse according to people in the place13:49
kailiI can't remember what was upgraded, but I remember it was just a few packages, some related to sound system... nothing so terrible13:49
tomreyni'd start with /var/log/syslog - checking records at the time the server went down (and before)13:49
tomreynthis may be in /var/log/syslog.1 or /var/log/syslog.*.gz now13:50
tomreynthe time when packages were installed can be seen in /var/log/apt/term.log*, login / logout /reboot are logged to /var/log/auth.log*13:52
kailiI'm on it July 2, when it crashed in the afternoon13:52
kailiThere is nothing13:52
kailiJust regular messages about cron, cups and stuffs13:53
tomreynwhich means it was either a hardware fault, or one which caused a reboot so quickly that nothing got logged to disk, that's usually a hardware issue, too.13:53
kailiIf it was hardware, wouldn't the livecd be affect as well ?13:54
=== juboxi is now known as jubo2
kailiI'm going to run a fsck13:54
kailiIt's running from memory, only thing not in use is hard drive13:54
tomreynkaili: if it was hardware, it could happen with the live dvd as well, yes. take the harddware guess with a grain of salt, though, it's still a wild guess.13:55
kailiI got something I think13:56
kailithe syslog file is borked, at the end I have dozen of lines of ^@^@^@13:57
codecuttersystemctl list-unit-files | grep tomcat13:58
codecuttertomcat.service                             bad13:58
codecutterhelp!13:58
codecutteranyone?13:59
tomreynkaili: that's usually the result of kernel memory corruption becoming unstable (which would expain the crash). it could also be the result of file system corruption (which could and could not be caused by phsical disk issues)14:00
tomreyn!ask | codecutter14:01
ubottucodecutter: Please don't ask to ask a question, simply ask the question (all on ONE line and in the channel, so that others can read and follow it easily). If anyone knows the answer they will most likely reply. :-) See also !patience14:01
kailiI don't think the sudo apt-get upgrade had a new kernel in it, anywhere I can check what was upgraded ?14:01
codecutterif i do 'systemctl list-unit-files | grep tomcat'14:01
codecutteri get back 'tomcat.service                             bad'14:01
kailiFound it in the logs14:01
kaililibpulsedsp and pulseaudio stuffs14:02
codecutterwhat does that mean and how do i fix it?14:02
codecutterbecuase tomcat is not starting up14:02
tomreynkaili: did you not say this was a server?14:02
kailitomreyn: yes it is14:03
kailiBut running the desktop version of  ubuntu, not the server one14:03
codecutterit's only tomcat that seems to be down14:04
codecutter  Process: 11046 ExecStart=/usr/share/neo4j/bin/neo4j console (code=exited, status=1/FAILURE)14:04
=== RAX is now known as rax-
tomreyncodecutter: review tomcat logs then, also syslog14:07
codecutterit seems to be stuck https://pastebin.com/5Adzh48z14:08
codecutterat line 1114:08
codecuttersyslog14:09
codecutterNo command 'syslog' found, did you mean:14:09
jinkcodecutter: /var/log/syslog14:10
tomreyni mean /var/log/syslog*14:10
kailifilesystem seems clean :/14:10
codecutteroh14:10
tomreynkaili: you could run long or short S.M.A.R.T. self-tests14:11
codecutterhttps://pastebin.com/gv6jny2k14:12
kailiWith smartmontools ? Let me see...14:12
tomreynkaili: if this is actual server hardware it may also have provide a hardware health log14:13
tomreyn-have14:13
tomreyncodecutter: so line 2 clearly states what the issue is14:14
codecuttergo on...14:14
codecutteri don't recall touching that file14:14
tomreynyou or someone else edited /etc/systemd/system/tomcat.service and placed an incorrect configuration directive in line 114:15
codecutteris that even a file?14:15
tomreynusually it would be, yes14:15
codecutterhmm14:15
kailiRunning the full test now14:15
kaili# 1  Extended offline    Completed without error       00%       126         -14:16
kaili:/14:16
kaili126 is lifetime14:17
kailiThe hardware is brand new, bought it like 7 months ago14:17
codecuttertomreyn: life saver!14:17
codecutter:)14:17
codecutteryou are an able man, i must say :)14:18
tomreyncodecutter: ;)14:18
codecutteri need a list of all enabled services14:18
tomreynkaili: 126 is most likely a while ago, it was probably when the disk was first installed in this (or a different) server.14:19
kailitomreyn: ok at some point when I sudo reboot now, something went wrong. All the log files are borked with ^@ on july 2 after 13:4014:21
kailiNow my question is more : why when the server got rebooted (several times) nothing was logged14:21
kailiPeople in the place got to the login screen so the boot-up is working14:22
tomreynkaili: maybe "dmesg -T" knows14:22
tomreynthis command queries the kernel ring buffer. you may want to pipe its output into 'less' or 'more'14:23
kailiBut this will tell me about the livecd boot-up, right ?14:23
kailithe dmesg log on hard disk about server booting up from hard disk is empty "(Nothing has been logged yet)"14:24
tomreynkaili: i.e. this is an in-memory log which allows you to view past events (since last reboot only) even if the system is unable to log to disk.14:24
tomreyndmesg on the disk being empty can be fine.14:24
kailioh right14:24
kailiChecking 2 of july14:25
kailiThere is nothing before 3 of july at 2PM14:25
tomreynkaili: you say that even after multiple boots from the hdd nothing was logged to the system log. this suggests that either the syslogging daemon is experiencing problems or disk i/o is generally broken for only the location where logs are stored (/var/log/ mount - if this is separate)14:27
tomreynif disk or file system writes were generally broken, the systmem would not boot up normally, too.14:28
tomreyni.e. if you have no separate /var/log mount /file system then the issue is more likely with the syslogging daemon.14:28
codecuttersomething gone wrong again14:29
codecutterhttps://pastebin.com/jz5GbMdy14:30
kailiIndeed we have something here. After 2 july at 1:40 PM, the server got rebooted several time and made it to login screen a few times. But all logs seem to end the 2 of july at 1:4014:31
kailifaillog is full of ^@ too14:31
kailiSo we have something here14:31
codecutterwont let me access 'localhost:8080/manger' but 'localhost:8080' displays the correct content14:31
tomreynkaili: how about you try booting off the hdd now, then check whether syslog is written to and what dmesg -T says about this latest boot process?14:33
codecutterstuck at '04-Jul-2017 14:29:15.793 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/8.5.1514:34
codecutter04-Jul-2017 14:29:15.810 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [/opt/tomcat/webapps/docs]'14:34
kailitomreyn: I can't do that, if I reboot I will lose ssh access through livecd which was a pain to configurate through phone with the girl there14:34
kailitomreyn: I can reboot only after fixing stuffs in a way or another14:34
rflemingGood morning!14:36
tomreynkaili: i see. so the live system has no sshd running, or would not now due to the yet unknown issue that occurred?14:36
rfleminghow does one add DNS suffix search to systemd.resolve?14:37
kailitomreyn: ubuntu from server harddisk do have ssh, but it's broken, so is samba14:37
tomreyni see14:37
tomreynwell it won't be easy to tell what is wrong since you have no means to tell without logs and being able to reboot14:38
tomreynyou could try booting the HDD system as a VM, but that's not enough fun that i'd want to guide you through the process.14:39
sdn48sup my crackers14:40
tomreynkaili: but you could chroot to it and start rsyslog and see whether this works, that's even further from booting it from bare metal but it might still give a clue.14:41
MarkB2Booting up 16.04.2 LTS 64 bit ... and grub throws an error, blanks the screen, and sits at "grub> ". The error message starts with "Error: <something> not found".  Is there some way to get it to pause at that error message ?14:41
MarkB2There's more to the message...14:41
sdn48hi Mark, Tom how are you guys doing on this lovely evening, I'm new here.14:42
tomreynrfleming: does 'search example.org' in /etc/resolv.conf + reboot not do it?14:42
MarkB2sdn48: My ubuntu install on another computer has decided to start a fail... and I'm trying to get grub to stop at the error message so I can read it.14:43
tomreynhi sdn48. thanks for the kind greetings. we only use this channel for support chat really, so you're welcome to just ask any questions you may have. for offtopic (i.e. not specifically support questions or answers) chat please head over to #ubuntu-offtopic14:43
MarkB2Or if grub stores the error somewhere so that I can dump it to the screen.14:44
sdn48Oh alright, I was wondering if I've got an .exe and .dll file, how can I link the .dll with Wine when running the .exe?14:44
rflemingtomreyn: resolv.conf is generated by systemd-resolve and shouldn't be changed by hand.14:46
tomreynsdn48: i think there is a #wine channel here on the Freenode IRC network. they may be able to provide you with an answer to this. or you could wait here and occasionally repeat the question in case someone here knows.14:46
codecutteri don;t know tomcat is hangin on start14:46
sdn48yeah found it, it's #winehq, I'll try my luck there, thanks Tom14:47
kailitomreyn: how about an unattended upgrade that could have mess up the server ? I'm checking apt log, the server had a long uptime. But on june 29 critical stuffs were auto-updated : kernel, linux-libc and stuffs14:47
kailiWhat if my sudo apt-get reboot just triggered booting up with the new kernel ?14:48
tomreynMarkB2: it probably wont write the error anywhere since it has no means to write it anywhere. i would not know how to prevent the screen from blanking there, it normally should not. the fact that the grub> prompt shows up suggests that the system is unable to boot properly, usually due to a borken initial ram disk (initrd) or kernel image (or both)14:48
tomreynMarkB2: i suggest you repair the system form a live dvd / usb14:48
kailiWhich means the new kernel could be the reason : no keyboard, no mouse, everything borked14:49
athanWhat's the "ubuntu way" to manage the configuration of /other/ system services, with a package or process? I am trying to do something like "when I install some X package, add an entry to Apache so that it points to some X directory"14:49
kailiThe keyboard / mouse problem is the most intriguing to me14:49
tomreynrfleming: oh good point. sorry.14:49
rflemingtomreyn: :D No worries.14:49
tomreynrfleming: here (ubuntu 16.04), resolv.conf states: # Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)14:50
tomreynrfleming: if you have a manual interface configuration in /etc/network/interfaces i think you can place dns-search there14:51
kailiOk, I'm going to recheck filesystem, repair grub, change default booting up kernel to previous version14:51
kailiI don't think messing up with rsync could break down the system that seriously14:53
kailiI eliminate this possibility14:53
tomreynkaili: yes, this is a possible explanation. although - unless you install more than the default security upgrades through unattended upgrades, or were running a custom kernel or glibc before, i would not expect this to happen due to an unattended-upgrade.14:53
kaili(sorry for thinking aloud, if any of you have an idea... it's more than welcome)14:53
kailitomreyn: I know, plus it's a LTS and it's supposed to be more tested but...14:54
kailiI really have no explanation14:54
kailiand the livecd is running since yesterday and seems very stable14:54
kailiHardware failure sounds unlikely14:54
tomreynkaili: to me, too, unless it caused file system corruption somehow, rsync does not seem like a likely cause. you could inspect your package repositories and see which non-official packages oyu have installed, if any, and whether you are running the latest versions.14:54
tomreynkaili: the live cd will hardly be accessing the hdd(s), and may generally idle more (i.e. stress hardware less) than the server would be if running normally, booted off hdds14:56
tomreynso this could explain why you dont see a hardware failure now, but (possibly) would if booting normally14:56
kailithe 29 and 30 of june a lot of stuffs were updated, kernel, libc, libdns, bind...14:56
saryMarkB2: this might be of help: https://help.ubuntu.com/community/Grub2/Troubleshooting14:56
kailitomreyn: I ran the long SMART test and it said everything is fine, you think the test was wrong ?14:57
tomreynkaili: no, i don't think it was wrong to run the test nor do it have a reason to believe that its results are wrong. did you run it on all hdds?14:57
kailitomreyn: I ran on system HDD only, other disks are for data and data backup14:58
tomreynkaili: i suggest you chroot to the system and inspect outputs of 'apt-get update', 'apt-cache policy', maybe 'unattended-upgrades -d --dry-run'14:58
tomreynkaili: okay, thats probably sufficient14:59
kailiIf I can't fix it, I will need to find a way to pre-setup ssh, reinstall ubuntu on the hard drive saving ssh setup so I can ssh to it after reboot, then reconfigure and reinstall samba using ssh15:00
kailiI'm not even sure if all this process is possible15:00
kailiAll that through ssh :p15:01
tomreynkaili: it's technically possible, you could even add sshd to the initrd so you would still get ssh access if the system only gets to the initrd but does not boot up properly. but adding ssh to initrd is tricky and nothing i would do remotely.15:02
kailiI'm 12 000 kilometers from the server, I guess I'm desesperated enough to try that :/15:03
tomreynkaili: if you are looking for a way to be able to recover more easily form such incidents in the future, besides the ssh option i just discussed, other options are to attach a networked serial console (i.e. you could just connect from a different computer standing next to this server through serial console, allowing you to see and manage its boot process, and possibly bios settings).-15:04
oerheksbut you booted your server with a live iso...15:05
tomreynkali: or, if you'll send money on actual server hardware, you will be able to get some kind of "out of band management" (OOB), such as dell idrac, hp ilo, supermicros / tyan (and others) ipmi kvm.15:06
tomreyn*sPend money15:06
tomreynoerheks: non-sysadmin remote hands did for him.15:07
tomreyn(or her, sorry)15:08
kailiYes, guided her through phone15:09
kailiWas a pain, had to setup static ip and stuffs15:09
=== jackNemrod_ is now known as jackNemrod
hooowhat can I delete to make more room on my computer?15:12
MarkB2tomreyn: Managed to capture the error message using a camera.  error: no such device:  and a UUID.15:14
oerhekshooo, "sudo apt-get autoremove" could make some space, else all unwanted programs15:14
karab44hello15:14
karab44I try to reinstall Ubuntu installed on my PC. I boot from USB-livecd but regarless my choice Try or Install it always boot to installed OS. Is there any way to avoid this?15:15
MarkB2Have a live disk ... now to figure out what grub is looking for.  <groan>15:15
MarkB2Happy Fourth of July to everyone in the US.15:15
kailitomreyn: I made a checklist, on liveCD I 1) installed ssh ; 2) setup static network ip located in /etc/network/interfaces. I need to  : 1) save static network interfaces configuration through reboot process ; 2) save ssh installation through reboot process ; 3) install ubuntu through ssh on the hard disk with parameters 1 and 215:18
hooocan I remove /usr/gnat?15:18
hoooit is 1gb15:18
kailiI think ubuntu will save network configuration from the liveCD for me already (or I'm wrong ?)15:18
kailiBut I have no idea how to have ssh installed after I reboot15:19
tomreynMarkB2: so everyone not in the US should not have a happy 4th of july? ;) the message you captured usually suggests that a block device UUID has changed, and was not updated in fstab. this can happen if you resize partitions and file systems or move them around.15:19
oerhekshooo, seems like /usr/gnat comes from GNU Ada compiler15:20
kailiI found that https://help.ubuntu.com/community/Installation/OverSSH15:20
kailiBut it's a really short guide15:20
kailiOr I could remaster an ISO for a complete unattended install and send the iso to the girl15:22
kailihm15:22
tomreynkaili: this guide is for (re)installing ubuntu15:22
tomreyni still think you should chroot into your existing system on the hdds from the live cd and make any changes there prior to rebooting15:23
hooooerheks, i deleted it15:23
oerhekshooo,  good luck then, it is not the way of uninstalling programs and parts15:23
hooooerheks, yeah I hope everything still works!15:24
hooolinux is very professional and cool, so I have no doubt that it will be fine15:24
kailitomreyn: I'm in, I have bind /proc /dev /sys15:24
tomreynkaili: https://help.ubuntu.com/community/LiveCdRecovery#Update_Failure15:24
tomreynkaili: sounds good.15:25
tomreynkaili: so make sure apt is in a good state, network counfiguration is sound and ssh is installed and will start on boot15:26
karab44my ubuntu boots to blackscreen there is sound of drums but screen is totally black after sudo apt remove purge nvidia*. There is no any ALT+FX terminals working. All screens are black.15:27
karab44how can I fix this?15:27
kailitomreyn: I don't have network in the chroot15:27
kailiand everything is read-only15:27
kailiin etc15:28
tomreynkaili: maybe you mounted it read-only? or the file system is not clean?15:28
kailichecking15:28
tomreynkaili: or did you just forget to mount all the file systems which on-disk system is composed of?15:29
tomreyn*your15:29
kailiI got it working, can write everywhere now15:29
kailinetwork connection working15:30
kaili(just added a nameserver)15:30
tomreyn!rescue | karab4415:32
ubottukarab44: If your system fails to boot normally, it may be useful to boot it into recovery mode. For instructions, see https://wiki.ubuntu.com/RecoveryMode15:32
threedaymonkI upgraded, and can no longer boot from an encrypted partition. I *can* mount it from a live USB. I can run update-initramfs and update-grub2 from a chroot, but when it boots I get a variety of errors before dropping into an initramfs shell, where there is nothing in /dev/sd*15:33
tomreynkarab44: https://askubuntu.com/questions/206283/how-can-i-uninstall-a-nvidia-driver-completely15:33
karab44tomreyn your advices can save my day. Thank you!15:33
kailiThat is odd : sudo apt-get clean giving : unable to resolv host ubuntu15:34
kailiwhat15:34
tomreynkarab44: i would appreciate it, good luck15:34
karab44thank you once again :)15:34
kailiAnyway sudo apt-get install -f doesn't show anything wrong15:35
=== jackNemrod_ is now known as jackNemrod
threedaymonkBefore dropping to initramfs shell, I see repeated warnings about "failed to connect to lvmetad" and "udevadm settle is not permitted while udev is unconfigured". Does anyone have any ideas where I can go from here?15:35
tomreynthreedaymonk: knowing what the 'veriety of errors' ist could surely help you help yourself or enable us to help you.15:35
tomreynok ;)15:35
threedaymonksorry, I thought those were most pertinent. There are a couple that flash too quick for me to see. The others have scrolled off the screen!15:36
hardrivedHello everyone. I have a question regarding  partioning. I installed Ubuntu on a laptop and didnt realize that it had an SSD and spinning disk in it. So oddly enough Ubuntu installed itself on the SSD only. Can I format the spinning disk drive and label it as home?15:36
tomreyn"failed to connect to lvmetad" is a non-critical error which is currently to be expected on 16.04 and other releases with full disk encryption15:36
hardrivedPlus delete the home partiion that is installed on the SSD. Thanks15:37
tomreynthreedaymonk: did you reconfigure things lately, move or resize partitions or file systems? what may have caused this situation, in case you can make a guess?15:38
threedaymonktomreyn: OK, I can ignore that one then. I just video recorded it so I could see the transient ones: they are "udevadm trigger is not permitted while udev is unconfigured" and "udevadm settle is not permitted while (same)"15:38
threedaymonkI ran dist-upgrade, walked out the room at one point, and when I came back it had rebooted into this state15:39
oerhekshardrived, it can be done, moving your /home/ to a different device, and enlarge the empty space on that ssd to your / ... or just reinstall, choose partitioning 'something else'15:40
oerhekshttps://help.ubuntu.com/community/Partitioning/Home/Moving15:40
tomreynthreedaymonk: hmm, dist-upgrade would not reboot all by itself in my opinion. unless it someh9ow triggered a kernel crash, which it usually would not.15:40
threedaymonkthe other ones that aren't that repeated warning are "Volume group 'lubuntu-vg' not found" and "Cannot process volume group lubuntu-vg". Not especially useful as far as I can tell15:40
threedaymonktomreyn: I was surprised myself, especially as I'd just performed the same upgrade on my other near identical laptop! Same hardware, started off as clones!15:41
MarkB2I think I found the problem... but am unsure as how to fix it... I'll wait in line.  /dev/sda has two partitions, /dev/sda1 and /dev/sda2.  fdisk reports the device has a GPT but blkid isn't reporting a UUID for either partition.15:41
tomreynthreedaymonk: do you know how the layers of partitons, lvm, dmcrypt-luks (i assume) are configured on this system?15:42
hardrivedoereks, thanks! I'll check the link15:43
threedaymonktomreyn: three partitions on the disk, sda1 is /boot (ext-something I guess), sda2 is swap, sda5 is whatever I unlock with cryptsetup luksOpen15:43
threedaymonkand there's a volume group inside that15:44
tomreynthreedaymonk: did you install this system '(and the full disk encryption) using the ubuntu ionstaller?15:44
threedaymonkyes15:44
threedaymonk14.04 LTS iirc15:45
pavlosMarkB2: lsblk -f should show uuid for each partition15:45
tomreynthreedaymonk: okay, so you'lll have partition sda5 -> dmcrypt-luks -> lvm215:45
tomreynthreedaymonk: okay, so you'lll have partition sda5 -> dmcrypt-luks -> lvm2 -> file systems15:45
threedaymonktomreyn: that sounds right, and matches my understanding15:46
tomreynthreedaymonk: the other option would be: partition sda5 -> lvm2 -> dmcrypt-luks (across one or more logical volumes) -> file systems15:47
tomreynthreedaymonk: but you'd only get that with manual (not guides) partitioning, and you'd have toi enter your fde crypto passphrase several times if more than one file system is encrypted15:47
threedaymonkwhen I mounted it from the live USB, I ran cryptsetup luksOpen /dev/sda5 sda5_crypt first, then the lvm tools to create /dev/lubuntu-vg/root15:47
tomreynokay, so its the first variant15:48
tomreynthreedaymonk: so run this system from live usb again, mount file systems again, bind-mount the virtual file systems and chroot15:49
tomreynthreedaymonk: then make sure you got internet access and that apt is in a good state, then purge and reinstall the latest kernel image, keeping an eye on the output.15:50
threedaymonktomreyn: doing that now …15:51
tomreynthreedaymonk: if you need help with any of these steps, just ask15:51
tomreynMarkB2: no uuid is weird. try lsblk15:52
threedaymonktomreyn: I've done all but purging the latest kernel image about a dozen times today so far :-)15:53
tomreynMarkB2: lsblk -o +UUID    # but actually blkid should have printed them15:54
SirMeowington5_Hello everyone, I have a MacBook with a dead discrete graphics chip. I managed to get it semi functional again by removing relevant kexts allowing me to boot and use the laptop for basic tasks, but the AMD Chip is drawing its max power causing the laptop to run very hot (90C @ 20% load). Would Ubuntu be a good alternative for my laptop? Is there a way to fully disable the chip through Ubuntu so that it's not detected and doesn15:55
tomreynthreedaymonk: did you check whether the dist-upgrade succeeded / how it failed? there should be a log of it in /var/log/. also, did you try to ensure you have only supported (ubuntu) packages installed, no possibly problematic package sources *AND* packages installed?15:56
tomreynit's almost always 3rd party packages which cause dist-upgrades to fail15:57
jhutchinsSirMeowington5_: Some hardware problems can not be addressed in software.15:57
SirMeowington5_@jhutchins I understand this, but in this case some people have managed to get their thermals and power draw issues under control by loading older versions of the relevant AMD kexts in MacOS. Unfortunately I haven't gotten any of those older kexts to work so I was wondering if there was a way to do it while running Ubuntu.15:59
threedaymonktomreyn: looking at the logs, it did end up in some error state: a number of post-installation scripts "returned error exit status 1"16:00
=== KindTwo is now known as KindOne
tomreynSirMeowington5_: you could do the equivalent on linux: build a kernel without the intel graphics kernel modules, and then see how you can tweak the radeon driver to handle the amd graphics better.16:02
tomreynthreedaymonk: during the dist upgrade you mean, right?16:02
threedaymonktomreyn: hang on, I misspoke. I meant "do-release-upgrade"16:03
MarkB2tomreyn: blkid didn't print the uuid for /dev/sda* .. but lsblk -f did.  The boot partition, somehow, has the wrong UUID.  Now trying to figure out to set the UUID so grub can find the boot partition.16:03
tomreynthreedaymonk: okay, that's what i had assumed you meant ;)16:04
SirMeowington5_@tomreyn In my case it would be the other way around, the AMD chip is totally dead and I need to run on the Intel HD graphics. I just need Ubuntu to not detect/trigger the AMD chip at any point (this results in a crash). So it should be possible to get Ubuntu to completely ignore the AMD chip and send no power to it?16:04
tomreynthreedaymonk: so take a good deep look at your apt sources and installed packages (including those no longer referenced by the current apt sources). also check /var/log/apt/term.log* to get a better idea of what exactly was the subprocess that failed. just running "apt-get install -f" now may come up with the same error message again.16:05
SirMeowington5_Oh sorry,  I just understood what you wrote. I thought you misunderstood me at first. So you're saying it will be possible to set up two kernels, one for Intel and one for AMD where the AMD one states not to send any power to the chip?16:06
tomreynMarkB2: you'll need to edit some or all of /etc/fstab , /etc/crypttab and (probably not) /etc/lvm/lvm.conf16:07
tomreynSirMeowington5_: sending no power to it wont be possible, since this is not something the OS decides on. basically what jhutchins already said. that's also not a matter of the OS you use, the firmware (BIOS/UEFI) already powers and partially initializes the hardware.16:09
tomreynSirMeowington5_: you are right, i did misunderstand you at first. i'm saying you *can* create a modified kernel which does not provide a given kernel module (AKA driver, the equivalent to OS X kext), be it the amd or intel graphics one (does not matter for the overall approach).16:11
tomreynSirMeowington5_: still, hardware will receive power either way.16:11
SirMeowington5_@tomreyn ah okay, fair enough. But it should be possible to tell Ubuntu to never use the AMD chip and send very little power right? Right now the problem is that without the kexts, MacOS is confused and the chip is pulling it's max power.16:11
tomreynSirMeowington5_: it will be possible to instruct linux not to initalize a certain PCI device (such as a graphics chipset) and not to load a driver for it. without a driver for a given device, power will not be manageable for this device.16:13
SirMeowington5_@tomreyn ah okay, I understand.16:15
tomreynSirMeowington5_: since the AMD chip will be a discrete one, it may actually be possible to physically disconnect it. that's something you may want to check. running any Os with broken hardware is never a good thing.16:15
SirMeowington5_@tomreyn unfortunately it's soldered onto the mainboard in my MacBook so I'm not sure this is an option16:16
MarkB2tomreyn: UUID for the partitions match those in fstab on the device.  But grub is erroring out before linux loads.. beats me how grub messed that one up.16:16
oerheks...Once in GRUB press the e key. We’re now going to disable the AMD graphics card while we boot into the Ubuntu Live CD ....16:16
oerheksinteresting, SirMeowington5_ https://orville.thebennettproject.com/articles/installing-ubuntu-14-04-lts-on-a-2011-macbook-pro/16:17
tomreynSirMeowington5_: so my only suggestion then is to spend less money on less shiny but better hardware next time, ;)16:17
zzero1a processor without vpro has intele me ?16:17
MarkB2tomreyn: not using crypttab or lvm .16:17
zzero1*intel16:17
oerhekslash i915.lvds_channel_mode=2 i915.modeset=1 i915.lvds_use_ssc=0"16:18
SirMeowington5_haha I know tomreyn, it was a hand-me-down16:18
tomreynMarkB2: so /boot/grub/grub.cfg contains the right uuid for where to load linux form?16:19
MarkB2tomreyn: Aha.  I'll go look .16:19
tomreynzzero1: no i don't think so. also that's not an ubuntu question.16:20
SirMeowington5_tomreyn do you think that without the drivers for the AMD chip Ubuntu will simply know not to have it draw max power or will I need to install the drivers and modify them?16:21
tomreynMarkB2: maybe run update-grub first before you review the file, or review it before and after.16:21
zzero1tomreyn thanks16:22
zzero1I do have an ubuntu related question though :)16:22
tomreynSirMeowington5_: basically, ubuntu won't be able to influence how much power is drawn by the broken chipset.16:22
tomreynSirMeowington5_: power manegment depends on both a loaded kernel module (driver) and hardware working properly. your hardware is not working properly.16:23
SirMeowington5_ok, gotcha16:23
MarkB2tomreyn: This is messed up.  The uuid's in grub.conf and /etc/fstab match.  But the booting grub spits up a completely different uuid.  Great.  Alright.. looks like I need to reinstall grub on that device.16:23
Johnny_Demy VPN connectins is grey'd16:24
luuk180What was the terminal command that shows you system information and takes a screenshot16:25
SirMeowington5_tomreyn , if I install Ubuntu directly onto a USB stick and boot to it, would this be a good way to test out how the laptop will react to not having any drivers for the AMD chip? Will it try to fetch the drivers automatically?16:25
tomreynMarkB2: it's worth a try. it's well possible installing the updated grub boot code did not take place during the release upgrade since it failed sometime in the middle. be sure to also run update-grub though16:25
MarkB2tomreyn: I've never install grub on a system that wasn't booted at the time.  would it be easier to use tune2fs to write the uuid that grub is looking for and updating fstab to match?16:27
codecutterwhy does tomcat hang on deploy? It's stuck at '04-Jul-2017 16:19:25.855 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [/opt/tomcat/webapps/docs]'16:27
MarkB2Unless UUIDs are sprinkled around... one somewhere in the drive, another in the GPT, again in grub, and last in fstab.16:29
tomreynSirMeowington5_: from ubuntu's perspective it does not really matter whether it boots from installed stroage (HDDs) or removable storage (usb stick). ubuntu comes with open source drivers for many hardwares by default. sometimes there are proprietary drivers available for hardware which can be installed after ubuntu was installed using 'ubuntu-drivers' or 'additional drivers' on system settings if you run X16:29
SirMeowington5_@tomreyn ah okay, I understand, thanks for the info.16:30
codecutterom/1BC16:30
codecutterhttps://pastebin.com/1BCK5bFK16:30
tomreynSirMeowington5_: open source drivers usually provide a better upgrade and compatibility experience, proprietary drivers usually provide better perfromance for supported hardware.16:30
tomreynMarkB2: maybe, i never tried that (using tune2fs to set a given uuid instead of updating the grub configuration).16:33
MarkB2tomreyn: grub.conf is created by something else... <groan>  which implies there's a foulup somewhere in the installation mechanism.16:34
tomreynMarkB2: so just to be sure that's not miusunderstood: grub does load its configuration from a configuration file (/boot/grub/grub.cfg) at boot, the configuration is not stored on the grub boot code / boot sector16:34
tomreyni.e. whether you edit this or that file does not really matter.16:34
tomreyncorrection: i.e. whether you edit grub's configuration file or run tune2fs to edit the uuid of a file system does not really matter.16:35
MarkB2I ... do not know where grub is picking up the bad uuid from.  grub.conf has the correct uuid as well as fstab.16:35
MarkB2Is there a grub configuration area in the boot area?16:36
jhutchinsMarkB2: I would run update-grub16:36
MarkB2jhutchins: How do I run update-grub against a drive that doesn't contain the current running system?16:37
MarkB2At the moment, I'm running off a plug-in drive.16:37
jhutchinsMarkB2: chroot16:37
jhutchins!fixgrub16:37
ubottuGRUB2 is the default Ubuntu boot manager. Lost GRUB after installing Windows? See https://help.ubuntu.com/community/RestoreGrub - For more information and troubleshooting for GRUB2 please refer to https://help.ubuntu.com/community/Grub216:37
tomreynMarkB2: if you bind-mounted the virtual file systems anch chrooted, update-grub should work fine16:38
tomreyns/anch/and/16:38
tomreynyou should also have mounted all the file systems and underlaying layers which would be present when booting normally16:39
MarkB2I just found this ( http://howtoubuntu.org/how-to-repair-restore-reinstall-grub-2-with-a-ubuntu-live-cd ).  Does this look like it'll do the job?16:39
codecutterhttps://pastebin.com/diYCgX8216:40
* MarkB2 misses MBRs... does anyone use LILO any more?16:40
tomreynMarkB2: i would use this guide https://help.ubuntu.com/community/LiveCdRecovery#Update_Failure16:41
MarkB2tomreyn: Thank you...16:41
MarkB2I'll look.16:41
tomreyncodecutter: is your point that tomcat does not shut dowen cleanly?16:43
codecutteror startup16:43
codecuttersee my other lines16:43
codecutterwhy does tomcat hang on deploy? It's stuck at '04-Jul-2017 16:19:25.855 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [/opt/tomcat/webapps/docs]'16:43
codecutterrepeat ^^16:43
threedaymonktomreyn: comparing the working and non-working machines, one thing that stands out is that the broken one is missing things you'd absolutely expect, like "at". Is there some kind of meta-package that holds all that stuff that I should have installed but don't?16:45
codecutterwell, actually it starts up ok (if I remove myApp from teh dir)16:45
karab44hey hey16:46
karab44I fixed my problem16:46
karab44thank you for help16:46
karab44I had to install new drivers for nvidia 1080ti because stock drivers doesn't support my card16:46
tomreyncodecutter: check the process list for any remaining tomcat processes (ps auxw | grep -Ei '(catalina|tomcat)') and kill them using the 'kill' command and their uids. once you are convinced they are all stopped, run 'service tomcat stop', then run 'service tomcat start'. then check whether it came up fine. if it did, wait a minute or two and run 'service tomcat stop', and see whetehr it shut down fine.16:46
karab44now I have different issue16:47
tomreyncodecutter: so based on what you just said there is an issue with your webapp, which is not really something we can fix here. you may be able to get help with it in #tomcat or #java (assuming it's a java application)16:48
codecutteryes, i know16:48
karab44my PC runs very silently on W10 but on Ubuntu it's pretty loud. So my question is how can I monitor CPU cooling temp and fan speed?16:48
karab44CPU fan (liquid cooling pump) runs on constant speed regardless the CPU load and temp16:49
karab44how can I control this?16:49
tomreynkarab44: install lm-sensors, run "sudo sensors-detect --auto" and read the last paragraphs it outputs. you can install 'sensord' to log hardware heath indicators to the syslog or use the 'sensors' command to query it live. there are also window manager specific plugins add-ons which can graph such metrics.16:51
karab44tomreyn:  can this somehow control the fans?16:52
tomreyncontrolling those is a different matter, depends much on the hardware and drivers.16:52
tomreynsensors-detect will tell which drivers you'll need16:53
karab44it found two sensors16:53
tomreynthreedaymonk: sorry, i missed your message there. the 'at' command is provided by a package called 'at' ;)16:54
threedaymonktomreyn: sure, I just wondered why it wasn't there, and whether it was a dependency of something more vital!16:55
tomreynthreedaymonk: i think 'at' is actually optional, not installed by default (but not 100% sure)16:56
zzero1I want to move a home folder that is encrypted with ecryptfs I chrooted in the installation and used the automated ecryptfs commands to find and mount the old home to /tmp/ecryptfs.XXXXXX However at some point rsync crashes. This is a portion of syslog https://pastebin.com/hp3CNwpZ16:56
zzero1I appreciate any help16:57
tomreynthreedaymonk: if this is a server system you could install the 'ubuntu-server' package to make sure that anything you may need is installed.16:59
tomreynthreedaymonk: similarily, there are such packages for the various desktops: ubuntu-desktop for the default ubuntu desktop (currently unity), xubuntu-desktop for the xfce one, lubuntu-desktop for the lfde one, ...17:00
zzero1I 'm running ubuntu 16.04 lts x6417:01
tomreyn*lxde17:01
oerhekszzero1, i think you better backup data, and reinstall. encrypted home movement is a long job17:02
oerheksmoving regular home is much easier17:03
zzero1oerheks: du reports the home folder has 771 gb of data. I tried syncthing to move the home folder. it reported that the home's size is about 755 gb17:05
mzazaWhen I use ng build > file.log and try to browse the file later I get an strange text and error that file is in binary.17:06
mzazaHow to fix that?17:06
zzero1about ab17:06
threedaymonktomreyn: I'm at a loss. Everything seems to be consistent, and even if I don't have every dependency in the desktop or server packages, I have most of them. apt is happy, but the only thing seems to be that it doesn't find or create nodes for /sda* at boot. If it did that, I could recover from the initramfs console.17:06
zzero1about  230 gb cannot be backed up because of this17:07
zzero1oerheks I know that a regular home is easier to copy , but I have to move this encrypted one17:10
tomreynthreedaymonk: you could post lsblk + /etc/{fs,crypt,m}tab + /etc/lvm/lvm.conf + /boot/grub/grub.cfg + grub-mkconfig to a pastebin and have soemone look at it. maybe me, maybe someone else (i need a break soon)17:11
zzero1is there any way to figure out which of the data are been affected by this ?17:12
zzero1is there something I can do about this ?17:14
threedaymonktomreyn: maybe tomorrow. I need a break too! Or maybe I'll just nuke this and reinstall. Life's too short.17:15
threedaymonktomreyn: thanks for your help, though17:15
MarkB2tomreyn: Think I found it... the bad UUID is in a file in the EFI tree on /dev/sda1 .. so install-grub is picking up the first grub.conf it finds.17:21
MarkB2What a maze...17:22
EriC^^MarkB2: what's the problem you're having?17:23
tomreynthreedaymonk: welcome17:23
mutenewtchromium crashing on launch on ubuntu LTS for anyone else?17:23
tomreynMarkB2: could you continue with EriC^^ - i need to take a break17:24
karab44tomreyn: Do you want to add these lines automatically to /etc/modules? (yes/NO)17:25
karab44Unloading cpuid... OK17:25
MarkB2tomreyn: Of course.  Geeze.. Canonical should be paying you for the help... THANK YOU!17:25
karab44I can't take an action17:25
MarkB2Eric^^: Grub starts.... and errors out with a "no such device" and spits up a UUID that doesn't belong to anything in the system.17:26
MarkB2Had to use my video camera to record the message... it goes by too fast to read.17:26
MarkB2Anyway, there's something wrong with the EFI area on /dev/sda1 .. there are two grub.conf files and grub-install is picking up the wrong one.17:27
MarkB2I compare the EFI area on /dev/sda1 with the EFI area on the currently booted system and the structures are not the same.17:28
EriC^^MarkB2: ok, type "(sudo update-grub; cat /boot/grub/grub.cfg /etc/fstab; sudo blkid) | nc termbin.com 999917:28
EriC^^nevermind the first quote there17:29
MarkB2That will give you the information off the currently running system.  The system I'm trying to repair is on a different device.17:29
EriC^^aha, is it mounted right now?17:30
MarkB2I can mount the partitions on the dinged system, yes.17:30
EriC^^ok, mount the main one under /mnt17:31
EriC^^then type "for i in /dev /dev/pts /proc /sys /run; do sudo mount -B $i /mnt$i; done"17:31
MarkB2I have to turn around to the other table and enter all that in.  brb.17:32
zzero1 17:36
MarkB2Apologies.  I fatfingered something and it's gotten a little ..sick.17:37
MarkB2rebooting.17:37
MarkB2Oh $(*#17:38
MarkB2That will teach me to reboot a chroot'ed system.17:38
MarkB2Now it's dead.17:38
EriC^^boot a live usb17:39
MarkB2That ..was.. the live usb I was booted from.17:39
MarkB2Have to recreate that.17:39
EriC^^rebooting while chrooted didnt kill it but ok17:39
MarkB2<sigh>  Happy Fourth.  Back in a bit...17:39
kailiI mounted /dev (harddrive) to chroot in it (from livecd), now it won't unmount (in use)17:53
kailiCouldn't find much using lsof17:54
kailitomreyn: I did everything I could and everything seems in order17:54
kailiThrough I couldn't check whether sshd will start on boot, I couldn't access to initctl stuffs within the chroot17:57
kailiinitctl: Unable to connect to Upstart: Failed to connect to socket /com/ubuntu/upstart: Connection refused17:57
tomreynkaili: ubuntu 16.04 LTS uses systemd, not upstart (which initctl belongs to)18:09
kailioups :-)18:10
tomreynuse the 'service' or systemctl (not sysctl) command18:11
kailiinside a chroot all systemctl command are ignored I think18:15
kailiAnyway, I don't know what to do, went full verbose for bootup, selected previous kernel, forced fsck at each reboot of the server, check integrity of all packages, checked config files...18:16
kailiI can't see anything wrong but I don't have logs to know that anyway18:16
vadamotoHello, I have ubuntu 16.04 on dell xps 15 9560, uname -r says 4.9.0-040900-generic, also installed nvidia 375 drivers. When I switch to intel (via "PRIME Profiles") and log out, everything is fine until I reboot. If I reboot, everything freezes, no F1. I have to run "prime-select nvidia" from recovery console, and it is booting again. I'd like to have "intel" selected and still be able to reboot :) Is there something that can be don18:21
MarkB2Eric^^: ?18:21
MarkB2It seems to be fixed.  The drive boots up and drops into the familiar desktop.18:23
=== KindTwo is now known as KindOne
Homely_GirlHi guys, can anyone help me with issues running Minecraft on Ubuntu, please???18:26
eelstrebori just bought an HP Pavilion lappy and installed 16.04 on it but it ends up in a black screen - but after 3 or 4 power resets it boots ok - is this a grub issue?18:27
eelstrebordoesn't look like there's much i can do with the bios - installed as uefi18:30
rypervencheHomely_Girl: What issues are you having?18:49
pavloseelstrebor: maybe boot with the nomodeset option?19:03
pavloseelstrebor: https://certification.ubuntu.com/certification/make/HP/19:05
mzazaHow can I add /home directory to be a path to search for commands in?19:08
ioriamzaza, usually it's used ~/bin19:08
kk4ewtchange your Path19:09
mzazaioria: Yes but I have something installed in my home directory that I wanted it to run. Actually it works fine under shell from my session, but not from other sessions.19:09
mzazaPATH="$HOME/bin:$HOME/.local/bin:$PATH"19:11
mzazaWhat should I add to that line?19:11
ioriamzaza,  /home != your $HOME19:11
mzazaioria: That is the default.19:11
mzazaioria: I didn't edit it, yet.19:12
blkadderYou need to use absolute paths.19:12
mzazablkadder: How? You mean I should rewrite that instead of $HOME to /home/user19:13
blkadderYes.19:13
blkadderIf that is your home19:13
blkadderBut it probably isn't.19:13
DArqueBishop... why do you have system commands installed in a user home directory?19:14
ioriamzaza,  /home/$USER/bin is automatically added  to the path ...  you don't need to edit anything19:14
Richard_CavellWhere can I get help with NEStopia?  It's a NES emulator, that is packaged in Ubuntu.19:14
mzazaioria: blkadder The problem is that when I use for example the npm command which is installed in my home directory from shell it works fine. And I just write npm without having to write the whole path, it's set correctly. But when a web application "Envoyer" for automatic code deployment runs the command npm install I get this error "bash: line 2: npm: command not found19:17
mzazaClose19:17
ioriamzaza, paste echo $PATH19:18
mzazaioria: /home/ubuntu/bin:/home/ubuntu/.local/bin:/home/ubuntu/bin:/home/ubuntu/.local/bin:/home/ubuntu/.nvm/versions/node/v6.11.0/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin19:18
blkaddermzaza, Right because application "Envoyer" isn't going to have the same environment variables as you.19:18
blkadder$HOME is relative to the user.19:18
ioriamzaza, maybe /etc/environment, but not sure19:20
mzazablkadder: I am using the same user for Envoyer as mine, however I have changed my path to look like this, http://paste.ubuntu.com/25020265/19:20
blkadderWhat user are you?19:22
mzazablkadder: ubuntu19:22
mzazathe same user is used for envoyer19:22
blkadderWhat do you mean "the same user is used"19:22
eelstreborpavlos, it's an intermittent issue - one would think that it works or don't but not in this case - i was wondering if using the xorg amdgpu-hwe-graphic  instead of the amdgpu-graphic would fix the problem - i tried to install it but it says i have a broken amdgpu-hwe package19:23
blkaddermzaza, Are you saying you have the web application running as user "ubuntu"?19:23
mzazablkadder: there is run as option in enovyer and it is set to ubuntu, the user "ubuntu.19:23
mzazablkadder: yes19:23
bartocchi all19:23
bartoccis this the best place to talk about ubuntu or is there a slack channel nowadays ?19:24
mzazablkadder: Is that security threat :D?19:25
blkaddermzaza, What is the complete path to the npm command?19:25
eelstreboroops, that should be video-amdgpu vs video-amdgpu-hwe19:25
mzazaioria: I've just tried that, and things might seem to work.19:25
pavloseelstrebor: do you see any amd related errors in dmesg?19:25
mzazablkadder: -bash: fork: Cannot allocate memory19:25
blkaddermzaza, Well, you generally don't install system level executables in a home directory.19:25
blkadderNot a great practice.19:25
mzazablkadder: I've tried adding it to /etc/environment as ioria said but it seems taking for every and I got that error I just sent you. I even can't connect to the server so I will force reboot and try again, that's an out of memory error, right?19:28
blkadderYes.19:28
blkadderSounds like you may have other issues...19:28
=== semeion is now known as mnemonic
ioriamzaza, well, npm and node are available in the ubuntu repos,  why are they installed in you $home ?19:30
mzazaioria: I used nvm to install them.19:33
ioriaah19:33
boblamontI'm trying to combine the contents of multiple directories with the same name that are spread out as subdirectories all over my drive. I found this: find . -type d -name "XYZ" -exec cp -rf --parents {} combined \;   and that mostly works. I'm running into problems with directories that have apostrophes in their names.19:34
eelstreborwell, inorder to install xserver-xorg-video-amdgpu-hwe-16.04 i have to install xserver-xorg-core-hwe-16.04 which will remove ubuntu-desktop, xorg, etc - not a good idea to do it19:34
boblamontI tried using single and double back-slashes \ before the apostrophes, but that didn't solve it.19:35
mzazablkadder: ioria npm seems to be utilitzing all resource to extrem levels 97% of cpu.19:37
mzazaIs there a way to limit the maximum resources that could be allocated for a process?19:40
ioriamzaza, not an npm expert, but i'd say wrong/broken version19:40
mzazaOfcourse there is, I'll google it :D just feeling lazy19:40
typeVoidI'm on 16.04, should I upgrade to 17.04. It's not LTS so I'm a bit wary. I'm just going to be using it as a development environment and my main desktop OS. And it's a stable release, isn't it?19:50
ThJanyone else having sudden problems with urllib3 and invalid CA certs in the past few days?19:51
ThJa python rss bot i'm running is suddenly rejecting SSL certificates. oddly enough it even does it on plain http URLs on sites that don't enforce SSL... it seems to voluntarily want to negotiate an SSL connection, and then fails at it?19:52
vadamotoboblamont seems to be working: find . -name xyz | xargs -I DDD cp -rvf --parents 'DDD' combined19:53
boblamontvadamoto: when I use that, I get a prompt. Is that what I should see?19:58
decoderive installed ubuntu 14.04.5, hoping id get fglrx support, but i cant seem to install fglrx there either. is there any guide on how to get fglrx back working on that distro version?19:59
decodergetting this error: https://askubuntu.com/questions/825343/14-04-cant-install-fglrx-on-dell-with-amd-graphic-card20:00
oerheksdecoder, fglrx should be available in the driver tool, else the card is too old.20:01
oerhekslspci | grep VGA # this would tell your card20:01
decoderit is available in the driver tool20:03
decoderbut when i try to select it, it just resets the selection back20:03
decodercard is brand new20:03
vadamotoboblamont  i see this: http://paste.ubuntu.com/25020521/20:03
decoderdefinitely not too old20:03
decodersome people seem to write fglrx doesnt work with 14.04.5 >.<20:03
eelstreborjust installed the xorg-edgers ppa - now i have a big black border around all the launched apps - i can't see anything on the terminal app, just a big black box20:07
CasWHey guys, has Wubi stopped development? Is there any alternative without partitioning the disk or do I really have to run Ubuntu in a virtual machine?20:08
oerheksCasW, yes, wubi on win10 is not possible.20:09
genii!wubi20:09
ubottuWubi was a way to install Ubuntu from within Windows, but it is no longer supported in recent versions of Ubuntu and Windows, and was never well maintained even for Ubuntu 12.04. Do not use Wubi. See !install for other options for installing Ubuntu.20:09
oerhekseelstrebor, why xorg-edgers ppa and not ppa:graphics-drivers/ppa ??20:10
decodervadamoto: just found it. you need to explicitely downgrade xorg20:10
decodersudo apt-get install xserver-xorg-lts-utopic libqt5gui5 libgles1-mesa-lts-utopic libgles2-mesa-lts-utopic libgl1-mesa-glx-lts-utopic libgl1-mesa-glx-lts-utopic:i386 libglapi-mesa-lts-utopic:i386 libegl1-mesa-drivers-lts-utopic20:10
decoderworked for me20:10
decoderat least fglrx installs after that20:11
CasW!install20:12
ubottuUbuntu can be installed in lots of ways. Please see https://help.ubuntu.com/community/Installation for documentation. Problems during install? See https://wiki.ubuntu.com/CommonProblemsInstall - Don't want to use a CD? See http://tinyurl.com/3exghs - See also !automate20:12
oerheks!ubuwin20:13
ubottuCanonical and Microsoft have announced that Windows 10 will be able to run Ubuntu programs without needing porting/recompilation. This functionality is still in beta and is not supported in #ubuntu. For discussion and support, see #ubuntu-on-windows.20:13
CasWAlright, thanks oerheks! I'll check out #Ubuntu-on-Windows20:14
vadamotodecoder: thanks! btw i google what fglrx is and i don't see how it is my case (i have built in intel graphics and also nvidia graphics card)20:15
vadamotoboblamont also try this: find . -name xyz | xargs -I DDD echo cp -rvf --parents "'DDD'" combined/  (shows what is about to be done) and than pipe to /bin/bash20:16
gamblor3i'm not able to anything goole sites in ubuntu. i get Your connection is not private20:18
gamblor3Attackers might be trying to steal your information from www.google.com (for example, passwords, messages or credit cards). NET::ERR_CERT_WEAK_SIGNATURE_ALGORITHM20:18
gamblor3how do i fix this20:18
gamblor3i cant go to google.com, google maps, gmail etc...20:18
gamblor3anything google is not accessible20:18
gamblor3i tried to google my error message but i cant use google search20:19
boblamontvadamoto: thanks, I'm trying the stuff, but am setting up some dummy files first so I don't mess with my real files until I know it's working20:19
gamblor3if anyone can help me out, please send me a pm. thanks20:20
decodervadamoto: i mean to ping oerheks not you, sry ^.^20:21
Richard_CavellThat business about Windows 10 running Ubuntu programs... I still need to be convinced that that's not an April Fool's joke.20:22
codecutterhow do i undo this portion "CONFIGURE SWAP" - http://nicholaspaulsmith.com/neo4j-with-basic-authentication-on-digital-ocean/20:22
codecutterfollowed above to create swap, turns out i don't need it20:23
codecutterso how do reallocate that portion back to the disk?20:23
doansldHey, I was using Kazam to record a scammer trying to take control of my virtual machine and probably syskey mey, unfortunately it was saved as a .movie format, how do I tun it to something I can play?20:25
codecutteranyone?20:27
gamblor3i think everyone is sleeping20:27
sebsebsebhi20:28
boblamontvadamoto: hello sebsebseb20:29
sebsebsebboblamont: hi20:29
boblamontoops! obviously not directed to vadamoto!20:29
pankajWhat is SetGID and SetGID. I can't understand. Can somebody clear the point?20:31
ducassepankaj: they're both explained in the chmod man page, scroll down and you will see a section dedicated to them20:33
oerheksSetGID and SetUID ..20:34
pankajducasse: OK20:34
pankajducasse: Can you suggest me any good book for starters to study PAM.20:35
ducassepankaj: try ##linux, these aren't really ubuntu questions20:35
codecutterhow do i delete the swap?20:41
codecutterhow do i undo this portion "CONFIGURE SWAP" - http://nicholaspaulsmith.com/neo4j-with-basic-authentication-on-digital-ocean/20:42
boblamontbased on the error messages, it's working except it won't accept that "combined" is a directory.. I've set it up where 1.txt, 2.txt, 3.txt and 4.txt are the files hidden throughout the xyz subdirectories, but only 1 & 2 have been grouped together in the combined directory (although in the "parent" directory copies, all four files are there, though in their original locations)20:43
boblamontthe original command I found: find . -type d -name "XYZ" -exec cp -rf --parents {} combined \; copied everything, but it doesn't helpfully tell me of an option to allow the apostrophe/single quote like xarg did (-0)20:45
boblamontI should probably add, I don't really need the parent part, at least if everything else works right... it's a little redundant20:47
rypervenchecodecutter: Why do you feel that you don't need swap? It is always useful, especially on a cloud instance.21:38
codecutterreally?21:39
pavloscodecutter: suggestion, sudo swapoff /swapfile, remove it from fstab21:39
rypervenchecodecutter: Sure. It can save your instances from crashing if you run out of RAM.21:40
codecutterhow big should it be?21:41
codecutterminimum21:41
codecutterSwap:          1499         388        111121:41
codecutterthats what i have21:42
rypervenchecodecutter: The rule of thumb is usually 1.5 your max RAM, up to 4G.21:42
codecutterMem:           2000        1306          98           3         594         51821:43
codecutterfo i need tp increase it or will that do?21:43
rypervencheIt seems you are already using swap. I'd go 4G total then.21:44
Richard_CavellHello everyone. I have Ubuntu 16.04 amd64. I want to install a *previous* version of the nestopia package. How do I do this?  Here's a link: https://launchpad.net/ubuntu/xenial/amd64/nestopia/1.46.2-121:49
Phaneswhere would you go to report a general quality issue with Uniquity storage configuration21:51
Phanes*Ubiquity21:51
jerRichard_Cavell, apt-get install foo=version22:03
Richard_Cavelljer: sudo apt-get install nestopia=1.46.2-1 # isn't working.22:06
jerisn't working isn't a sufficient description of the problem, what error message do you get?22:06
Richard_CavellE: Version ‘1.46.2-1’ for ‘nestopia’ was not found22:07
jerwell that's the way you install a specific version of something22:08
jerall that error is saying is it can't find that version22:09
jeryou may have to find it from other sources22:09
jerand dpkg -i it manually22:09
Richard_CavellOh for Pete's sake, it looks like it's been deleted22:09
jerit happens22:10
geniiRichard_Cavell: I still see 1.46.2-1 at http://archive.ubuntu.com/ubuntu/pool/universe/n/nestopia/22:12
geniiRichard_Cavell: Did you do: sudo apt update ..first?22:12
Richard_Cavellgenii: Yes.22:13
geniiMaybe you're using a mirror which removes older versions22:14
Richard_CavellHallelujah!  It works!22:14
Richard_CavellI should really set up a PPA with this prior version.  If I knew anything about how to do that, I would.  That is as far as I can go with that.22:15
genii!pinning | Richard_Cavell22:15
ubottuRichard_Cavell: pinning is an advanced feature that APT can use to prefer particular packages over others. See https://help.ubuntu.com/community/PinningHowto22:15
oerheks!info nestopia22:16
ubottunestopia (source: nestopia): Nintendo Entertainment System/Famicom emulator. In component universe, is optional. Version 1.47-2ubuntu2 (zesty), package size 841 kB, installed size 4061 kB22:16
Richard_CavellIt works, that's as far as I will go with that.22:16
Richard_Cavelloerheks: I'm now using 1.46-2 (xenial) and it works with pre-OpenGL 3.2 hardware.  1.47-1 does not work with pre-OpenGL 3.2 hardware.22:17
Ben64could also use one of the many other nes emulators22:22
ZJAYhey trying to do an upgrade and i get this:22:34
ZJAYErrors were encountered while processing:22:34
ZJAY linux-headers-4.4.0-8322:34
ZJAYE: Sub-process /usr/bin/dpkg returned an error code (1)22:35
ZJAYany clues?22:35
ZJAYanyone?22:37
Bashing-omZJAY: Not installed for some reason ? what shows ' df -h ' ?22:37
oerheksthe complete log might be longer ...22:39
ZJAY$df -h22:39
ZJAYFilesystem      Size  Used Avail Use% Mounted on22:39
ZJAYudev            3.9G     0  3.9G   0% /dev22:39
ZJAYtmpfs           797M   12M  785M   2% /run22:39
ZJAYtmpfs           3.9G  181M  3.8G   5% /dev/shm22:39
ZJAYtmpfs           5.0M  4.0K  5.0M   1% /run/lock22:39
oerheks!paste22:39
ubottuFor posting multi-line texts into the channel, please use http://paste.ubuntu.com | To post !screenshots use http://imgur.com/ !pastebinit to paste directly from command line | Make sure you give us the URL for your paste - see also the channel topic.22:39
ZJAYhow do i get full log?22:41
Bashing-omZJAY: ' df -h | nc termbin.com 9999 ' the result is a URL back in terminal . Pass that link beak here .22:43
Bashing-omback*22:43
ZJAYhttp://paste.ubuntu.com/25021617/22:44
ZJAYhttp://termbin.com/l92g22:44
Bashing-omZJAY: Not what I had suspected . What have we then installed ' dpkg -l | grep linux | nc termbin.com 9999 ' .22:47
oerheksenough space, it seems22:47
ZJAYhttp://termbin.com/91id22:48
kenrinJesus,  why you got like 20 kernels installed22:49
oerheks20 is a limit indeed ...22:49
oerhekssudo apt-get autoremove, to clean up22:50
oerheksepic termbin, but it will be wiped after 24 hrs22:51
Bashing-omZJAY: ^^ Yeah ,, and clean out the clitter from  rc marked ' dpkg -l | awk '/^rc/{print $2}' | xargs sudo dpkg -P ' .22:52
=== lesik____ is now known as lesik
Bashing-omclutter*22:52
ZJAYso autoremove first right then the dpkg -l one next right?22:53
oerheksmaybe autoremove works, else that dpkg line works always22:53
ZJAYso the dpkg first?22:54
oerhekssure, you can.22:54
oerheksthere are more ways to do a job, that is fun.22:54
Bashing-omZJAY: Does not realy matter . there still be cleanup to do whatever .22:55
ZJAYk doing dpkg first22:55
oerheksso, both answers are correct, but the dpkg line from Bashing-om might do it when apt is blocked now.22:55
oerheks*if22:56
ZJAYdone now starting autoremove now22:56
Bashing-omoerheks: Does not help but does get the clutter removed so we can better see what we are doing .22:56
=== bazhang_ is now known as bazhang
ZJAYok autoremove said it was removing packakges then bombed out (i guess) with this again22:58
ZJAYNo apport report written because MaxReports is reached already22:58
ZJAYErrors were encountered while processing:22:58
ZJAYlinux-headers-4.4.0-8322:58
Bashing-omZJAY: pastebin all so we see it in context .22:59
ZJAYetc...22:59
oerhekscould that system been mounted RO ? any errors in the filesystem ?22:59
ZJAYhttp://paste.ubuntu.com/25021674/23:00
ZJAYi write to it constantly with curl files and audio files etc23:00
ZJAYat least at user level23:01
ZJAYand user captured video files etc for my vlog etc23:01
ZJAYunder the /home dir23:01
ZJAYwant me to reboot etc see if that does anything etc23:02
ZJAYnot that i should need to its not microshaft winblows23:02
oerhekslinux-headers-4.4.0-83 is what is wants ?23:02
ZJAYyupper23:02
ZJAYbombs out there23:03
oerhekshmm seen no grub updates too23:04
Bashing-omZJAY: Try ' sudo apt insatll --reinstall linux-signed-generic ' . see if it picks up on " package linux-headers-4.4.0-83 >> you should reinstall it before attempting configuration " .23:04
ZJAYkk23:05
Bashing-ominstall**23:05
ZJAYdid i pick it up wrong23:06
ZJAY sudo apt insatll --reinstall linux-signed-generic23:06
ZJAYE: Command line option --reinstall is not understood in combination with the other options23:06
ZJAYdurpok i see now23:07
ZJAYhttp://paste.ubuntu.com/25021716/23:08
ZJAYbasically bombed23:10
ZJAYE: Internal Error, No file name for linux-signed-generic:amd6423:10
Bashing-omZJAY: Himmm .. it is there ! ' apt list linux-signed-generic ' . So what gives ?? gotta think here .23:13
ZJAYk ty for the assist23:15
Bashing-omZJAY: " 5 not fully installed or removed." let's try this: ' sudo apt update ; sudo apt upgrade ; sudo apt -f install '23:15
ZJAYk23:16
ZJAYhttp://paste.ubuntu.com/25021746/23:17
ZJAYbombed again23:17
Bashing-omZJAY: ' sudo apt install --reinstall linux-headers-4.4.0-83 ' .23:19
ZJAYk its working23:21
Bashing-omZJAY: K and when done pastebin a new ' dpkg -l | grep linux- ' . see where we stand .23:22
ZJAYhttp://paste.ubuntu.com/25021775/23:24
Bashing-omZJAY: That looks mighty fine ! . what now ' sudo apt update ; sudo apt full-upgrade ' ?23:25
ZJAYokidokey ill do that now then mightas welll thanks for the assist/help23:26
ZJAYlooks good23:27
Bashing-omZJAY: Glad to help . I am what I am because of the guidance I have gotten .23:27
ZJAYhttp://paste.ubuntu.com/25021791/23:27
ZJAYi am very apreciative thanks again lifesaver23:28
ZJAYthanks also oerheks everyone23:28
oerhekshave fun23:28
Bashing-omZJAY: Looks good ! . You should be able now to whatever .23:28
ZJAYcounter strike source 4th of July style...lol23:29
Bashing-omZJAY: :) . If you do not want to be a system admin and you do trust your system . there is "unattended-upgrades" that you can set to take care of these small details .23:30
ZJAYok ill look into that is it just an apt-get install or from sourcez?23:32
Bashing-omZJAY: alreadu on your system . see ' cat /etc/apt/apt.conf.d/50unattended-upgrades ' .23:33
ZJAYcool tyvm23:33
Bashing-omZJAY: Tutorials: https://ubuntuforums.org/showthread.php?t=2343732 ; https://ubuntuforums.org/showthread.php?t=2339387 .23:35

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