[00:27] Hey volks; im since few days tring to fix  the Errorcode: input not supportet. Installed first the servered and pulled later desktop & now im in troubl with that bad error... i can open grub. When i boot up or shut down i can see there what ubuntu is doing. In else behavior;input not supported. Would be nice to work around together. Greez Manu [00:32] Hey volks; im since few days tring to fix  the Errorcode: input not supportet. Installed first the servered and pulled later desktop & now im in troubl with that bad error... i can open grub. When i boot up or shut down i can see there what ubuntu is doing. In else behavior;input not supported. Would be nice to work around together. Greez Manu [00:50] qwebirc7898: it is not clear what returns this "input not supported" message. it sounds like it could be a messgae provided by a monitor? [00:53] qwebirc7898: when exactly is this message shown? which ubuntu version are you running there ( lsb_release -ds ), which kernel version and options ( cat /proc/{version,cmdline} }? [00:56] Hey volks; im since few days tring to fix  the Errorcode: input not supportet. Installed first the servered and pulled later desktop & now im in troubl with that bad error... i can open grub. When i boot up or shut down i can see there what ubuntu is doing. In else behavior;input not supported. Would be nice to work around together. Greez Manu [00:57] qwebirc7898: instead of just repeating your message, you could also read what i posted in response. [00:59] qwebirc7898 is you, Manu! [01:00] @ [01:01] @sorry, oversaw thatits [01:02] qwebirc7898: no problem. so run those commands, tell us more. [01:02] whats up peeps [01:03] I was fine with server 16.04, but mater [01:04] *later i had to install desktop too [01:05] another dead chat room? [01:05] Grub shows up, machine is starting but it comes only to the error [01:06] Tyrandis: as the topic states, it's for ubuntu support (only), so not a social chat or discussion place. we have #uubntu-offtopic and -discuss for those. [01:07] qwebirc7898: so which version of ubuntu desktop did you install? which graphics card do you have, which computer model? [01:08] 16.04 [01:10] No graphics cards, just an old hp proliant ml370 generationr [01:10] *rackserver [01:10] qwebirc7898: so this is server hardware. its graphics chipset may not be capable of running a graphical desktop. [01:11] and that may be the root cause of this issue. [01:11] Yeary ago i put win7 ultimate on it [01:12] And it functioned [01:12] qwebirc7898: so, to put it simple: you should just run a standard server on it, no graphical desktop. [01:14] and while you're at it, i recommend you install the latest LTS server version, so 18.04.2 [01:15] I know, that way u sayd is right, but i want this for my study prject. Why did with win7 no error on the screen? :0 [01:16] Oki thanks mate, ill give another try with a newer lts [01:17] your other opiton is to install agraphics card. [01:18] ok, having an issue, I installed ubuntu in a aspire es 15 laptop, everything in the installation went ok, but now it booted, I can surf the network, wifi is connected [01:19] not even ping google.com works [01:20] n-iCe: "I can surf the network, wifi is connected" sounds like you should be able to ping your gateway at least. can you? [01:20] which ubuntu release did you install there? === fotato is now known as foddo === foddo is now known as fotato [01:22] tomreyn: i can't sorry [01:22] 18.10 [01:22] internet is not working [01:22] but is connected [01:22] it's weird [01:23] i found something, to move the /etc/resolv.conf to 8.8.8.8 [01:23] and now internet works [01:23] but wifi connection speed is really slow [01:23] speedtest does not go up than 5MB when should be 30MB/s [01:23] tested in my phone and in my other ubuntu laptop [01:24] what's the wireless chipset? can you connect it via ethernet while you work on it? [01:24] Hey [01:25] Qt apps aren't using the system theme, and apparently qtconfig doesn't ship with Qt anymore === leonardo is now known as Guest25017 [01:25] How do I fix it so that Qt apps use system theme? [01:25] hello my friends [01:26] hi [01:26] ryuguns: on your foo version of bar, running on boo? [01:27] !details | ryuguns [01:27] ryuguns: Please elaborate; your question or issue may not seem clear or detailed enough for people to help you. Please give more detailed information; for example, we might need errors, steps, relevant configuration files, Ubuntu version, and hardware information. Use a !pastebin to avoid flooding the channel. [01:28] tomreyn: driver is ath9k [01:28] n-iCe: that's a start, but not what i asked. [01:29] tomreyn: I'm running Ubuntu 16.04 using Unity. Qt's context menus are greyed out as if they were disabled, in contrast to gnome, for example. [01:29] qualcom atheros qca9565 ar9565 wireless network adapter tomreyn [01:29] sorry I need to write using the other laptop, since that one has no internet [01:29] n-iCe: which is why i'm suggesting you connect it via ethernet for now [01:31] ryuguns: try moving ~/.config/Trolltech.conf out of the way, then logout and login, and try again. [01:32] tomreyn: can't [01:32] tomreyn: I don't have an ethernet cable [01:33] n-iCe: well now you see why having one can be useful. and they are dirt cheap. [01:34] tomreyn: solved it [01:34] editing /etc/resolv.conf to 8.8.8.8 works [01:34] tomreyn: Trying now [01:35] n-iCe: this won't increase your bandwidth [01:37] n-iCe: you could try the first answer here: https://askubuntu.com/questions/887238/atheros-qca9565-ar9565-unstable-connection-slow-wireless-ubuntu-16-04 [01:39] this chipset is single band 802.11a/b/g, single antenna. === hibbie1 is now known as hibbie [01:49] tomreyn: it does not, but the wifi works [02:04] wow, Archive Manager is so dumb. [02:04] Utterly useless. [02:04] Why does it extract the files without respecting the directory hierarchy in a tar.gz file? [02:11] gonna see how well wow runs on 18.04 on wine. anyone got experience? [02:28] so... was wondering... i just installed ubuntu-desktop with WSL, and was wondering... how do i start the desktop? i am attempting to run the desktop (more specifically an android emulation suchas anbox) on a virtual display... and was wondering how to start the desktop server? [02:29] sparrowsword: And with WSL - yet another re-direction. [02:29] !wsl | sparrowsword [02:29] sparrowsword: Windows 10 has a feature called Windows Subsystem for Linux, which allows it to run Ubuntu (and other Linux distro) userspace programs without porting/recompliation. For discussion and support, see #ubuntu-on-windows or ##windows. For installation instructions, see https://msdn.microsoft.com/en-us/commandline/wsl/install_guide [02:29] ubottu: yes, i am using such [02:29] sparrowsword: I am only a bot, please don't think I'm intelligent :) [02:29] o [02:30] lol [02:30] heh [02:33] so this does not support running a GUI? [02:37] sparrowsword: The quick answer, no, not out of the box. Regardless, as the bot told you, discussion and support for WSL is in #ubuntu-on-windows. Not here. [02:41] that channel is dead... [02:57] I don't have sendmail (MTA) installed on my server. Trying to get cron log to syslog. It seems like cron -s doesn't work. Can someone tell me how I can get cron to log output to syslog [03:02] how can i see the las updated packages? [03:03] i upgraded to 18.04.2 from 18.04.1 and hibernation stopped working once again [03:03] I don't have sendmail (MTA) installed on my server. Trying to get cron log to syslog. It seems like cron -s doesn't work. Can someone tell me how I can get cron to log output to syslog? [03:04] right after the system boots it is fine but after a time using it s2disk hangs saving the image to diks [03:17] hey guys i am getting these messages here https://pastebin.ubuntu.com/p/SR54VXR5DQ/ at boot time. I know WHY i am geting them but not how to fix it. I had renamed and resized some partitions and, i get these messages. === murthy is now known as phoenix_firebrd_ [03:26] I installed drivers for my Samsung Multifunction printer. When I print one copy of a one page document it spews out three copies of the one page. I have definitely chosen one copy... any ideas please? [03:28] ls [03:28] might be in the wrong channel here.. new to limechat, new to irc, new to ubuntu. new allround [03:29] hbfxc, Welcome. Ask a question and someone will get back to you if here is someone who can help. [03:29] thanks Ascavasaion [03:29] I'm spinning up some ec2 linux instances.. looking for a simple way to configure port 8081 to be visible to the world === phoenix_firebrd_ is now known as murthy [03:30] got my aws security group config setup - I remember from the apache days configuring ports in a httpd.conf file. Is there a similar config running express in ubuntu? === cluelessperson_ is now known as cluelessperson [04:19] anyone have experience hooking up bluetooth headphones in 18.04? === murthy is now known as phoenix_firebrd_ === phoenix_firebrd_ is now known as murthy [04:37] !build [04:37] Compiling software from source? Read the tips at https://help.ubuntu.com/community/CompilingSoftware (But remember to search for pre-built !packages first) === [1]MrMobius is now known as MrMobius === murthy is now known as phoenix_firebrd_ === [1]MrMobius is now known as MrMobius [05:00] anyone have any wisdom on bluetooth issues in 18.04? im setting devices into discovery mode, but this hoe isn't seeing them === phoenix_firebrd_ is now known as murthy [05:24] hello [05:24] I'm trying to figure out how to change the Font size in Zorin Linux. Its based on Ubuntu. === murthy is now known as phoenix_firebrd_ [05:29] bennylava, Zorin is not Ubuntu, nor an official flavor thus off-topic here sorry. You'll have to ask in a zorin chatroom [05:33] Yeah unfortunately there's nobody in there right now. But I would like to ask you what you mean by "an official flavor". I'm new to linux. [05:34] ubuntu supports a few different dists, you can find these here [05:34] bennylava, you can see flavors with https://www.ubuntu.com/download/flavours - kubuntu, lubuntu, xubuntu, ubuntu-mate, ubuntu-budgie (official flavors are pretty easy to spot) [05:34] https://www.ubuntu.com/#download [05:35] sorry my list was supposed to end with .... (I only listed some - my list was not exhaustive!) [05:35] Its all good, you got the majority of them. [05:35] What about this: Is anyone here familiar with dconf editor? That editing tool. I installed that but I am unsure of how to use it to change the Font and pointer size. [05:36] Ive been rocking Linux Mint for years and cant complain [05:36] key is official flavors are on-topic here. zorin is not bennylava [05:40] What about a general linux chatroom? Can anyone recommend one that has a lot of users? [05:41] ##linux possibly , but i have no idea if they'll know the zorin desktop (which isn't generic i suspect; why not use the desktops tweak tool anyway?) [05:41] i uploaded video called "Playing it Straight Season 1 Episode 1 US reality-tv show" but when i type that exactly on youtube search, my video doesn't come up : why is that [05:43] They wouldn't let me into ##linux lol. No idea why. Said something about being invite only. [05:51] i uploaded video called "Playing it Straight Season 1 Episode 1 US reality-tv show" but when i type that exactly on youtube search, my video doesn't come up : why is that [05:52] damdai, I don't see how that relatest to Ubuntu? [05:52] it's not [05:52] this is a Ubuntu Support room damdai, so please stay on-topic. [05:52] but somebody might know [05:53] what is better channel to ask that in [05:53] i have no idea damdai , maybe ask freednode as it's not a Ubuntu related question. === makije_ is now known as makije === sunrunner20_ is now known as sunrunner20 === al2o3-cr is now known as Guest63017 === Iolo_ is now known as Iolo === RAX is now known as rax- [06:14] join /ubuntu-server [06:14] #join /ubuntu-server [06:14] use /join #room [06:15] typo === mkv is now known as m4v [06:26] photorec is asking to choose a save location but I just want it to see if it can find it, does it automatically save or can I just first check to see if I can find the lost files? [06:28] Bilbo0: there's a key to start scanning after you chosen your dir to recover to [06:29] Bilbo0: note: choose another media to recover to, then your HD you are recovering from [06:29] can someone tell me what package it is that shows all the different things running on your pc on your desktop like this one in the photo please? https://imgur.com/WkO6oGY [06:29] lotuspsychje: a key? So if I choose a directory to recover to, does it automatically try to save there or does it ask me first? [06:31] Bilbo0: press C when the destination is correct [06:31] Bilbo0: after that, it will start recovering to your chosen dir [06:31] Bilbo0: default is your /home/user [06:31] lotuspsychje: How do I scan to see what it can recover, without it trying to recover??? [06:32] Bilbo0: photorec doesnt work that way, it will scan your whole partition or disk [06:32] Bilbo0: all you can do is, select filetypes you wish for [06:33] !info conky | ellyacht [06:33] ellyacht: conky (source: conky): highly configurable system monitor (transitional package). In component universe, is optional. Version 1.10.8-1 (bionic), package size 3 kB, installed size 27 kB [06:33] ubottu: Thank you!!! [06:34] lotuspsychje: Please listen to what I'm asking, I am not talking about the scanning part! So after it scans it automatically starts trying to put it all out on the save location without any choice from me? [06:34] Bilbo0: i do understand you... [06:35] Bilbo0: scroll up, i said press C when the destination is correct [06:35] Bilbo0: what other choice did you want to see? [06:35] Bilbo0, I don't believe it has a scan only mode [06:35] lotuspsychje: What question does that "answer" answer? [06:36] guiverc: So it automatically starts trying to save everything, including stuff you don't want saved/don't have room to save after it's done scanning? [06:37] Bilbo0: do you even read what i said.. [06:37] Bilbo0: Bilbo0: all you can do is, select filetypes you wish for [06:37] no it scans recovered files... it doesn't have a 'view before you save' - it saves as it proceeds [06:38] s/scans/saves [06:39] guiverc: Know of any better recovery programs that aren't so stupidly designed? [06:40] photorec is one of the best programs ever, made me rescue data from far away ages [06:40] it is one of the better programs, it's targeted at results (who cares about UI) [06:40] guiverc: The result is its useless since I dont have enough space for it to send every bit of crap to another disk just to get one folder and bit of data that went missing [06:41] It sucks not because UI but because of that restriction that makes it useless [06:41] if you want data back, and need to buy another disk to achieve it - the cost of a drive is minimal compared to the data.. results=recovery of data (data is valuable, drives are cheap) [06:42] guiverc: I have another disk, and enough space for the 500mb or so I need to recover, but I dont have the space for a whole drive to be put on it, also that would take a super long time too [06:43] So you don't know of a data recovery program that isn't so fately flawed? [06:43] I have a folder worth of stuff that just vanished somehow [06:43] I shouldnt need to buy a fourth drive or something just to to see if I can recover it [06:44] Bilbo0: its logical if one wants to recover, one would need more space then 500mb? [06:45] hi i been having an issue with 18.04.2 everytime i click on a icon i get booted back to the login i'm pretty new to ubuntu when it comes to trying to find the log error etc if anyone can help please [06:45] lotuspsychje: It's not logical to need three hundred times more space or whatever than the data I want to recover [06:46] right that would be silly [06:46] having 1x the space makes sense [06:46] Bilbo0: thats why i suggested you selecting filetypes in photorec, to save space [06:46] Oh I need to recover a text file, oh you got to buy a 3gb drive because that text files on a 3gb disk and the data recover file wants to save the whole fcking 3gb somewhere [06:46] What I need is a better data recovery program, so please try and help [06:47] good luck === phoenix_firebrd_ is now known as murthy [06:48] @Bilbo0 what about trying parted magic? [06:51] @Bilbo0 https://partedmagic.com/ [06:52] mel: Thanks, though know of any free options? [06:53] @Bilbo0 you can try https://www.r-studio.com/free-linux-recovery/ [06:55] as for my issue i think it has sometihng to do with mesa shader cache any ideas? [06:55] I do have 1 crash log but it is 10mb not sure what to do with it? [06:56] How safe is it in ext4 to attempt shrinking the second partition on a disk so that I may expand the first partition on the same disk? Is this likely to end in disaster? [06:57] it does not happen on 16.04 only on 18.04... [06:57] mel: Thanks. Do you have experience with that you are recommending from or is that just something you found searching? [06:57] Kon-, i've done it many times without issue, but would never try without backup first [06:58] @Bilbo0 I've used partd magic many times with great resaults [06:58] as for r-studio it seems to have some of the same tools [06:59] partd is pay though, right === murthy is now known as phoenix_firebrd_ [06:59] @Bilbo0 Yes for the lastest build [06:59] Is there no way to simply undelete files? I dont understand why this folder disappeared in the first place [06:59] you may find an older build for free if you do some searching === phoenix_firebrd_ is now known as murthy [07:00] @Bilbo0 have you tried to show hidden files? maybe a . got put in front of the folder name [07:01] mel Show hidden is on, I always have it on for me [07:01] @Bilbo0 okay [07:02] mel so no way to simply undelete files, like just remark the data as legit instead of delete? [07:03] mel: With something like R-Linux, how can I know its legit and not maleware or something? Do you specifically know this program as legit? [07:03] does anyone think my laptop is too old for 18.04 since the error never happens on 16.04? [07:04] @Bilbo0 i have used r-studio its safe [07:04] I have a similar question with lots of stuff, they say only install stuff you trust, but not how you're suppose to know what you can trust [07:04] alright, thanks [07:05] mel: So r-studio allows you to target specific things to recover and not the whole disk? [07:05] @Bilbo0 give it a try and let it scan the disk if you haven't wrote too much to the disk since you lost the folder you may have a good chance to recover it [07:07] @Bilbo0 it will only show you recovered deleted files/folders it won't show you the whole disk [07:09] @Bilbo0 it may take a long time depends on the size of the disk one time it took 15 hours for me to recover some files [07:10] mel: But it can allow me to choose which files to recover and not try to recover everything? [07:11] @Bilbo0 Well in all the times I used it it scan the whole disk, most important thing is read the commands well or you can null your disk and loose everything [07:12] mel it scans the whole disk, but can I choose to recover only what I want? [07:12] @Bilbo0 Yes you can choose what to recover [07:13] mel: But I can't undelete it, I have to save to another location, and that location can't even just be on another partition within the same drive but a completely different drive? [07:14] @Bilbo0 I would just use a usb thumb drive [07:14] if you are attempting data recovery from a drive you never want to touch anything else on that drive while doing it [07:14] i make a clone of a damaged drive before attempting recovery so there's no way to screw it up further [07:15] !info extundelete | Bilbo0 [07:15] Bilbo0: extundelete (source: extundelete): utility to recover deleted files from ext3/ext4 partition. In component universe, is optional. Version 0.2.4-1ubuntu1 (bionic), package size 56 kB, installed size 154 kB [07:17] i been having an issue with 18.04.2 everytime i click on a icon i get booted back to the login [07:17] mel: graphics drivers install correctly? [07:18] I think it has sometihng to do with mesa shader cache [07:18] mel: check: sudo lshw -C video plz? [07:20] @Lotuspsychje https://paste.ubuntu.com/p/x7y3xptG52/ [07:20] I think it has sometihng to do with mesa shader cache [07:20] I think my laptop is too old for 18.04 since the error never happens on 16.04 [07:21] mel: ubuntu-desktop on gnome sucks alot of eyecandy these days indeed [07:21] mel: did you test this from a liveusb? [07:22] this mesa shader cache is something new I've never since it before on any ubuntu istall [07:22] I've install 16.04 with no issues [07:22] only 18.04 has issues [07:23] mel: another test could be 18.04 + unity desktop [07:23] I have a crash report but it is 10mb not sure what to do with it? [07:23] ducasse: TY! But as usual these Man files give me a headache when I try to understand them. Can you please help me understand how to use extundelete? === sinner is now known as Guest8918 [07:25] there are tutorials online, do a search - i'm stepping away right now [07:26] @Lotuspsychje how do I run this test 18.04 + unity desktop? [07:27] when something asks for the address of the folder/file etc, and its on another drive, do I include "media" in the address? [07:27] I mean how do I determine exactly the right address it wants? [07:30] @Bilbo0 just use lsblk [07:32] @Bilbo0 but mostly it would be /media// [07:33] So exundelete allows me to undelete without saving in a new location? === murthy is now known as phoenix_firebrd_ [07:36] I think I found the issue https://bugs.launchpad.net/ubuntu/+source/mesa/+bug/1741447 [07:36] Launchpad bug 1735594 in mesa (Ubuntu Artful) "duplicate for #1741447 [regression] compiz crashes after Mesa upgrade" [Undecided,Fix released] [07:38] but I completely removed the mesa drivers from my system [07:38] and the issue still happens repeatly [07:40] anyway thank you all I have to log off now === phoenix_firebrd_ is now known as murthy [07:53] So exundelete allows me to undelete without saving in a new location? [08:00] Is a drive kept engaged by simply having folds in file manager open? [08:00] to somewhere in that drive [08:22] Is there a way to "map" the disk space usage of an USB drive connected to 18.04 laptop? In this case the USB drive is an Android phone and I am trying to find out what data exactly fills it. [08:22] Is there a way to do a word search on a terminal? [08:23] elias_a: try the disk analyzer on ubuntu [08:28] lotuspsychje: I cannot find it as I am running a localized version on Ubuntu and I don't know the name of the sw. Could you check out what About box tells about the name so I could find out how to start it from the command line? [08:28] !info baobab | elias_a [08:28] elias_a: baobab (source: baobab): GNOME disk usage analyzer. In component main, is optional. Version 3.28.0-1 (bionic), package size 163 kB, installed size 904 kB [08:30] lotuspsychje: TY [08:30] join #linux [08:31] I have two weird problems with my Ubuntu install on Dell Vostro 5581 (which is supposedly Ubuntu-compatible and even sold with Ubuntu in some countries) [08:32] !details | qwebirc16430 [08:32] qwebirc16430: Please elaborate; your question or issue may not seem clear or detailed enough for people to help you. Please give more detailed information; for example, we might need errors, steps, relevant configuration files, Ubuntu version, and hardware information. Use a !pastebin to avoid flooding the channel. [08:32] problem one, right button of the touchpad doesn't work (registers as left-click) - same as with another recent Dell laptop [08:33] I am able to work around that with accessibility options, but that leaves me unable to do a double click (left+right) [08:34] the other problem is more annoying: Ubuntu doesn't see my main SSD, which is where my Windows 10 lives. therefore I don't have a Windows option in GRUB [08:35] the main SSD is NVMe 250 GB by Toshiba, fastboot in Windows 10 is disabled. it's detected fine in BIOS and I can boot into Win 10 if I need to by messing with BIOS boot order. secure boot in BIOS is off [08:36] qwebirc16430: if ubuntu doesnt see your ssd, where did you install ubuntu now on then? [08:37] I have two SSD disks, and Ubuntu sees the other (and only the other) - it suits me fine apart from the GRUB problem [08:37] qwebirc16430: are you gonna dualboot or singleboot? [08:37] dual boot [08:38] EriC^: one for you ^ [08:38] if I wanted single boot, I'd have wiped windows from the first ssd (but well, I didn't even have that option in the installer, the installer only saw the second ssd - ADATA SU 800 ultimate 1 tb [08:39] I need Win 10 very rarely, so doing stuff in bios to boot it is... acceptable but I'd prefer to get grub working [08:39] qwebirc16430: what does 'sudo parted -ls | nc termbin.com 9999' give? [08:39] I already tried os-prober (doesn't see Win 10) as well as several disk utilities such as fdisk -l and gparted and they all only see the 1 tb disk [08:40] EriC^: https://termbin.com/74nu [08:41] qwebirc16430: anything in dmesg about the nvme? [08:44] lotuspsychje: Thanks again. Baobab over USB is _really_ slow. How long should it take to map a 16 gb device? [08:44] elias_a: what kind of usb is it, and usb 1, 2 or 3? [08:45] EriC^: looks relevant? [ 1.402542] ahci 0000:00:17.0: version 3.0 [ 1.402671] ahci 0000:00:17.0: Found 1 remapped NVMe devices. [ 1.402672] ahci 0000:00:17.0: Switch your BIOS from RAID to AHCI mode to use them. [08:45] note I am a newbie when it comes to setting up Ubuntu, when I used it at work it came all set up ;) [08:47] lotuspsychje: USB 2 AFAIK [08:48] lotuspsychje: Actually baobab stops responding... [08:48] elias_a: try a tail -f /var/log/syslog and unplug your usb, and replug in while you play with baobab [08:50] qwebirc16430, if you have the luxury of having a second computer, I'd suggest running Ubuntu on a separate machine, Dual booting with windows it's self is a in depth challenge. [08:51] I don't have a second computer and I liked Windows/Ubuntu dual boot at work a lot. apart from this niggle, everything works [08:52] lotuspsychje: https://paste.ubuntu.com/p/FJQ4BkHN8y/ [08:52] i'd say not seeing your SSD would be a fairly large niggle.. [08:52] hi how to uninstall an app and dependences not used by other apps [08:52] comand line [08:53] that SSD has only Windows 10 on it and nothing else :P and I only kept Win 10 because of one program that doesn't have a Linux equivalent afaik [08:53] man139142025: apt-get --purge remove pkg ? [08:53] elias_a: seems like you have some connecting issues to the phone [08:53] man139142025, depends on how you installed it [08:53] i installed in synaptic [08:54] elias_a: did you enable DEV mode on your phone? [08:54] Guys can you check your value of /proc/sys/net/ipv4/tcp_syn_retries? [08:54] tarzeau: so that will leave the dependences the app has if other apps installed use them [08:54] lotuspsychje: I agree. However after disconnecting and reconnecting I can now see partial results of the map. I did not enable DEV mode. [08:55] qwebirc65123: maybe your windows install had both ssd's in a raid or something? try set to AHCI in bios and singleboot ubuntu? [08:55] man139142025: apt-get autoclean or aptitude or/and deborphan helps to clean up [08:55] elias_a: try enabling developer mode on your android first, see if that fixes [08:56] tarzeau: thanks [08:56] qwebirc65123: also nvme ssd's might need advanced partitioning on the setup [08:57] I'm hesitant to set AHCI because it makes Win10 not boot at all, proves that Ubuntu is superior :P (in addition to accessibility stuff - I love visible alerts so much) [08:57] so I guess I'll live with the current status quo [08:57] as I'm going to be using Windows once in a blue moon :P [08:58] so tarzeau i can run "sudo apt-get autoclean" or "sudo aptitude autoclean" [08:59] qwebirc16430: i wouldnt use raid on a desktop on ssd's.. [08:59] qwebirc16430: switch to ahci [09:00] in the bios to see the nvme [09:00] qwebirc16430: reinstall ubuntu in the same mode then [09:01] or convert it or whatever [09:01] qwebirc16430: wait a second which mode is windows installed in? it's not making sense [09:01] windows was installed in whatever the default was, probably raid since switching to ahci makes it not boot [09:02] and I don't fancy reinstalling windows now that I have ubuntu, since iirc the order should be 1) windows 2) ubuntu [09:02] man139142025, you might enjoy this guide >> https://itsfoss.com/remove-install-software-ubuntu/ [09:02] the joys of the computer coming with Win10 preinstalled [09:03] Guys can you check your value of /proc/sys/net/ipv4/tcp_syn_retries? [09:04] qwebirc65123: 6 [09:06] qwebirc65123, same (6) [09:07] @lotuspsychje thanks [09:07] Tin_man thanks [09:09] np.. [09:09] uff, I think I found some tips on how to get past the Win 10 not booting with ahci problem, thanks so much for all the help [09:13] Tin_man: what is the difference between apt-get and aptitude??? [09:15] man139142025, i'll refer you to this link. >>> https://www.tecmint.com/difference-between-apt-and-aptitude/ [09:20] thanks Tin_man [09:23] thanks Tin_man i see basically they access the same repositories and allow user to install the same packages and apps via comand line [09:30] lotuspsychje: Dev mode does not solve the problem. Baobab simply freezes at some point around 1-2 minutes after initiating. === sinner is now known as Guest52151 [09:42] Let's see what changing protocol to PTP does... [09:45] baobab does not see the android device at all in PTP mode === sinner is now known as Guest30946 [09:49] hello there [09:52] I am having major issues booting on 18.04. I just get a blank purple screen, and that's it. I tried recovery mode, which worked once, and I managed to update some packages. After rebooting there, however, means recovery mode _also_ doesn't work anymore. There it hangs after 'Loading initial ramdisk' [09:53] I've tried setting some kernel parameters in grub, to no avail. It seems that both the linux boot and initrd commands finish, but don't actually do anything. [09:53] Even when I remove the `quiet` parameter, I'm getting absolutely zero output. [09:54] the only output I get is when I manually insert some 'echo's in grub. [09:54] any ideas? [09:54] Hiyas all [09:55] sndrtj: removed "splash" too? that should stop plymouth from displaying that purple screen so you can see actual systemd/kernel output [10:06] lotuspsychje: Filelight seems to be able to do the job. [10:06] +1 elias_a [10:06] elias_a: connection to phone going faster now? [10:08] lotuspsychje: At least Filelight does not hang. [10:09] lotuspsychje: Filelight also seems to work flawlessly without dev mode on. [10:09] interesting, let me test that app [10:11] looks good elias_a [10:12] removing `splash` didn't do anything (still a purple screen) the first few times. Somehow it worked after the umpteenth time, but I'm not sure what changed - now it actually went too fast to read any of the messages! :-) === Noisette is now known as Plumette [10:12] lotuspsychje: Does the mapping slow down a lot for you too? towards the end of the process? [10:13] elias_a: pretty fast here, but im on an ssd [10:18] lotuspsychje: Filelight seems not to hang but stops after indexing 1623 files. Odd. Perhaps there is something broken in the USB implementation of this phone.... [10:19] elias_a: for what i understand, connecting phone to a pc needs dev mode enabled to work properly [10:21] lotuspsychje: It has maybe been so years ago but not anymore. [10:21] lotuspsychje: Everything actually works usually without the dev mode. [10:22] elias_a: no harm to try right [10:22] lotuspsychje: I tried it already. [10:23] <_doxker_zero> a [10:24] <_doxker_zero> can we actually follow tcp stream in using tcpdump ? i doubt.. (one of the exercises) [10:24] lotuspsychje: I'll try one more time and then I'll try to index another phone. [10:24] Hey, is there a way to pass to image viewer search context from nautilus? [10:25] Basically what I want to do is to view all images that are result of a search, but not open them all at once. Just the ability to go prev/next photo in the search context. [10:25] _doxker_zero: "follow"? === Richard is now known as Guest5702 === fling_ is now known as fling [10:54] Hi [10:54] How can I send broadcast packets using netcat? [10:55] So far I've been able to send data to speciffic ip addresses [10:55] by doing: nc -u 10.10.10.1 1234 [10:56] is there any way to do-release-upgrade with download only to do the actual upgrade at a later time ? [10:56] acebrianjuan, try nitpipes [10:56] acebrianjuan, try netpipes [10:57] lapion: actually I've just tried doing: nc -u 0.0.0.0 1234 [10:57] and it works [10:59] acebrianjuan, yeah netpipes is ever so slightly different.. === sinner is now known as Guest18194 [11:00] acebrianjuan, thank you for giving me an alternative to [shivers] telnet [11:00] Guy, I wrote a script that setups some software. What would be the best command to restart a VM on Azure after the script is complete? [11:00] Guys* :) [11:01] lapion: bear in mind though, that I have only tested this to connect 2 terminal windows in my computer === Richard is now known as Guest6259 [11:01] FreeBoss: systemctl reboot comes to mind [11:02] lapion: I don't know if this will work to connect 2 computers within a local area network [11:02] blackflow, what if I just do sudo restart? [11:02] I've always heard that routers drop broadcast packets [11:02] acebrianjuan, netpipes is better for that I think [11:02] FreeBoss: whats `restart` ? which package does it come from? [11:02] lapion: you can use --data-dir=DATA_DIR to point do-release-upgrade to a previously downloaded copy of the release upgrade data archive, but that's not the upgrades themselves, just a set of scripts and meta information. [11:03] FreeBoss: if you want to reboot Ubuntu, `systemctl reboot` is the way. [11:03] lapion: but you can, of course, always point your apt sources to a local mirror server or proxy cache === markus__ is now known as marus619 === marus619 is now known as markus619 [11:18] blackflow, any idea how to restart ubuntu properly after simple script is done? sudo restart here doesn't work https://raw.githubusercontent.com/azuretestrepo/UbuntuClamAV/master/ClamAv.sh === tco is now known as Taco [11:19] FreeBoss: I told you twice. `systemctl reboot` [11:20] FreeBoss: and instead of prefixing every line with sudo, just run that script with sudo or root. [11:23] FreeBoss: and btw, it appears that what you're doing there is a perfect job for ansible. [11:24] blackflow, interesting. [11:39] blackflow, I updated the script https://raw.githubusercontent.com/azuretestrepo/UbuntuClamAV/master/ClamAv.sh [11:39] It restarts the server now, but reports an error: "Object reference not set to an instance of an object." [11:39] any idea what that is about? [11:41] FreeBoss: nothing Ubuntu related probably. [11:41] google suggests it's a .NET error. [11:42] Hi guys, I have a strange issue [11:42] FreeBoss: btw that script is still using sudo on every invocation. that's wrong, run the script itself with sudo, not each individual line. [11:42] when I try to run bash with a specific user I get: "Killed" [11:42] do you have any idea? [11:43] Bash threatens you [11:43] enoch: just "Killed" ? [11:43] no prefix whatsoever? [11:43] yes , only "Killed" [11:43] sh works [11:43] and bash works with other users [11:43] enoch: like I told you in #debian, check the shell rc files. those sourced from ~/ and in /etc/ [11:43] enoch: maybe it's the script writing that? [11:44] enoch: type "grep -i killed /path/to/script" [11:44] it is not a script, I'm just running /bin/bash [11:44] blackflow: /etc/ where? [11:44] enoch: also you said when you LOGIN with that shell. so running scripts vs login is quite a different situation. which one is it, then? [11:44] in ~/ I have nothing [11:45] enoch: bash(1) manpage, section FILES [11:45] enoch: check the rc files as blackflow suggested, also try running bash with more verbosity [11:45] blackflow, I can login if I set the default shell to /bin/sh but then if I switch to /bin/bash I get "Killed" [11:45] where are the rc files under /etc/? [11:45] enoch: try "bash -x" [11:45] which is why I told you to check the rc files [11:45] enoch: look at the damn manpage, section FILES [11:46] thank god [11:46] this seem work [11:46] https://nopaste.xyz/?279e1c0d363179f7#tQeGkOMbmXO55NOQRkmT9QDKYc0rq+RYxemU5jaoQYo= [11:46] ubuntu 18.04 hangs sometimes [11:46] enoch: also, create a new user, with defaults, bash for shell, see if you can log into that. [11:46] when try update [11:46] https://nopaste.xyz/?279e1c0d363179f7#tQeGkOMbmXO55NOQRkmT9QDKYc0rq+RYxemU5jaoQYo= <- bash -x [11:47] the 16 version was more stable i believe [11:47] blackflow: the new user works [11:47] enoch: you'll need bash -lx to check the LOGIN context [11:48] enoch: right, so something in your users home dir, one of hte files sourced by bash, is causing it to go belly up [11:48] mhh maybe something related to the locale? [11:49] enoch: bash -lx [11:49] https://nopaste.xyz/?900d51abb4d719cb#DLXN6SMmv5/lboAqy5i23SvhrmLtxV4IDi2BTHCm1Qg= <- bash -lx [11:49] yes that's why I asked :D [11:49] see: printf 'WARNING! Your environment specifies an invalid locale.\ [11:50] enoch: see "dmesg" [11:50] enoch: if bash printed Killed it would have shown in bash -x, so something else is killing it i guess [11:50] enoch: invalid locale would just complain loudly, but not fail. it defaults to "C" iirc. but definitely do setup the locale properly to fix that issue anyway. [11:50] oh nevermind, the old paste was short [11:51] blackflow, so it actually doesn't work. that script didn't work. I'm not running it inside bash, but rather using Azure Custom Script Extension. Documents say that "If you have a script that will cause a reboot, then install applications and run scripts etc. You should schedule the reboot using a Cron job" [11:51] How can I reboot ubuntu in such case with cron job? [11:51] if new user logs in fine, but your current doesn't, then the problem is most likely in ~/.bashrc or any other rc the shell is sourcing from there [11:51] I already tried dmesg, but it seems to be fine [11:52] enoch: the last paste you showed had a lot of locale errors [11:52] FreeBoss: systemctl reboot. and it appears your problem is not Ubuntu related, so you should really ask Azure support. "Azure Custom Script Extension" is not supported here. [11:52] I have no ~/.bashrc so how to check if any other rc is killing it? [11:53] FreeBoss: also scheduling reboot with cron sounds totally wrong. what is the end goal you're trying to achieve there? Set up your VM, reboot it? [11:53] enoch: last time. bash(1) manpage, section FILES. there's more than one file the shell is trying [11:53] ok thanjks [11:54] enoch: section INVOCATION explains the order checked and what happens in the process [11:54] checking, thanks [11:55] these kids of tu delft are messing [11:55] i think they wrote the terminal system :D [11:55] goodday [11:55] enoch: try 'dmesg -w' then try 'bash' again [11:56] (in another terminal) [11:56] enoch: how are you trying these stuff from where? [11:56] , yes setup and reboot [11:56] enoch: you're logged into the user using sh, and you're running 'bash' as the user? [11:57] EriC^ , yes ( dmesg is not showing anything ) [11:57] enoch: try 'strace -o /tmp/bashlog bash' [11:57] then upload /tmp/bashlog [11:57] FreeBoss: okay. so if that's not an Ubuntu linux shell (like bash, sh, etc...) you'll really need to ask that software's support channels. for regular ubuntu stuff, shell and scripting, systemctl reboot is what you need. or just `reboot` but taht's a symlink to systemctl anyway. [11:58] searching linux networking and openvpn pro i will pay btc mesg me [11:58] blackflow, yeah it's linux shell, but under different user, I think [11:58] I just need to reboot after that script is done [11:59] FreeBoss: if that is Ubuntu running, `systemctl reboot` does it. If that's not ubuntu running but some Azure something something, then ask Azure how to do it. [12:00] EriC^ http://paste.debian.net/1072822/ [12:00] FreeBoss: you might also need to force the reboot, if it's failing for whatever reason caused by config change. `systemctl -f -f reboot` [12:03] enoch: im able to reproduce your error by doing in "sh" 'ulimit -t 1' then 'bash' then e@e:~$ for i in {1..10000000}; do echo $(($i * $i)); done Killed$ [12:04] enoch: try "ulimit -t" for the affected user see what it says [12:04] mine says unlimited by default [12:04] unlimited [12:04] if ulimits were the cause here, why would /bin/sh login work then. unless a bash rc is doing something to set a limit and then breaks itself... [12:05] something is sending it SIGKILL [12:05] beacuse logging into another user with bash shell works, as mentioned before. ergo.... the failing user's ~/ does something that breaks bash [12:06] i'd check the rc files as blackflow said [12:06] blackflow I also tried to change the use home directory [12:06] checking [12:06] I suppose it doesn't hurt to check /etc/security/limits.conf to see if that particular user (or its group) is limited [12:06] enoch: and? can you login when you change the homedir? [12:07] no [12:07] /etc/security/limits.conf is empty [12:07] you changed the homedir in passwd? [12:07] EriC^ yes [12:08] bash --norc [12:08] bash-4.3$ Killed [12:08] $ [12:08] why does it says bash-4.3 [12:08] the moment of truth [12:08] oh, with --norc it does that [12:09] enoch: just to be clear though, this is the standard ubuntu repo bash right? :D [12:09] EriC^ it is debian: Debian GNU/Linux 8 \n \l [12:09] of course. :) [12:09] Ubuntu question: how can I restart a VM once via cron job? [12:10] FreeBoss: at a particular time you mean? [12:10] Hi all. Is there a way to disable Ubuntu telling me that I need to restart my computer to use the software I upgraded after 'apt upgrade'? [12:10] EriC^, no, 5 seconds after a command [12:10] or right now, but via cron job [12:11] I'm performing a simple script using Azure Custom script extension. https://raw.githubusercontent.com/azuretestrepo/UbuntuClamAV/master/ClamAv.sh [12:11] mhhh blackflow EriC^ , you mean this is not a "standard" debian?= [12:11] FreeBoss: how is the command executed? [12:11] I need to restart VM after the script executed. [12:11] However documentation says that "If you have a script that will cause a reboot, then install applications and run scripts etc. You should schedule the reboot using a Cron job" [12:11] So, my question is how can I edit my script to restart VM via cron job? [12:12] enoch: this channel is called #ubuntu [12:12] FreeBoss: that only makes sense if cron is running the script in the first place [12:12] FreeBoss: you'd do something like /path/to/script && sleep 5 && reboot [12:12] EriC^, that wouldn't work. [12:12] if you wanted it only to reboot if the script was successful in its return [12:12] enoch: Ubuntu != Debian [12:13] yes I know [12:13] FreeBoss: brb [12:14] FreeBoss: you can also do this: https://www.linuxjournal.com/content/rebooting-magic-way [12:15] FreeBoss: the two echos, to sysrq and sysrq-trigger [12:15] enoch: so you knowingly ask volunteers here, who are here to provide support with ubuntu (as the topic also told you), for support with something else? don't you realize how that's wrong? [12:16] tomreyn: really I thought it was a ubuntu machine at the beginning [12:16] enoch: then by the time you realized it wasn't, you should have pointed this out and moved to #debian [12:16] I asked here and in #debian becaus it is debian based [12:16] I also asked here [12:16] there* [12:16] enoch: no you didn't, you asked in #debian first :) and I answered you there. [12:17] Ubuntu is debian-based but the two have rather different philosophies anyway [12:17] blackflow yes but really I thought it was an ubuntu machine. Btw I understand guys [12:18] next time you're unsure what youR'e running, there is also ##linux [12:18] enoch: btw, there's no selinux running there, is it? [12:19] I mean what you listed was happening so far, is really weird. esp where you changed the home dir and had the same outcome, meaning there's somethng else enforcing for that USER in particular, but only if BASH is used... [12:20] If this is the summary: user+bash=killed; user+bin/sh=ok; anotehr_user+bash=ok; user+bash+new_homedir= killed [12:20] please move over to #debian to continue on this topic [12:21] blackflow EriC^: what about ulimit -a? [12:21] blackflow, do I need to add "done" when doing this magic way? https://raw.githubusercontent.com/azuretestrepo/UbuntuClamAV/master/ClamAv.sh [12:21] https://nopaste.xyz/?e79c592f9382d01d#DbY7wHVYLBwLUi+NZ3fVCNGoipSjxCDBT6qzD/Rvssk= [12:21] we're trying to make everyone aware that they should only seek support in their distros' channel, not something based on something which is also similar to something else. [12:22] FreeBoss: no, "done" is the ending token for the "while" stanza. while ....; do ....; done [12:22] continuing this chat here would undermine this effort, blackflow [12:22] , thanks! I'll try now [12:23] I'm trying to run rabbitmq, but keep getting a report that "node 'rabbit' not running at all". Even after reinstall [12:23] FreeBoss: you might want echo s before that echo b to sync the filesystems at least [12:23] FreeBoss: this explains the sysrq letters: https://en.wikipedia.org/wiki/Magic_SysRq_key [12:24] tomreyn: agreed [12:24] thanks [12:24] uhm? so not [12:24] echo 1 > /proc/sys/kernel/sysrq [12:24] echo b > /proc/sysrq-trigger [12:24] instead [12:24] FreeBoss: no that's okay. just add echo s > /proc/sysrq-trigger inbetween [12:25] thanks [12:25] FreeBoss: the first line enables sysrq (which is off by default, though controlled by sysctl.conf), and the other two inject the sysrq "commands" [12:26] what is the meaning of this? https://raw.githubusercontent.com/azuretestrepo/UbuntuClamAV/master/ClamAv.sh [12:27] EriC^: some weird Azure Scripting Language aka Not Really Bash or Shell, used to set up and reboot an Azure VM running (I guess) Ubuntu. [12:27] it says ".sh" at the end though [12:27] if I understood correctly, but that totally looks like a valid shell script to me. [12:27] which is weird why `systemctl reboot` wouldn't work, unless there's no systemd running in that environment. [12:28] yeah but am i missing something? i dont get the point of it [12:28] 12:51 < FreeBoss> blackflow, so it actually doesn't work. that script didn't work. I'm not running it inside bash, but rather using Azure Custom Script Extension. [12:28] Hello, I am using Lubuntu 18.10. When I boot the OS, I get some error messages, one being "brcmsmac bcma0:1: brcms_ops_bss_info_changed: qos enabled: false (implement)". Where is the problem? [12:29] EriC^: apt update, install clamav, setup config, reboot [12:29] blackflow: oh i see [12:29] i meant like the whole while ! echo y | stuff [12:29] like, a clamav appliance or something. doesn't matter what the context is. the question was "how to reboot at the end of that script" [12:29] sazawal: you dont have internet yet? [12:30] EriC^: honestly I wasn't really trying to parse it in my head, except noting the excessive use of sudos [12:30] lotuspsychje: No, it seems like the Ethernet card is dead. I am using wifi which works. [12:30] blackflow: nevermind i get it now, it keeps running apt-get update every 5 seconds til it succeeds, makes sense [12:30] sazawal: allright an the wifi is a broadcom? [12:31] lotuspsychje: Yes, this I checked in lspci Network Controller [12:31] sazawal: this very message you quoted just seems to state that support for the (optional) "quality of service" feature is not yet implemented in this driver. [12:31] blackflow: the really redundant part is that they have the command inside the while loop too [12:32] if it runs right there, it'll have to run again for the while condition, and then exit, and it's totally unnecessary, just sleep 5 would be good [12:32] tomreyn: But isn't Ethernet and Wifi are from different physical cards? I was supposing my Ethernet Card should show up as Ethernet Controller in lspci output [12:33] , that sill doesn't work. How can I create a cronjob that will restart VM 10 seconds after I run this command? That would fix it [12:33] FreeBoss: cron has no idea when you run commands, unless you run the command using cron, then you can use that relativity to run your reboot [12:34] FreeBoss: if the script isn't running as root, so you use all those sudos, then those echo's won't work. you'll need to echo 1 | sudo tee /proc/... and the same for s and b in the same form [12:34] cron is just this 'at this time/interval/something run /path/to/this' [12:34] FreeBoss: sorry it occurred to me just now that it's probably not running as root [12:34] FreeBoss: where are you running this command from? the ClamAv.sh ? [12:35] add to that the 10 secs delay, or integrate it into the script itself at the end put sleep 10 && reboot [12:35] btw there's no cronjob for ten seconds. minimum resolution is 1 minute, and I totally would NOT use a crontab, it's unnecessrily complex. [12:36] Eric^, blacflow, Azure Custom Script Extension executes this script. [12:36] seems like a question for ##azure [12:36] FreeBoss: cron has no place in this scenario. Do what you were told and make the reboot part of your screen [12:36] script* [12:36] indeed [12:37] the cron stuff is jibberish, and the script seems poorly written [12:37] FreeBoss: I don't know what that means, and we can't support that here. I'm telling you from the standpoint of a shell script. I think you're chasing a red herring there. systemctl reboot MUST work. if there's no systemd, then just `reboot`. or use the sysreq to force the kernel into reboot. [12:37] So it runs the script and waits for "success" then it finishes. So .sh script [12:37] , how I can do that? [12:37] FreeBoss: at the end of your screen, put a sleep 10 and the command to reboot your VM [12:37] damnit [12:37] script, not scren [12:37] heh [12:37] just woke up :) [12:38] I thought you were recommending GNU screen there. [12:38] , I did add reboot into it and it failed [12:38] FreeBoss: ok, then fix that [12:38] FreeBoss: failed how, tho? [12:38] the error you get is crucial [12:38] FreeBoss: can the user running it usually run 'reboot' ? [12:38] Azure Script Extension wait for script to report success, but script restarts vm so it never reports sucess, hence Azure Custom Script Extension waits forever = fail [12:39] FreeBoss: oh BTW..... did you run that reboot with sudo? =) [12:39] yes [12:39] I ran [12:39] FreeBoss: what's teh exact error you got out? [12:39] sudo systemctl reboot [12:39] FreeBoss: is sudo passwordless? [12:39] blackflow no error. Azure Script Extension waits for sucess forever [12:39] So timeout [12:39] FreeBoss: sounds like an #azure problem [12:39] FreeBoss: how about just sudo reboot ? [12:39] I told you, it didn't work [12:40] FreeBoss: do you use a password with sudo? cause in the script it wont work in that case [12:40] FreeBoss: okay then try those echoes but replace echo 1 > /proc... with echo 1 | sudo tee /proc/.... and use the same from for all three lines [12:40] lotuspsychje: tomreyn Is this error message somehow related to my non-functional ethernet? I found on searching that it is a wifi problem, although my wifi is working. [12:41] Can you look at this? https://raw.githubusercontent.com/azuretestrepo/UbuntuClamAV/master/ClamAv.sh [12:41] FreeBoss: try running 'id > /tmp/userid' in the script and paste what's in /tmp/userid [12:41] Third command works [12:41] so it does reboot now? [12:42] sazawal: check your driver version please? sudo lshw -C network [12:42] those echo's aren't going to work unless you're running this script as root. If you're running as root, you don't need the sudo [12:42] with echo b | sudo tee /proc/sysrq-trigger ? [12:42] FreeBoss: you can add a "u" (unmount all fs) after the "s" (sync) so it's safer [12:43] sazawal: the single log line you shared with us so far is definitely related to a broadcom wireless device. if you're trying to make an ethernet device work, you should focus on that instead. [12:43] lotuspsychje: description: Wireless interface product: BCM43224 802.11a/b/g/n vendor: Broadcom Inc. and subsidiaries physical id: 0 bus info: pci@0000:01:00.0 logical name: wlp1s0b1 version: 01 serial: 20:10:7a:2e:3c:b4 width: 64 bits clock: 33MHz capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless [12:44] going to sleep 36 hours up and no solution [12:44] Thanks for heklp guys, I'll make it work tomorrow [12:44] tomreyn: I see. I already gave up my ethernet device. I have an opinion that it is physically dead. So, as long as my wifi works, this error message shouldn't bother me. [12:44] that tends to happen with phrases like 'it wont work' [12:45] FreeBoss: no crystal balls here, you need to give any errors etc so people can help you more effectively [12:46] sazawal: i don't think it is an error message. [12:46] FreeBoss: no solution? did the echo | sudo tee work or not? I thought you said "third command works" [12:46] sazawal: but i agree that you don't need to worry about it. [12:46] sazawal: im missing: driver= [12:47] !paste | sazawal [12:47] sazawal: For posting multi-line texts into the channel, please use https://paste.ubuntu.com | To post !screenshots use https://imgur.com/ !pastebinit to paste directly from command line | Make sure you give us the URL for your paste - see also the channel topic. [12:48] lotuspsychje: Sorry, here is the complete output https://termbin.com/wd96 [12:49] sazawal: try another driver [12:50] !broadcom | sazawal [12:50] sazawal: Help with Broadcom bcm43xx can be found at https://help.ubuntu.com/community/WifiDocs/Driver/bcm43xx [12:50] tomreyn: Yes. I will get back to it if the wifi has problems in the future. [12:50] sazawal: bcmwl-kernel-source for example [12:51] lotuspsychje: This is for the wifi driver right? My wifi is working. [12:52] sazawal: yeah dont play with working things :p === Noisette is now known as Plumette [12:53] lotuspsychje: :P. Although I am of the opinion to play around with working things, but I have enough games with this laptop. [12:53] sazawal: its your system, you are the boss [12:54] lotuspsychje: Yes :D, by the way thanks. [12:54] I will soon get an ethernet to USB adapter and try to make it work. === nat_ is now known as Natkeeran === hibbie1 is now known as hibbie [13:18] I'm using lubuntu-desktop. On startup, I want it to automagically go straight to a desktop, open a web browser to a certain URL, and set it to full screen. [13:18] Not sure what to google ... can anyone give me some keyword suggestions or ... just tell me what to do? :) [13:24] mustmodify, google ubuntu autologin then in your browser set that webpage as the home, set full page and save as your session [13:25] save as your session... [13:25] ok I'll give it a shot. Thanks Southern_Gentlem [13:27] i have been doing the same for years (except the autologin) for Summer Orientation laptops [13:27] does FF stay in fullscreen next time you start it? [13:28] I thought one would need a config change or extension for that [13:28] (aka kiosk mode) [13:30] blackflow, it works for me for years [13:31] Southern_Gentlem: good to know [13:38] Hi, I have a problem where a video device appear as on lsusb, but does not show a /dev/video* [13:38] It does appear at first, but after a few moments it disappears. A reboot solve the issue, but I wonder if there is a permanent solution? [13:46] Hi, after upgrading my machine to 4.15.0-46-generic I now have about 80ms of typing lag. Anybody know what could cause this? [13:47] freeone3000: what version of ubuntu? [13:49] leftyfb: 18.04 [13:49] freeone3000: try installing linux-image-generic-hwe-18.04 [13:49] that'll give you the 4.18 hwe kernel [14:03] hell [14:03] hello [14:04] how the ubuntu install chrome === kantlive- is now known as kantlivelong === Kamilion|ZNC is now known as Kamilion === N3X15_ is now known as N3X15 === slashd- is now known as slashd === jk0ne is now known as jk0ne === [Ben] is now known as MrC [14:12] Hi, I want to encrypt my ubuntu hard disk (when I start my OS I want to get first password of the hard disk and after that the password of ubuntu ) [14:14] is there a way to encrypt my ubuntu after installation (I know during installation I can do that) but now after the installation I want to encrypt it please if you know something help me === RAX is now known as rax- [14:16] hi all. Could you please advise me if I choose the option to upgrade 16.04.6 to 18.04.2 will this make any changes on my current system's configuration or the whole configuration will remain the same? [14:16] !repeat | kaniki [14:16] kaniki: Don't feel ignored and repeat your question quickly; if nobody knows your answer, nobody will answer you. While you wait, try searching https://help.ubuntu.com or https://ubuntuforums.org or https://askubuntu.com/ [14:16] !ltsupgrade | ilias_gr [14:16] ilias_gr: Upgrade from 16.04 to current 18.04 is now available, if you do not receive the upgrade window try update-manager -c [14:16] ilias_gr: it depends on the application/service [14:16] kaniki: it will be a lot quicker and easier to encrypt during installation === lepusfelix is now known as luckybunny [14:18] leftyfb thank you for your kind reply, The problem is that I'm going to travel today and I know that they will start touching my stuff here in my country I don't trust them this is why I want to encrypt it [14:18] leftyfb: Could you please explain me this? Will the upgrade affect packages configuration storing on /home? [14:18] ilias_gr: again, it depends on the application [14:18] ilias_gr: Minimal changes will occur to your configuration. Where a new configuration file needs to be installed, you will be prompted if you wish to keep your own configuration or use the new package mantainers version [14:20] OK. Thank you both. Is it an upgrade recommended best than a clean installation or there no difference? [14:21] ilias_gr: I would recommend an upgrade, if you don't like how something behaves, then move to a fresh install [14:23] pragmaticenigma: I have kept back 3 packages to avoid upgrade. Is this the reason that my system asks for a full upgrade of current release to proceed with the upgrade to the new distro? === m0nkey__ is now known as m0nkey_ [14:24] ilias_gr: Yes [14:24] leftyfb: Okay, so nvidia-932 had a slight dkms incompatiblity with the 4.18 kernel, but I shimmed the headers to support the old interface and everything's working fine. Thanks for your help! [14:26] pragmaticenigma: thank you. [14:28] hola [14:28] q onda [14:29] hola [14:30] !es | ceibal_ [14:30] ceibal_: En la mayoría de los canales de Ubuntu, se habla sólo en inglés. Si busca ayuda en español entre al canal #ubuntu-es; escriba " /join #ubuntu-es " (sin comillas) y presione intro. === hibbie1 is now known as hibbie === bindi_ is now known as bindi [14:44] i am having trouble with ubuntu 16. i have dual booted ubuntu with win7 . the ubuntu generating lot of heat to hdd but there is no heating problem on windows. [14:45] hard disk temp goes upto 55 degree under an hour [14:45] such temp sounds normal to me [14:46] thats warm but not very hot for a drive. sounds like you need better cooling [14:46] but it never goes above 45 in windows [14:46] i have installed tlp [14:46] but no benefit [14:46] with specs of that drive, you could check with the vendor [14:46] markus__: which version of ubuntu? (there is no "ubuntu 16") [14:47] ubuntu 16.04 [14:48] Ubuntu 16.04.6 LTS [14:51] i also have edited tlp conf file refering from this answer:https://askubuntu.com/questions/45493/why-is-the-hard-disk-drive-too-hot [14:52] markus__, what hdd exactly? sudo hdparm -I /dev/sda | grep Model # could tell [14:52] Model Number: WDC WD10JPVX-22JC3T0 [14:53] it's western digital hard drive [14:55] I have a decimal IPv4 addr. 168300806 I use online tools that it converts to 10.8.17.6 which is correct, however str prints 6.17.8.10 when I use this fcn inet_ntop( AF_INET, &uint32_ipv4_addr, str, INET_ADDRSTRLEN ); I have just upgraded my ubuntu 16.04 to 18.04. It was working with on 16.04, now it translate on reverse order. Does anyone know how to fix the order? [14:55] markus__, WD blue, i found it, sure the temp is normal between 0-60 'C https://www.wd.com/content/dam/wdc/website/downloadable_assets/eng/spec_data_sheet/2879-771437.pdf [14:57] Angs: This is not a development channel, please find a channel specific to the programming language that you are using for assistance [14:57] ok let's see if it goes higer than 60 after working long hours [14:58] !alis | Angs: To help you search for a channel try: [14:58] Angs: To help you search for a channel try:: Alis is an IRC service to help you find channels. For help on using it, see "/msg Alis help list" or ask in #freenode. Example usage: "/msg Alis list http" [15:12] hello [15:13] Hello amcclure === mpmc_znc is now known as mpmc === Class7_ is now known as Class7 [15:28] how do i prevent par2 or what is causing my par2 unpacking not allowing the other par2 files not extract? [15:29] AkJung47: whats happening exactly? it stops unpacking? [15:29] i unpack my par2, then comes other par2 files and they won't unpack [15:30] just about everygame i download has a par2 [15:30] Hello Can somebody help about UFW ? [15:30] AkJung47: game? [15:30] and apps [15:30] videogames. [15:31] AkJung47, seems like a borked illegal newsgroup download, not an ubuntu issue [15:31] i want itch.io and that's par2 i have like 5 games that's par2 [15:31] it's legit... [15:31] i do not piracy [15:32] i extract the itch app then it extract's files like itch-setup.vol000+08.par2 [15:32] oh oke, pars are usually newsgroup stuff .. [15:32] where do i go? [15:33] i been searching forums all day [15:33] In /etc/pam.d/lightdm-autologin, what does `session required` do? I'm getting 'No session for pid xxxx" -- I'm not sure why I'd want a session, assuming a session is something that stores where windows are and what's in memory. WHen I start, I just want it to autologin then execute a command to open a browser. [15:33] AkJung47: i had something pypar to auto repair them [15:34] i use that and it gives me files like itch-setup.vol000+08.par2 and they don't extract [15:34] sorry, it's `session required blblah" like pam_limits.so, etc [15:34] they won't even load.. [15:34] AkJung47, as itch.io is commercial, seek help with their support? they usually give a .zip file, not par [15:34] i have the zip i extract that run the file and it is a par2 [15:35] !info pypar2 xenial | AkJung47 [15:35] AkJung47: pypar2 (source: pypar2): graphical frontend for the par2 utility. In component universe, is extra. Version 1.4-7 (xenial), package size 37 kB, installed size 288 kB [15:35] where do i get that? [15:35] AkJung47: seems not on bionic anymore [15:36] i have ubuntu gamepack [15:38] do you think it's my OS? [15:38] AkJung47: think your problem is the corrupt archive needing to be repaired [15:39] AkJung47: and you need something like pypar2 to repair the archive [15:39] fucking assholes [15:39] i read that files get corrupted when downloaded and creates par2 i havn't had this problem until i got this OS [15:39] Hello Can somebody help about UFW ? [15:39] !op | Roar [15:39] Roar: Help! Channel emergency! (ONLY use this trigger in emergencies) - Pici, Myrtti, jrib, Amaranth, tonyyarusso, Nalioth, lamont, CarlK, elky, mneptok, Tm_T, jpds, ikonia, Flannel, genii, wgrant, stdin, h00k, IdleOne, Jordan_U, popey, Corey, ocean, cprofitt, djones, Madpilot, gnomefreak, lhavelund, phunyguy, bazhang, chu, dax [15:39] fuck this fucking OS [15:39] lol [15:39] Can someone tell me what I'm doing wrong? I have an HP Elitebook 8570w, I'm installing Ubuntu Server LTS 18.4 it finds my local disk, I create one large partition, and it installs fine, but then when I reboot, it says no boot device found.... [15:39] .. [15:39] I attempted changing my boot options in teh EUFI/BIOS to Legacy but that didn't help either [15:40] OerHeks: legit games/software do not use pars. He was clearly dealing with illegal downloads. [15:40] Also for some reason I get a lot of pixel oddities on teh screen during boot [15:40] thoughts suggestions? [15:40] Roar: you just offended everyone here that would have been willing to help you. You can leave now. [15:41] Zewwy: try reinstalling after changing to legacy [15:41] I did [15:41] it did the same thing [15:41] Zewwy, when you reboot, is your hard drive the first boot device? [15:41] Yes [15:41] I double checked my boto orer and everything in teh BIOS/EUFI before and after install [15:41] and reinstall [15:42] I'm at a loss... [15:42] Zewwy: do you have any other bootable drives/media in your machine? Try unplugging them and/or disabling all of them in the BIOS and reinstall. [15:42] I did [15:42] I have no other bootable devices after install === bildramer1 is now known as bildramer [15:43] if I load anyother live linux (like GParted Live) it finds the disc fine just liek the live installer does [15:43] I have a 18.04 server install, and i'm trying to determine what is setting the network configuration? I have a bond setup that was done during install, and I'm trying to creat a bridge to the one eth device thats not part of the bond. I'm used to /etc/network/interfaces but that says it's managed by netplan now. However, none of the ethernet devices show up in in nm-connection-editor ? [15:43] BIOS sees the disc everytime too [15:43] codefriar, /etc/netplan/* [15:43] codefriar: Ubuntu 18.04 uses netplan.io, not /etc/network/interfaces (ifupdown) on a fresh install [15:43] codefriar, netplan is not the same as networkManager. NM is not installed on server by default [15:44] netplan uses YAML parser [15:44] fun stuff [15:44] lordcirth: networkmanager was not mentioned [15:44] oh, it was [15:44] nm-connection-editor [15:44] this isn't a server then [15:44] it's a Desktop [15:44] It could have been installed [15:45] codefriar, are you sure it was the Ubuntu Server, not Desktop, iso that was installed? And was it a fresh install of 18.04, or upgraded from 16.04? [15:45] so I"m hooped? [15:46] Zewwy: there's got to be something you're missing. What if you pick your boot device at POST, can you pick the hard drive? [15:46] I didi that tyoo [15:46] same thing no boot [15:46] why would ubuntu installer not install the boot partition properlly? [15:46] Zewwy: try booting a live cd/usb and reinstalling grub [15:47] Zewwy: That's not an appropriate question until we find out what is actually wrong [15:47] well clearly the boot partition [15:47] no, it's not clearly [15:48] especially since by default, Ubuntu 18.04 desktop will not create a separate boot partition [15:48] who said desktop [15:48] I said server, no desktop [15:48] on a laptop? [15:48] lordcirth it was installed as ubuntu server, and I manually installed budgie-desktop through tasksel === xMopx- is now known as xMOpx [15:49] codefriar: can I ask why? === xMOpx is now known as xMopx [15:49] leftyfb I'm creating the bridge, so I can use virt-manager. [15:49] Zewwy: just to be clear, you installed Ubuntu server on a laptop? [15:50] codefriar: it should still be using netplan, not the desktop GUI [15:51] leftyfb: I run ubuntu server on laptops as well.... a computer is a computer [15:51] <_alx_> is there a diff tool for binary files? (i'm looking for differences in the headers of tiff files) [15:51] pragmaticenigma: yes, but it's not typical. We should verify it either way. [15:53] _alx_: No, you could do a hex dump of the two files and then use a diff tool to compare the output [15:53] leftyfb i edited the yaml file and restarted the service but br0 doesn't show? [15:53] codefriar: did you run netplan apply? [15:53] yes [15:53] codefriar: there's documentation for netaplan that you should be following. Especially if you're complex configs like bonding === Noisette is now known as Plumette [15:54] <_alx_> pragmaticenigma: hexdump it is, thank you! [15:54] _alx_: kinda guessing about what you are doing - but I would run a tool that extracts the metadata from the tiffs and diff that [15:55] _alx_: here is a nice bash trick: diff  <(pdftotext ndv_19_pytx_v1.pdf -) <(pdftotext ndv_19_pytx_v2.pdf -) [15:55] leftyfb: correct, sorry had to help someone [15:55] codefriar: https://netplan.io/examples#configuring-network-bridges [15:55] CarlFK: They need TIFF support though [15:56] _alx_: once you figure out 2 commands to display something: diff  <(cmd1) <(cmd2) [15:56] codefriar, installing budgie probably pulled in network manager. You should disable it. [15:56] Zewwy: ok, by default, Ubuntu server 18.04 does not create a separate /boot partition. [15:56] <_alx_> CarlFK: it's fine, i'm building a cstruct of the full header :) [15:56] lordcirth re-running netplan apply seems to have worked. [15:56] hmhmmm, I used this same image to pin up a VM and it worked fine? [15:57] Zewwy: image? [15:57] Also when i went through the installer, when it got to the part on creating the paritions it did show a Grub partition [15:58] Zewwy: by default, Ubuntu server 18.04 does not create a separate /boot partition. If you have an EFI system, it will create an EFI partition. But not a "Grub" partition. [15:58] go on [15:58] cause the VM I installed this image on was setup to use EFI and it worked fine [15:59] I'll install this same image on a different laptop using an ssd [16:01] Zewwy: on the machine in question, are you choosing the entire drive to install to or are you trying to setup some manual config? [16:09] Clean drive (no data or parition data) use entire drive [16:09] doing the whole install again on a different laptop with an SSD [16:09] not getting the pixle oddities on this one, but install is going through the exact same so far [16:10] Ubuntu-Server-18.04.2-live-amd64 [16:11] same proble, [16:12] Hey folks. I'd like some advice. I want to create an ubuntu installation flash drive, but not with a simple dd. I'd like the end result to be an MBR flash drive, with a ~2.5GB partition with the files of the ubuntu live desktop ISO, leaving space for other data partitions. My main hang-up is the bootloader. Are there existing guides on this topic? [16:13] James_Epp: why do you care about an MBR? [16:13] legacy boot would be my guess [16:13] leftyfb: So that both BIOS and EFI systems can be booted [16:13] Zewwy is correct. [16:13] ooo what ashocker [16:13] :^) [16:13] i just wish server 18.04 would boot [16:13] https://askubuntu.com/questions/1065426/installing-ubuntu-server-18-04-on-old-pc-no-bootable-device [16:14] ubuntu iso is hybrid, MBR and EFI compatible.. but you want a persistent part [16:14] !persistent [16:14] For information about installing Ubuntu from USB flash drives, see https://help.ubuntu.com/community/Installation/FromUSBStick - For a persistent live USB install, see: https://wiki.ubuntu.com/LiveUsbPendrivePersistent [16:14] clearly im not the ionly ones whosexperienced it [16:17] Zewwy: try 16.04. See if it makes a difference [16:19] I forgot about unetbootin honestly. Is this normal? https://i.imgur.com/vztkHmO.png [16:21] James_Epp, sudo QT_X11_NO_MITSHM=1 unetbootin [16:23] 90's called they want their issues back [16:23] damn, this is way too much work. [16:24] I seriously haven't had this many issues booting since EUFI was first introduced, but then I figured it all out, now its all back [16:24] Not just that X11 issue, either. New problems. [16:24] Zewwy: Same, I'm wondering if it's the fact that now that there's more tools in our belt, we feel the need to take advantage of them, and thus overcomplicate bootup. [16:24] leftyfb: even when i go through the guided installation it says it creates a bootloader partition as biod_grub [16:25] bios_grub* [16:25] Zewwy, you're trying to use gpt on legacy csm [16:25] I also love it when this imaging / crafting software doesn't do synchronous writes. [16:25] ioria: My BIOS is set to legacy [16:26] Zewwy, then you nee to wipe the gpt on the disk [16:26] You can boot a GPT disk on a BIOS machine just fine. It depends on the motherboard, but it's absolutely do-able. [16:26] afaik I can tell even when I was set to EUFI csm it was not booting [16:27] ioria: you're telling me the installer doesn't know whichh mode the BIOS is in Legacy/UEFI and parition the disk accordingly? [16:27] I have to manually do this, and as far as I can tell going thorugh teh guided installation there no option for me to pick? [16:27] Zewwy, if you provide some infos ... like sudo parted -l [16:27] where in teh installatio ndo I say Legacy partitions or the bootloader? the primary ption is otherwise just ext4 [16:28] Zewwy, paste sudo parted -l [16:28] the guided install aagin shows me the bootloader partition is bios_grub [16:28] I can't even get in bro [16:28] it won't boot [16:28] how can I give you that unless I run another linux live and mountt hat disc [16:29] brb, rebooting to see if this even works. [16:29] Zewwy, yep, that way [16:29] Zewwy, and you don't need to mount [16:30] Plewase boot Ubuntu [16:30] Please! [16:30] cmon this is driving me nuts [16:31] https://ubuntuforums.org/showthread.php?t=2397555 [16:31] "My experience has always been that if you don't boot the live disk in Legacy mode, but in UEFI mode, the installation will fail, since grub will not install, making the system unbootable. That's what I learned from some frustrating installation attempts." [16:32] frustrting alright [16:33] Zewwy, so that elitebook has UEFI ? [16:33] yup [16:33] install in uefi mode then .. [16:33] both my crappy old laptops do [16:33] I did same problem [16:33] jesus [16:34] some UEFI bios versions require a password set, or a special manuall enable in the bios to trust the ubuntu uefi part [16:34] especially Acer [16:34] yeah I wasreading that on that other form a shared [16:35] but way more work then I'm willing to go through leegacy should work [16:35] I'm HP laptops [16:35] acer just happene to be teh ops ssytem [16:35] I'm going to try the alternate installer [16:35] http://cdimage.ubuntu.com/releases/18.04/release/ [16:36] yup [16:36] already there :P [16:36] I've never had such a hard time installing an OS since liek Windows 95 [16:36] for reals [16:37] Zewwy: we get it. Please keep the conversation to troubleshooting as opposed to ranting. === mk_modrzew_ is now known as mk_modrzew [16:38] So why is legacy install not workign for me? [16:39] if you don't provide infos, we cannot know [16:39] Zewwy: Maybe try booting a live environment that will allow you to wipe the GPT bit [16:39] then try the install again [16:40] maybe there's some weird GPT/partition flag that isn't getting cleared with the installer [16:41] leftyfb: I did that 100 times I use gParted Live to wipe the partition clean [16:41] I'm booting gparted live now and I'll run the requested ingfo [16:41] HP Elitebook 8570w .. all guides say to boot with nomodeset, not sure that applies to server too... [16:41] what is that? [16:41] OerHeks: irrelevant [16:42] OerHeks: it's not even getting to a boot loader [16:42] Zewwy: tried straight sfdisk? [16:42] alright one sec and th egparted live should be up [16:42] oke, than i blame no password on uefi for that elite book [16:42] it shoudl work on Legacy! [16:43] ignore EUFI [16:43] gparted shows /dev/sda1 grub2 core.img [16:43] typbios_grub [16:43] type grub_bios [16:43] core.img? [16:44] I keep trying to remove the password for one of my users on Ubuntu 18.04 with the command "passwd --delete username" and I get the message "passwd: password expiry information changed." but the user still requires a password [16:44] what is the issue? [16:45] Dice: local or remove(ssh) login? [16:45] pasting parted -l [16:45] ssh login === SimonNL is now known as SimonNL_Afk [16:45] Dice: use ssh keys [16:45] I don't know what you mean [16:46] Dice: DO NOT allow users to login via ssh with no authentication [16:46] oh, I misunderstood your question then [16:46] it's a local user [16:46] Dice: you said ssh login [16:46] Dice: how are they logging in? [16:46] I know [16:46] Dice: ok, then use ssh keys if you don't want to prompt for a password. [16:46] like I said, I misunderstood your question [16:47] it's a local user that does not need ssh login [16:47] and wants to login without a passwortd? [16:47] Dice: what version of ubuntu? [16:47] set that user to autologin? [16:47] 18.04 [16:47] ^ [16:47] Dice: server or desktop? [16:48] Dice: https://websiteforstudents.com/setup-user-to-automatically-logon-to-ubuntu-18-04-lts-beta-desktop/ [16:48] for desktop [16:48] Dice: for server .... don't [16:48] I want the user to run a software automatically on the machine, so that's why I want to remove the password [16:49] Dice: look at the link I gave you [16:49] I only have access to it through ssh [16:50] Dice: use X forwarding [16:50] run gnome-control-center user-accounts [16:50] run: gnome-control-center user-accounts === hibbie1 is now known as hibbie [16:50] will this work if I want to run a certain script as that user? [16:51] if that script requires NO sudo .. [16:55] k, tried something different in GParted live, i'll see if this works.. [16:55] Trying to access phpmyadmin on my Ubuntnu server, I have php-mbstring installed, yet it keeps telling me mbstring is missing. What am I missing here? [16:56] if it matters, I'm accessing my server via DDNS domain, I currently have a Wordpress site installed as a virtual host in Apache [16:56] so if I go to my domain, it loads the Wordpress site, but if I go to mydomain/phpmyadmin, it gives me the missing mbstring error [16:56] abdulhakeem: what version of ubuntu? [16:56] did you enable the mod in apache? [16:56] Server 18.04 [16:56] abdulhakeem: can you pastebin the exact error message? [16:57] from what I can tell you installed the packages, but you didnt' enable the mod in ppache? [16:57] "The mbstring extension is missing. Please check your PHP configuration." [16:57] sounds like it hasn't been proerply enabled [16:57] or ocnfiguerd [16:58] abdulhakeem: apt-get install php-mbstring [16:58] he said he did that [16:58] abdulhakeem: if you're using Apache, then sudo systemctl restart apache [16:58] hmm okay I thought I had to manually enable but forum posts implied it would be automatically enabled after restarting apache [16:58] yeah php-mbstring is installed [16:58] I have this command: "screen -dm -S nameofscreen /path/to/script.sh" that I want to run as a certain user in one line, how would I manage this? [16:58] huh ,it should've autoinstalled. [16:58] I came in a second too late I guess. [16:58] how do I manually enable it? [16:59] for me I found I usually have to enable extras in apache [16:59] a2en mod something [16:59] sudo a2enmod php-mbstring? [16:59] a2enmod won't load PHP subplugins [16:59] something like that I can't remember off hand [16:59] that's handled at the PHP configuration level IIRC [16:59] The mbstring extension is missing. Please check your PHP configuration. [16:59] oops [16:59] ohh [16:59] ERROR: Module php-mbstring does not exist! [16:59] thats what I meant^ [17:00] do I need to edit something in php.ini perhaps? [17:00] abdulhakeem: sudo phpenmod mbstring [17:00] ? [17:00] again seems liek your just missing a configuration step [17:00] then restart Apache again [17:00] yeah thats what it seems but based on forum posts with the same error, they all said simply installing php-mbstring and restarting apache solved it [17:00] like the enabling was automatic or something [17:00] abdulhakeem: what version of ubuntu? [17:00] Server 18.04 [17:01] abdulhakeem: apt-cache policy php-mbstring phpmyadmin [17:01] abdulhakeem: in a pastebin [17:02] I'd give to server a good ol reboot :P [17:02] tried that too [17:02] oh alrighty then [17:02] sudo phpenmod mbstring returns this: WARNING: Module mbstring ini file doesn't exist under /etc/php/7.2/mods-available [17:02] but I'm actually running php7.3 now [17:02] abdulhakeem: then you're not on 18.04 [17:02] also /etc/php/7.2 and 7.1 still exist on my system [17:02] the mystery deepens [17:02] abdulhakeem: you've added some external PPAs are not supported h ere [17:02] definitely am, installed it myself [17:02] its my home server [17:03] abdulhakeem: 18.04 has 7.2 [17:03] abdulhakeem: not 7.3 [17:03] it would appear your PPA may have upgraded the default php [17:03] more than likely using ondrej [17:03] hmm I did add a couple PPAs, cant remember what for [17:04] how do I list PPAs/ [17:04] sources list [17:04] /etc/sources.list IIRC [17:04] abdulhakeem: this is a terrible way to manage a system, btw [17:04] adding PPAs for unknown reasons [17:04] its my home server its not that serious [17:04] that often leads to totally broken systems [17:04] its was for installing something I just cant remember what off the top of my head [17:04] well if everything was signed and everyone used supported repos I don't think we'd have many apps to work with [17:05] The amount of times i find a great open source app and it requries a PPA... almost all the time [17:05] abdulhakeem, ls /etc/apt/sources.list.d [17:05] Hello [17:05] ioria: thanks for correcting me [17:06] I wasn't exactly sure :P [17:06] sadly even though I setup a msdos initialization on my disk, before runnign ubuntu install I still get boto error on legacy mode [17:06] you can set a ppa in sources.list too [17:06] whomp wommm whommomom [17:07] a rather new ubuntu 18.04 VM self-destructed this morning when unattended-upgrades autoremoved most of the system packages, including the metas. I've checked the launchpad bug list and don't see anything about this behavior there. Has anyone else experienced this problem recently? [17:08] theres unattended upgrades? [17:09] so the PPAs i added were for cerbot, plex, and ondrej [17:09] and people wonder why we don't recommend unattended upgrades [17:09] but I can't remember what ondrej was for [17:09] abdulhakeem: it's for unsupported versions of php [17:09] hmm so thats probably hte problem [17:09] hi [17:09] its conflicted between 7.2 and 7.3? [17:09] Zewwy: try 16.04 [17:11] first the alternative insatlelr on a DVD [17:11] been using my IODD device, although I don't believe it is teh issue [17:11] but try whatever [17:11] gyles19, curious, did you have proposed enabled? [17:12] Let me check. I didn't build the VM personally but I'm stuck debugging it. [17:13] any 3rd party software installed? HWE enabled? [17:13] oh I think I installed the ondrej ppa because of Nextcloud === Plumette is now known as Noisette [17:13] hmm so what do you do if you have more than one version of php installed [17:13] sudo apt purge php 7.1* or something [17:13] AFAIK you can only run one version [17:13] I thought it would just update and be fine and dandy [17:14] thiongs change in code base all the time [17:14] backwards compat is at best === qwebirc76912 is now known as Airisson [17:14] one of those tutorial blogs told me to install it [17:15] damn you Digital ocean [17:15] test everything [17:15] and have backups [17:16] Zewwy: wait, this has been a usb hard drive all along? [17:16] no [17:17] a USB Virtual CDROM [17:17] to install onto regular Sata HDDs on the laptop [17:17] oh thank god [17:17] My printer isn't working with Ubuntu, no idea why, can anyone help? [17:17] this already bodes better than the last server I was in [17:17] IODD device lets you add ISO to a fodler and mount them without burning [17:17] I saved hundreds of imagine USB times, or burning ISOs thanks to this [17:18] It just says "The printer is not responding" in the printer status page. I'm using IPP and pointed it at the correct IP. [17:18] hello! I have qutie a big problem [17:18] OerHeks: proposed is not present in sources.list, but bionic-backports is present, along with the usual -security and -updates repos. This VM yesterday has salttack.com's repos on it, but it hasn't been connected to our salt environment yet. [17:19] OerHeks: no HWE on it so far. Yesterday we installed an eval copy of Redis Enterprise on it. I looked at the dpkg log on there and didn't see anything unusual there, just installation of some dependency packages. [17:20] So my archlinux crashed, I therefore needed to make a bootable usb from another computer (running ubuntu on it). When using dd I wrote to the wrote to my main partition instead of the usb.... [17:20] cuso4, oops :P [17:20] ooops indeed [17:20] Do you have a separate /home ? [17:21] I do [17:21] ben der done dat [17:21] loosing data sucks [17:21] And do you mean you wrote to the disk (sda) or the partition, sda1? [17:21] but it seems like it is gone too [17:21] wrote to sda and it was an partition on sda [17:21] lordcirth: sda [17:21] If you overwrite the first 1GB or so of the disk, the partition table will be gone [17:21] if you dont' have backups it maybe gone [17:22] The /home filesystem is still intact, you just don't know where it starts [17:22] yes photorec [17:22] exactly [17:22] can recover but time consuming [17:22] it will be worth it [17:22] enjoy the 48 hours [17:22] do you know about any good recovery tools? [17:22] cuso4, https://help.ubuntu.com/community/DataRecovery [17:22] Hello, I used to install rednotebook to take notes. It seems it is no longer included in the official repositories for Ubuntu 18 LTS. Can someone please explain me why / how some packages get maintained or "unmaintained" ? Is it a question of time for the developpers, security? The package is available through a PPA though. So what is the reason it is no longer in the repos? Is this safe to use from ppa? [17:22] pretty much photorec [17:23] I think it merged with another app/name [17:23] photorec shouldn't be needed, as the filesystem is intact [17:23] hi [17:23] I think I will enjoy that I spent the 48 hours afterwards [17:23] hi [17:23] thank you lordcirth [17:23] manjaro-user, hi [17:23] neat [17:23] i am a new one [17:24] i am old one [17:24] wanna study something from irc [17:24] or have fun [17:24] thx guys [17:25] manjaro-user, you may want #ubuntu-discuss [17:25] Basically basically basically it worked but windows sucks at multiple partitions on flash drives, but hey - goal accomplished! [17:25] yay [17:25] lordcirth: what do you suggest instead [17:25] OerHeks: I've been looking at /var/log/unattended-upgrades, /var/log/apt, and /var/log/dpkg*, and I don't see anything odd in there except for this morning's /var/log/apt/history.log showing that apt-get --assume-yes --purge autoremove blew away about 200 packages, including ubuntu-standard, sudo, all of python, linux* kernels, and packages we manually installed after the installer finished. [17:25] How do I install ubuntu on windows 10 (UEFI)? I am not getting grub menu for some reason. [17:25] cuso4, the parted and testdisk options in the page I sent look promising [17:26] JuJUBee, you mean dual boot alongside Win10? [17:26] https://askubuntu.com/questions/1050444/a-bootable-device-not-detected-showing-on-first-boot-after-installing-18-04 [17:26] second answer... wattttt [17:26] if this other image works I'mma facepalm [17:26] yes, but I chose the "Something Else" and created /, /home, swap. Should I install boot manager in different location than /dev/sda ? [17:27] Airisson, https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=875264 [17:27] Debian bug 875264 in wnpp "ITP: rednotebook -- -- A cross-platform journal" [Wishlist,Open] [17:27] lordcirth: reading it right now! thank you for now, will problably be back in couple of minutes or hours, thanks! [17:28] lordcirth, ^^ [17:29] JuJUBee, if /dev/sda is the drive everything is on, that should work [17:30] lordcirth, hmmm, no grub. Just win10 [17:30] havent used livestreamer in a while, it says this now https://paste.ubuntu.com/p/hc6r29bJHM/ [17:30] JuJUBee, are you booting with EFI? [17:30] yes [17:31] JuJUBee, did you select the EFI partition? [17:32] lordcirth, I think i chose /dev/sda not sda2 [17:32] Crud [17:32] @lordcirth thank you for the information. I see it's been removed > 1 year. Maybe won't come back immediately. Is it safe to use the ppa? Any idea? [17:32] JuJUBee, I mean, in the partitioning, you want to use the EFI partition as an EFI partition. [17:33] I don't mean to write grub to it in the MBR style, that would break it [17:33] By the way, how am I supposed to wrt [17:33] to write to a person, what is the correct syntax (will be searching.... but if someone can tell me in the meantime ;) ... will be great) [17:34] lordcirth, this way? [17:34] Airisson, yes, just including their name highlights them [17:34] no [17:34] Airisson: type their name (don't space) and hit tab [17:35] Airisson: you can even type: lefty # and it will complete it for you [17:35] lordcirth, great thank you. And what about the PPA and future availability of the package? Is there some way to know the planning for a pakage to get included in the repos? [17:35] ignore the # [17:35] lordcirth, so just mount the efi as efi and leave grub to /dev/sda ? [17:35] lordcirth: ah yes, great :) [17:35] hello friends! quick question if you don't mind. If I run a small development webserver on my home network behind a router, do I need to worry about installing things like fail2ban and hardening or even disabling ssh at all? [17:36] Airisson, if you trust the developers of the software, the PPA should be safe. [17:36] I don't have an extaernal harddrive, do you think I can write the recovered files directly to my ssh server? [17:36] ITS BOOTING [17:36] cuso4, yes, if you use sshfs, that should work [17:36] fleabeard, do you have any ports forwarded to it? Only port 80/443? [17:36] The alternative installer was WAY BETTER [17:36] lordcirth, only port 80 on the router [17:36] omg finally [17:37] i could cry right now [17:37] fleabeard, then ssh isn't accessible. Still, it wouldn't hurt. Btw consider using Let's Encrypt to get TLS. [17:37] unno whats wrong with the live installer, but it does not install the bootloader to the MBR proeprlly [17:38] lordcirth, thanks! [17:38] JuJUBee, I don't remember the EFI install prompting for a drive to install grub to. I think that's what /boot/efi is for. [17:39] lordcirth, http://linuxbsdos.com/2016/06/05/dual-boot-ubuntu-16-04-and-windows-10-on-a-pc-with-uefi-firmware/ suggests to install boot loader on efi partition [17:39] Got it working. Had to change from ipp: to socket: [17:39] lordcirth: OK, thank you. I'm not experimented enough to guess, but I think if the package WAS in an official repo, the dev can be trusted... Right? [17:39] fleabeard: some sort of auth is a must-have on web-server side is a must, or some IP white-listing... [17:39] hi all, is there a way to install a package from a previous distro version (cosmic) on a more recent version (disco) [17:40] or have apt allow that [17:40] letterrip: try backport repo? [17:40] Airisson, PPAs are hosted by Canonical, but they are not vetted [17:40] Zewwy - i think you misunderstood the direction i want to go :) [17:40] letterrip: which package ? [17:40] Zewwy, aren't they asking for the opposite? [17:41] lordcirth: OK, understood. Thanks for your answers. :) [17:41] JuJUBee, so it does. Give it a try. Sorry, I haven't done a lot with EFI. [17:41] legreffier, not sure I understand. I'm running a small dev wordpress site on my home network and using no-ip dns to make it accessible outside my network. [17:41] legreffier, http://ppa.launchpad.net/maarten-fonville/android-studio/ubuntu [17:41] but i'm interested in the general principle [17:41] unno, from what I know backport repos held old packages for newer distros [17:41] I have installed it using the software snap interface [17:41] but clearly I don't know crap [17:42] but prefer from a repository [17:42] Zewwy, no, backports = newer packages for older distros [17:42] weird nice to know [17:42] The package is ported backwards, you see [17:42] lordcirth, me either. I just re-ran the installer and selected "Something Else" again. I don't see an efi partition here. msinfo32 under win 10 shows uefi bios [17:42] Im confused.... :( [17:42] JuJUBee, what partitions do you see? [17:43] lordcirth, I see a 100MB fat32 and the ntfs along with the new ones I just created. [17:43] SO this suggests a legacy install, /dev/sda should have worked then.? [17:43] JuJUBee, the 100MB fat32 coud be an EFI partition. Is there any other info about it? [17:44] lordcirth, no [17:44] lordcirth, im gonna reboot into win and check the parts... [17:44] Yeah, do that [17:45] interesting MS EUFI bootloader deos use fat32 [17:45] how strange [17:46] Zewwy, all EFI partitions are fat32? [17:46] It's part of the spec afaik [17:46] that is normal [17:46] !uefi [17:46] UEFI is a specification that defines a software interface between an operating system and platform firmware. It is meant as a replacement for the BIOS. For information on how to set up and install Ubuntu and its derivatives on UEFI machines please read https://help.ubuntu.com/community/UEFI [17:47] letterrip: for android studio you should definitely use the upstream version available here : https://developer.android.com/studio [17:49] just unzip it somewhere in your $HOME and run it from the folder you picked (using bin/studio.sh) [17:50] letterrip: it has many self-upgrading and plugins feature, so you want it to be able to write stuffs in the install directory without getting admin. (you don't want to run anything java-ish as root. ever.) [17:51] legreffier, well I'm mostly interested in the general principle of allowing apt to install from a prior release version [17:52] there is a snap version too [17:52] that would give you updates [17:52] OerHeks, yes I've installed the snap version [17:52] OerHeks, but again I prefer managing via apt where possible, and again general principle - not android studio specific === majuscul1 is now known as majuscul2 === boshhead_ is now known as boshhead [17:54] i get your point , but these cross-platform java blobs are the exceptions :] [17:55] lordcirth, so I do have efi part and I reinstalled ubuntu 18 selecting sda2 as the boot loader and still boots directly into wind10 [17:56] JuJUBee, and the EFI is set to boot from what? [17:56] lordcirth, what do you mean? [17:56] legreffier, so with the exception of android studio :) [17:57] JuJUBee: wouldn't you have to allow the installer to overwrite the MS bootlader info with grubs? [17:57] JuJUBee, the EFI on the motherboard, what is it's boot order? [17:57] legreffier, would i simply use pinning? [17:57] lordcirth, ah, let me check [17:57] lordcirth: I'm going to assume there's only one bootable hdd in the machine? [17:57] (read about it but haven'y played with it) [17:57] Zewwy, JuJUBee EFI can set to boot from specific files in the EFI partition [17:58] So you can install grub to /boot/efi, and make it default, but the motherboard can still boot windows directly. [17:58] yeah [17:58] letterrip: just use the .tar.gz from their site :) [17:58] that's how I did it... [17:58] lordcirth: but once you select Windows from grub, right? [17:58] not just skipping grub [17:58] Zewwy, no, the motherboard loads the windows bootmgr directly, no grub [17:59] lordcirth, in bios, UEFI has Windows Boot Manager first, but only other choices are usb cd and usb hd [17:59] legreffier, no - not for android studio, I mean generally stuff managed by apt - where the package manager hasn't built for disco [17:59] or whatever bleeding edge [17:59] JuJUBee, ok, so that's the problem [17:59] lordcirth: wouldn't you have to overwrite that with grub, and then write an entry in grub that points to the windows bootmanager/ partition? [18:00] Zewwy, I'm talking about settings stored in the motherboard's NVRAM [18:00] or does windoes bootmgr allow booting linux now? [18:00] Zewwy, actually you can do that, but that's not what I'm talking about [18:00] Zewwy, missed your input, sorry. [18:01] I was saying that his motherboard could be set to load bootmgr directly, not just whatever is in the EFI partition [18:01] yeah so you can do that, but that's not what you are talking = I'm totally lost now lol [18:01] but how to you even change that in the EUFI/BIOS? [18:01] I've never seen options to set anythign liek that [18:01] Zewwy, I have a uefi installed windows 10. I wanted to install ubuntu 18 as dual boot. [18:02] JuJUBee: I know, I just don't get what the problem is right now [18:02] Zewwy, it's usually just a drop down menu, just like selecting boot device was in BIOS [18:02] lordcirth: weird I've never seen that before [18:02] I tried installing boot manager on /dev/sda (no grub boot menu) and /dev/sda2 (also no grub boot menu) [18:02] I didn't think the mobo firmware was aware of what was inside an HDD [18:02] letterrip: frankly I have no definitive rule for this... if the ppa is well maintained it'll usually have a well-tested package available when I upgrade my distro. snap is getting better and better. and on some case... i'll just build it from source (but i won't install it... just running it from the src folder), if install is mandatory checkinstall is good stuff to make a quick&dirty (but easy to [18:02] Zewwy, sda2 is my efi partition [18:03] remove) .deb package [18:03] Zewwy, in EFI it can be, yeah. It's stored as partUUID/bootfilename [18:03] interesting.. [18:03] legreffier, ok, thanks for the hints [18:03] But i won't usually need the very bleeding edge... [18:03] Which is neat because you can move your boot drive to a different slot and it still works [18:03] Or even image it to a new drive [18:03] how does JuJUBee set this? [18:04] legreffier, yeah i generally avoid source building unless i'm contributing or need the true bleeding edge [18:04] Well, apparently only Windows is showing up, which is odd [18:04] well yeah, how does the installer add that entry to the EUFI? [18:04] some magic api? [18:04] Zewwy, lordcirth I don't see anything in bios that allows me to select anything other than Windows Boot Manager under EFI [18:05] Zewwy, yes, there are tools to change that from inside the OS [18:06] Troubleshooting over IRC is hard, though... [18:06] intersting.... [18:06] I did not know that [18:07] so can JuJUBee manually create such an entry in teh EUFI? [18:07] I mean I'd imgine troubleshooting a failed api call from an instalelr would be [18:07] tough? [18:07] UEFI* [18:07] I keep screwing that up [18:08] or would my option to replace it all togetehr and let grub manage it be better suited? [18:14] Zewwy, lordcirth is it possible my ubuntu installer is not an efi installer? [18:23] JuJUBee, the normal Ubuntu iso supports booting both ways. However, it's possible that it's booting in BIOS mode. [18:25] well i dont like the live installer [18:25] it was causing boot issues (legacy) till i booted and ran the alternative installer [18:26] for my needs was way better and the guided was much better at prompting specific parts [18:27] also it was offline install capable, bonus [18:27] lordcirth, how do I know which way it booted? [18:28] thats what id like to know... when i boot linux version like fedora i can insantly tell which version its loading Bios or Uefi [18:28] JuJUBee, well, if you boot into the liveCD, and press Ctrl-Alt-F2, you will get a tty. Then 'ls /sys/firmware/efi' [18:28] If it exists, you're in EFI mode [18:29] Pretty sure that works in the livecd... [18:29] JuJUBee: let me know wbich you are in, and how to change [18:29] iche [18:29] if that suggestion does work for you [18:31] Im on lunch but ill try that on my laptop with the live installer to see which it runs [18:32] hi, when I try and upgrade to the latest libsnmp30 it says https://pastebin.ubuntu.com/p/bx2Vq9JNGD/ [18:33] letterrip, what Ubuntu version, and have you done an 'apt update && apt upgrade' recently? === ubuntu is now known as Guest56230 [18:33] if i then check the current version it is https://pastebin.ubuntu.com/p/5yYGQFVWqs/ [18:33] lordcirth, disco [18:34] lordcirth, from the dpkg it looks like the stuff installed meets the requirements [18:34] or am i misreading? [18:34] letterrip, disco isn't released yet. go to #ubuntu+1 [18:34] lordcirth, [18:34] ok [18:35] Zewwy, lordcirth rebooted from live via bios boot menu. This time I made sure to select UEFI verison of my usb stick. Got error /boot does not exist. Finished booting anyway and /sys/firmware/efi does exist. [18:35] JuJUBee, ah, good. Try running through the installer again. Make sure to select the efi partition as /boot/efi. [18:36] lordcirth, what about location for boot manager? /dev/sda or sda2 (the efi part) [18:36] lordcirth, thanks for the pointer [18:36] JuJUBee, as per that guide, sda2, it seems === sh1bumi is now known as shibumi === SimonNL_Afk is now known as SimonNL [18:45] thanks lordcirth & Zewwy we have liftoff. [18:45] JuJUBee, awesome! [18:45] Must have been that the usb was not booting in efi mode. [18:46] Of course, now I have to reinstall windows since I must have checked off format when I opted to mount that on /WINDOWS. DOH! [18:47] lol oops [18:50] Anyone able to help a linux noob before he puts his head through the desk [18:50] Woke up this morning and tried to bring my computer out of sleep [18:51] lordcirth, no biggie, just a lab machine. Nothing important [18:51] When nothing responded I hit the reset button and made some coffee [18:51] Came back and the screen was black === CptLuxx_ is now known as CptLuxx [18:51] Reset again, and selected advanced options [18:52] ur dun goof'd [18:52] none of the kernels all of the kernels locked up right after Loading initial ram disk [18:52] When I choose recovery mode it takes me into the initramfs cmd pmt [18:53] qwebirc77827: boot a live cd and check for drive errors with the disk util [18:54] with the error Alert! /dev/mapper/xubuntu--vg-root does not exist [18:55] Yup, livecd and check that your hard drive is still working [18:55] blkid shows my listed as sdc2 [18:55] If it is, try to load the lvm lv [18:55] qwebirc77827: is this thing on? [18:56] I was in the livecd earlier and managed to chroot into the drive with out any issues and ran an update [18:56] JuJUBee: what did you do differently? theres different boot options on the live installer? [18:57] qwebirc77827: run a check using the drive util application [18:57] okay will do thx [18:57] anything special since its an ssd? [18:57] no [18:57] it'll go quicker [18:57] kk thx you [18:58] Zewwy, If I understand correctly, JuJUBee selected the EFI mode boot in the EFI boot menu [18:59] i dont get it, for.instance if i boot fedora and have legacy selected in my bios i get a bios boot version of fedora, if i pick UEFI i get aUEFI boot thpe from fedora [18:59] i never have to pick, it knows which to. oot [18:59] boot [18:59] Zewwy, I made sure to do a boot menu (HP = F9) during boot and selected the UEFI -> USB not the Legacy -> USB [19:00] For some reason I was not getting uefi even though my bios was set to uefi [19:00] JuJUBee:on my machine i cant pick unless i change my boot allowed UEFi with CSM orlegacy [19:01] Zewwy, many default to EFI with legacy compat [19:01] if its UEFI and i put in a bootable device it wont boot unless it supports UEFI [19:02] Yeah, many have an EFI program that emulates BIOS [19:02] Which often causes more confusion than it does convenience. [19:02] well unno why i couldnt boot in UEFI but alternate installer on legacy work d for.me [19:03] we all have inning in different ways [19:03] winning* [19:05] Hi, running apt-get upgrade directly from ssh i got a sshd broken pipe so apt processes got paused on background https://pastebin.com/LLWTKJFq I'm wondering if anyone knows how could i bring to foreground or to continue the updating process, I saw a ncurses screen waiting for my input before sshd got the broken pipe. Thanks :) [19:07] sIbOk: you can't. you must kill the process and start again, but this time (and every other time you do something over ssh) run in tmux or gnu/screen [19:07] blackflow i use to run on screen but this time... thx :) [19:07] gotta run, thanks Zewwy & lordcirth [19:08] blackflow do you know a way to kill child process from dpkg? like post-install scripts, ncurses dialogs, etc? [19:08] JuJUBee, you're welcome [19:08] sIbOk: nah just kill them by pid [19:08] ok [19:16] lordcirth: you think it might be cause of my IODD Device? [19:16] New Linux user - installed Ubuntu, installed Nvidia drivers, now, I can't see the GUI - I can log in via the startup console and switch to Ctrl Alt F7, but it's just an empty console. I have reinstalled ubuntu-desktop and unity, updated, and configured dpkg to use lightdm [19:16] Any ideas? [19:17] Zewwy, no idea [19:17] lordcirth: when you create a USb or DVD bootable image from the source you dont' have to select UEFI boot or BIOS boot when creating the botoable image do you? [19:17] Zewwy, no, it works for both [19:17] that's what i figured [19:17] qwebirc36487, what Ubuntu version? [19:17] 10.04 [19:18] qwebirc36487, you sure about that? [19:18] 18.04* whoops [19:18] lol ok. [19:19] Just checked: 18.04.2 LTS [19:19] qwebirc36487, what GPU do you have, and how did you install the nvidia drivers? [19:20] lordcirth: it must have been my BIOS settings [19:20] 1070, hmm, I used the recommended (418) from ubuntu-drivers devices. I then installed that driver directly + and dependency is said was not yet met. (Purged all Nvidia drivers first) [19:20] I set them back to facotry reset, and when i booted the live installer it was different [19:21] like how fedora shows differently for UEFIO and BIOS [19:21] I'm gonn arun the installer again, I think this time it will boot [19:21] using th elive installer [19:21] and EUFI [19:24] qwebirc36487, directly, as in you downloaded the .run from nvidia? [19:26] Sudo apt-get install nvidia-[something]-418 + whatever dependencies it failed because of [19:27] qwebirc36487, ok. And it failed to install? [19:27] lordcirth: well sort of, I got a boot loop now hahah [19:27] I'll just stick with alternate installer and legacy [19:27] The 418, yes, but it asked for xserver the xcore (not 100% of the names), so I installed those and then reinstalled the 418 package. [19:28] qwebirc36487, /var/log/apt/term.log will tell you what you did [19:29] Interesting, I booted into recovery and if I enter my password (GUI is showing), it accepts it, then restarts me at entering my password again. [19:29] I can check === Noisette is now known as Plumette [19:29] Yeah, that means X is crashing. /var/log/Xorg.0.log [19:29] leftyfb: ran the Disks utility first time it came back, needing repair, ran the repair and got udisks-error-quark 0 a quick google serach + ssd lead me to this site https://askubuntu.com/questions/924910/errors-when-attempting-to-format-and-partition-ssd/924940 which suggests creating a new partition table with Gparted. WHen doing so it the program tells me I need to unmount the drive before I can continue, but when I run umount [19:30] qwebirc77827: that tells me you could potentially have a bad SSD, or on it's way out [19:30] hey! the guy with the partition problem here, just from a live usb this time, i would like to get my plan approved, since I only has one shot [19:31] fuck a duck in his sidways cunt [19:31] Lefty, runs windows without any issues. Wouldn't I have experienced issues before trying to install ubuntu today? [19:31] that means the whole system is going to have to be tossed [19:32] 3 ssd I've lost now in as many months [19:32] Oh, not me, my bad. [19:32] lordcirth: update, it would state "Seystem BootOrder not found, Inializing Default. Reset System" wash rinse repeat, but I'f i smashed F9 for boot order, ubuntu did show as an option and selecting it does boot ubuntu [19:32] thoughts? [19:32] qwebirc36487: lanuage man [19:33] I use dd if=/dev/sda | gzip -1 - | ssh user@hostname dd of=image.gz to send the whole disk to my ssh server, then I I download the disk to my working computer and restore the files I can. and then simply reinstall ubuntu on my broken computer [19:33] or does anyone has a better suggestion? [19:33] Lordcirth, looking for errors in X [19:34] yesh: if you got another USB sisc of larger size just dd your disc to an image file dd if=/dev/sda of=/run/media/live/USB/somefile.img [19:34] I want a bash one-liner to echo all the *.txt files in a directory. Something like this: for *.txt in "/myfolder" do echo $filename [19:35] Zewwy: but I don't [19:35] shrug, try that I've never done a pipe to gzip pipe to ssh [19:35] Zewwy: otherwise that would ofcourse be the better alternative [19:35] ogrgkyle, 'ls *.txt' ? === irina is now known as Guest86857 [19:35] yesh, use pigz instead of gzip, faster [19:35] Zewwy: https://www.pantz.org/software/dd/drivecopywithsshanddd.html [19:35] got it from this link [19:35] Is there an issue with running Linux not on an SSD? [19:36] well if it works let me know, be a kool trick to add to my collection [19:36] qwebirc36487, no, lots of people still run Linux on hard drives [19:36] qwebirc36487: no? [19:36] lordcirth: actually i want to run an ffmpeg command on a folder of videos, without a bash script. i just want a one liner [19:36] Zewwy, you can pipe anything through ssh [19:36] ... My SSD is close to full, so couldn't use it. Saw some things online related to SSDs [19:36] I know I've done SMB shares over SSH :P [19:36] if I understood it correctly I can run testdisk on my copied image later then, right? [19:37] if you mount it first [19:37] sure why not [19:37] ogrgkyle, ls *.txt | xargs -I{} -n1 ffmpeg {} [19:37] lordcirth: in windows i would do this: for %a in (*.AVI) do (ffmpeg -i "%a" -c:v libx264 -c:a libfdk_aac "%~na.mp4") [19:37] qwebirc36487: linux obviously has no issues running on mechanical or solid state hard drives. [19:37] Why my name is guest86857, not irina? [19:37] !register | Guest86857 [19:37] Guest86857: For information on registering your IRC nick, see https://help.ubuntu.com/community/InternetRelayChat/Registration - For any further help, ask in #freenode. [19:37] ^^ [19:38] Zewwy: Is this the preferable way to do it, or would you suggest otherwise? [19:38] dd your disc for safe keeping torubleshooting later is a great idea [19:38] if you got the time [19:38] over ssh it will depend on your bandwiidhth [19:39] Ok, sorry, see you [19:39] yesh, that is still going to take a while [19:39] lordcirth: I got all night :D [19:40] yeap unless its for some reason a really small disc [19:40] wish my luck then! [19:40] lordcirth: thanks. how do i get the filename variable (without the path)? [19:40] * Zewwy knocks on wood [19:40] naah 120 gig [19:40] that'll still take a while [19:40] ogrgkyle, that's what the {} is [19:40] Counting on a couple of hours, just not sure if it is a wise idea to do it school network [19:41] might be unstable [19:41] lol, YOLO [19:41] yesh, ssh is encrypted and over tcp, so if it does fail, you will know [19:41] lordcirth: I think he's maybe worried about suckign up all the bandwidth [19:41] weak IT everywhere [19:41] QOS isnt' default [19:41] Well, for that you can use trickle [19:42] Oh, and using 'buffer' on both ends might help [19:42] I like buff [19:43] dd if=/dev/sda | gzip -1 - | buffer | trickle ssh user@hostname buffer | dd of=image.img [19:43] Something like that [19:43] delicious [19:43] trickle will cap bandwidth, and buffer will smooth out hiccups [19:43] lordcirth: how do I get my boot to work without me pressing f9 and selceting ubuntu [19:43] Should I just reinstall w/o install nvidia drivers? All I want to do is do a bit of web dev on ubuntu with two external monitors and my laptop in clamshell [19:44] well, I am going to reboot into my other computer [19:44] Zewwy, change your default boot in your EFI settings [19:44] qwebirc36487, that might be simpler, if you don't actually need the performance. But you should be able to get nvidia working. [19:44] lordcirth: working, thanks [19:45] ogrgkyle, no problem. xargs is great. ffmpeg is already multithreaded, iirc, but for programs that aren't, gnu parallel is also great. [19:45] okay [19:45] lordcirth: there's no option to pick the same stuff like i see when i smash f9 [19:45] Zewwy, that's odd. [19:46] in the UEFI/BIOS I can select devices, not items in a devices EFI bbootloader [19:46] Well, this is rather annoying. I guess I'll reinstall and try again and hope for the best with no customization. [19:46] and that HDD is already top boot device [19:46] Zewwy, you may be able to use 'efibootmgr' in Ubuntu to see and edit the boot order. [19:47] mhmmm is that avaialble on server (no desktop)? [19:47] Zewwy, you may need to install it, but yes [19:47] kk thx [19:50] UEFI is pretty... pretty... pretty painful when it doesn't work right [19:51] https://askubuntu.com/questions/1042747/system-bootorder-not-found === hibbie1 is now known as hibbie [19:54] ok mhmmm if I smash f9 I see ubuntu and a select EFI file, and if I hit select EFI file and then the disc, it does eventually see a grub based efi file [19:54] and loading that does show me a list of ubuntu and other alternative boot options after [19:54] but I can't see them in the dang BIOS [19:55] arrrgggg [19:55] this HP BIOS is be the death of me [20:01] https://josheli.com/knob/2016/11/22/install-ubuntu-on-hp-laptop-with-uefi-and-new-ssd-hard-drive/ [20:01] first line of this guys blog [20:01] It shouldn’t be this hard. [20:02] If those tutorials don’t use an HP laptop, they’re useless because HP Bios and firmware is a special kind of hell. [20:02] lol [20:03] this is my life saver, hes goign over all the same problems I went hrough lol [20:06] well pooop [20:06] all he does is install from a live desktop version [20:12] https://superuser.com/questions/1284392/what-exactly-is-uefi-with-csm-boot-mode [20:12] OOOO [20:13] so as soon as I factory reset, it went to without CSM so pure UEFI which is why the installer now booted differently [20:13] now I think I just have to dink with clearing the secure boot stuff [20:13] I feel im so close [20:14] That was it! [20:15] it booted into Ubuntu itself and its still on UEFI native mode [20:15] Time to write up a real blogg explaingn everything [20:17] ok so i have a problem. i just tried to install the latest drivers for my vid card, which is an amd radeon 7450 on a 4k tv. before the install, i got full resolution, but now i'm stuck in 800 x 600. how do i revert back to what i had before i attempted the driver install? [20:18] sudo18, well, what did you do to install the drivers? [20:19] lordcirth: i installed them via a bash script included in the tarball from the manufacturer [20:20] as they direct [20:20] sudo18, and why did you do that? That's usually not a good idea. [20:21] lordcirth: because those were the instructions on the manf. site for ubuntu 18.04 [20:21] sudo18, please, provide the source [20:22] https://www.amd.com/en/support/kb/release-notes/AMDGPU-INSTALLATION [20:22] https://www.amd.com/en/support/kb/release-notes/rn-prorad-lin-18-20 [20:22] idt that card is supported from amdgpu-pro [20:23] sudo18, well, they mention running 'amdgpu-pro-uninstall' [20:23] sudo18, also, their site has a .deb: https://www.amd.com/en/support/graphics/amd-radeon-hd/amd-radeon-hd-7000-series/amd-radeon-hd-7450 [20:23] which i did. to no effect [20:23] only new cards are supported by that [20:24] Well, that's why you don't run install scripts if you don't have to. You have no idea what they'll do or how to undo it. [20:29] lordcirth, catalyst won't work on ubuntu 16.04+ [20:31] condolenses, I always say have a backup, and test on another machine you aren't worries about loosing [20:34] VMs use snapshots, and backups, for physical do a dd of yoru drive to an img file [20:34] you use dd for physical backups? [20:34] why not tar? [20:34] space is not an issue for me === hibbie1 is now known as hibbie [20:35] save the cycles, use the space [20:36] doesn't mean there aren't other options :D [20:36] I was also going to say if you are OK with agents use Veeam free backup [20:36] or something for physical but bleh [20:37] I don't like agents, and i don't liek vendor lock ins [20:38] borgbackup is pretty great [20:40] I used rsync and cp -L to build deltas [20:41] leftyfb: nice [20:42] I use the same script on 23 machines every night from 2 separate offsite locations. Been running that for over 15 years now [20:42] nice! :D [20:43] theres a ubuntu social channel? [20:43] Zewwy: #ubuntu-offtopic [20:43] perfect thx [20:52] lame channel === TheReturnOfJo is now known as BattleAngle [20:55] Can I install this package? https://launchpad.net/ubuntu/+source/guake/3.4.0-1 it looks like only 3.0.5 is available in apt [20:56] that version is for Ubuntu 19.04. You could try installing it on an older version, but it may not work. [20:56] timbozeman, do you really need 3.4? [20:57] Probably not, but 3.2 has UI stuff that would be nice [20:57] !latest | timbozeman [20:57] timbozeman: Packages in Ubuntu may not be the latest. Ubuntu aims for stability, so "latest" may not be a good idea. Post-release updates are only considered if they are fixes for security vulnerabilities, high impact bug fixes, or unintrusive bug fixes with substantial benefit. See also !backports, !sru, and !ppa. [20:57] timbozeman, well, cosmic / 18.10 has 3.3, so you could upgrade to that. [20:59] <3 [21:00] hello everyone [21:00] Does mixing aptitude and apt/apt-get risk leaving the meta packages in weird states? [21:01] isn't aptitude just another apt frontend? [21:01] gyles19, no. It will result in leaving logs in different places, but there shouldn't be any other problems. [21:03] Hrm. The VM that I was asking about this morning has been reverted to a post-install snapshot, and that snapshow already has apt-get autoremove prepaired to gut the system, including the ubuntu-server, ubuntu-standard, and ubuntu-minimal meta packages. It's ready to self-destruct at the first unattended upgrade (using 18.04's defaults for that package.) [21:04] new user in ubuntu, using 18.10 with nvidia 970, in several programs, vlc is one of them the icons are double the size, couldn't find anything on it. anyone can help? [21:04] one last thing thats bugging, why is it when I'm at the terminal/console [21:04] there's green dots over eveything? [21:04] screenshot please [21:04] gyles19, sounds like something was in flight when the VM was snapshotted. [21:05] one sex [21:05] sec* [21:05] ugh [21:05] i'm on irssi, i don't know how to send image here [21:06] i meant for Zewwy [21:06] golanir: upload it at http://imgur.com [21:06] but you could post the image to imgur and then put the link here [21:06] !oaste | golanir [21:06] !paste | golanir [21:06] golanir: For posting multi-line texts into the channel, please use https://paste.ubuntu.com | To post !screenshots use https://imgur.com/ !pastebinit to paste directly from command line | Make sure you give us the URL for your paste - see also the channel topic. [21:06] !paste | golanir [21:06] https://i.imgur.com/o7UPnsy.png [21:06] a liil blurrry [21:06] but like that [21:07] That's very blurry [21:07] GOod catch. My new-hire ignored my instructions regarding snapshots and made this with the VM running. At this point he gets to delete this VM and start over. [21:07] yeah uh [21:07] i can't make anything out [21:07] one sec [21:08] https://i.imgur.com/Zc6N6tR.jpg [21:08] clear enough? [21:08] yes [21:08] also that's very ood [21:08] *odd [21:08] so is my life [21:08] is this just in text mode, or do graphics do this too? [21:08] I only have console [21:08] no desktop [21:08] and its like this right from boot [21:08] even the installer was liek this [21:09] was painful [21:09] Zewwy, I see an IO error there. Are you getting more than one of those? [21:09] I was hoping after install it just go away [21:09] here is the screenshot for vlc - https://imgur.com/wchiJno [21:09] bad videocard, or cable [21:09] Its a laptop [21:09] doesn't rule out either of those [21:09] all other OS boto and show fine [21:09] like if I booted legacy [21:09] no problems [21:09] only in UEFI mode did it do this [21:10] Zewwy, anything in dmesg? [21:10] "all other os" ? [21:11] Zewwy: ^^ and nother thought - gpu manager reports all happy : /var/log/gpu-manager.log ? [21:11] lordcirth: there a lot of output [21:11] Bashing-om: let me check [21:11] OerHeks: Debian, Windows, etc [21:11] GParted Live [21:12] Ubuntu Legacy mode [21:12] only Ubuntu Server in UEFI is doing this [21:13] The folder "myfolder" has multiple videos. Why does this command only encode the first video? ls "/myfolder" | xargs -I{} -n1 ffmpeg -n -i "/myfolder/{}" -vf "format=yuv420p,yadif=0:1:0,scale=640:480:flags=bicubic" -c:v libx264 -crf 20 -tune film -preset slow -c:a aac -b:a 192k "/home/User/Desktop/new/{}" [21:13] Bashing-om: such a log file doesn't exists [21:13] cause i'm runnign teminal only? [21:13] This isn't an ffmpeg question; it's a general bash question. [21:13] No Desktop [21:15] Zewwy: Got me on that one .. I have yet to look for that file on other than a Desktop system. [21:15] sweet prob doesn't exist when I ssh in [21:16] screw it [21:16] I'll be using it via SSH mostly anyway [21:16] thanks guys anyway :P [21:17] Zewwy: :) .. maybe as this is UEFI that "secure boot" plays a part ? [21:17] Bashing-om: I don't think so for this one :P [21:18] cable or connection is liekly but since its not consistent between OS's I'm going to assume some driver oddity [21:18] Zewwy: Only if proprietary drivers are installed. [21:18] nah, all native, but cearly something is going funky only with UEFI Ubuntu server all other instances did not have this oddity [21:18] so I'll just keep assuming some driver oddity [21:22] never mind on the other question [21:22] why doesn't this echo all AVIs in this folder? [21:22] for i in "/media/tapes/*.avi"; do echo "$i"; done [21:23] ogrgkyle: give an example of a filename that it doesn't echo. Also, what's wrong with ls? [21:25] leftyfb: that folder contains avi files, and none of them are echoed [21:25] for i in "ls /media/tapes/*.avi"; do echo "$i"; done [21:25] ^^ [21:26] syntax makes all the difference [21:26] that won't work either [21:26] for i in $(ls /media/tapes/*.avi); do echo "$i"; done [21:26] ahh yes [21:26] or [21:27] for i in /media/tapes/*.avi; do echo "$i"; done [21:28] leftyfb: the second last one, the one with $(ls... , works. However, every space in a filename is replaced with a new line [21:28] So the filename "My first encoding test.avi" echoes as three lines [21:29] four lines [21:29] ogrgkyle: IFS=$(echo -en "\n\b") ; for i in $(ls /media/tapes/*.avi); do echo "$i"; done [21:29] or, you could just run "ls /media/tapes/*.avi" [21:30] that works to list the files. now i'd like to run an ffmpeg command on each file [21:31] I think the for loop is to use the file name and path for other purposes ina script? [21:31] ah there it is :P [21:32] I'd like a one-liner as simple as what I use in Windows: for %a in ("myfolder/*.avi") do (ffmpeg -i "%a" -c:v copy -c:a copy "%~na.mp4")) [21:33] ogrgkyle: ls /media/tapes/*.avi | xargs -d '\n' ffmpeg -i "%a" -c:v copy -c:a copy "%~na.mp4 [21:33] so you're trying to convert a bunch of avi's into mp4s? [21:34] yes [21:34] Ah I'd use handbrake personally, but for aonliner [21:34] ^^ leftyfb got you covered [21:35] Probably something close to `find myfolder -name '*.avi' -exec ffmpeg -i {} ...;` or xargs. Whichever one prefers. [21:35] ikanobori: another option indeed [21:35] I don't know what %~na does on Windows in combination with for %a in ... [21:35] pwd IIRC [21:35] find might be better since it's only calling 1 shell process [21:36] Ah, thank you. [21:36] leftyfb: thanks. why does this not work with a path that contains spaces and parentheses? [21:36] ogrgkyle: what I gave you does [21:36] ogrgkyle: also, this might be better in #bash. They're smart in there, but verymuch not nice people. So be ready to ignore personal attacks [21:37] ^^ and this is putting it lightly [21:37] ls /media/user/34982BF034CA1FF3/Videos (only on this cpu)/My tapes/*.avi [21:37] This doesn't work [21:37] ah [21:37] well, for that just escape the space [21:37] how? [21:38] My\ tapes/ [21:38] Leftyfb: because unix shells in general explode when you embed spaces in filenames. their parsing doesn't expect it. [21:38] gyles19: I didn't ask a question to your answer. Also, not really. [21:38] leftyfb: What? people are hostle to ignorance... no way lol :P [21:39] leftyfb: bash: syntax error near unexpected token `(' [21:39] Zewwy: in there more than I've ever seen. And I've been on IRC since 1993 [21:39] good to know [21:39] ogrgkyle: when trying what command? [21:39] * Zewwy hops on bash :D [21:39] ogrgkyle: Remember in linux s space is a delimiter .. such that "only on this cpu" is seen as 4 distict entities unless told otherwise :) [21:40] oh, oops, I misread [21:40] ls /media/user/34982BF034CA1FF3/Videos\ (only on this cpu)/My\ tapes/*.avi [21:40] ok, I'm clocking out for the day [21:41] leftyfb: thanks [21:41] ttyl [21:42] Sorry, I meant to respond to ogrgkyle. [21:47] anyone familiar with making bootable windows images from a linux install? i am trying woeusb rn but it is not working... after all the files are coppied it hangs on 'Installing for i386-pc platcorm' [21:49] might hop over to ##windows, since they frequently reccomend WoeUSB [21:50] !chan [21:50] !list [21:50] Jack-JAck: No warez here! This is not a file sharing channel (or network); read the channel topic. If you're looking for information about me, type « /msg ubottu !bot ». If you're looking for a channel, see « /msg ubottu !alis ». [21:51] OH SHIT IT JUST WORKED! [21:51] lmao [21:51] sorry for yelling, idk why or how [21:52] lesson learned, never use the gui version.... === gms is now known as Guest6851 [22:24] hi [22:24] I try "pavucontrol" and I see no sound devices [22:24] aside from my monitor's speakers [22:25] (hdmi connection there) [22:25] I want to be able to hear from my headphones. [22:25] I don't get why the system is not finding hte onboard sound device.. [22:25] this used to work until I upgraded from 18.04 -> 18.10 [22:25] andp robably let it overwrite some config file [22:25] maybe? === JonathanD is now known as JonathanS [22:27] how do I diagnose the cause? [22:28] read logs, systemctl -b [22:28] sorry i mean journalctl -b [22:29] ahhhh ok, I was looking at the systemctl manpage [22:29] haha [22:29] tomreyn: thanks, doing.. [22:29] oh! ok [22:29] one sec [22:31] er. [22:31] I need to reboot === Noisette_ is now known as Plumette [22:31] this list of events since boot is exceedingly long. [22:31] I'll be back [22:43] Hey guys, I need to write a command that will schedule a reboot only once, but 10 seconds after it's rebooted, and I need to use Cron job. Could you help me to find such command, please? [22:45] just do it as a script, that has an if statement in [22:45] hi again [22:46] ok so I ran it and now I have a 262k log file [22:46] of sytemd [22:46] is there anything you'd like me to search for in this? [22:46] hey guys who do we talktoabout pkg updatesfor arduinoide [22:47] sorry spacebar is dying [22:47] rneese: what do you mean "update" ? [22:47] they are upto 1.8.8 anditseems1.0.5isallthats in pkgs [22:47] so you want to do a version bump ? [22:47] , I'm linux noob. Could you provide an example of such command? === ianychoi_ is now known as ianychoi [22:48] need the pkg updated for arm64 [22:48] FreeBoss: why do you need to do this [22:48] rneese: I'd suggest you log a bug request for the next release [22:48] rneese: keep in mind though it will have to go through debian then filter down to ubuntu [22:48] ok [22:48] ikonia, I'm performing a simple script using Azure Custom script extension. https://raw.githubusercontent.com/azuretestrepo/UbuntuClamAV/master/ClamAv.sh [22:48] rneese: once you log the bug, work with the maintainers to explain why it's important to update the package and help them get it done [22:49] I need to restart VM after the script executed. [22:49] However documentation says that "If you have a script that will cause a reboot, then install applications and run scripts etc. You should schedule the reboot using a Cron job" [22:49] ok [22:49] nothing in that script shows the need for a reboot [22:49] Yes [22:49] So, my question is what would be the command to schedule a cron job to restart VM, but only once, 10 second after such command is executed. [22:50] FreeBoss: you dont need to reboot [22:50] I do [22:50] FreeBoss: nothing in that script warrents a reboot [22:50] echo "TCPSocket 3310" | sudo tee -a /etc/clamav/clamd.conf requires a reboot [22:50] no it doesn't [22:50] for changes to take effect [22:50] no [22:50] it requires clamav to restart [22:51] that script is "bad" [22:51] yes [22:51] How can I restart clamav? [22:51] just use systemd to restart the service [22:52] How? [22:52] systmctl restart $service_name [22:52] systemctl sorry [22:52] Thanks, I'll try [22:53] Is it clamav, clamd, or clamav-daemon? Maybe I have more than 2 services [22:55] Why can't I just restart whole VM instead? [23:00] A simple restart would solve all my problems. What is a command to schedule a cron job to restart VM, but only once, 10 second after such command is executed? [23:02] FreeBoss: sleep 10; reboot [23:03] FreeBoss: what's different about your taks this time than it was 7 hours ago when you seemingly asked the same here? [23:03] FreeBoss: because it's bad to reboot the box for this [23:03] it takes 2 seconds to restart the service and requires no logic [23:04] takes 3 seconds to restart the server [23:04] also the 10 seconds sounds like introducing a race condition [23:04] And the logic here that I don't know what service [23:04] FreeBoss: then you really shouldn't be doing this [23:04] How do I find out? is it clamav, clamd? clamav-daemon? [23:04] how are you getting the service names [23:05] I don't. I don't know how to do it [23:05] I just do: [23:05] sudo apt-get install clamav clamav-daemon -y [23:05] then how do you know there are 3 service names [23:05] echo "TCPSocket 3310" | sudo tee -a /etc/clamav/clamd.conf [23:05] then I need to restart VM [23:06] you tell me not to restart VM [23:06] you don't need to restart the vm [23:06] how do I find out what I need to restart? [23:06] systemctl list-unit-files --type=service [23:06] look for the clam service [23:06] ok, I need 10 minutes to redeploy [23:06] but it sounds like this isn't something you should be doing [23:07] why not? [23:07] I told you, simple restart of VM solves all my problems [23:08] because you don't seem to understand the basics of what you are doing [23:08] Yes, I don't [23:08] so that's why this dosn't sounds like something you should be doing [23:08] But this is do once in 2 years situation, that doesn't put anyone at risk. It's not worth spending 320 hours to find out. I'd rather ask here [23:09] you still need to know the basics to deal with this [23:09] and you certainly shouldn't be blindly copying other peoples scripts [23:09] but that's up to you [23:09] The basics: I install some software, I don't need with how many services, after I restart VM everything works. You tell me to fuck off with restart and you won't help me, I then ask< how do I find out what service, do I restart [23:10] please don't swear [23:10] sorry [23:10] there is no need to - and lets be honest, it's a lie, no-one told you to "go away [23:10] I don't *know (not need) [23:10] I advised you that was a bad way [23:10] that's pretty different than being told to go away [23:10] Spending 20 hours on learning basics that I would never use again would be worse [23:11] wasting our time on something that is done badly rather than do it right, is worse [23:11] I see. Sorry [23:11] I'm goint to leave you to it, as I don't like people who just lie [23:12] You see, I don't agree that it's done badly. I think it's done great [23:12] but you also admitted you don't know what you're doing [23:12] Leaving me with it is OK, and I'm greatfule for input you did. But I never lied [23:12] so it's not really a valid view point [23:12] you did - you said people told you to "go away" [23:12] and no-one said anything of the sort, people just tried to advise you [23:13] People keep telling me it's bad but not telling why [23:13] I think it's a good solution [23:13] but you don't know what you're doing [23:13] and you never asked "why" [23:13] do what you want, build some dumb logic to do a one time restart with cron [23:14] I suspect people will not want to help you with that, as you've already been told in ##linux too [23:14] Why people wouldn't want to help me? Why is it bad? [23:14] because cron is not meant to be used that way, and it's overkill for what is needed [23:16] reboot isn't how you responsibly manage services, you introduce a service interruption to all services when you really only need to restart a single service. [23:18] Very well, I accept that reboot is bad. Thanks to you I found a command "systemctl list-unit-files --type=service". I'm very grateful for the help. [23:18] on the other hand, i do understand the intent of seeking a simple and deterministic solution for a system you do not understand. [23:18] I did: systemctl list-unit-files --type=service. And found: [23:18] clamav-daemon.service enabled [23:18] clamav-freshclam.service enabled [23:18] what would be the best way to restart those services? [23:18] it's the first one [23:19] I gave you the command earlier [23:19] FreeBoss: you do understand that clamav is useless to find any malware that would affect linux right? [23:19] yes :) [23:20] then why bother? [23:20] leftyfb: how so? [23:20] sudo systemctl clamav-daemon [23:20] Unknown operation clamav-daemon [23:20] no [23:21] hi all, where's the best place to go to ask for help building snaps? #snapcraft? [23:21] Guest92: #snappy [23:21] thanks &_& [23:22] jcotton: please find me a virus/malware for linux that clamav will catch that anyone would stumble upon? [23:22] Is [23:22] sudo service clamav-daemon restart [23:22] bad? [23:22] incorrect [23:22] look at the syntax I gave you earlier [23:23] FreeBoss: no, it's the old way of doing it. But it'll be deprecated at some point in the near future so just stick with systemctl [23:23] ikonia, oh right, I missed restart [23:24] Is there a difference between? [23:24] sudo systemctl restart clamav-daemon [23:24] sudo systemctl restart clamav-daemon.service [23:24] no [23:25] Is "sudo systemctl restart clamav-daemon" a good way to restart the service? [23:25] it is the correct way as I gave you 10-ish minutes ago [23:25] FreeBoss: can I ask why you're installing clamav and why you need to restart it's services? [23:25] preferrably, use full paths when scripting, though: /bin/systemctl [23:25] very good call [23:26] take no $PATH for granted [23:26] /usr/bin/sudo [23:27] I'm a windows guy. My friend asked me to deploy Ubuntu that will configure ClamAv, he needs it for some plugin that will scan files on his site [23:27] why not make it in the image [23:27] rather than deploy to a vanilla image [23:28] Because image is harder to make, need to host it (pay money). And it will be outdated in the future. [23:28] https://hub.docker.com/r/mkodockx/docker-clamav/ [23:28] one of the many [23:28] you've just said this is a once every 2 year thing [23:28] so you'll either need to maintain an image once for 2 years, or do this step every two years [23:28] it's the same proces [23:28] process [23:29] hello [23:29] ikonia, it's set up once, use forever [23:29] hi NoTuRmoMAsbO [23:29] heh, yeah, cuz that's how technology works [23:29] and update never, get pwnd sooner. [23:29] leftyfb, and who is that mkodockx guy. Maybe he will change that image in the future [23:29] can I haz ur machinez, I needs botses, ktnxbai. [23:29] "my clamav server got hacked" [23:29] how does all of this work? [23:29] FreeBoss: why are you doing this as a script if it's one time thing [23:29] FreeBoss: just setup the box and hand it over, why use scrtips [23:30] he will be redeploying it [23:30] just login type apt-get install clamav, edit the files, restart and you're done [23:30] why script something that's 3 commands and a one time setup [23:30] That's exactly what I'm doing [23:30] "And then they realized clamav didn't really do what they expected. That's when the fight started." [23:30] Except login is done automatically [23:30] FreeBoss: no you're not, you're using a script [23:30] clamav really isn't worth this much effort [23:30] I tell Azure Custom Script Extension to execute ClamAv.sh [23:30] this just seems silly on so many levels [23:31] ugh, this again [23:31] FreeBoss: why make it hard, just login and do it [23:31] and hand it over [23:31] tomreyn, so sudo /bin/systemctl restart clamav-daemon ? [23:31] srsly. if you need an antivirus for probably email scanning, dunno why else would you setup a clamav appliance on azure, then forget clamav. use a professional AV tool, linux/server edition. [23:32] /usr/bin/sudo [23:32] FreeBoss: so your friend is hosting server that hosts files that he's concerned about, yes doesn't know how to login and run "sudo apt install clamav" and read documentation to make sure the definitions are kept up to date? [23:32] yup [23:33] FreeBoss: care to share this site? I'd like to steer people clear of it and put it on my watch list [23:33] :) [23:33] your hack list?) [23:33] hacked [23:34] though, I wasn't joking. This site needs to be monitored and reported when it's exploited [23:34] just permaban entire Azure range at the firewall level, like I do. [23:35] racism detecred [23:35] blackflow: unfortunately, there's some dumb people making bad decisions at good companies that host on azure [23:35] unfortunately. [23:36] I'm pretty sure, such people also host on AWS, Linode, Digital Ocean [23:36] too [23:37] No offense, but if you asked me a Windows or Azure question, I wouldn't make fun on how your licensing is wrong, or how your Active Directory is overkill for your use case. [23:38] we used to use Nod32 Linux edition for email scanning. the little what clamav could detect, was usually weeks old. [23:38] no-one is making fun of you [23:38] again stop telling lies [23:38] people are trying to guide you to actual good solutions [23:38] FreeBoss: the part that I'm offended about is people hosting public services on the internet when they really aren't up to the task or interested in doing it properly [23:39] it just contributes to the garbage on the internet [23:39] FreeBoss: btw, that wasn't directed at you, but your friend [23:39] leftyfb: +1 [23:39] leftyfb: those machines get pwned fast, and that's why we can't have nice things. oh well. back to 'buntu I guess. [23:39] And I'm offended when people are browsing internet not on their second computer clean of personal data at all [23:40] That gets wiped every day [23:40] that has nothing to do with this discusssion though [23:40] people are avising you of the problem your specific setup is causing [23:40] FreeBoss: if your friend is running a public service, he/she should learn how to do so properly. "set it and forget it" is NOT how you run a publicly available server [23:41] maybe his site is secure? I don't know. I'm pretty sure I set up a secure ubuntu VM [23:41] pretty sure you didn't [23:41] It's not [23:41] as you've already told us you don't know what you are doing [23:41] and have no interest is administering it going forward [23:41] How is it not secure? [23:41] leftyfb, indeed, I'm not. [23:42] FreeBoss: so to secure a box normally you have to have a reasonable level of knowledge [23:42] FreeBoss: because you feel clamav is adequate. Because you think just handing it to your friend who doesn't know how to manage it is adequate [23:42] so as you've told you you don't know what you're doing (which is fine) the odds are stronger that you won't have made a secure build [23:42] FreeBoss: this is how: https://people.canonical.com/~ubuntu-security/cve/main.html [23:42] It only has port 22 open. And the password is like hGLAiYjG6wVv8VxpFRQN [23:42] there is no such thing as secure software these days. only levels of "effort needed" to pwn something. [23:42] FreeBoss: no it doesn't [23:43] FreeBoss: got iptables setup? remote ssh? what ports are open? What version of php? apache modules? got that mysql db sanitation down? [23:43] FreeBoss: it has the websever open, it has clamd listening on a port [23:43] and you've already pasted the port into a logged channel [23:43] so we already know that's not th ecase [23:43] and by default, linux distros are not geared toward "secure" but toward "usable". the two are OPPOSITE on the scale. [23:44] FreeBoss: and this is just coming from me, who doesn't do security for a living and not at all experiences with any sort of exploitation. [23:44] (though, in all fairness, Ubuntu is very fast with patching for known vulnerabilities -- my comment was about modern software in general) [23:44] Just freshest image of Ubuntu and open port 22 with password strongest password. No php, no apache, just ClamAv [23:44] blackflow: only if someone is updating packages on the server regularly [23:44] true [23:44] FreeBoss: turn off password authentication. Close port 22 and run it on a different port [23:45] FreeBoss: Have you verified that no other users on the system have a shell? [23:45] FreeBoss: problem wiht ClamAV is that it _has_ had in the past, vulnerabilities. you scan the email rigged for a clamav zeroday and pfft bye machine. [23:45] can't be bothered the attitude is poor, [23:45] enjoy guys [23:45] yeah, I'm done. [23:45] which means to say not that clamav is unsecure no, but it is a vector of attack, in itself. so don't think you have that port 22 as the only vector. you've got several vectors there. [23:45] FreeBoss: good luck. Please share the URL here for the benefit of the internet [23:46] toodles === Noisette is now known as Plumette [23:47] is there a way to get access to firefox clipboard? it crashed and i had written a long reply in a forum (without sending submit), can i somehow recover it? it was a textarea . i had ctrl-c before the crash [23:47] Plumette: you need three nicks here? [23:47] adv_: it's gone [23:48] adv_: if it's not in the Ctrl+V buffer, try Shift+Ins or middle mouse click;if it's not there, then it's gone. [23:48] adv_: unless you can ctrl+v it elsewere [23:48] can i prevent seeing the clock after 10 minutes or so [23:48] don't look at the clock [23:48] arooni: huh? [23:49] leftyfb, :(( [23:49] err let me try to rephrase that [23:49] blackflow, no it's not [23:49] hey [23:49] adv_: well then, I can only say: been there, done that, lost long forum posts :) then I started using an editor to write out stuff first, copypaste into ff. [23:50] i was ready to paste damn it [23:50] (but back then FF was very crashy and this was regular occurence) [23:50] lordcirth: http://zewwy.ca/index.php/2019/03/12/ubuntu-no-boot-device-found/ [23:50] into the editor [23:50] i turned off lock screen on ubuntu 18.04; but i still see the clock / lock screen (without a password) .. how can i prevent ubuntu from showing me that lock/notification screen [23:50] Hey! if you are interested in an update I am currently sendind the disk image via ssh to my server and everything seems to be working fine [23:50] nice [23:50] does it tell you how much its done? progress? [23:51] arooni: go into power settings and tell it not to blank the screen [23:51] Does anyone know if nvidia-prime works with amd cpu? why are the only options to switch between nvidia and intel? [23:52] did some stats (looking at file size), sending about 3.5 mb/s. looking at compression ratio averages for gzip it should take about 3.5 hours, worst case senario it is 7 hours left [23:52] qwebirc49163: that is meant for GPU, not CPU. [23:52] thats what I was thinking [23:52] qwebirc49163: if you have an AMD/ATI GPU, then obviously "NVIDIA"-prime isn't going to work [23:52] leftyfb, I know that... but you can switch between cpu and gpu [23:52] I have amd cpu and nvidia gpu [23:53] Zewwy: At least I am having pretty fun [23:53] qwebirc49163: nvidia-prime switches between Nvidia GPU and Intel GPU. Not CPU [23:53] ah, yeah. just thinking of integrated cpu/gpu as one thing... [23:54] not in terms of GPU management [23:54] so in my case i have amd cpu using the amd gpu and I am unable to switch to the nvidia gpu [23:54] qwebirc49163: you might be thinking SoC stuff. Like Atom, which doesn't have Nvidia GPU's [23:55] qwebirc49163: you do not have a motherboard with both AMD and Nvidia GPU's on it [23:55] the best fun to have; pretty [23:56] leftyfb: you can [23:56] you got enough slots you can do anything [23:56] Zewwy: There is not motherboard on the market with both Nvidia GPU and AMD GPU built in [23:56] not/no [23:57] intel onboard, amd GPU #1, NVIDIA GPU #2 [23:57] leftyfb: I have an asus laptop that comes with ryzen5 and nvidia gtx1050. Current gpu in use is: radeon vega mobile gfx × 8. But i cant get nvidia one working [23:57] mot built in [23:57] not* [23:57] qwebirc49163: what model laptop? [23:57] Asus K570ZD [23:58] one will be on the PCIe bus [23:58] not integrated [23:58] that probably be the NVIDIA card [23:58] while the radeon probably be integrated [23:59] i guess i should call the ryzen an apu instead of cpu