=== Agent is now known as isded === isded is now known as Agent === wymillerlinux_ is now known as wymillerlinux [01:02] i have ubuntu open and looking for the bot.py which i know the location of.. python3 [01:03] thinking of using ubuntu with a duel boot. Tried it once, many years ago and found it difficult. Persuade me to try again. [01:04] :~$ python3 C:\bot\bot.py [01:04] python3: can't open file 'C:botbot.py': [Errno 2] No such file or directory [01:04] eh im tired [01:09] rickybob: "c:" is Windows syntax. What are you working in and what is the end goal ? [01:09] messing with bot code.. new and learning how to load it etc [01:11] used to program vb many years ago, learning to code again is messy [01:11] but i had the bot in chat and responding just need to get it started [01:11] long day [01:11] Bashing-om: [01:12] rickybob: ' sudo find /-name bot.py ' . [01:14] windows using visual studio and powershell [01:14] sudo find /-name bot.py [01:14] oops [01:15] !wsl | rickybob Maybe better response: [01:15] rickybob Maybe better response:: 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 [01:17] Bashing-om: thanks friend [01:19] rickybob: Do what we can to help; but I have not touched Windows in OH! so many years. [01:19] yea i just got back on lol [01:19] was on linux learning that last year [01:20] this year python [01:20] windows 10 is nice for gaming [01:20] has xbox quick keys [01:20] tal to friends in voice chat etc [01:34] 18.04 - where is the "share network" thing that let me share wifi over wire to a 2nd box? [01:35] so Bashing-om ricky:~$ sudo find /-name bot.py [01:35] [sudo] password for ricky: [01:35] find: ‘/-name’: No such file or directory [01:35] find: ‘bot.py’: No such file or directory [01:35] ran that to no avail [01:35] i shall get it, just need a break i think haha [01:45] rickybob: then the target file " bot.py " is not on the file system that your current shell can see. [01:46] right.. my dilemma here [01:46] drinking tea taking break [01:47] think.. eat.. reboot brain [01:47] rickybob: One will have to mount that Windows' partition from within the WSL shell. [01:53] rickybob: you're running the wrong command, try 'sudo find / -name bot.py' [01:54] (note the space between / and - [01:54] ) [01:54] alright [01:54] ducasse: :) ouch on me ! [01:56] some progress.. [01:56] thanks! [01:56] lets see what happens here lol [01:56] permission denied every folder [01:57] !sudo | rickybob [01:57] rickybob: sudo is a command to run command-line programs with superuser privileges ("root") (also see !cli). Look at https://help.ubuntu.com/community/RootSudo for more information. For graphical applications see !pkexec (for older releases: !gksu and !kdesudo). If you're unable to execute commands with sudo see: http://www.psychocats.net/ubuntu/fixsudo [01:57] ah yes [01:57] right [01:58] i have too many windows open tn [01:58] rn [01:58] rickybob: ( a period of re-adjustment ) [02:00] find / -name bot 2> /dev/null [02:01] locate bot | grep py [02:01] neh! Hello guys [02:01] hey thanks thanks! [02:01] im gonna get it, the code is done [02:02] held my piss too long for this bot [02:02] what bot are you playing with [02:02] so /usr/lib/python3.6/urllib/robotparser.py [02:02] /usr/lib/python3.6/urllib/__pycache__/robotparser.cpython-36.pyc [02:02] /usr/share/initramfs-tools/scripts/init-bottom/copymods [02:02] this one here.. [02:02] https://github.com/trackmastersteve/bot/blob/master/bot.py [02:03] its a starter.. i just got on python yesterday [02:03] but i learn fast, i think.. [02:03] i try to think i learn fast [02:03] but its only time that permits me to [02:06] so you find the bot.py file? [02:07] what is the best and easiest way to make a copy of a bootable sd card in ubuntu? [02:07] lastebill1: dd if you have a card of equal or greater size [02:08] I do have that. I tried using dd, but it has two partitions, and I think that screwed up my image [02:08] omg greedy me had 2gb sd card. Looking to make a bootable. Most of them out there are > 2 gb [02:09] sudo dd bs=4M if=/dev/sdc2 of=raspbian.img [02:09] I did this [02:09] etcher says it's not bootable [02:10] got sdc1 and sdc2 [02:11] the sdc1 turned out as only 256 megabytes and the sdc2 image turned out 7186 megabyte [02:12] so I figure I need to somehow do them both? [02:13] I want to install live ubuntu on a SATA SSD drive. Can I just do a dd like with preparing a usb stick? [02:14] could someone help me figure out the correct command to do this? That would be greatly apprechiated [02:14] angular_mike: you could clone an existing installation, however it is not recommended that you do that unless you no longer going to use the original machine or installation anymore [02:15] lastebill1: Do not try to image the partitions, image the entire device "/dev/sdc" [02:15] pragmaticenigma: ok! [02:16] pragmaticenigma: so just sudo dd bs=4M if=/dev/sdc of=raspbian.img [02:16] lastebill1: Yes, if you're trying to copy the contents of the SD card over to an image file [02:17] ok, it says it can't find sdc... [02:18] only sdc1 and sdc2 [02:20] lastebill1: try it without the block size [02:21] ok, now it seems to be doing something [02:22] b3twiise: thank you === zbenjamin_ is now known as zbenjamin [02:23] lastebill1: it would be a unique configuration if the block size of your SD card were 4M... would expect something more like 4K or maybe 8K [02:23] but no i had another friend who helped me run this via tv and he moved too fast so ill prob get a text from him after dinner [02:24] lastebill1: that's why I think it wasn't working [02:24] ss.... [02:25] angular_mike: sorry, I misread your original post. Yes, you could technically clone the live disk image to a hard drive [02:27] sry shitty cam [02:27] https://usercontent.irccloud-cdn.com/file/yDWNWXKr/IMG_20191220_212635349.jpg [02:28] just for reference [02:28] somewhat [02:29] again havent been in windows at all this year so getting back into that was enough itself. the software is nice though [02:30] only in doors [02:30] pragmaticenigma: i see ,thanks [02:30] my motherboard doesn't seem to support booting from usb [02:30] win 8 support is ending soon [02:30] I guess vulns will be vuln foreverrr [02:30] im on 10.. for now [02:31] this is only for gaming really, i have many machines here. [02:31] Am just guessing how many are stuck on 8 for backward hackability. lol [02:31] I use Win10 for gaming too. I think it is under-rated visually. I find it having a cleaner visual design than Mac OS. [02:32] put this bad boy in just to play wow, new to that as well haha [02:32] https://usercontent.irccloud-cdn.com/file/3KNuvh3y/IMG_20191209_144831170.jpg [02:32] Sri19: the beta xbox software is nice [02:32] you try it? [02:32] windows + G [02:33] pulls up all friends etc [02:33] i have gears5 on here [02:33] lol [02:33] I havent really used windows for a long time [02:33] and forza [02:33] which is amazing [02:34] I need a ps4. Thats one thing I got to get [02:34] just impressive performance not the game really [02:34] game is fun yea [02:34] What specs? [02:34] The one device I'll use windows 10 on is my notebook, and the reason is that windows 10 is easier on the battery than ubuntu [02:34] My current thing is a windows s bs. [02:35] I had to wipe it [02:35] https://youtu.be/btZoEgiwRA0 [02:35] came with 4 gb mem and 64 ssd [02:36] With the bloatware I could even not open 5 pages [02:36] haha [02:36] without chrome sayin "aww snap" [02:36] this thing runs games while coding and irc discord no prob [02:36] btw, isn't this things to discuss in #ubuntu-offtopic perhaps? [02:36] yupp [02:36] lastebill1: correct apologies [02:37] my bad [02:37] channel added thanks [02:39] rickybob: haven't tried or heard of xbox softwarebeta. got a link? [02:39] let me see.. [02:40] hi all. This is a bit of a strange question. I did a standard install but now regret it because the installer added a whole slew of packages I don't need. Is there a way to clean this up without having to reinstall? [02:40] How do I get pavucontrol on latest live image? Apt seems to not recognize the package after update [02:40] https://beta.support.xbox.com/help/games-apps/game-setup-and-play/how-to-get-xbox-app [02:40] Sri19: [02:40] ir [02:40] https://www.xbox.com/en-US/xbox-app [02:40] rather [02:41] thanks [02:41] no worries [02:42] its pretty neat [02:42] i use it but my xbox is right here.. lol [02:42] guess it would be useful if out of town [02:43] and to offtopic now i go [02:43] lol === wymillerlinux_ is now known as wymillerlinux [05:42] I'm having trouble exusing a folder using the tar command I've tried /bin/tar -cvf "maildir-archiver_$(date +%m-%d-%Y).tar.gz" /var/vmail --exclude=./var/vmail/backup/maildir-archives, /bin/tar -cvf "maildir-archiver_$(date +%m-%d-%Y).tar.gz" /var/vmail --exclude=/var/vmail/backup/maildir-archives and even used qoutes around the directroy I wanted to exlude no dice. What am I missing to properly exlude this folder? [05:43] **excluding [05:43] pardon typos [05:44] and --exclude=./var/vmail/backup/maildir-archives is a no go [06:12] timyp: perhaps a question for ##linux ? [06:15] Okay just excluding the file extension seems to work -exclude='*.tar.gz' since its the only extension in the folder I was trying to exclude in that extension is not used for anything I need tar'd that will work, still not sure why I could not exude the folder itself, in the event I ever need to tar a folder that had that extension in other locations that needed to be archived this work around would not work. So where am I going wrong, [06:15] how does one exclude a directory from tar? [06:16] I came to ubuntu because I ran this command in a script which worked under 14.04 but stopped after upgrading to 18.04 [06:16] but thats not a bad idea since tar is the same on all distros [07:39] I moved SSD to another machine and have put 7850 in it (HP 600 G1) but when system boots it is searching for disks forever. (1 ssd, 2 drives in ZFS mirror) [07:40] When I boot in troubleshooting mode, and activate network in menu and it mounts root, I end up in GUI session with 'nomodeset' (no driver used) and 1024X768 [07:41] SO question is wither to use 'amdgpu' or 'radeon' with AMD 7850 graphics and why it waits forever for disks on boot. [07:43] doing updates (19.10) and will re-install GRUB and i'll see [07:51] on ubuntu 19.10, I just tried updating, but keep getting this error: https://paste.ubuntu.com/p/HdvSr4vY3M/ [07:51] how do I fix? I can not find this kind of error in the web === kallesbar_ is now known as kallesbar [07:52] jybuler: did you add external ppa's to your system? [07:52] no [07:53] jybuler: what about sudo apt autoremove [07:54] it tries to resetup initramfs-tools and linux-firmware but hangs at 43%, then spits out same error [07:55] jybuler: wich ubuntu version are you on? [07:55] 19.10 eoan [07:55] server installer [07:56] jybuler: did you try reboot yet and sudo apt update && sudo apt full-upgrade [07:56] no I didnt try reboot, since it fails to configure / write initframs, I suspect it wouldnt boot [07:59] jybuler: ipmi server? [07:59] yes I have ipmi [07:59] jybuler: check if this bug suits your issue: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1751613 [07:59] fyi, if related, it's uefi booting, root is on btrfs and /boot is ext4, with esp partition as fat32 of course [07:59] Launchpad bug 1751613 in linux (Ubuntu) "W: Possible missing firmware /lib/firmware/ast_dp501_fw.bin for module ast" [Medium,Expired] [08:01] it's a asrock motherboard, so different motherboard maker but yea it's aspeeds ipmi [08:01] https://serverfault.com/questions/755194/ubuntu-15-10-server-w-possible-missing-firmware-lib-firmware-ast-dp501-fw-bin [08:02] jybuler: does 'sudo update-initramfs -u' work? [08:05] no, get same write error / failure [08:13] jybuler: anything in dmesg? [08:18] apart from occasional "BTRFS info device fsid xxx devid 1 moved" messages, no, I dont spot anything [08:19] hmmm [08:21] you could try an strace, see if you can determine why it fails [08:24] which channel can i ask about 20.04 focal foosa? [08:25] !ubuntu+1 [08:25] Focal Fossa is the codename for Ubuntu 20.04 - Support only in #ubuntu+1 [08:26] thank you [08:26] np [08:30] hmm, the errors went away after I removed some old kernels for starters, it seems it managed to write the initrfams and stuff now [08:31] I did check earlier, there was space on boot so it shouldnt have been that [08:31] but maybe it was [08:31] if it was, this'll be embarassing [08:31] gonna try reboot now [08:52] good morning everyone. I have a laptop with a 28Gb EMMC disk that I was been using as my main laptop. the problem is that I'm running low on space. I have another laptop with a 320 Gb HDD and I would like to clone the system from the smallest laptop for that one. the current issue is that I don't have any external drive to use with Clonezilla. is there any way to do it via WiFi (on the same network)? [08:55] I was searching in the internet and I've stumbled on this: https://askubuntu.com/questions/321956/cloning-ubuntu-over-network and I'd like to know how accurate it is [08:55] I can only boot withthoubleshooting mode in GRUB, otherwise it just waits and seeks drives forever, without putting picture on the screen [08:56] is amd 7850 actually supposed to be used with radeon driver and not amdgpu? [08:56] I think I used it before with amdgpu? [08:56] Pegasus, 1) only dd a non-running system (i.e. start from some CD or USB stick, or boot into a rescue shell) 2) nc does no encryption or integrity checking, make sure you trust your local network 3) make sure you check dd output on both ends to see that all data has been transferred [08:57] Pegasus, let me clarify 1) - only dd a filesystem that is -not mounted for writing- [08:57] Pegasus, so, in short, this answer is not wrong, but you need to be aware of a few things [08:58] Pegasus, and of course, after that you'll need to add/resize partitions to benefit from all the extra space [08:59] I get only 1024X768 now [09:00] oh, I see. so both laptops need to be booted from the live USB/CD [09:01] Pegasus, that's best, but booting the 'source' into recovery mode and checking the filesystem is not mounted for writing should be enough [09:03] Habbie: actually that would be better for me, since I'm lacking another USB/CD to boot the source/destination computer in live mode [09:03] Pegasus, some live images can be removed (unplugged) after booting, but i can't advise you on which ones [09:04] supposedly "toram" in the kernel parameters puts it all into ram [09:04] Pegasus, one last thing, the second answer mentions a big blocksize, and it really makes a difference in the wait [09:04] https://wiki.ubuntu.com/BootToRAM [09:05] the article is very old, don't trust it blindly [09:05] or, just read the very first sentence (Casper now includes a functioning toram option) and then close it again [09:06] Pegasus: are you trying to clone an install? [09:07] (yes) [09:07] or, move, perhaps [09:07] EriC^: yes. I want to clone my install from one laptop to another (keeping files, SSH keys, etc) [09:08] Pegasus, your actual goal is to replace the disk in the first laptop, right? [09:08] Pegasus, oh no, i misread that, sorry [09:08] Pegasus: just use clonezilla [09:08] unless the hdd's are perfectly equal? you could use dd alone [09:08] the second one is way bigger [09:09] but Pegasus says there's no way to connect both disks to the same machine at the same time [09:09] ah [09:10] EriC^: actually, I don't have any external hard drive available to use with Clonezilla. also laptop A has a 28Gb EMMC disk and computer B has a 320Gb HDD disk [09:11] and computer B (destination) has dual boot [09:12] you'd have to dd the hdd, take note of starting sectors of partitions, dd it to big hdd, erase partition table and create a fresh one, put the same starting sectors but bigger ending sector, use resize2fs to enlarge fs [09:12] Pegasus: ah you want to keep the destination dualboot? in that case it's different [09:12] oh [09:12] that changes everything, yes [09:13] goodmoring to all, i cant login to my ubuntu everytime i put my password it reload login session... any fixes? [09:13] Pegasus: you haven't got a big enough usb stick? [09:13] EriC^, instead of 'noting' anything about partitions i would strongly recommend parted [09:13] sorry, but I forgot to mention it earlier [09:13] I removed amdgpu and reinstalled radeon driver and did a bit update and grub-update again and will see if I can get picture on the screen now. I used Intel driver before and intel graphics is still present in CPU [09:13] Habbie: well yeah, i use sudo parted /dev/sdX unit s print [09:13] ducasse: currently, my biggest USB stick is of 16Gb [09:13] (to get the starting sectors) [09:14] actually i think i have that uploaded in a pastebin somewhere as a backup as well [09:14] EriC^, but why not let parted handle the whole resizing? [09:14] Pegasus: it's probably easier to just get a bigger flash drive [09:15] dd'ing just one partition is doable, but it's very easy to make windows-destroying mistakes with dd [09:17] Habbie: i've never used parted in this situation tbh, i kind of doubt it would know to recreate the partition table (to encompass the whole disk size), i think it would know how to make a partition + filesystem bigger but i doubt it would know to delete the partition table and stuff [09:17] currently, my main 'issue' is to keep my SSH keys and some configuration files from some apps. probably I can just copy-paste them using SSH? or are there any problems of copying SSH keys from one laptop to another? [09:18] EriC^, i've used it to do plenty of resizes and moves, i would be surprised if it couldn't grow a partition to the size of its new host [09:18] Pegasus, you can just copy those [09:18] Pegasus, they're almost small enough to type over ;) (don't do that) [09:19] Habbie: yeah i dont doubt that, but i mean the partition table itelf needs to be deleted and recreated or it'll have discrepancies about partitions and disk end etc [09:19] EriC^, an MBR partition table does not note the 'disk end' - i don't know about GPT [09:19] EriC^, perhaps we can agree on 'try letting parted do it all and take it from there' :) [09:20] HELP: i can't login to my Ubuntu on login session i put my password but it takes me back to login session ????!!! [09:21] well it's kinda moot now since he won't be cloning the whole thing so yeah sure by all means :) [09:23] Descriptioned: start with the basics, do you own "~/.Xauthority" and "~/.ICEauthority" ? [09:24] EriC^, indeed [09:24] EriC^: i already did this.. [09:24] i did a research before i come and ask here.. [09:24] Descriptioned: anything in ~/.xsession-errors ? [09:25] nothing no errors [09:25] Descriptioned: ok, did you try a different account to see if its user-related or system-wide? [09:26] yeap i did added new account from ctrl+alt+f1 but same thing [09:27] Descriptioned: ok, try from ctrl+alt+f1 typing "DISPLAY=:1 startx xterm" see what error it gives you or if it works with just using xorg [09:28] take note of where it will be logging to, ~/.local/share/......log [09:29] can reinstall ubuntu keeping my files and programs installed i got timeshift snapshots [09:29] got them on my hdd wheres ubuntu installed [09:29] that's pretty overkill, plus it still might not work [09:30] Descriptioned: next step in your troubleshooting journey is the xorg logs and testing xorg alone without a desktop manager/window compositor etc === Scytale90 is now known as Scytale89 [11:23] Hey folks [11:24] hi BluesKaj [11:26] hi aeplus [12:24] I have a crontab line: sleep 60;jban.pl start > /tmp/jban.log - to start jban, it leaves an additional process, /bin/sh -c sleep 60;jban.pl start > /tmp/jban.log as well as the expected /usr/bin/perl /usr/local/bin/jban.pl start - how do I avoid this additional process? [13:22] >> Hi, how can I disable the lxcbr0 interface when starting the operating system without totally disabling the "lxc" service? [14:06] Is it ok to post enhancement requests on launchpad with `ubuntu-bug`? [14:06] you mean a wish(list) DarkTrick ? [14:07] lotuspsychje, yes [14:07] DarkTrick: yes thats allowed, and after you will need an admin that can change your bug into a wishlist [14:08] lotuspsychje, I guess that will happen "automatically"? (I prefix the title with "Enhancement:" (?)) [14:09] DarkTrick: no, you need someone with access that changes it to a wish [14:09] DarkTrick: create the bug, then we will find you someone that can :p [14:10] lotuspsychje, ah, yeh, that's what I meant with "automatically" [14:10] lotuspsychje, thank you [14:10] DarkTrick: what kind of wish will this be about? [14:11] lotuspsychje, when a version upgrade (e.g. 18.04 to 19.04 ) is done, you get a list of packages, that would be removed [14:11] lotuspsychje, Enhancement: make them selectable instead of "all or nothing" [14:11] hi all really need help please id like to know the easiest way (succinct method) to rename a bunch of mp4 files inside one folder to file1,2,2 but same format. please help getting so confused reading all the different ways and failing so far [14:12] DarkTrick: and why would you ignore the removes? [14:13] lotuspsychje, sometimes it seems to remove hand-installed programs [14:13] also would like to do it in terminal [14:14] lotuspsychje, It's already a while ago, but I think it uninstalled my KolourPaint and Dolphin once [14:14] DarkTrick: but did you install those from the repos or from a ppa? [14:15] lotuspsychje, uuuh.... I dont remember [14:15] lotuspsychje, the installation was already about a year ago [14:16] DarkTrick: cause the ubuntu way, would be installing packages from the official repos, wich after an upgrade, apt should be smart enough knowing what to do [14:16] hmm [14:17] DarkTrick: if your idea is about blocking the removes of manual installed programs, i think your wish might get rejected [14:17] lotuspsychje, from personal experience I can't say the mechanism was too trustworthy until now. [14:18] lotuspsychje, but... that's maybe not of matter now. Forget about the last message [14:18] lotuspsychje, why do you think so? [14:18] DarkTrick: you also say you upgraded 18.04 to 19.04 wich needs first 18.04 to 18.10 [14:18] ? [14:18] lotuspsychje, because the system should know them? [14:19] lotuspsychje, sorry, I skipped the details? ... :p [14:20] DarkTrick: the cleanup of an upgrade should already be intuitive by apt [14:20] DarkTrick: so your idea, you want to force apt doing things it shouldnt do? [14:21] lotuspsychje, ok more detailed: from 16 (LTS?!) to 18 (LTS?!) I had a big trouble with 3GB or so of apps removed. Among them dolphin, I think nautilus, mousepad and a few other [14:22] lotuspsychje, from 18.04 to 18.10 I had just one or two programs, that shouln't have been in that list. apt-get autoremove after the upgrade did a clean job [14:22] DarkTrick: well we dont know details enough for what exactly happened there [14:22] lotuspsychje, "so your idea, you want to force apt doing things it shouldnt do?" [14:23] DarkTrick: did you mix ubuntu desktop with kde a bit? [14:23] lotuspsychje, no. I'd like to allow the user to decide what to do [14:23] DarkTrick: the user can do what he likes already, and apt is there to help the user [14:24] lotuspsychje, I'm running xubuntu, if that answers your question (?) [14:24] ah [14:24] wait [14:24] lotuspsychje, just to be clear [14:24] lotuspsychje, I'm talking about the GUI version for the upgrade [14:24] lotuspsychje, if that matters [14:25] DarkTrick: maybe we should take this to #ubuntu-discuss [14:25] Matilda, sorry, I hope you get your chance now [14:31] all good im deep in manual pages [14:32] its gotta pay off eventually problem is ima bit slow on the uptake n impatient [14:32] lols [14:35] * Matilda walks away for a smoke break [14:50] I remember once my window manager crashed (Unity) and I wasn't able to ALT-TAB between windows or raise others to the front. Now I'm setting up a kiosk system and I'd like the same behaviour. How do I kill the window manager in Unity? I just want the browser fullscreen. === pavlushka_ is now known as pavlushka [14:52] hello, where to report bugs about `python3-xdo` package? I have hard time finding the sources / issue tracker. [14:52] apt lists the package as `python3-xdo/bionic,bionic,now 0.4-1 all [installed]` [14:52] pypi search for 'xdo' finds only this as the most related (the rest seems not related): https://pypi.org/project/python-libxdo/ [14:53] but that package has version 0.1.2a1 and the package looks abandoned [14:54] is that actually the right package I'm looking at? [15:03] I was just going through my logs and noticed a ton of failed attempts at root access from a certain IP (whois on the IP leads to a server in china) How common is this? [15:03] MWM: this is normal. [15:03] Matilda, I don't have a non-GUI native solution at hand, but if you find nothing else you can try this one: https://www.youtube.com/watch?v=X0ozICgf1tQ [15:03] I mean its obviously some bot or other, but Im kinda feeling WTF [15:04] MWM: you'll get bruted many times a minute with public IP with a publicly exposed port. No point in reacting. [15:04] I mean, you have root access over ssh forbidden, right? [15:05] Iarla, can you go to another tty with CTRL+ALT+F2 or CTRL+ALT+F3 or so? (CTRL+F7 for going back to gui mode) [15:05] Iarla, from there you could login and kill Xorg for example [15:05] yeah and I have a limit placed on how many times you can try as well. It is still reassuring to hear that this is "normal" [15:06] MWM: well, welcome to the interwebs. [15:06] Iarla, ... sorry, not necessarily Xorg, but whatever you use [15:07] Kind of the internet equivalent of someone trying to doors of every car on the street huh? [15:10] MWM: or texting "it's landlord here, open the door" [15:12] is there a version of the internet that isnt like living in the worst parts of the inner city with the biggest thugs and scammers? :D [15:13] luckily, there isn't [15:14] Greetings. Does anyone know the 32 bit driver path in ubuntu for mesa oopengl drivers? === rickybob is now known as rickybot [15:18] xorg logs are booooring [15:21] I don't have access to an ubuntu system atm but need to know this info [15:22] https://hypernews.slac.stanford.edu/HyperNews/geant4/get/visualization/636.html?inline=-1 <--this page suggests /usr/lib or /usr/lib32 and a few others. But I really have no clue [15:22] I see. So two possibilities [15:23] I'm interested in the intel drivers i965_dri.so === rickybot is now known as rickybob === rickybob is now known as botrick === botrick is now known as rickybob === rickybob is now known as rickybot === rickybot is now known as rickybob [16:41] I've been having a lot of trouble with an USB, I tried making a boot USB and it didnt work, and after all the steps I must have broken something, and it says its read-only (actually right now it doesnt even find it) [16:44] https://pastebin.com/rM2WHBr2 [16:48] c0nker: why do you thnk it's sdb? the output you posted does not say so. [16:50] dmesg should tell which device name was assigned, or you could refer to it by its product / human readable name. [16:50] dmesg says so [16:52] so if you use sudo fdisk -l against the particular /dev/disk/by-id/usb-* you also get "No medium found"? [16:53] ~$ sudo fdisk -l /dev/sdb [16:53] fdisk: cannot open /dev/sdb: No medium found [16:54] i mean the /dev/disk/by-id/usb-* path [16:54] ls /dev/disk/by-id/usb-* [16:54] ah, sorry, I didnt know about that, let me check [16:54] then pick the right device (the one without the *-part* ending) [16:56] https://pastebin.com/DTjUF4ec tomreyn [16:57] can you please use the ubuntu pastebin or one not hosted at cloudflare? [16:57] "Connection timed out" [16:57] oh, sure [16:58] https://paste.ubuntu.com/p/kvQZzPtDX9/ [16:58] okay, so that's the same error, i see. [16:59] chances are the partition table is just broken [16:59] you can just overwrite it. [17:00] i tried with dd, cant find the medium or it says its read only [17:00] sudo dd if=/dev/zero of=/dev/disk/by-id/usb-General_USB_Flash_Disk_04K6N08TMCNO6RVI-0\:0 bs=512 count=1 [17:01] no medium found, but i pull it out and again, and it automounts [17:02] https://paste.ubuntu.com/p/KgmCkGmXh4/ [17:02] so you're saying it's usable again after doing dd and replugging? [17:02] i dont know if its read only again, or not [17:02] did the dd command fail, though? [17:03] 'mount' will tell if it is read-only now [17:03] or did you not run it just now, just replugged the device? [17:03] sudo hdparm -r /dev/disk/by-id/usb-General_USB_Flash_Disk_04K6N08TMCNO6RVI-0\:0 will tell whether the device is read-only. [17:04] replugged, havent run dd [17:04] flash storage usually becomes read-only when it physically breaks and turns into trash. [17:05] but an uninterpretable (or misinterpreted) partition table can also cause this [17:05] my guess is that, cause ive tried to repeatedly format it with gpt and mpt [17:05] the dd command above would overwrite the partition table (and thus make any data stored on it unusable, but make the storage repartitionable)+ [17:06] readonly = 1 (on) [17:06] hey so I have a harddrive that is full of hardlinks and copies of files, I want to view the size of the directory ignoring all the hardlinked files. any advice? [17:07] "what is the size of a soft/hardlink?" 0 bytes.. [17:07] c0nker: sudo hdparm -r 0 /dev/disk/by-id/usb-General_USB_Flash_Disk_04K6N08TMCNO6RVI-0\:0 [17:07] i mean when doing du on the directory [17:08] c0nker: chances are it wont work, though, and the flash storage has reached its end of life [17:08] ok readonly is now 0, lets try dd [17:09] tomreyn, this is a relatively new usb, hell this is the second one Ive had f*ck up in 24 hours trying to make a usb bootable [17:09] du skips soft/hard links or better symlinks [17:09] hm [17:09] oh [17:10] c0nker: maybe you're just using a bad tool then. what's the utility you'r eusing, and what's the data you're writing to it? [17:10] https://paste.ubuntu.com/p/ZtkZ5bgRGH/ [17:10] also which ubuntu version are you using? [17:11] Ubuntu 18.04.3 LTS [17:11] Oerheks, what is the best way to view the size of just the directories and not sub directiroes? [17:11] c0nker: do you remember whether this was always called "General USB Flash Disk" or used to have some branding previously? [17:11] du -sh * [17:12] withour r recursive [17:12] weird [17:12] c0nker: and what does sudo hdparm -r /dev/disk/by-id/usb-General_USB_Flash_Disk_04K6N08TMCNO6RVI-0\:0 say now? [17:12] still off? [17:13] yes [17:13] and, no, I dont remember [17:14] c0nker: sudo hdparm -I /dev/disk/by-id/usb-General_USB_Flash_Disk_04K6N08TMCNO6RVI-0\:0 2>&1 | nc termbin.com 9999 [17:16] https://termbin.com/qacm [17:18] c0nker: so this appears to have no capacity. can you remove any non necessary usb devices, then replug it to a different usb port? [17:19] sure [17:20] c0nker: just to confirm, you did run hdparm with upper case -I, not lower case -i, right? [17:21] Oerheks, well it looks like sonarr decided to copy things instead of download [17:21] ugg [17:21] hardlink [17:23] cant find the /dev/disk/by-id/usb* [17:23] anymore [17:24] what does dmesg -w (or journalctl -f) say when you replug it? [17:29] nothing [17:30] if i try on the same usb port it says this https://paste.ubuntu.com/p/8BJM5KCFZr/ [17:39] c0nker: so it says "[sdb] Write Protect is on" again. i see the following possibilities: usb version mismatch (some usb 2.x devices do not work well on a usb 3.0 port, and if i recall correctly, vice versa, too), insufficient power supply on usb bus, usb device hardware failure, usb controller hardware failure. the best thing you can do is to cross test this device on a different computer. [17:48] so for some reason du is listing a directory and says it had 4.1 tb in it, but most of the files are hardlinked. so they shouldn't be that large [17:50] why would hard linked files be substantially smaller than non hardlinked ones? [17:56] if du encounters the same inode multiple times in one run, it will only count it once [17:56] but that doesn't explain ScarletMarauder's question [17:57] thank you habbie [17:57] or perhaps it does :) [17:57] so I have a directory, that has a few other directories in it. now one of them should have all my videos hardlinked from the other directories. [17:58] if i wanted to get an idea of how large that directory is, not counting the hardlinks, how would i do it [17:58] so, let me try to guess what's going wrong in your head [17:58] so you don't want to count hard linked files at all, or just once? [17:58] say i have a file MYBIGFILE which is one gigabyte [17:58] and then i ln MYBIGFILE MYBIGOTHERFILE [17:59] now i have two files of one gigabyte, that are hardlinked, so they still only take up one gigabyte together, yes? [18:00] if you ls them, they will look like 1 + 1 gigabyte [18:00] but if you du them, du will notice that they share that gigabyte [18:00] okay that makes sense [18:00] so what you could do is du your source dirs and your target dirs together, in that order [18:00] then du will count the 'hardlinked' files in their source, and not in this destination tree [18:00] basically my issue is that my drive seems to be full, when there should be 1 or 2 tb free. [18:01] i like ncdu for figuring out why that is [18:01] ah [18:01] ncdu? [18:01] it is also possible some process has big open deleted files [18:01] which you can 'fix' with a reboot or find with some lsof magic that you'll have to google [18:01] ncdu is more advanced indeed [18:01] it is a mounted drive [18:01] yes, ncdu [18:01] install ncdu [18:01] then run ncdu -x /my/mount/point [18:01] but i told; you du skips symlinks [18:01] wait a few minutes [18:01] and see what's up [18:02] okay [18:02] OerHeks, that's either inaccurate or just wrong [18:04] du(1) states: -P, --no-dereference: don't follow any symbolic links (this is the default) [18:04] it does not ignore hard links, though, counts their size once. [18:05] unless -l is used [18:08] in the end it just boils down to: when you use du against directories continaing hard links, it does the sensible thing, counts the inodes they point to once only. [18:08] so in terms of du you can basically just ignore whether or not you have hard links there [18:11] that's unless you intend to sum up the totals reported by "du" runs across different directories (on the same file system) containing hard links to the same inodes, doing so will return misleading results. [18:11] see the image at https://stackoverflow.com/questions/19951883/du-counting-hardlinks-towards-filesize to form a better understanding [18:12] that's a good explanation! [18:14] hm [18:17] Hi i have a strange issue here, cups stopped working after an upgrade i keep getting IPP server-error-internal-error for CUPS-Add-Modify-Printer while adding a new printer [18:19] GeneralStupid: what did you upgrade, what's the output of lsb_release -ds ? [18:21] habbie so dcnu says that tv folder had 5.7tib in it. [18:24] tomreyn: Ubuntu 19.10 [18:25] ScarletMarauder: "ncdu", nc stands for "ncurses" which is a toolkit for building "text graphics" UIs. [18:25] sorry typo [18:25] GeneralStupid: thanks for answering one of two questions. [18:32] tomreyn: thank you for being really helpful. [18:34] * tomreyn should have added "so far" :-/ [18:56] Hi [18:56] Ubuntu Rox !! [18:56] Fedora Sux [19:01] Hi all [19:08] why is it so hard to get a wired connection to use a different network group in the CK? [19:10] device is 192.168.1.10 needs to be 192.168.10.10 with the fixed ip and network vlan group but it keeps falling back to 1.10 [19:16] sorry wrong group === myshahrul_ is now known as myshahrul [19:56] Hi there! Can someone please help with a Xorg/synaptics configuration problem ? I'm trying to have the "TapButton3 = 2" option persisted in xorg.conf, but my attempts are not working. See https://paste.gg/p/anonymous/df37f520229c4cebb500d965a21dd074 [20:00] kaoron, What version of Ubuntu? [20:00] pragmaticenigma, 19.04 [20:02] kaoron, I'm not 100% but I do know that the xorg.conf is really used anymore (hence why it's not installed by default) There might be another configuration file elsewhere that is overriding your settings (which is the newer approach to configuring xserver) [20:02] ugh... I can't type: kaoron meant to say that the xorg.conf is *not* really used anymore [20:03] pragmaticenigma, I tried /etc/X11/xorg.conf.d/, /usr/share/X11/xorg.conf.d conf directories too, didn't work either. According to the xorg manpage and logs, those are still valid configuration locations [20:04] I set things like TapButtons in my autostart, but that's not with the standard ubuntu desktop. [20:04] kaoron: you can set that with synclient, i think [20:06] ducasse, I know and it works, but it's a shame to have to configure the display server with runtime commands instead of a proper configuration file :/ [20:06] kaoron: just run synclient from ~/.xsessionrc [20:08] kaoron, what DE is in use ? [20:08] ducasse, thank you but I know that. I mean no offense but I'm not looking for a workaround, I'm looking for "xorg gospel" solution :) [20:08] ioria, gnome [20:09] kaoron, then i read somewhere might be a gnome/mate problem [20:09] kaoron: ok, pastebin the snippet you put in /etc/X11/xorg.conf.d [20:12] kaoron, to confirm this you can try xfce4 or use the gnome shell extension : https://extensions.gnome.org/extension/131/touchpad-indicator/ [20:12] ducasse, it's the same as mentioned in https://paste.gg/p/anonymous/df37f520229c4cebb500d965a21dd074 [20:14] ioria, thanks, I'll check that. With your comment I could refine my search and find this : https://askubuntu.com/questions/140489/how-to-edit-synaptics-configuration-xorg-conf-way-doesent-work [20:15] kaoron, I personally believe that the enabling at run time is better than in the xorg.conf. easier to troubleshoot, and makes your installation more portable (buying new laptop and installing a snapshot of the current machine is more flexible.) [20:18] kaoron, something else to consider... it might be the runtime option that is undoing your xorg.conf setting [20:27] kaoron, and ? [20:28] Is there a way to get the current resolution in grub? I tried using echo $gfxmode but got auto instead [20:34] if i want to try and reinstall grub, do i use just the disk and not the partition #? my OS drive, sdb, has sdb1 -> /boot/efi and sbd2 -> / [20:34] remove the auto and set like this ? https://wiki.archlinux.org/index.php/GRUB/Tips_and_tricks#Setting_the_framebuffer_resolution [20:34] FurretUber, The variable you inspected only holds the set value, in this case "auto." Install hwinfo and then run "sudo hwinfo --framebuffer" to see what supported modes can be used with GRUB. Note that you should always end the configuration line with ,auto to make sure grub will automatically fall back if you were to change displays or other display related hardware [20:35] pragmaticenigma +1 [20:36] kinghat, this article should help: https://help.ubuntu.com/community/RestoreGrub [20:40] this isnt from windows just two linux installs. one is totally borked. [20:41] i installed the second linux to get a working grub but would like to properly fix the first one [20:41] boot-repair never is able to fix it. would just like to wipe it and start over with fresh grub. [20:42] kinghat, you will have to get a live-cd mount it and the run grub-install on the boot-partition, also note that there is a difference between UEFI and BIOS [20:43] pragmaticenigma: I see. I wanted to make an if...elif...fi to set the best background_image for each resolution [20:43] IaMnEwHeRe: im able to boot into the main OS because the second OS provided the working grub. both are uefi. [20:44] im on and using the OS i want to wipe and install grub to. [20:44] just wipe the bad linux partition(s) and run update-grub [20:44] .." im on and using the OS i want to wipe ".... [20:44] change to the one you want to keep, first., [20:45] one cannot wipe partitions that are in use. [20:46] nono he said he boots into the main OS because of the installation of the second os, os just wipe the second one, also note that under UEFI you can just remote the partitions you don't need [20:46] "Reinstalling GRUB 2 from a Working System" - https://help.ubuntu.com/community/Grub2/Installing [20:47] and you can resize ext3/4 to extend the partitions but for that yuo will need to unmount them [21:00] FurretUber, That might be a question better suited for a community more focused on GRUB [21:41] exit [22:04] Hello everyone. Has anyone ever had this issue? I'm trying to install Red Hat 8, then Centos, but I'm getting the same error after several reboots. I hope someone can help me with this. [22:05] corshmock: This is not Red Hat or Centos support, how is this related to Ubuntu? [22:05] corshmock: Non-ubuntu there - maybe best in the ##linux channel :) [22:07] I use Arch, by the way. [22:07] jeremy31: the only reason is that it is an install on Ubuntu as a vm [22:07] https://imgur.com/a/zD2uXMU [22:08] Maybe someone has seen it before. [22:11] Linux requires an invitation apparently [22:13] corshmock: looks like you're using virtualbox.. [22:14] tatertots: correct [22:14] corshmock: if you're not familiar with the terms HostOS / GuestOS you might go chat up #vbox which is the virtualbox chat room [22:14] corshmock: i'd ask what your hostos/guestos was..but if you're not familiar with the lingo i don't want to risk a headache on a nice saturday evening [22:14] That's seems like good advice tatertots. [22:15] The host is Ubuntu 18.04 [22:15] corshmock: ah nice...you didn't make that as painful as i thought [22:16] corshmock: now i kinda understand why you wound up in this place...since Ubuntu is your hostOS [22:16] Believe me tatertots Friend, I'm a newbie :) [22:17] corshmock: have you looked at the supported HostOS/GuestOS documentation for virtualbox? to ensure you are operating within those guidelines? [22:17] corshmock: let's get the simple stuff out of the way and ruled out [22:18] corshmock: But - we know of your uncertainity; we were all new at one time. Ubuntu, we are here to help. [22:18] corshmock: i'm not a big virtualbox guy so i'm trusting you to look at the supported GuestOS/HostOS documentation [22:18] I haven't looked at that tatertots, but Centos was working on this very machine until today when I nuked all partitions and installed Ubuntu again [22:19] pragmaticenigma, ducasse, ioria : follow-up, according to some more research my settings are considered somewhete in xorg's init, but there seems to be something overriding them afterwards. synclient seems to be the only reliable solution with synaptics. OTOH I tried switching back to libinput, and it seems to work better now than last time I tried on this computer. Three fingers middle click worked out of the box at least... I'll [22:19] give it a try ! Anyway, thanks for your help! [22:19] corshmock: i'd like you to restate/repeat that statement but clean it up and add more detail [22:19] corshmock: so you reinstalled your HostOS and virtualbox and now it's like this? yes or no [22:19] tatertots: have you never had the issue of all those pools taking up disk and not being able to delete them? Even after uninstall? [22:20] Long story [22:20] I followed the ways of this Gentleman who said he installed different on different partitions [22:20] corshmock: well something is obviously different in your configuration than prior to reinstalling HostOS, virtualbox and subsequently a VM/guestOS [22:20] A long nightmare [22:21] That makes sense [22:21] Maybe some config in VirtualBox? [22:21] *different OSs [22:21] corshmock: so do you have any vm's that display normally at all? [22:21] Not one [22:22] It's only been reinstalled since today [22:23] corshmock: hmm at this point you'll probably be better off in #vbox chat room...the majority of the analysis will have little to do with your HostOS....guys around here can get pretty upset and antsy if you go on at length about something not directly ubuntu related [22:24] arch btw [22:24] tatertots: I get you [22:24] Thanks very much for your help [22:25] with all the snap packages lately I wonder why anyone uses ubuntu. The snap bs was the last straw, for me [22:25] no offense [22:25] corshmock: you're very welcome [22:27] tatertots: Do you mind me asking what other alternatives I have to set up a lab with Centos machines? [22:27] 12.04 and 14.04 were great releases, though [22:28] !discuss | annocent [22:28] annocent: Want to talk about Ubuntu, but don't have a support question? /join #ubuntu-discuss for non-support Ubuntu discussion, or try #ubuntu-offtopic for general chat. Thanks! [22:28] right, sorry [22:28] forgot what type of channel this was, so, thanks [22:30] you'Re welcome. see /topic if you're ever unsure [22:30] right, thanks [23:07] I'm trying to upgrade some packages on Ubuntu 19.10, but I get this error preventing me from upgrading my graphics drivers. https://pastebin.com/uym3sCLb Any thoughts? === MelMalik is now known as Raistlin === Raistlin is now known as Fistdantilus [23:10] BlueProtoman: "nvidia-driver-430 - nvidia-driver-418". Driver conflict ? What shows ' pkg -l | grep -i nvidia ' ? === Fistdantilus is now known as Fistandantilus === Fistandantilus is now known as STMelon_ === STMelon_ is now known as STMelon [23:10] dpkg* [23:11] Bashing-om: This https://paste.ubuntu.com/p/gjrFjv75Gs [23:13] BlueProtoman: Yup - that do say a conflict - ok, ..and why the depreciated "bumblebee" ? [23:13] Bashing-om: I have no idea. [23:14] BlueProtoman: Any heartburn if Bumblebee were removed ? [23:15] Bashing-om: Not to my knowledge. I'm terrified to do do so without guidance, but if you think it should be removed then I'll do it [23:15] Bashing-om: Oh, but before I do I should clarify that this is a laptop with Optimus-muxed GPUs [23:15] !bumblebee | disco [23:15] disco: The Bumblebee Project aims to support NVIDIA Optimus technology under Linux. The Bumblebee website can be found at http://bumblebee-project.org/ [23:15] Bashing-om: You mean eoan? I'm on 19.10 [23:16] Bashing-om: So are you still suggesting I remove Bumblebee? [23:17] BlueProtoman: Just checking that bumblebee is still maimintained even though depreciated in favor of nvidia-prime. [23:17] !nvidia-prime [23:18] What's that website again where you can paste bin pictures? [23:19] !paste | corshmock [23:19] corshmock: 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. [23:19] Bashing-om: Okay, I will remove bumblebee in favor of nvidia-prime [23:20] BlueProtoman: Ido propose to purge bumblebee and the current installed graphic's drivers, then have the system install what it thinks best. [23:20] Bashing-om: Well, I do want the official nVidia drivers [23:20] BlueProtoman: A bit of work to do, yes ? [23:21] Bashing-om: I don't understand what you're suggesting [23:21] BlueProtoman: Nvidia now fully supports ubuntu. The proproetary driver installation is offered upon initial install :) [23:22] Bashing-om: Okay, is there a PPA or something I need? I don't want to re-install my entire operating system [23:23] BlueProtoman: All in the repository ..no fuss == no muss :D 3 commands as I await your go-ahead. [23:24] Bashing-om: Oh, sure, let's do it. I just want to make sure I'm not leaving out important info [23:26] BlueProtoman: Always good to be prudent. Check ' ls-al /usr/share/X11/xorg.conf.d '. Is there a nvidia config file preseent ? [23:26] Bashing-om: More than one. Wanna see? https://paste.ubuntu.com/p/rNy6X2STYK [23:28] BlueProtoman: Ho-kay and how about ' ls -al /etc/X11/Xorg.conf ' ? [23:29] Bashing-om: That exact file doesn't exist, but are one of these interesting? https://paste.ubuntu.com/p/XDn3fNVK7D [23:29] BlueProtoman, please don't ask the same question on multiple channels [23:30] BlueProtoman: /etc/X11/Xorg.conf is too depreciatd for /usr/share/X11/xorg.conf.d :) [23:31] Bashing-om: So what are you implying? [23:34] BlueProtoman: Let's run ' sudo apt purge bumble* ; sudo rm /usr/share/X11/xorg.conf.d/10-nvidia.conf ; sudo rm /usr/share/X11/xorg.conf.d/11-nvidia-prime.conf '. If these complete with no errors we remove the Nvidia drivers and re-install the driver. [23:37] BlueProtoman: While on my mind - is this a EFI system where "secure boot" will be an issue ? [23:37] Bashing-om: No such luck https://pastebin.com/zB61rzUs [23:37] Bashing-om: Not sure, how can I check? [23:42] BlueProtoman: mokutil --sb-state [23:42] Bashing-om: "EFI variables are not supported on this system" [23:45] BlueProtoman: Great -- so far so good on all fronts :) Let's now run ' sudo apt purge nvidia-* ; sudo ubuntu-drivers autoinstall '. Reboot to seethe effect. [23:46] crap I'm stuck at the grub command prompt and none of my BIOS boot options from the mobo allow me past [23:48] Bashing-om: Ok, so far so good. Purge was successful, re-installing now [23:48] looks like (hd1,1) idea the fat partition and (hd1,2) is the system partition [23:50] BlueProtoman: :D [23:50] Bashing-om: Ok, went well. Rebooting, gimme a sec [23:51] is* [23:51] no idea why it says my system partition is ext2 [23:53] Bashing-om: All good! Thanks for the help! [23:53] kinghat: utilities which have no understanding of journalling will report ext2 for any extN (N in {2..4}) file system [23:54] that makes sense [23:54] BlueProtoman: Outstanding ! [23:55] not sure how to navigate my way out of this [23:56] BlueProtoman: You now have nvidia-prime to control the graphics - might be good now to explore that GUI app. [23:57] Bashing-om: Is that what the program is literally called? Because I don't have anything by that name installed [23:59] BlueProtoman: BlueProtoman see ' nvidia-smi ' output and also what ' dpkg -l | grep -i nvidia 'shows.