[00:00] nvidia is just not ready for wayland [00:00] I just don't want to buy a new Laptop and end up with the decision between not using its full potential (IGP only) or being forced to use Windows... [00:01] latest intel igp can play youtube/dvd fine, so what power do you need more? [00:02] OerHeks: I want to use it sometimes for gaming at lans or when i'm visitting my parents for longer time [00:06] steam and GPU passthrough is also possible [00:06] that means your nvidia can be used dedicated [00:07] OerHeks: GPU passthrough = running Linux in a VM on Windows? [00:09] that is also possible, yes [00:10] OerHeks: what did you originally mean with GPU passthrough? i've only heard it in the context of using the GPU within a virtual machine [00:11] what is the proper way to format a usb thumb drive using dd (or cli?).. using dd is taking an hour for a 16gb drive (bs=4k).. Is there not a better/faster way? lol [00:12] cli is just using dd isnt it? [00:13] Epx998: Yea, just curious if there is a faster way is all. Raise the bs? Only format the first 5mb and that's good enough? etc. [00:13] try fdisk and see if mkfs is any quicker [00:16] Epx998: Yea, not a bad idea.. thx [00:24] When I turn off my second monitor, the windows on that second monitor don't move to the first monitor. How do I make it so that happens? [00:26] leonardus, you disable the screen also in ubuntu.. turning off just the monitor wont work [00:27] How do I make it so that just turning off the monitor moves all the windows that were previously on that monitor are moved to a monitor that's turned on [00:31] can anyone help me understand tables in iptables [00:31] ? [00:46] can i create a non default keyring? i want a temp keyring that does not interfere with the default one [00:48] one of my systemd proceses is inactive saying Active: failed (Result: start-limit-hit) [00:49] stan_man_can: which proccess? [00:49] sruli: a new one i made for radarr [00:50] stan_man_can: try to log the outpt and see if you can find there [00:52] sruli: figured it out ... was using the wrong user in the service file [00:52] sorry for the bother [00:52] no worries === TJ_Remix is now known as TJ- [01:09] I'm on 16.04 LTS. A few days ago I did a Software Update. Somewhere in that process Ubuntu prompted me to let some apps log into my gmail account, I think maybe Empathy was one of them. I added my password, now I keep getting google Critical Security emails every day or two about it. Where do I go to control this? [01:09] Hm, well I can see where to control it in Empathy. [01:10] The text of the email itself will give some needed info, here. [01:10] puff: depending on the message in your emails i believe in your google account you need to set to allow less secure applications to connect [01:10] That, yeah. [01:11] sruli: aha. [01:11] "Someone just used your password to try to sign in to your account from a non-Google app. Google blocked them, but you should check what happened. Review your account activity to make sure no one else has access." [01:12] puff: thought so, you need to find where in your google accoount you can set it to allow less secure applications to connect or disable your google account in those apps [01:13] puff: My recommendation, if you're not using it already, is to enable MFA for your Google account, then generate an application password specifically for Empathy to use. [01:13] hyperlumic: didnt know you can do application specific pass.. will look into it for my pidgin [01:14] hyperlumic: thanks. [01:14] sruli: Thanks. [01:14] Security is what I do. Glad to help. [01:14] Right now I'm dealing with a probably unrelated problem, on my moto x4 it keeps saying "Google has stopped" and "Gmail is stopping", like every couple of seconds. This isn't likely to be related, is it? [01:14] This started about 4 hours ago. [01:15] I doubt it. [01:15] Thanks. [01:15] puff: i dont think so, but close empathy for a few minutes and see if the issue persist [01:15] hyperlumic: Programming is what I do, mostly java and python, though I do a smattering of other languages (and a fair bit of perl, but that was back in the day). [01:16] I was a programmer for about 18 months. C, C++, x86 assembly. Rapidly grew to hate it. [01:16] sruli: I didn't have empathy running, is it running in the background or something? [01:16] Moved into the datacenter, then almost immediately into infosec. [01:16] hyperlumic: I keep thinking of getting into C++ for some stuff. Did C way, way back. [01:16] if we are talking about what we do, i am an expert in wasting my time [01:16] Now, I'm a principal security consultant. [01:16] hyperlumic: All my friends who do C++ seem to alternate between "You really should try C++, it's not that bad" and "DIE DIE DIE C++" [01:17] My issue with C and C++ is how easy it is to write atriciously exploitable code. [01:17] Atrociously* [01:18] Yeah. [01:18] sruli: Missed your PM. [01:19] There seems to be this paradox, nobody can manage to do a revised/cleaned up C++ to make it saner and safer, without *also* adding in huge issues like memory management or Go's issues, etc. This is either a matter of human inability to resist temptation, or some fundamental design challenge that can't be (or has yet to be) overcome. [01:22] Yeesh, moto chat support is passing me to their level 2 support, who will call me "within a day". [01:25] I have to ask... is there any alternative to Evolution for accessing corporate Outlook 365-hosted email? Corporate IT at work requires the use of MFA, and disabled the use of app passwords today. And the version of Evolution available for 16.04/xenial does not support this. I therefore lost my email and calendar notifications, which is very annoying. Don't know what to do [01:27] Not sure I know of a solution. [01:29] I looked into backporting a newer evolution (from 18.04/bionic), but there are too many newer dependencies [01:32] I don't see yakkety, zesty, or artful on packages.ubuntu.com... where can I find information on the versions that were included in these releases and all of their dependencies? [01:34] Some_Person: maybe ubuntuupdates.org [01:34] looking for the earliest release with evolution 2.27.91 or newer [01:34] Some_Person, since they're all end of life the contents files are removed, so you'd have trouble downloading them anyway [01:34] Some_Person: All End-Of-Life Ubuntu versions get archived to old-releases.ubuntu.org [01:35] genii: Uhh... that redirects to a scammy site [01:35] Some_Person, can't imagine mixing them into a xenial system would be less trouble than upgrading xenial to bionic... [01:35] Some_Person: Have you considered an upgrade to bionic? [01:35] Some_Person: Sorry, .com and not .org [01:35] rfm: I wouldn't mix the packages... looking for something I can hopefully compile that'll run on it [01:35] hyperlumic: I'm a developer and the entire team is on xenial [01:36] Some_Person: http://old-releases.ubuntu.com/releases/ [01:36] ..is where they all go [01:37] genii: Where are the packages in this structure? [01:38] Some_Person: http://old-releases.ubuntu.com/ubuntu/dists/ [01:42] Ugh, it's no use. Looks like bionic is the first version that had a new enough evolution :( [01:42] for some reason my audio keeps going out, when I restart it works again. Anyone have any idea's ? [01:43] Is there a[current] image viewer that will view an image, and reload it if the file changes on disk? I dont really want to script something [01:45] Hm, ofund a builtin - eom [01:46] lots of them, sartan https://unix.stackexchange.com/questions/167808/image-viewer-with-auto-reload-on-file-change [01:46] I guess I'll try it in a VM, and if it works, suggest that after this damn release is in the bag we all upgrade [01:46] (this would be a horrible time to do it) [01:47] until then... well, I guess we'll probably be missing a lot of meetings and emails [02:09] is there a easy to view tool for managing the services enabled/disabled with systemd yet? I know there is a webmin plugin to do it. but looking for something native. Something similar to YaST's Services addon. [02:10] webmin is cancer. [02:10] systemctl list-unit-files? [02:12] I have a headless web server running and I want to run an x server on it at startup. What is the best way to do this? [02:12] I hope that web server isn't doing anything important? [02:17] sabrehagen, if its a headless server, what would the X server be doiing? (I think it would help to know a little more about what you're trying to accomplish.) [02:17] it will be running a graphical application over X11 forwarding [02:18] over ssh [02:18] Is that web server internet-facing? [02:18] sabrehagen, in that case you run the X server on the local machine, and the X client (graphical application) on the remote headless machine [02:19] hyperlumic: yes [02:20] rfm: my goal is the other way around: xserver and application running on the host, viewed remotely by ssh [02:21] sabrehagen, that's not the way X works, what's sent over the ssh tunnel is the X11 protocol stream, so the server has to be on one side and the client (app) on the other... [02:22] Ahh, I see. I misunderstood. [02:24] sabrehagen: If that server is internet-facing, I would STRONGLY advise against running or installing anything on it not required to serve web content. [02:27] rfm: Then the X server would be my local machine which is behind a NAT. [02:28] You're still installing additional code on the server in the form of applications that can be exploited or misused. Secondly, NAT is not a security layer. [02:29] sabrehagen, not a problem since the ssh tunnel end is on your system, so the connections to your local X server will be coming from the localhost. [02:30] X forwarding is a bizarre creature. Neat, though. [02:32] i am struggling with ssh and custom config / key file. "ssh -F /path/to/config" the config file has a path to IdentityFile but ssh ignores that config file and goes for the .ssh/config file and uses the key from there, the only way to force it is to put "IdentitiesOnly yes" in the config file but then it does not check the keyring for passphrase and asks each time, how do i get around this? [02:32] !info xvfb [02:32] xvfb (source: xorg-server): Virtual Framebuffer 'fake' X server. In component universe, is optional. Version 2:1.19.6-1ubuntu4.2 (bionic), package size 815 kB, installed size 2390 kB [02:32] rfm: what if i were to switch around and run the X server locally, and the application on the remote machine. (this is my desired setup as I have recently learned) [02:33] sabrehagen, yes, yes, the X server should run on the machine that has a display, the one you're sitting in front of. The application (X client) runs where the computation needs to be done (where the data is, etc.) [02:34] rfm: cool, I understand now :) [02:34] as for the technical specifics, what's the best way to make my local machine available to the computation machine? [02:36] sabrehagen, well, if you mean "available to be a X display" ssh's X11 tunneling is about it. [03:00] hi, is simple scan supposed to be this slow when scanning? I've tested my printer (which contains a scanner) both wireless and plugged with USB, and when I run a scan wireless, it's incredibly slow and delayed [03:01] hi dpi scans surely can take more time, wireless [03:02] OerHeks: i do not intend to compare os here, just wanna point out that the scanner works flawlessly on windows,is it simply different here on ubuntu? [03:04] I mean, why is it delayed? not trying to say its bad, but it simply stops for a few seconds and then it continues, repeating the same thing until it scans the document [03:05] ubuntu uses cups to transfer, that might be the culprit; a simple scan to file on disc would go faster [03:06] OerHeks: although i could look this up on google, would you kindly tell me what is cups? is it a "techique" for scanning? sorry im dumb [03:07] thanks anyways [03:07] cups is the printer server [03:07] !cups [03:07] Printing in Ubuntu is done with cups. See https://help.ubuntu.com/community/Printers - https://wiki.ubuntu.com/HardwareSupportComponentsPrinters - http://linuxprinting.org - Printer sharing: https://help.ubuntu.com/community/NetworkPrintingWithUbuntu [03:08] by the way OerHeks is there a command to view all ubottu's commands? [03:08] like "!help"? [03:08] yes https://ubottu.com/factoids.cgi [03:09] you can play with it in DM too [03:09] very well, thanks a lot OerHeks i think my problem is solved, i think i can handle the wireless speed of CUPS [03:10] have fun! [03:12] im pretty excited about ubuntu being my new main OS, i was doubting it because i thought it couldnt recognize my printer (which i need), but now that it's all set up i feel confident [03:13] good bye! [03:34] is uninstalling firefox a bad idea? i mean is it going to break my ubuntu? [04:04] xdruppi, no, you can, remove the .cache/mozilla and .mozilla folder too [04:04] thanks OerHeks [04:24] mefistofeles: did you solve the cuda? [04:35] i tried to change priority and nicelevel using start-stop-daemon --start --quiet --chuid "$FAIL2BAN_USER" --nicelevel 13 --iosched 'idle' --exec $DAEMON but won't change the prio and nice level https://paste.ubuntu.com/p/MzgznDnn6C/ [04:36] before and after still same [04:37] "XBackBone require PHP >= 7.1, writable storage path and PDO, with installed the required extensions (ex. php-sqlite3 for SQLite, php-gd and php-json)." so just `sudo apt install php` or `php-cli`? === patr0clus is now known as s3nd1v0g1us [05:14] ................... [05:15] kinghat, #php ;) [05:15] ya. i think i gots it [05:22] lpstat -a tells me printers that are not actually connected to this computer are accepting requests. Can I get lp/cups to detect whether an installed/configured printer is really online? [05:42] i'd like to forward incoming traffic from eth0 into tun0, any recommendations on the best approach to take? i've tried iptables and ufw with no luck this far. the ubuntu 18 system just sends ICMP redirects to the main LAN's gateway 192.168.1.1 [05:43] also i have this set in sysctl.conf so i dont know why it's sending ICMP redirects, net.ipv4.conf.all.send_redirects = 0 [05:48] unless one of the more specific options overrides the "all" option, https://puu.sh/Cc7l8/0061ca837e.png [05:57] my commands for iptables are currently, https://puu.sh/Cc7yt/5f9f48fc8d.png [06:00] opps accidently flipped ens160 and tun0 around, https://puu.sh/Cc7Cf/8497f041d5.png [06:04] xibalba: check the #netfilter or ##networking channel [06:04] roger that [06:34] hi [06:34] is there something to change gnome window manager colors? [06:34] window title background and text color to be specific - ubuntu 18.04 [06:54] !themes | neurre [06:54] neurre: Find your themes at: http://www.gnome-look.org - http://art.gnome.org - http://www.kde-look.org - http://kubuntu-art.org - http://freecode.com/tags/theme - http://www.guistyles.com - https://wiki.ubuntu.com/Artwork/ - Also see !changethemes and https://help.ubuntu.com/community/UbuntuEyeCandy [07:03] does anyone know what the proper permissions should be for apache install? its root:root and thats not going to work. [07:04] hi all.my log folder says its 30gb + but upon expanding it,theres no file bigger than 1gb.im using the disk usage gui.. my apps shortcut are lost as well [07:05] kinghat: you mean the /var/www/html dir? [07:05] EriC^^: ya. i dont know if /var/www needs changed as well? === daniel is now known as Guest72572 [07:06] i emptied the trash as well.but still disk full.. [07:07] yelowfish: may be the offending logfile has been removed (unlinked), but a program still has the logfile open, so the actual space used can't be freed [07:09] hmm.let me check again [07:09] what is the command line to open the gui of disk usage? (sorry,but all the app shortcuts went missing) [07:09] 16.04 xenial [07:10] yelowfish: baobab [07:10] I want to have a folder rsynced any time a file in it is changed. Is there a way to do something like 'rsync --watch' [07:10] kinghat: root root works [07:10] And for a view in terminal, you can run du -haxd1 . | sort -h [07:11] oh and probably with sudo [07:12] (baobab:2758): Gtk-WARNING **: Attempting to store changes into '/home/a/.local/share/recently-used.xbel', but failed: Failed to write file '/home/a/.local/share/recently-used.xbel.WYPNTZ': write() failed: No space left on device [07:13] no files & app open except irc and disk usage.2 terminal windows [07:16] log folder on 32gb,upon checking the contents there are no files bigger than 1gb.there is 1 file grayed out: speech dispatcher [07:17] i think i interrupted nautilus while its doing a trash empty procedure.. there is this new pie graph indicator on the toolbar saying preparing files after i press on empty trash [07:20] what is happening if i `grep httpd`? its just a blinking cursor [07:21] not returning anything [07:34] * yelowfish anybody home? knock knock [07:42] yelowfish: see if you can find the storage hog from the terminal, then: cd / && sudo du -haxd1 . | sort -h # then cd into the largest dir and run sudo du -haxd1 . | sort -h again. Rince and repeat [07:43] 1 moment. [07:56] hi, i'm trying to use the nvidia card on an old inspiron 7559 laptop with integrated graphics+dedicated card, on ubuntu 18.04. tried to install nvidia proprietary drivers, now startx fails. xorg.log reports the error that "module nouveau doesn't exit" - well of course i removed it. I could not find any reference to the string "nouveau" in /etc/X11 or /usr/share/X11 (grep -rn nouveau). Does anyone know [07:56] why xorg still try to load nouveau drivers? how to make it stop? [07:57] thanks for helping [08:01] Anyone has an idea by any chance? [08:06] pierre365, check this https://wiki.debian.org/NvidiaGraphicsDrivers/Optimus [08:06] and this https://wiki.debian.org/Bumblebee pierre365 [08:10] afx_ did check those but doesn't explain why nouveau is being loaded by default while not configured? [08:11] i dont want a whole new theme, i just want to change couple of colors [08:11] is there a theme editor? [08:13] neurre: afaik you just use a text editor, they're simply css or something [08:14] where do I find the file? [08:15] i'm not sure where the gnome themes live, gtk themes should be under /usr/share/themes, i think [08:17] neurre: there is a #gnome channel, i would ask them for help about theme editing [08:17] how do i know which window manager I am using? [08:18] gnome uses mutter, i think [08:24] Hi everybody, I have a problem with 14.04 (I know it's "old" but it's on a production system and I can't update it right now). When we ask for a shutdown it starts the shutdown process, but at some point we read messagese like: "* Starting internet superserver inetd" and it doesn't shutdown [08:25] Does anybody have a clue about why the server starts some services during a shutdown? What signal/service/broken software can cause a startup during a shutdown? [08:25] It doesn't happen always, but even few times it means that somebody has to go there and reboot manually... [08:30] is it safe to delete syslog file? 17gb [08:31] yelowfish: unless you need to save the logged data [08:31] yelowfish: yes, but I'd look into why it hasn't been logrotated [08:31] yellowfish: if it's that big there should be something wrong or sending a lot of log messages on your systems [08:31] geirha: yeah.. or it's not logrotated properly [08:33] can i look into it sometime and delete it now? i need space to make this xenial work [08:34] looks like gnome-color-chooser interacts badly with sshfs: https://paste.ubuntu.com/p/bGBXdykFpq/ [08:34] :( === neurrrre is now known as neurrre === neurrre is now known as neurre [08:35] is there a way to kill process which is in uninterruptible state? [08:35] following this https://unix.stackexchange.com/questions/202891/how-to-know-whether-wayland-or-x11-is-being-used I have two sessions: one for my user and one for gdm . The one for my user gives X11 and the one for gdm gives Wayland . So what's the deal ? [08:36] it will recreate itself after deletion right? minus the large contents [08:37] can i delete kern.log ? [08:37] can i delete kern.log ? its 18gb [08:37] so it's the kernel that's spamming log messages? [08:38] they are 2 : kern.log and syslog [08:39] mh, those log messages are probably written to both those files [08:39] im not sure if its the kernel. [08:39] yellowfish: the kern.log messages are contained in the syslog [08:39] i see [08:39] that explains they have the same size [08:39] note that deleting it will not free up the space. You also have to reload the syslog service so that syslog closes the deleted file [08:40] hmm.what is the proper sequence in deletion? [08:41] is my disk usage analyzer broken? coz it doesnt show the big files [08:41] another option is to just truncate it. That avoids the need to reload the service [08:41] I'm getting the following message - "Stackscript: Ubuntu 18.04 LAMP successfully installed :D" - but can't find the .html file in the usual place (var/www) - any ideas? [08:41] It might be misbehaving due to lack of space [08:42] how to truncate? === GortiZ1 is now known as GortiZ [08:43] sudo bash -c '> /var/log/kern.log' or sudo truncate -s 0 /var/log/kern.log [08:44] but it's just going to fill up again unless you fix the real problem [08:45] confirm that space is available again with df -h [08:48] it created some free space [08:49] tail -F /var/log/kern.log see what the kernel is complaining 17GiB about [08:49] syslog file is still on 18gb. should i retain it? [08:50] brb [08:51] up to you. I'd at least look inside it, to get an idea of what's wrong [08:56] hi. chromium an't find my chromecast on the network. any idea why ? [08:57] solsTiCe: are you connected to the same SSID? [08:57] solsTiCe: there are no fw rules or such in ubuntu by default that would block it [08:58] I am on ethernet. same netwrok. VPN disabled. ufw stopped [09:03] so i think i'm forgetting a critical step in this. i'm trying to get my ubuntus 14.04/16.04 to remember my id_rsa passphrase, but it's not persisting through logout [09:03] i've ran the ssh-agent, ssh-add, added IdentityFile into ~/.ssh/config .. and i'm lost [09:04] i think it went back to the old issue.i have to adjust it again.. [09:05] pls confirm syslog is safe to delete [09:08] [ 0.265089] pci 0000:00:02.0: BAR 2: assigned to efifb [09:08] how do you get rid of these [09:08] how to tell efifb stop touching gpu [09:11] yelowfish: it's safe to delete, but you lose information about what's happened recently. You should look inside it to see what's going wrong first, else it will just happen again and again [09:12] Good morning friends! [09:12] Azukawa! buddy! [09:12] what's happening friend [09:12] geirha, tnx a ton [09:22] All good, still wrestling the same old screen tearing issue. Last time i tried to fix it i ended up changing my ubuntu-studio to normal ubuntu by accident! [09:22] now back after reinstall [09:22] So friends, would you please help me with this: [09:22] https://askubuntu.com/questions/667466/screen-tearing-in-ubuntu-with-nvidia-intel-graphics [09:23] hello! I'm on 18.10 and nether SUPER + TAB or ALT + TAB switches windows [09:23] I upgraded from 18.04 [09:23] o/ [09:24] sorry.. my connection dropped. [09:25] by any chance has anybody answered my question? :( [09:25] GortiZ: what is your question ? [09:26] oh i think i got it firends, ill boot and check back on you later! thanks:) [09:26] I have a problem with a 14.04 system which fails to shutdown/reboot 50% of times. When it fails I can see that it's starting services instead of shutting down [09:27] unfortunately I can only see few messages at the end of the logs and they refers to inetd/nfs/openssh "starting" [09:28] mhh [09:28] can you connect on the computer like in rescue mode ? [09:28] If not you can try a sudo systemctl status [09:29] tchakatak: sorry I don't understand... when it's in that status I can't connect via SSH to the system (I can't ping it either) it's in the shutdown/reboot process [09:30] so how am I supposed to run those commands? [09:30] should I run them before sending the "sudo shutdown -P now" command? [09:31] GortiZ: no [09:31] GortiZ: send journalctl -xe [09:31] is ubuntu 18.04 workstation only unstable in a guest virtualbox, or is it the case for hosts as well? [09:31] and study the systemd log [09:32] tilerendering: you can use it wherever you want [09:33] tchakatak: we are talking about 14.04... does it have "journalctl"? [09:33] GortiZ: should, [09:33] ok, I'm asking for it :) [09:33] if not you can cat /var/log/syslog and /var/log/boot.log [09:33] the idea is to see what is happening [09:34] and 14.04 was the first one with systemd [09:34] tchakatak... I'll send you the syslog... 14.04 is the last with upstart [09:35] GortiZ: sorry. its upstart not systemd [09:35] yup. [09:35] just checked it [10:03] thcakatak: https://paste.ubuntu.com/p/QwR8JmGQQg/ [10:04] I have a script trying to connect to a Samba share every 5s waiting for another PC to startup. This script stays alive even after the mount and re-mount in case of "unmount" [10:04] it's launched by KDE at logon, so I suppose it to be closed by KDE at logout === Scotty_Trees is now known as Scotty_Stumps [10:10] GortiZ: i take a look === mkv is now known as m4v [10:12] GortiZ: visibly your 'script' is lunched at startup, not a really good idea [10:13] Nov 30 17:29:27 TGIV-DataProcessing kernel: [ 147.891949] CIFS VFS: Error connecting to socket. Aborting operation. [10:14] you have differents error. somes from the network [10:14] somes from cifs [10:14] but it looklike your server is starting xorg [10:14] just to know do you have any access to a screen connected to the server ? === Scotty_Stumps is now known as Scotty_Trees [10:37] buongiorno [10:40] Hello friends, i got my ubuntu now running better than ever! [10:41] one last issue that i thought i could live with, but since i got all fixed so good lets try to fix the last one [10:42] I got presonus audiobox external soundcard and it works otherwise perfectly, exept when i start the system i need to remove the usb and put it back in order for the computer to recognize the card [10:42] any idea how to fix this issue? [10:43] Hello [10:43] can anyone here give me an understanding LXC/LXD in a running environment vs say ESXi? [10:44] I run into some hardware issues with ESXi, specifically network cards etc. And was wondering if LXC/LXD does the same, if not better for VMs [10:44] hello, I have installed Tilix, and something is blocking ctrl-alt-D shortcut in ubuntu 18.04 [10:45] i also tried to reset all shortcuts in gnome settings [10:48] How do I synchronize the system time to ntp with timedatectl? [10:48] I can only find old instructions for ntpd online. [10:50] hey, what is the official way to connect to an IPSEC/IKE Network with Ubuntu 18.04 Desktop? [10:53] <[bma]> Hi - quick question - we have had a java update bork one of our legacy apps - unfortunately this was in a minor way and wasn't noticed until the snapshot was removed. Anyhow, we wanted to just downgrade the java version back down, but Ubuntu has completely removed the version we had from the repo. Any ideas why/how I can go about getting this package? it's openjdk-8-jre version 8u181-b13-0ubuntu0.16.04.1 [10:55] bma: Is this what you want? https://launchpad.net/ubuntu/+source/openjdk-8/8u181-b13-0ubuntu0.16.04.1 [10:55] tchakatak: sorry... the connection is really bad. [10:55] sorry... the connection is really bad [10:56] tchakatak: yes I have a screen and a guy at the server, that's why I can tell you that the server shows systems "starting" at shutdown [10:56] bma: You can get the tarballs there [10:57] tchakatak: https://www.picpasteplus.com/view.php?i=3pvpg4bpcpb404w4apupg4dj.jpg [10:57] that's what he sees at shutdown/reboot [10:58] <[bma]> cyborg101: thanks - guess it's going to be a source build :? [10:58] <[bma]> :/* [10:59] bma: yeah I think you're gonna need to build it. There may be some place to get a deb binary, but I'm not sure. [11:04] Hello, how do I set hostname on Ubuntu server 18.04.1 ? I tried hostnamectl set-hostname but doesn't persist on reboot. [11:06] Chaser: modify /etc/hostname too (and for static IP, lock it to IP and fqdn in /etc/hosts as well) [11:06] <[bma]> Cheers cyborg101 - I'm so glad my job involves maintaining these legacy apps! [11:06] Chaser: If /etc/cloud/cloud.cfg exists, change 'preserve_hostname' to true [11:07] Chaser: That will preserve hostname after reboot [11:07] ah thank you. Let me try those [11:08] hello everyone. i'm thinking of buying an intel core2 laptop for the purpose of learning linux with the ubuntu distro. would a core2 be good enough as in decent/quick for even the display environment. If this isnt the case. What would be a good one that is less then $500 [11:08] bma: Cheers mate :D [11:09] cyborg101: changing perserve_hostname to true did it ! thanks [11:09] Chaser: Awesome :) [11:10] <[bma]> @Finalight You may as well get a lower-end modern laptop rather than spending money on 10 year old hardware. [11:11] <[bma]> (he says whilst fighting 10 year old software) [11:16] Chaser: so you did it the wrong way. cloud-init shouldn't be used for persistent configuration of the system. You should really edit proper config files. [11:17] [bma]; well, that was my question === Class7_ is now known as Class7 === GortiZ1 is now known as GortiZ === capella is now known as capella|away [11:41] so I am trying out the latest ubuntu version from the live usb. I would like to install xorriso but apt-get complains saying [11:41] E: Package 'xorriso' has no installation candidate [11:41] how can I rectify that_ [11:45] omnomnomnom, xorriso is in component universe, are you sure it is enables? [11:45] enzotib: i do not know, I am running the live usb [11:45] omnomnomnom: the installation one for 18.1 [11:45] err enzotib [11:45] do you know how I could check that? [11:46] omnomnomnom, grep universe /etc/apt/sources.list [11:47] enzotib: nothing shows up [11:47] enzotib: do you know how to enable universe_ [11:51] omnomnomnom, you should edit the file, with admin permissions [11:51] omnomnomnom, first make a backup copy, in case something should go wrong: sudo cp /etc/apt/sources.list /etc/apt/source.list.bak [11:52] omnomnomnom, next edit the file: sudo gedit /etc/apt/sources.list [11:53] omnomnomnom, add the word "universe" at the end of lines starting with "deb" [11:54] thank you [11:55] omnomnomnom, after saved the file, you should run: sudo apt-get update === daniel is now known as Guest92942 === tsglove2 is now known as tsglove [12:26] I got a freezing of the machine, then a black screen and then an xmessage saying "Could not start ksmserver. Check your installation." Then logged out and I am back in. How do I fix this? [12:28] lspci doesn't show my nvidia quadro p1000, any thoughts? [12:28] and I take that back, it just doesn't have "VGA" in the description. [12:29] hm, so if I have a pakcage like this --> https://launchpad.net/ubuntu/+source/libzip <-- and it has a proposed version of 1.5.1, is it possible to add this version to apt-get without having to just download the .deb file and install it with dpkg ? so it just replaces the old version? [12:29] this laptop is strange. It's new and things aren't showing the way I'm used to on old hardware, LOL === Richard is now known as Guest17989 [13:03] Hey, how do I increase my top panel size in gnome 3, 18.04? [13:08] you can't afaik [13:08] only the side one [13:08] or wait [13:08] if you put the top bar down it will increase [13:08] other than that i don't think it possible when it's up === Butterfly^ is now known as Guest77235 === luna_not_bull- is now known as luna [13:50] Is this the best place to get some help with 18.04 and boot issues related to grub2 with EFI and /boot being XFS? [13:54] Is there a way to cap CPU utilization over a certain percentage for all or a specific app ie. "my cpu should not go over 70% overall or by a specific app utilization"? [13:55] My postgres is taking cpu alot [13:57] Intelo: not so sure about setting percentage cpu usage, but can you use "nice" so that if other processes need the cpu then postgress allows them to use it? [13:58] !info cpulimit [13:58] cpulimit (source: cpulimit): tool for limiting the CPU usage of a process. In component universe, is optional. Version 2.5-1 (bionic), package size 16 kB, installed size 42 kB [13:58] Intelo: ^ [13:58] hm [14:00] hateball, what about nice/renice? [14:01] Intelo: you can use that too, sure [14:02] Anyone here knows about grub2 problems in 18.04 with XFS? [14:02] I'd probably go with nice; You can set niceness inside the systemd unit file. And it allows postgres to use 100% CPU if no other service currently *needs* the cpu [14:03] * eelstrebor has some kind of memory issue - free memory gets less and less even though no additional programs are being executed [14:03] It seems to me like grub2 on 18.04 lacks xfs support in the grubx64.efi binary, whereas in 16.04 it does have it. [14:03] Note that nicing your db server is likely to also decrease performance of everything downstream of your DB [14:03] hateball, I have a gui task manager built in kubuntu. I can change priority there but am unable to precisely cap at 70% [14:07] cap that ass at 100 percent :P [14:07] :O === [1]MrMobius is now known as MrMobius [14:11] I got a freezing of the machine, then a black screen and then an xmessage saying "Could not start ksmserver. Check your installation." Then logged out and I am back in. How do I fix this? === [1]MrMobius is now known as MrMobius [14:14] * eelstrebor found a solution to memory problem - clearing the memory cache gets the job done - time to create another cron job [14:14] eelstrebor: that is not a bug, and clearing those caches is not a good idea. [14:15] cache memory is treated as "free" if an actual program wants to allocate memory and is released [14:15] The only thing you're doing by dropping that cache memory is make programs run slower, because they'll have to do I/O that they otherwise wouldn't have needed to do [14:17] RaRaRaRa [14:17] Rawww [14:18] its like in this room people have the God complex [14:19] Lu_tze arrived and we had the sonofRa [14:19] what next God will appear ? [14:20] Kazdax: God became man so that man could become God [14:20] lu_tze: can we help you with something? [14:21] at the moment no, I was just responding [14:21] Kazdax: can we help you with something? [14:22] This is a support channel. If you want idle chat, please go to #ubuntu-offtopic [14:22] eelstrebor: for example, in this output of the free command: https://gist.github.com/sonOfRa/76eb0f8b333a26217c7217c94ae34a17, I have 15G memory in total. 8.1G is used by programs, and 4.1G is currently "cached". This is files that were read that are still in memory, and should a program access them again, they will be read from memory, rather than from disk. If the "used" column approaches my 15GB mark, and there's still things under "cache", the [14:22] things under cache will be dropped, and memory will be allocated from there. [14:24] * eelstrebor says so many admin commands, so little human memory === capella|away is now known as capella [14:50] Good morning, how can I configure a linux service to use LDAP credentials to connect to a database (Equivalent of windows service running with domain credentials and using SSPI) [14:55] Chryzo: depends on the service and the database [14:56] let's say it's PostgreSQL [14:56] your PostgreSQL client would authenticate to the database no differently [14:56] custom service developped with .net core and connecting to PSQL :) [14:56] it's the database config that needs to be changed to enable LDAP auth [14:57] Let's say I enable LDAP auth. [14:58] if you want something equivalent to SSPI, you'd use Kerberos and srvtab and so forth [14:59] which may also be possible with PostgreSQL, but I'm not sure [14:59] k, thanks, that is what i wanted to know. I'll look into those technologies [14:59] I'm not sure it's worthwhile. [14:59] PostgreSQL + TLS + auth via LDAPS would be pretty solid [15:00] and either way you'd be saving a credential on the client side in the clear [15:00] but you do you :) [15:03] Hi folks [15:10] XenophonF, that is the objective, removing credential on the client side for applications [15:10] I have searched google, but can't quite find the right answer. I have a USB thumb drive that takes forever to transfer an average size file (700 MB). With Windows, it takes maybe 1 to 2 minutes at the very most. With the same my Ubuntu machine can take up to 30 minutes to transfer the same file. The drive is formated in NTFS, but I cannot figure out why it would take so long between the two environments. Anyone [15:10] have some suggestions on where to look? Google finds all the buffering questions which I'm certain is not the case here. [15:13] pragmaticenigma: because NTFS on linux is done with FUSE. extra slow there. [15:15] blackflow: I could see that FUSE would add some overhead, but a difference of 25 minutes seems excessive [15:17] pragmaticenigma, wikipedia says it should be fine if you have a good CPU: https://en.wikipedia.org/wiki/NTFS-3G#Performance [15:17] What's your CPU usage when copying? [15:18] lordcirth: I never thought to look [15:19] pragmaticenigma, https://www.tuxera.com/community/ntfs-3g-faq/#slow [15:20] pragmaticenigma: the difference in X minutes is irrelevant as it scales with total file size [15:22] blackflow: The transfer time is not irrelevant, it shouldn't take the exact same file a difference of 4 to 8 times longer to transfer between to different OSes, on the same hardware [15:22] pragmaticenigma: another thing to note, due to so many context switches (because U in FUSE) and meltdown/spectre mitigations, all those syscalls are gonna be even slower [15:22] pragmaticenigma: no I mean the number of 25 minutes is irrelevant [15:22] could be hours if you had dozens of GB [15:23] blackflow: the minutes is not irrelevant to the example [15:23] but it's FUSE. you have extra context switches. it cannot be THE same time as in-kernel Windows NTFS [15:24] I'm not expecting the exact same time blackflow ... but I'm also not keen on it taking such a magnitude longer [15:24] but it does. it's always been like that [15:25] (especially recently with meltre mitigtions that heavily affect syscall-heavy workloads) [15:26] How to limit an app to just use one core (postgres in this case)? [15:26] Intelo: cpu affinity via cgroups -- but... do you really want to? [15:27] (cpu affinity a.k.a cpusets) [15:27] Intelo: http://blog.scoutapp.com/articles/2014/11/04/restricting-process-cpu-usage-using-nice-cpulimit-and-cgroups # first result on google [15:28] that link doesn't deal with cpu affinity [15:28] blackflow, what would cgroup do? [15:28] Intelo: eh? [15:29] want to limit postgres not to use more than 70% cpu [15:29] leftyfb, ok [15:29] lordcirth: I've seen the comments about low-speed mode before, but I haven't seen anywhere on how to determine if that's the way device is mounted or how to force a change (other than one person forceably unmounting and remounting until the drive behaved) [15:29] How to know the parent pID of postgres. I see many processes [15:30] postmaster is the parent [15:30] Intelo, in general, if you start htop and press 't' it shows the tree [15:31] also, tree [15:31] or ps axuf [15:35] leftyfb, blackflow lordcirth sudo cpulimit -l 50 -p 861 but its not affecting anything. My cpu is still 95%+ used [15:37] that's not how it works. the limit is relative to total number of processes waiting in queue [15:37] Intelo, I think you want -m [15:37] Only limiting the parent won't do much good if it's the children that are working [15:37] though initially you asked about affinity (limiting a process to a single core), now you're doing limits. what do you actually need to do? [15:38] and to add to what lordcirth just said, you need a cgroup limit, not PID, so then all the procs in the group would be limited in total. [15:38] lordcirth, V [15:38] sudo cpulimit -ml 50 -p 861 [15:39] blackflow, need postgress not to cross 70% cpu utilization [15:40] cpu% is a bit of a.... vague thing. Take a look at this, and limit the entire service using proper kernel facilities via systemd units: https://www.freedesktop.org/software/systemd/man/systemd.resource-control.html [15:41] ideally you want to set up shares, and relative shares between process (groups). limiting just one process to a vague % that's not even a real metric, is pointless. [15:42] I added sudo cgset -r cpu.shares=512 cpulimited [15:42] also, read the manpage, `cpulimit` seems super out of date. HZ=100 assumption? [15:42] How to add postgres PID parent 861 to it? [15:42] blackflow, ^ [15:42] Intelo: don't. use the systemd resource control facility I linked above [15:42] Intelo: navigate to the cgroup and echo the pid in? [15:43] Intelo: or do what blackflow is suggesting, which is far saner [15:43] nacc, didnt go you [15:43] Intelo: also note that setting shares to ONE process or group is pointless, because they're all relative to each other [15:43] blackflow, following http://blog.scoutapp.com/articles/2014/11/04/restricting-process-cpu-usage-using-nice-cpulimit-and-cgroups [15:44] Intelo: which is a rather old document. these days systemd APIs do that. [15:44] if anything your cpulimit is not persistent across reboots. systemd units' resource limits are. [15:46] yall niggas need to mour [15:46] n [15:47] blackflow, nacc what exactly to use? renice, cgroup, systemd? Can you paste a command to limit PID 861 to 50% or cap it not to use more than 70% of cpu? [15:47] :| [15:48] piercedwater: can we help you with something? [15:48] leftyfb, you can shut up all these inconsiderate fucks [15:48] Intelo: did you even read a word of what I said? [15:48] piercedwater: this is a support channel. Please stay on topic [15:48] I did [15:49] blackflow, iam confused [15:49] Intelo: then why are you pursuing that vague metric that's not really applicable? [15:49] Intelo: also, rather than starting with an implementation detail, can you perhaps explain what you are seeing that is leading you down this path? [15:49] I think there's an XY problem going on here. How about you explain what problem you have (not the solution you think would be) [15:50] blackflow: +1 :) [15:50] heh [15:50] how can I add pid 861 to the cgroup I created sudo cgset -r cpu.shares=512 cpulimited [15:50] nacc, as I said many times, my cpu is taken near 100% by postgres. I want to somehow limit/cap it to 70% [15:51] idle or not idle [15:51] I cannot run my laptop with this constant computation [15:51] Intelo: and as _I_ said many times, that metric of cpu% is not what you think it is. [15:51] Intelo, why is postgres using so much? [15:52] blackflow, what to do then [15:52] Intelo: uh, that's the first time I can see in grep for your nick and 100%, so no, not many times. Also, the point is to figure out *why* your pg is taking so much cpu. [15:52] lordcirth, I nicely asked it [15:52] Intelo: first look at the process state. Is it D? [15:52] Intelo: if your pg is busy doing actual work, then limiting it will slow that work [15:52] nacc, ^ [15:53] mostly R , few S [15:53] io activity counts into cpu% (one of many reasons why its' a vague and meaningful metric per se), so if you have a slow disk there and the db is waiting on io, that's your primary problem to solve [15:53] *meaningless [15:54] samsung SSD altest model [15:54] Intelo: are you trying to run a heavy db workload on your laptop while using it actively? [15:54] so have a look at what postgres is really doing, as in most use cases it is NOT cpu-intensive (unless you're doing very complex queries with indexes and sorts) [15:54] nacc, yes [15:55] its doing big io and computation. My point is, is there a way to limit it? [15:55] Intelo: that seems like a mistake then. [15:55] Intelo: you can't expect your system to be super responsive to interactive usage while doing heavy db work "in the background", imo [15:55] nacc, I programmed the app. Its intentional.. [15:56] Intelo: ok, so it's intentional that you can't use your laptop interactively. ENOBUG? [15:56] nacc, ... thats why I want to limit postgres [15:56] Intelo: you can set CPUQuota in the postgres service unit file, say to 50% and see what changed [15:56] Intelo: use the systemd parameters that are specifically for doing this, then [15:56] nacc, its not about just using interactively. its about not blowing your laptop if constant 100% cpu is used [15:56] blackflow, how to do that [15:57] nacc, command for systemd? [15:57] Intelo: 'blowing your laptop'? What does that mean. [15:57] Intelo: blackflow has given it a few times, or you could read about systemd in the manpges [15:57] nacc, constanct 100% cpu for laptop = heatup issues, blowing [15:57] Intelo: run systemctl edit postgresql@10-main.service (I am assuming Bionic and postgres 10). That will put you into edit mode for unit override under /etc/systemd/... [15:57] wearing fast [15:58] Intelo: First issue I see is running a database on a laptop. The assumption is that you power down that machine regularly. All databases do regular maintance, build indexes and other function when there is minimal requests coming in for other actions. When you power down your system, postgre has to catch up with all those tasks it missed. [15:58] Can AnYoNe suggest a command/way [15:58] Intelo: you really only need to add CPUQuota entry under [Service] iirc [15:59] pragmaticenigma, agreed [15:59] babilen, ok how exactly [15:59] pragmaticenigma: yeah no quite for postgres [15:59] Intelo: Second issue, artificually limiting the resources isn't going to resolve your problem. You should be using the tools in Postgre to see what queries and operations it is performing to make the assessment on what is causing postgre to chew up resources. [15:59] pragmaticenigma, I am chewing it. [16:00] With that assessment, you can see that there may be features within postgre may not be needed and you can turn them off [16:00] hm [16:00] What are you using postgres for, anyway? Also, you could perhaps reduce overhead by reducing how many workers it spawns, or something like that [16:00] * Intelo thanks all but gives up; at lease for the moment. This is going in circle, Intelo needs a command [16:01] Intelo: I gave you [16:01] Alternatively, run the whole thing in an lxc container with resource limits - but that might add enough overhead to be pointless. [16:01] Intelo: As mentioned, I would focus on limit the work your DB is doing using the tools available in the DB solution as opposed to limit it trying to do what you told it to do after the fact. Tell it to do less. [16:01] yeah why LXC when you already have cgroups set by systemd...... [16:02] blackflow, exact [16:02] Intelo: tell you DB to do less work. Give it work in small batches, or optimize the DB, or run it when you're not using the laptop [16:02] Intelo: exact yes. you have to override a systemd unit. overrides, aka "drop-ins" go under /etc/systemd/... The best to create one is "systemctl edit " [16:02] Intelo: did you try the systemd changes? [16:02] Also, don't do this sort of thing on a laptop [16:03] Intelo: but.... I'm only givign you exactly what you asked for even though its WRONG. Do as everyone else is recommending, me included, find out what the DB is doing and start with that. [16:04] Intelo: what it appears to me, more than anything, is that postgre needs some tuning for you usage case. If you are using it as a development environment for your applications, you can tune it to such a role that will help [16:05] You won't have performance issues, and postgre will "behave" for what it is being used for. Assistance can be found for such tuning in the PostGre support forums. [16:05] postgres is not as mysql. tunning is most often not needed [16:05] blackflow: I'm aware, however, it's clear this isn't a "production" type need, which means they might not need all the bells and whistles turned on [16:05] pragmaticenigma: there arent' any [16:06] and the whole point here is taht CPU limits are red herrings. if something really needs limiting from outside of postgres itself, it's the IO, *not* the CPU [16:07] i respectfully disagree with your assessment of tuning, https://www.postgresql.org/docs/10/kernel-resources.html [16:07] but if you ask me.... add moar RAM and make sure the workloads fit in it. that's always been like the ultimate thing to do when you need to speed up or improve the performance of postgres. [16:09] pragmaticenigma: well I never said there aren't tuning parameters. only that it's not like mysql where you have a megaton of them and can't do much without carefuly adjusting them [16:10] but..... again..... it's pointless to talk about tuning when it's not clear what the DB is doing. cpu% of a single process means nothing. [16:12] how can I reinstall nautilus and all its dependency tree in one go? [16:13] if I get to the grub menu from the ubuntu live installer, can I assume that I made it past the UEFI step? [16:13] sentiment: `sudo apt-get install --reinstal nautilus` ? [16:13] since I upgraded to 18.4, nautilus and banshee and rhythmbox have been completely riuned [16:13] nacc: I think you missed an "l" on reinstall? [16:14] pragmaticenigma: ack, sorry [16:14] nacc: that doen't reinstall the whole tree [16:14] that won't reinstall dependencies [16:14] that is what I am looking for [16:14] sentiment: sorry,, you're right. Nothing will [16:14] sentiment: you can write your own wrapper to do it, probably [16:15] sentiment: the problem is when you attempt to remove nautilus, it's going to take the entire Gnome desktop with it [16:15] calamari: UEFI step of ... the install? [16:15] well I wish I had the time and energy for that, and also the knowledge. I am not proficient with bash [16:15] nacc: sorry I'm probably wording this terribly. I'm unsure whther this computer has one of those funky 32-bit EFI's [16:16] how do I remove syslinux* ( like -common, -efi and anything else) * gets me: The following packages will be REMOVED: syslinux* ... 1 to remove - [16:16] pragmaticenigma: I tried and it didn't [16:16] nacc: since I got to grub, I'm hoping that means it's not an issue [16:16] calamari: well, there are two uefi interactions here, one is the live boot itself, the second is hte install of the bootloader. I couldn't tell which one you meant [16:16] pragmaticenigma, if a pg server does a lot of io/computation: only this does not means it needs tuning. [16:16] nacc: the live boot itself [16:17] this has been bugging me since 4 days ago and it's freakin ridiculous that dpkg doesn't report problems and yet some programs are obviously failing to work correctly. [16:17] e.g the whole GStreamer pack has some issues [16:17] and I reinstalled everything related to no avail [16:18] I wonder what goddamn package is at fault here [16:18] same with nautilus [16:18] sentiment: have you installed any software that isn't from the Ubuntu archives? Any PPAs? [16:18] sentiment: one challenge is that a package might be installed because it's recommended or suggested, but is not strictly a dependency [16:18] Intelo: Without the use case of what you are doing with postgre (especially on a laptop) and what operations you are running... we're in the dark and can only suggest high-level attempts to help. At this point you are best to seek assistance from the PostGre community. They will have better resources available to help determine a better solution for your situation [16:18] sentiment: how did you upgrade? [16:19] calamari: right :/ [16:19] sentiment: dpkg doesn't know what "correctly" is. It is ridiculous that you think it should report problems when all it understands is packages, IMO :) [16:19] TJ-: I did before the upgrade. One microsoft , one Opera and... I need to check what else but I think that was it [16:20] nacc: that upgrade command [16:20] sentiment: and how precisely are these programs "ruined" ? [16:20] CarlFK: can you use a pastebin and show the exact command and ouptut? Use -s to apt-get [16:20] pragmaticenigma, I see my question is not about "help me tune an app" but about "how to limit cpu usage of an app". Dont expect me to tell all the details, architecture, db schema if in this case my app is postgres. This can be any app. any senario. Wish is to limit cpu utilization for that app/daemon/proces [16:20] sentiment: what "upgrade command"? [16:20] nacc: I still think it's ridiculous that it doesn't understand conflicts [16:20] obviously there are some conflicts here [16:21] sentiment: until you show us exact commands and the errors reported we can't really help much [16:21] sentiment: it understands package conflicts. That's all it understands. [16:22] sentiment: it's not obvious to me there are "conflicts here", as we don't know the precise behavior you are seeing, what errors you get, if any, etc. [16:22] nacc: derp, seems I didn't type * on my apt command. now I get 3 to remove (what I expected) [16:22] CarlFK: :) [16:22] Intelo: And as you were told, that isn't going to solve anything. Because the next question you are going to come here with is why is it taking forever to run my query on postgre [16:22] pragmaticenigma, I will not [16:23] nacc: the do upgrade command [16:24] sentiment: did it emit any errors? i think it is logged as well [16:25] do release command [16:25] sentiment: do-release-upgrade? [16:27] sentiment: this command should reinstall all packages on your system. please don't run it until someone double-checks it for safety: sudo apt-get --reinstall install $(dpkg-query -f '${binary:Package}\n' -W | tr '\n' ' ') [16:29] hggdh: yes [16:29] nacc: it did [16:29] calamari: thx, does it reinstall just one tree or everything? [16:29] sentiment: it did emit errors? [16:30] yes, in fact i had to re run the command [16:30] sentiment: it builds a list of all packages, uses tr to put them all on one line, then runs apt-get --reinstall install against that huge list of packages [16:30] sentiment: ... well that's not exactly gret [16:30] yeah [16:30] sentiment: so an unsuccessful release upgrade can lead to serious breakage [16:31] well yeah [16:31] calamari: the problem is not of re-installing, it is that the do-release-upgrade broke between releases, so there may be previous-release packages mixed with new-release packages [16:31] sentiment: I'd say try to understand the upgrade breakage before trying my command [16:31] what kind of breakag is this though? [16:31] TJ-: beat me to it :) [16:32] sentiment: you need to show us the report from do-release-upgrade, or anything else reporting errors, in a pastebin [16:32] TJ-: previous release? [16:32] TJ-: OK :) [16:33] what do you mean by previoius release? [16:34] sentiment: after a failed release upgrade you have a mix of 16.04 an 18.04 packages [16:34] I re ran the cmd right after the first time [16:34] sentiment: you used "do-release-upgrade" that implies there was a release upgrade from, say, 16.04 to 18.04 [16:34] aha [16:34] sentiment: did it report any errors on the second run? [16:35] I think yes [16:35] I will paste it [16:35] sentiment: what does this report? "sudo apt -f install |& nc termbin.com 9999" [16:37] hmmm, I think that isn't a valid option for apt; *thinks hard* [16:38] oh, it does :D [16:38] TJ-: apt is getting better in passing parameters :-) [16:39] hggdh: yes but it still catches me out when I'm surfing releases [16:40] TJ-: what is '|&'? does that only pipe/run the second command if the first command succeeds? [16:41] calamari: it pipes both stdeer (&) and stdout (|) [16:41] TJ-: cool! [16:41] calamari: otherwise it is embarrassingly easy to miss the vital data you intend to capture! [16:41] TJ-: I was always doing 2>&1's and such [16:43] Me too, that's a good thing to know [16:44] it doesn't work for sh/dash, but does with bash [16:45] I love learning new things every day :) [16:45] yeah I figured as much [16:45] I just learned about "until" yesterday [16:45] but still useful [16:47] I rather like the 'timeout' command [16:48] timeout is *very* handy [16:58] (ubuntu live usb) removing quiet splash and adding nomodeset still gives a black screen (no kernel output) right after grub, with no USB activity, so I'm assuming that means it's a hang very early in the kernel. any suggestions on what to try next? Intel cpu/graphics [17:00] TJ-: 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. === mkv is now known as m4v [17:16] How can I revert all packages from a certain PPA to their official versions? [17:16] !ppapurge | Some_Person [17:16] Some_Person: To disable a PPA from your sources and revert your packages back to default Ubuntu packages, install ppa-purge and use the command: « sudo ppa-purge ppa:/ » – For more information, see http://www.webupd8.org/2009/12/remove-ppa-repositories-via-command.html [17:16] Thanks! [17:17] exit [17:18] Uhh.. it didn't seem to work [17:18] Didn't seem to do anything at all [17:20] https://paste.ubuntu.com/p/tMRJph5xsj/ [17:21] lotuspsychje: thunderbird doing it again, not showing new message counter [17:22] Not sure what to do? [17:24] Some_Person: `apt-cache policy gvfs` ? [17:24] nacc: https://paste.ubuntu.com/p/hCcTQqzdMs/ [17:25] Some_Person: is it possible you had the ppa added twice? [17:25] Some_Person: try purging the same again, as it indicates it's still enabled [17:25] nacc: I just ran it 3 more times... no difference [17:26] sruli: did you try sending an email to yourself, then restart thunderbird? [17:26] I think it's unlikely to have been added 4 times [17:27] lotuspsychje: yes, works for the first ~hour after restarting and then stops [17:27] Some_Person: sudo grep -R martin-salbaba /etc/apt/ [17:27] sruli: you leave thunder bird open, or closed? [17:28] leftyfb: https://paste.ubuntu.com/p/jVjhPRq8Fd/ [17:29] lotuspsychje: in general? not sure i understand yuor question [17:29] sruli: you leave thunderbird open launched, or keep it closed [17:30] lotuspsychje: in general i never close thunderbird, for testign purposes now i restarted it [17:30] Some_Person: sudo rm /etc/apt/sources.list.d/martin-salbaba-ubuntu-ppa_libimobiledevice-xenial.list* && sudo apt update ; sudo apt install gvfs=1.28.2-1ubuntu1~16.04. [17:31] sruli: ok good, so can you reproduce the email count error if its closed or open? [17:31] lotuspsychje: when its closed it never shows the counter on the icon.. only when running [17:32] sruli: allright [17:32] lotuspsychje: my issue is that it does not work when open (after running for more than an ~hour) [17:32] sruli: consider creating a new !bug for it [17:33] sruli: perhaps also launch thunderbird from terminal, maybe after an hour you get errors? [17:33] lotuspsychje: will try [17:34] leftyfb: E: Version '1.28.2-1ubuntu1~16.04' for 'gvfs' was not found === tarator85 is now known as tarator [17:35] ~16.04.2 i believe, Some_Person [17:35] Some_Person: sorry, i was on the phone for a bit [17:36] https://paste.ubuntu.com/p/bppW7gWn2H/ [17:37] Some_Person: you'll need to specify it for each of the packages listed with that version [17:37] Some_Person: all one line [17:37] I want to revert every single package I have installed from that PPA [17:37] Some_Person: yes, that's what I just said. [17:37] so I need to manually check each one? That kind of sucks [17:38] Some_Person: check? no, just add them to the list to apt-get [17:38] nacc: I mean, check each one for the version to specify [17:38] Some_Person: it just told you [17:38] Some_Person: you need to resolve the dependencies for apt, because you're downgrading [17:38] sruli: related: https://bugs.launchpad.net/ubuntu/+source/thunderbird/+bug/1726116 [17:38] Launchpad bug 1726116 in thunderbird (Ubuntu) "Thunderbird "unread email" counter doesn't always update when unread emails are opened" [Medium,Confirmed] [17:38] nacc: That's not every package from the PPA [17:39] I guess I'll go through them all with apt-cache policy [17:41] lotuspsychje: that bug refers to thunderbird not removing opened emails from the counter, not sure how much its related, in any case there is no solution there adn if i understand correctly that bug is for unity [17:42] sruli: if you feel its not related, create a new one [17:42] sruli: feel free to add the url to us afterwards [17:43] Some_Person: iirc, there's a way to grep it out; TJ- --^ do you recall? [17:43] It's okay. I just finished doing it manually. Thanks [17:49] nacc: sorry, not been paying attention? grep what from where? [18:00] I've noticed in my repository list that the entry for slack is tracking "jessie"... that seems odd [18:01] Some_Person: keep in mind we dont support external ppa's here, we strongly advice to cleanup your whole system of ppa's back to vanilla [18:01] lotuspsychje: I've basically just removed all the unnecessary ones [18:02] Some_Person: maybe share your sources.list, we can have a look? [18:02] Everything else is either software that doesn't exist in the official repos or software that was added in a later version of ubuntu [18:03] nacc: Some_Person apt-cache policy '*' | awk '/^[^ ]*:/{PKG=$0; IN=1} /Installed: \(none\)/{IN=0} /http.*\/\/ppa/ && IN==1{print PKG, IN, $0}' [18:06] TJ-: thanks :) [18:07] slack isn't from a PPA, it's from upstream's official thing. Pretty sure I manually installed their deb package and it set it up [18:07] Some_Person: slack is also a snap, which is the recommended way to install it on ubuntu now, i believe [18:07] What is a "snap"? [18:08] !snap | Some_Person [18:08] Some_Person: Snaps are containerised software packages similar to flatpaks or appimage. For more info, see https://snapcraft.io [18:09] https://paste.ubuntu.com/p/HjD52Wh3TS/ -- the result of that command btw [18:09] geee, it works!! :D [18:10] I've always preferred to have apt manage everything I have installed [18:10] I'm just cleaning things up right now before attempting an upgrade to 18.04 (will probably try this weekend) [18:13] I don't even remember why I had that libimobiledevice PPA enabled [18:13] The remaining ones make sense though [18:14] Some_Person: the most of your packages, are on the official repos [18:14] lotuspsychje: In xenial? [18:14] !latest | Some_Person [18:14] Some_Person: 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. [18:15] Some_Person: you can apt-cache search packages on your own system/ubuntu version to see whats available if you want [18:15] lotuspsychje: I know HexChat is in there, but I needed a newer version [18:16] The other stuff basically doesn't exist in the official repos, at least not in xenial [18:16] Some_Person: its your system, we cant argue about that :p [18:16] Some_Person: we can only advice, to keep the system as vanilla as possible [18:16] openfortivpn, for example, appears to have been added in bionic [18:17] lotuspsychje: And I generally do that. Honestly, I was surprised I had that libimobiledevice repo in there; I have no idea why I did that [18:18] Some_Person: openfortivpn 1.3.0 is on snap [18:23] my .bash_history no longer logs my commands. any idea why? [18:23] (been this way a few years, only care enough to ask for help now) === luna_not_bull is now known as lunacat [18:28] lotuspsychje: The PPA I'm using for that also provides the network manager plugin and the GNOME configuration UI for that [18:28] which I use [18:47] eggNogCommie: well, if you have multiple shells running at the same time, they'll be competing for the same history file. [18:47] eggNogCommie: it could effect the contents. [18:47] eggNogCommie: other ideas; the history file is symlinked to /dev/null [18:50] eggNogCommie: or you lack permission to write to it. [19:15] Can I see the history of connected devices to my computer? [19:15] With the time stamps [19:15] USB connected devices* [19:22] varaindemian: only to a certain point. Try: dmesg -T [19:24] What's a good way to image a drive btw? I've used dd in the past, but IIRC it's pretty slow [19:27] specify a block size equal to the drive's cache size. [19:28] Speeds things up greatly. [19:29] Some_Person: take a look at fog. It's fast as hell, though a bit tricky to get working [19:29] dd if=/dev/sdx of=img.bin bs=32M [19:30] In this case, the drive is a modern M.2 SSD, if that matters [19:33] leftyfb: I am interested in those from ysterday. I saw a msg in my Gnome notifications that there was a device connected to this laptop. But I cleared instantly.. [19:34] varaindemian: unlikely you'll see anything from yesterday. But it's easy to check [19:37] leftyfb: How? [19:37] varaindemian: I already told you [19:37] I checked... [19:37] Nothing from yesterdat [19:37] Isn't there a log? [19:39] I just hit an issue rebuilding with an updated ubuntu 14.04 base image. It no longer includes deb-src in sources list. Is there any quick fix for adding those automatically? [19:42] Is there any installable package that automatically adds dec-src to sources list or will I have to script it? [19:43] varaindemian: There isn't an explicate log that would identify when devices are added and/or removed. dmesg is usually the location such events appear and the command lefty provided would offer up the information if it is still available. [19:44] gp: what do you mean by "rebuilding with an updated ubuntu 14.04 base image" [19:44] gp: why are you reinstalling with 14.04? [19:45] 14.04 will be EOL in less than 5 months [19:45] I copied that from docker chat. The base ubuntu docker image isn't including deb-src in sources list for some reason [19:45] gp: try #docker? [19:46] Well I need to fix it in my local image. I was hoping not to have to script it myself [19:46] No response in docker and there is already a github issue on the repo [19:46] Figured someone else has encountered this and may have been able to say yeah use this package [19:48] gp: this wouldn't be the place for that. IRC support takes time and patience. If you haven't waited 24 hours since you posted something in a channel, with some reasonable repeats, then you haven't waited long enough [19:49] Ubuntu chat isn't the place for asking for a package recommendation? My bad... [19:49] many of the channels are run by volunteers. It's best to stick to the room that matches your topic (#docker in this case) and wait it out. Also, you mentioned there is an issue on the project's page, which means someone is aware of it in that group. best to keep things in one place [19:50] I am not trying to fix it in the upstram. I updated the issue to let them know. I am trying to script a fix in my local applciation that runs on Ubunut. It isn't docker specific. But thanks for your help. I'll go my own way [19:53] Hello is there a way man can do this on Linux https://www.youtube.com/watch?v=Arn8ExQ2Gjg ? [19:55] how can i can resize all *.jpg in a specific directory keeping the same name? i tried, "mogrify -resize 50% *.jpg" but that adds ~ at the end... ex 0123.jpg~ [19:57] paws: man mogrify [19:57] paws: hint: look for "filename" [20:15] pretty sure that my installation problem earlier was caused by Secure Boot being enabled in the BIOS. I disabled it in order to try Debian, and it booted that [20:21] hi all, for some reason my system all of a sudden stopped accepting the wifi card built into my system. the installer sees it just fine. lspci sees it as a 06:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8822BE 802.11a/b/g/n/ac WiFi adapter, any help greatly appreciated! [20:28] i think i got hacked by a hindy bredon on fb [20:28] <3 [20:29] kuz3: This is a support channel. Trolling is offtopic. [20:34] anyone able to offer any suggestions? Only other way this computer can access the net is via cat-5 cable and I don't have one that long :( [20:36] Katronix: "all of a sudden". was there a (kernel) update? [20:37] how to make show application botton less delay [20:37] Anyone here using Ubuntu on a Dell XPS 13 by chance? I'm having a terrible time with display scaling in Gnome on Ubuntu 18.04 [20:38] 100% is too small and 200% is massive, I don't seem to have any options like 150% etc ... and just modifying the font scaling only fixes half the problem [20:39] blackflow: there could have been, I did do a re-install of Ubuntu and it did an update right away and I think that killed the network then too [20:41] rantic: Gnome does not, currently, accepts any middle-values for scaling. I have the same problem (but on a different manufacturer). [20:41] rantic telinit 3 then apt remove gnome which will uninstall the gnome which came with ubuntu then reinstall gnome again by apt install which will install the native gnome ,,,, this should fix it ,,,u will lose some application in your favorite where u suppose to fix it manually or reinstall them again [20:41] rantic: what I did was lower the resolution to 2560x1440... [20:42] S3xyL1nux: huh? [20:42] just trolling [20:42] S3xyL1nux: I strongly suggest you to NOT troll anymore. [20:43] ok [20:45] thanx ryuo . i doubt it's any of those. i mean, i DO use multiple shells, but i know what that behavior (used to) cause: the most recently closed shell writes out first, regardless of the time i issued a particular command [20:47] before doing an update, is there a way to capture how my network card is working? so I can resume it to that state? [20:47] Katronix: why do you think the state will change [20:48] ikonia because right now if i boot off my hard drive into linux, the gui insists I don't have a wifi nic [20:48] ikonia: however if I do a lspci it still shows it [20:48] Katronix: so your card isn't working [20:49] eggNogCommie: make sure you are issueing " [20:49] shopt -s histappend" in your .bashrc [20:49] ikonia: correct, however under the "install linux usb stick" it does, and before the first update it does [20:49] Katronix: maybe is just the GUI not the wifi adapter itself, the one that's not working [20:50] Katronix: so you need to look at why it's not working rather than just try to stop updates [20:50] ikonia, any suggestions? :) [20:50] bprompt: could be [20:50] Katronix: debug it - ask for help debugging it [20:50] lspci has nothing to do with it working or not [20:51] how to make show application botton less delay [20:51] it just detects PCI-ID's of cards that in your machine and references them against a database [20:51] Katronix: the updates might have updated something it "was hooking to" to pick up the network activity, and without the hook it it gets thrown off [20:51] okay well right now I'm in the install linux usb stick, anything I can do currently (while its working) that will help? [20:51] Katronix: identifying what card it is, and what kernel module it's using would be a good start [20:53] someone answer my question or i shoot every single body [20:53] hello S3xyL1nux [20:53] ikonia, bprompt here is what lspci -v shows: https://pastebin.ubuntu.com/p/2CdzxkqBS7/ [20:54] Katronix: so make a note of the card type and the kernel module it's using [20:55] Katronix: hmmm I'm inclined to think is the GUI at fault [20:55] I mean, is not unusual [20:55] how do I tell it to start loading it when I reboot? [20:56] start loading what ? [20:56] don't I have to tell the driver to start loading? I'm thinking its not because web browsers tell me there's no internet [20:56] Katronix: do you know the drivers not loading ? [20:59] ikonia it hadn't occurred to me to check with -v before [20:59] Katronix: you need to understand the problem before focussing on how to fix it [21:00] ikonia: okay so lets say I reboot and lspci -v shows its not loading anything, can I tell it to load the driver? [21:00] Katronix: lets not say that [21:00] Katronix: lets find out what the problem is and address it [21:01] ikonia okay what would be the next step? I'd prefer not to have to constantly reboot to get the next direction :) [21:01] Katronix: the next step is to boot into the broken mode make notes and come back with fact [21:01] ok === enzotib_ is now known as enzotib [21:15] hi all, brought up my laptop to help with my desktop issue [21:29] can anyone here help me with my nic issue? [21:31] during normal run time my desktop doesn't use the wifi, but during install it does === gurmble is now known as grumble === farhad111 is now known as S3xyL1nux [21:45] anyone able to help? [21:46] When I unplug my ipad from usb the plug it back it doesn't charge unless i reboot ubuntu again .... plz pl [21:46] How to plz plz [21:47] call 0800-apple? [21:48] ubuntu on an ipad, new to me [21:48] I am from iran I can't call usa [21:51] wait, you are *charging* your ipad through an ubuntu machine? [21:52] .. what happens if you use a different port, when you plugin again? [21:53] Its works once in each port [21:53] S3xyL1nux: are there any messages/errors in `dmesg` when you unplug and plug [22:19] my old laptop becomes with ubuntu becomes unresponsive when compiling haskell with stack/ghc. is there anything I can do to remedy this? [22:20] unresponsive as in even the mouse pointer gets extremely laggy [22:21] Depends why it is unresponsive. If its using too much CPU lower the nice setting, if its using too much IO you just wait [23:24] Is there a way to download a set of recursive dependencies based on a given package to a specified directory? [23:24] I need to load a package on an airgapped system. [23:25] !info apt-offline | TechSmurf [23:25] TechSmurf: apt-offline (source: apt-offline): offline APT package manager. In component universe, is optional. Version 1.8.1 (bionic), package size 45 kB, installed size 223 kB [23:25] sweet. thanks [23:28] hrm [23:32] i wonder what happens when you get the snap package [23:39] OerHeks: ? [23:39] some packages in bionic and on, are snaps, like gnome-calculator [23:39] ah [23:40] Not so much a worry with xenial, fortunately [23:40] why would the calculator need to be in a snap? [23:42] * TechSmurf sets up a vm with a basic offline install to test deps against, so he doesn't have to drive back and forth 20 minutes each way figuring this out [23:44] I suppose I could really cheat... just install the package and copy all the downloaded debs to a usb stick.. call it a day.. [23:47] folks, the "pgpgpg"package in repos (16.04) is a version of GPG, PGP or OpenPGP ?? [23:49] It's a wrapper for using gpg in programs designed for pgp [23:50] TechSmurf, the thing is then, i cannot install gpg by itself, it is not in the repos [23:50] gnupg? [23:51] yeah... gnupg is the package you seek [23:52] and which is the diff. between GPG and ssh keys? [23:52] * TechSmurf shrugs [23:53] pgp/gpg aren't something I've fiddled with. [23:53] Kremator: they are used for different things [23:54] mhmm, github and gitlab does use both for the same stuff, auth [23:55] ssh keys are used for accessing remote systems [23:55] pgp is used to encrypt or digitally sign messages/files [23:59] I did something stupid and removed linux-firmware. however i think the package was still in the local repository and we re-installed it but now wifi and ethernet and who knows what else isnt working