/srv/irclogs.ubuntu.com/2021/12/13/#ubuntu.txt

bancroftI have a 2TB disk mounted at /mnt/new_drive and anything I put in there still seems to count towards my boot disk. Why is this happening?00:13
=== de-facto_ is now known as de-facto
=== Ricardus_ is now known as Ricardus
=== Norkle is now known as sickjoke
=== sickjoke is now known as NOrkle
=== NOrkle is now known as Norkle
=== M4he is now known as mahe
TunaI totally borked my usb ubuntu 16.04.3 LTS alongside windows10 install.02:49
Tunathe windows files are still there, been searching/attempting to unbork it for a couple hours now. any advice?02:50
=== pong is now known as beaver
TunaI'm ashamed of my unprepared actions and the consequences02:54
Bashing-om!16.04 | Tuna No help for this.03:00
ubottuTuna No help for this.: Ubuntu 16.04 LTS (Xenial Xerus) was the 24th release of Ubuntu. !End-of-life was April 30th, 2021. Paid support (ESM) is available. See also !esm, !eol, !eolupgrade03:00
Tunathank you03:01
Bashing-omTuna: ^ Software repo has been turned away :(03:01
rangerI just made a linode ubuntu 20.04 LTS and when I ssh into it as root, I did the command ls and there are no directories, files or folders there at all, and I even install tightvncserver and had no problems, I even install cmatrix and that works! Any ideas before I delete the server and start again?03:06
Tunahmmm, so no boot repair for me?03:08
webchat1could someone give an example of using nc to create a web link that displays the output of something like " cat example.txt "03:08
=== pip is now known as Guest8192
Bashing-omwebchat1: Missuse of cat - something like ' nc termbin.com 9999 < work/stagging ' to post a file to termbin might be the better useage.03:11
webchat1Bashing-om got it thanks03:14
Bashing-omwebchat1: Not saying one can not "cat" but if one is going to linux - then linux right :P03:14
webchat1Bashing-om for sure03:15
=== Chex is now known as The
=== The is now known as Chex
^Gecko^what was the command to re-run the network configuration in 16.04?04:34
ozoozohello04:36
Bashing-om^Gecko^: ' sudo service network-manager restart ' ?04:54
^Gecko^so that will run the same thing that shows up when it asks you for dhcp or manual ip or choose later when you're installing from cd/usb?05:01
vuurdraakHi all, my syslog.1 is constantly being written too filling my disk, i see this message over and over again -> ERROR:address_tracker_linux.cc(349)] Failed to recv from netlink socket: Permission denied (13)07:03
vuurdraaksyslog.1 is now 16GB07:03
vuurdraakwhat should i do ?07:03
vuurdraakcan i show how surpress this message to only let it go to log once every hour or what ever :') ?07:05
vuurdraaksomehow*07:05
vuurdraakweird also when i search for address_tracker_linux.cc i get hits for Kali linux to track peoples IP, am i being hackec ?.?07:12
vuurdraakhacked*07:13
vuurdraakor is  address_tracker_linux.cc part of ubuntu ?07:13
vuurdraak'syslog.1' should be the same as 'syslog' permisions right ?07:40
=== denningsrogue7 is now known as denningsrogue
gpeskensSomeone able to tell me how I can map an alsa hw dev stream to what ubuntu thinks is the headphone jack?08:03
gpeskensI have a Ryzen mobo that has a wierd usb audio bridge build in, and while Ubuntu detects my headphones as plugged in, it plays sound out via main line out08:04
gpeskensI've done some fiddling and found that aplay -Dhw:2,1 file_example_WAV_1MG.wav plays out correctly via headphone jack08:04
vuurdraaki am a noob so i cant give the correct awnser, but i had a problem with my microphone, and found a solution for it through -> 'pacmd load-module module-alsa-source device=hw:1,2' i think it pointed alsa to where the mic realy is , not sure how that works08:08
vuurdraakand run that command as a bash script on startup08:08
vuurdraak@ gpeskens08:09
gpeskensty08:09
gpeskensi guess source needs to be sink08:09
gpeskensi'll give it a try :)08:10
vuurdraakthe device is my soundcard hw1:2 i think in my case hw:1:1 is the sound from the graphics card08:10
gpeskenspacmd load-module module-alsa-sink device=hw:2,1 <-- works08:11
gpeskensawesome :D08:11
vuurdraaklol :D08:11
vuurdraakthere u go :)08:11
gpeskensmany thanks08:11
gpeskenskids are sick, working from home08:11
gpeskensno headphones = terror08:11
vuurdraaknp although i have no clue what it does :)08:11
vuurdraakyou have to run it everytime on boot though08:12
gpeskensYou command creates an extra pulse audio source alsa backed device, i changed it to be a sink with the correct hw dev ;)08:12
vuurdraakoke :)08:12
gpeskensYeah running it every boot is less than ideal :P08:12
gpeskensI'll create a bug report for it08:13
vuurdraakyou can put a script in cron.daily or as i dd first before discovering cron jobs just point it to a script in the ubuntu startup thingy08:13
gpeskensyeah08:13
gpeskenscron @reboot is better even ;)08:14
gpeskensThough I think it needs to run as the user08:14
vuurdraakah yeh true alse it would only run one time08:14
gpeskensperhaps a systemd @login trigger, if it exists08:14
vuurdraakeach day08:14
vuurdraakgpeskens, i hope your kids get better soon08:16
gpeskensthx, me2 :)08:16
Daulityhey all08:16
Daulityi have a repo that is unreachable when doing apt update08:16
Daulityhow do i remove it?08:16
gpeskensfind it in /etc/apt/sources.list or one of the files in /etc/apt/sources.list.d08:17
gpeskensyou can grep -Ri "part_of_url" /etc/apt/08:17
vuurdraakor type 'soft' searching for aplications, and find it in the 'other software' tab ?08:18
vuurdraakin the software & updates* program08:18
gpeskensOh yeah, that also works :P08:18
gpeskensI'm not used to using the GUI for anything but starting an IDE, Browser or Terminal ;)08:18
vuurdraakim a noob i use gui's :)08:18
gpeskensWhich is fine, they work ;)08:19
Daulityi am not looking to install application but updates but since i saw it comming up as unreachable wanted to remove it right away08:19
vuurdraakyou can see a list of all the repositories in 'software & updates"08:19
Daulityalso 3/4 of the file is matching on the part of url08:19
vuurdraakand disable them08:19
gpeskensIt might also be a temp failure for the repo08:20
Daulityalright might leave it alone see if it gets resolved and if not then i'll comment them out :)08:21
vuurdraaki had on my laptop that when ever i did a software update it trew an error not finding a repository, and then i just pressed 'oke' and it just continue with the stuf it could find08:22
vuurdraakwas kind of weird first as the error messages makes you asume first the whole update thingy failed08:22
GinaloHi. I have a lot of applications installed. Currently, I have 'app folders' to organize my Applications overview. But, I'm about to create a new user for my brother, and I'd like to pass over the organization I already did on my user account. How do I do this?08:22
Daulityis there like a status page for mirrors08:23
vuurdraak@ Daulity no idea, but maybe you can just enter the adress in your browser see if it can be reached ? or ping it ?08:24
Daulityi can08:25
DaulityI don't know but it's working again08:26
Daulity:D08:26
vuurdraakGinalo, I know it's possible to copy past your home folder in to a new user folder in theory and then give permission to all the files in the new folder to the new user08:26
vuurdraakDaulity, nice :)08:26
Daulitymaybe a temporarly issue that i just happen to stumble on when the server had trouble or something08:26
vuurdraakyeh08:26
vuurdraakGinalo, in '/home' are all the users08:28
Daulityjust to be sure apt upgrade is just a update of the packages right08:29
Daulitylast time i did dist-upgrade and got a whole lot of trouble08:29
Ginalovuurdraak: That would mean copying over files that I _don't_ want to copy over, which I would like to avoid.08:29
vuurdraakyeh you would need to delete anything you dont want08:30
vuurdraakGinalo, maybe there is a smarter way of doing it, but this was the only thing i could come up with is i had to do it08:30
vuurdraakif*08:31
vuurdraakwarning im just a Linux gamer, not a sysadmin ;')08:31
=== gschanuel219 is now known as gschanuel21
pycode1hello09:02
pycode1i need to create a folder and allow ftp connections to store data inside it09:02
pycode1is there a good tutorial?09:02
pycode1it is for a local purpose so i do not need any "special" configuration about security etc etc09:03
pycode1just accept ftp to save files inside a folder09:03
vuurdraakpycode1, is that not basicly the ftp server settings ?09:03
vuurdraakset a folder where it dumps stuff in the ftp server ?09:03
=== javaJake_ is now known as javaJake
pycode1yes i mean...what ftp server should i install09:04
vuurdraakah :')09:04
pycode1https://www.ryadel.com/en/vsftpd-configure-different-home-folder-each-user-specific-directory/09:05
pycode1maybe ^09:05
vuurdraaksounds nice, it claims top be popular :)09:06
vuurdraaki guess any non bloated program will do, personaly i would prefer a program that has a gui, but maybe you prefer console09:06
alkisgpycode1: sometimes sftp (which is something like ftp over ssh) is both easier to setup and safer and easier for the clients; depending on your needs09:07
vuurdraakon first glance it looks simple enough and you can edit a config file09:07
alkisgE.g. sudo apt install openssh-server, then create accounts for your users, then tell them to use e.g. filezilla to transfer files09:08
vuurdraakpycode1, i use samba for local file transfers, although android doesn't support v2 which is secure09:10
vuurdraakand only uses the insecure samba v1 protocol09:11
vuurdraaksamba = like windows local file transfer09:11
pycode1ok09:12
vuurdraakif your local network is protected by your router it should not be a problem though09:13
vuurdraaknormaly09:13
pycode1vuurdraak, is tehre an app called samba?09:16
pycode1for android09:16
pycode1andSMB09:16
pycode1maybe09:16
pycode1?09:16
vuurdraaksamba is part of ubuntu09:17
vuurdraakits already there09:17
pycode1vuurdraak, yes but i mean...how can i send the files form android09:17
vuurdraakbtw i think thelatest android version might support samba v2 protocol09:17
pycode1i need a samba client ther ei mean no?09:17
vuurdraaki use .. let me see09:17
vuurdraakX-plore09:17
vuurdraakits a android fle browser09:18
pycode1so i can put the ip of my pc09:18
vuurdraakyou can just say in nautilus which folder you want to share09:18
pycode1and then start sending09:18
vuurdraakand access it with X-plore09:18
vuurdraakyup09:18
vuurdraakafter sending you can unshare the folder for safety09:19
vuurdraakif you want to and just set it open when u for anybody if you dont want to get a headache09:19
vuurdraakjust set it open when needed*09:20
vuurdraakor fidle around with samba settings and do it properly and always keep it open09:20
pycode1perfect09:21
pycode1ok09:21
pycode1i try09:21
pycode1thank you!09:21
vuurdraak:) np09:21
vuurdraakpycode1, so standard if you share a folder the samba v2 protocol is used on ubuntu and in my android version it can only use samba v1 so it fails09:23
vuurdraakjust a heads up09:23
vuurdraaksharing it for all gets around this as this is athentication stuf09:23
vuurdraakat least on my android version09:24
=== stoned is now known as Hash
HashCan you compile/use latest kernel on 20.04 without problems?09:41
pycode1vuurdraak, still there? i wonder how can i see all the online devices in my lan just when there are ONLINE...09:45
pycode1now i see old connections that when i click i cannot open the lan device lan because the other device is off, so it is ok, but i just wonder if it it possible to just see online devices09:46
pycode1instead of randomly clicking on each lan device to see what is online :)09:46
vuurdraakyo09:49
vuurdraakyou mean in x-plore ?09:50
vuurdraakpycode1, @09:51
alkisgHash: sure, but also note that you can find precompiled kernels at https://kernel.ubuntu.com/~kernel-ppa/mainline/09:53
HashI see09:54
Hashhttps://kernel.ubuntu.com/~kernel-ppa/mainline/v5.15/amd64/09:54
HashAnd these packages ought to do it for amd6409:54
Hashhmm.09:54
Hashis the low latency an realtime kernel?09:54
sadbotI need help in btrfs09:55
HashNice09:55
HashI'll check this out09:55
vuurdraakpycode1, im not sure what you mean, but at least in x-plore the folders disapear if i unshare them09:56
vuurdraaki have to go now sadely :') cya laters all o/09:57
Hashalkisg: is this a repository or do I manually dl packages?09:57
alkisgHash, you download them manually and install them with `apt install ./*.deb`09:58
HashOk09:58
maxzorWhen I run lsblk and see a lot of snap in the output, what does it mean?10:06
maxzorIs /snap mounted?10:06
Hashhttps://askubuntu.com/questions/1047456/why-are-all-snaps-being-mounted-and-listed-as-block-devices-or-partitions-for-ub10:11
maxzorthis answer does not answer the question10:13
maxzorof 'is snap mounted'? is each snap app mounted in a different mount point?10:14
HashI'm not here to answer your questions.10:14
HashI can help you out, but that's not what my purpose is.10:15
HashThat actually does answer the question.10:16
Hashlosetup -a  will show you the mounted snap loop devices10:18
HashIf you read carefully instead of quickly skimming, you'll find the following link in the first comment: https://askubuntu.com/questions/842093/how-do-snaps-work-exactly-and-why-are-they-mounted10:22
maxzoryep, thank you10:22
HashYou're welcome10:22
h_mi am on ubuntu 20.04.3. i am getting this error when trying to install rstudio ide : ....  rstudio : Depends: libclang-dev but it is not going to be installed10:24
nicoz-https://community.rstudio.com/t/unable-to-install-rstudio-on-ubuntu-20-04/7600210:26
nicoz-h_m Did you try that?10:27
h_myes10:28
HashI don't see rstudio in ubutnu repository10:28
Hashis this a third party package?10:28
nicoz-https://ubuntu.pkgs.org/20.04/ubuntu-universe-amd64/libclang-dev_10.0-50~exp1_amd64.deb.html10:29
h_mi get this error if i try to install libclang-dev: libclang-dev : Depends: libclang-10-dev (>= 10~) but it is not going to be installed10:30
Hashhttps://bpa.st/PIWA I get this too10:30
Hashhttps://bpa.st/GPSQ `fix` == sudo apt-get -f install10:31
nicoz-h_m https://ubuntu.pkgs.org/20.04/ubuntu-universe-amd64/libclang-dev_10.0-50~exp1_amd64.deb.html10:31
nicoz-try to install this .deb10:31
nicoz-https://community.rstudio.com/t/cannot-install-rstudio-with-ubuntu-20-04/114854/310:32
Hashhttps://bpa.st/JJEA rstudio installed on Ubuntu 20.0410:32
HashPlease follow my paste guideslines10:32
nicoz-follow hash10:32
nicoz-https://community.rstudio.com/t/cannot-install-rstudio-with-ubuntu-20-04/114854/3,910:32
nicoz-;)10:32
nicoz-scuse me10:32
Hashhttps://bpa.st/ACNA you need these following packags for rstudio to work10:34
nicoz-the problem seems to be this libclang-dev addiction10:34
Hashmake sure to update your apt repo10:35
h_mmy system is very up to date. sudo apt install libclang-dev gives the same error. i am not sure what force install suggested by Hash is supposed to do. i do not want to bog my system10:36
Hashhttps://help.ubuntu.com/community/Repositories/Ubuntu make sure to install the 'universe' and enable it in /etc/apt/sources.list10:37
Hashh_m: do this: cat /etc/apt/sources.list | nc termbin.com 999910:37
HashPaste the link you get here10:37
Archusrany recommendation app list for ubuntu10:37
h_mhttps://termbin.com/867810:38
HashOk you have universe enabled.10:38
HashAnd you did apt update10:38
h_myes.10:39
Hashwhat happens when you do apt-get -f install10:39
h_mi have not tried it but i read somewhere where they did not succeed with it. i am thinking this could be the issues https://forums.linuxmint.com/viewtopic.php?p=2099520&sid=1e3bcee414e5c2290038d236d80b05ac#p209952010:40
HashSo long as you are on actual official ubuntu 20.04 you should be fine10:41
HashI did this:10:41
Hashwget https://download1.rstudio.org/desktop/bionic/amd64/rstudio-2021.09.1-372-amd64.deb10:41
Hashsudo dpkg -i rstudio-2021.09.1-372-amd64.deb10:41
HashYou get clang error10:41
Hashsudo apt-get -f install10:41
Hashinsatalls clang/depends/fixes things.10:42
HashThen finally: sudo dpkg -i rstudio-2021.09.1-372-amd64.deb10:42
HashThen rstudio is installed on system. no problem.10:42
HashI am on ubuntu 20.04 official. Not Linux Mint.10:42
HashThat last one is just to double make sure10:43
Hashapt-get -f install will install rstudio after installing depends.10:43
Hashhttps://bpa.st/GPSQ as per the log here.10:43
h_m i seem to have the libc6 bug? on my system Installed: 2.31-0ubuntu9.3 ... wonder if it is the problem10:43
Hashlet me see10:43
Hashhttps://termbin.com/2vkl i have these10:44
HashAnd my system is fully up to date.10:45
h_m | nc termbin.com 999910:45
HashDo apt-cache policy 2.31-0ubuntu9.410:45
HashWhere is this from?10:45
h_mhttps://termbin.com/xvgr10:46
h_mhugh@ubuntubox10:46
HashSo I'm not sure why you have 9.3 and I have 9.210:46
Hashinstall 9.2, reboot10:47
HashI guess10:47
h_mi just update my system as normal and have never installed anything manually10:47
HashI understand. I'm not sure why you have 9.310:47
Hashsudo apt install libc6=2.31-0ubuntu9.2 libc-bin=2.31-0ubuntu9.210:47
h_mshould i perhaps try the suggestion from mint? sudo apt install --simulate $(dpkg -l | egrep '(libc|locales|nscd).* 2.31-0ubuntu9.3 ' | cut -d' ' -f3 | paste -sd ' ' | sed -r 's/( |$)/=2.31-0ubuntu9.2 /g')10:48
HashNo.10:48
HashDo as I suggested10:49
Hashhttps://bugs.launchpad.net/ubuntu/+source/glibc/+bug/192691810:49
ubottuLaunchpad bug 1926918 in glibc (Ubuntu) "cannot install libc6-dev, requires old libc6 version" [Undecided, In Progress]10:49
Hashhttps://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1926918/comments/1510:49
h_mi get this error with your suggestion: E: Version '2.31-0ubuntu9.' for 'libc-bin' was not found10:49
HashSolution #1510:49
HashWhat did you type exactly10:50
Hashyour error says 9.' instead of 9.2'10:50
h_moh, i had a typo10:51
h_mlooks like it downgraded a bunch of things. i am now updating my system...10:53
h_mthank you. looks like rstudio is installing now10:53
HashYou're welcome10:54
nicoz-:)10:55
Hash:)10:57
Dr-007hey guys, im using the arcmenu for gnome but sometimes the menu dissapears.12:37
Dr-007im on wayland now. will it be better if i change to xOrg?12:37
Dr-007what is wayland by the way..?12:38
Dr-007Wayland is a new protocol that enables 3D compositors to be used as primary display servers, instead of running the 3D compositor as an extension under the (2D) X.org display server. Or, in layman's terms, it assumes you're using a 3D desktop from the start, instead of bolting on 3D capabilities to an 2D framework.12:39
Dr-007ah screw it. im just going to replace it and hope it'll be better12:40
Ronalds_Mazitis_hey I woke up and my windows partition shows weird things, like files being owned by root account13:05
Ronalds_Mazitis_all files I create on it are also root owned13:05
Ronalds_Mazitis_how do I mount it correctly13:05
vuurdraakRonalds_Mazitis_, a NTFS partition has total ownership13:06
vuurdraaknot individual files13:06
vuurdraakso the mount you need to set the permisions13:06
vuurdraakor in fstab13:06
vuurdraakmaybe your fstab has changed ?13:06
vuurdraaklike an NTFS partition in fstab with root looks like this -> UUID=<UUID_number_here_fromthedrive> /mnt/MOUNTfolderNAME ntfs-3g defaults,auto,noexec,uid=0,gid=0,umask=002 0 013:09
vuurdraakwhen its the first user owning the drive its -> UUID=<UUID_number_here_fromthedrive> /mnt/MOUNTfolderNAME ntfs-3g defaults,auto,noexec,uid=1000,gid=1000,umask=002 0 013:10
Ronalds_Mazitis_...13:10
vuurdraakuid=0   = root owning it13:11
Ronalds_Mazitis_sudo mount /mnt/82u348237413:11
vuurdraakuid=1000   = you owning it13:11
Ronalds_Mazitis_every file in partition is owned by root13:11
vuurdraak a NTFS partition has total ownership13:11
vuurdraak<vuurdraak> not individual files13:11
vuurdraaklinux can not set permision for a file13:11
vuurdraakon an NTFS drive13:11
vuurdraakso it sets it globaly13:11
vuurdraakeffectively making all files root13:12
vuurdraakif the mount is root13:12
Ronalds_Mazitis_Uploaded file: https://uploads.kiwiirc.com/files/fd819172d868806eafb0b8d21255a8a5/pasted.txt13:12
Ronalds_Mazitis_so how do I change fstab13:12
Ronalds_Mazitis_now13:12
Ronalds_Mazitis_?13:12
Ronalds_Mazitis_I don't have time to go back to time all the time13:13
vuurdraakyou need to start a text editor from a console (ctrl+t) with sudo13:13
vuurdraaksorry ctrl+alt+T13:13
Ronalds_Mazitis_dude13:13
vuurdraak<-- noob linux gamer13:14
Ronalds_Mazitis_that is fstab13:14
Ronalds_Mazitis_....13:14
Ronalds_Mazitis_I am not beginner I just can't fix linux so often13:14
Ronalds_Mazitis_certainly not going to go back doing it every day13:14
Ronalds_Mazitis_here - > /dev/disk/by-uuid/56249952249935C9 /mnt/56249952249935C9 auto nosuid,nodev,nofail,x-gvfs-show 0 013:14
vuurdraakoke then i dont know whats going on im not a system admin13:14
Ronalds_Mazitis_wtf13:15
sotiredIs there a channel for ufw specifically? I'm just trying some interesting firewall rules laid out here: http://lepepe.github.io/sysadmin/2016/01/19/ubuntu-server-ufw.html ... but they are buggy (the "EX:" line in particular) and am trying to figure out the syntax.13:15
vuurdraaknosuid means that it has global permisions to let everybody access it ?13:15
Ronalds_Mazitis_yeah13:16
Ronalds_Mazitis_?13:16
vuurdraakoke nvm then then i dont know, i was just trying to help13:16
vuurdraaksotired, is there not #uwf ?13:17
Ronalds_Mazitis_here - > /dev/disk/by-uuid/56249952249935C9 /mnt/56249952249935C9 auto nosuid,nodev,uid=1000,nofail,x-gvfs-show 0 013:18
vuurdraakRonalds_Mazitis_, still is the mount it is pointing to maybe turned in to root ?13:18
sotiredvuurdraak: nope.  Unless I also did a typo like you, there's nobody at #ufw  :P13:18
Ronalds_Mazitis_this would help?13:18
vuurdraakposib;y13:18
vuurdraaknot sure im not an expert :')13:18
Ronalds_Mazitis_doh13:18
Ronalds_Mazitis_somebody possibly turned on windows on this laptop13:18
Ronalds_Mazitis_and turned it off13:18
Ronalds_Mazitis_while it was running13:19
Ronalds_Mazitis_that or this pc was hacked13:19
Ronalds_Mazitis_or ubuntu is going nuts13:19
vuurdraakit should not matter, the permisions set inside Linux matter for Linux13:19
Ronalds_Mazitis_decide13:19
vuurdraaknot what windows did13:19
Ronalds_Mazitis_so I changed fstab13:19
Ronalds_Mazitis_restart?13:20
vuurdraaksure give it a go see what happens13:20
Ronalds_Mazitis_UUID=1000 helped to change ownership13:26
vuurdraaknice :)13:26
Ronalds_Mazitis_but group still stayed root13:26
Ronalds_Mazitis_idnk why13:26
vuurdraakput also inside thatfstab line13:26
Ronalds_Mazitis_?13:27
vuurdraakguid=100013:27
Ronalds_Mazitis_ok13:27
vuurdraakno sorry13:27
vuurdraakgid=100013:27
vuurdraak,uid=1000,gid=1000,13:27
vuurdraak@ Ronalds_Mazitis_13:28
Ronalds_Mazitis_okay group ownership regained13:30
vuurdraak:D13:30
Ronalds_Mazitis_but this command13:30
Ronalds_Mazitis_still does not13:30
Ronalds_Mazitis_tac list list213:30
Ronalds_Mazitis_does not reverse file content13:30
Ronalds_Mazitis_it does but does not write to list213:30
Ronalds_Mazitis_both have 777 rights and correct user13:30
vuurdraaki dont know what tac is sorry13:30
Ronalds_Mazitis_it's sorta13:31
Ronalds_Mazitis_sorter13:31
Ronalds_Mazitis_of text files13:31
Ronalds_Mazitis_it reverses lists13:31
Ronalds_Mazitis_it worked13:31
vuurdraakoke :')13:31
Ronalds_Mazitis_now it can't reverse the file13:31
Ronalds_Mazitis_it does reverse but does not write into the file the content13:31
vuurdraakdoes it have read & write permision ?13:31
Ronalds_Mazitis_yeah13:32
Ronalds_Mazitis_well I can sudo13:32
vuurdraakstrange13:32
vuurdraakif it works with sudo its oke too, the file permision doesnt change on NTFS inside linux13:32
Ronalds_Mazitis_https://www.geeksforgeeks.org/tac-command-in-linux-with-examples/13:32
vuurdraakas its global13:32
Ronalds_Mazitis_it does not with sudo ether13:33
vuurdraakmaybe you need to set the [Option] first ?13:33
vuurdraaksomething like: tac -b file file2 ?13:33
vuurdraakas in the example on that website there is always an option thingy first13:34
Ronalds_Mazitis_it does not write into file13:35
Ronalds_Mazitis_on ubuntu partition ether13:35
Ronalds_Mazitis_and with option too13:35
vuurdraaklet me try it here see what happens13:36
Ronalds_Mazitis_tac list > list213:37
Ronalds_Mazitis_this is correct13:37
vuurdraakit works here o.O13:39
Ronalds_Mazitis_well today I revisited13:39
vuurdraakalso on an ntfs drive13:39
Ronalds_Mazitis_partitions and arguments13:39
Ronalds_Mazitis_certainly not sure what happened13:39
Ronalds_Mazitis_took me an hour13:39
Ronalds_Mazitis_like this would be IT job13:39
Ronalds_Mazitis_I installed some software that has suspicious names13:40
vuurdraakRonalds_Mazitis_, could you try in fstab outcomment the line for that NTFS partition13:40
vuurdraakand make a new one13:40
vuurdraakwith -> ntfs-3g defaults,auto,noexec,uid=1000,gid=1000,umask=002 0 013:40
Ronalds_Mazitis_everything is alright now13:40
vuurdraakit works now ?13:40
Ronalds_Mazitis_yeah13:40
vuurdraak\o/ yeeh13:40
Ronalds_Mazitis_You know software called13:41
Ronalds_Mazitis_dmitry13:41
vuurdraaknoop13:41
Ronalds_Mazitis_I installed that to check on website13:41
Ronalds_Mazitis_I hate russian scammers so I wanted to see some info13:41
vuurdraakit messed stuff up ?13:41
Ronalds_Mazitis_I dnk seems like this was another superstition13:41
Ronalds_Mazitis_why else would my partitions change anything13:41
Ronalds_Mazitis_never ever do drugs like DMT13:42
Ronalds_Mazitis_:D13:42
vuurdraaklol xD13:42
vuurdraaki cant help with taht :)13:42
vuurdraaknice that it now works though13:42
Ronalds_Mazitis_I did not do, but that is only suspicious activity I can found13:44
Ronalds_Mazitis_lately13:44
Ronalds_Mazitis_on my pc13:44
vuurdraakcheck in var/log what is in your logfiles if you want to check stuff that is happening13:44
vuurdraaki need to go back to learning :)13:45
Ronalds_Mazitis_I certainly don't have time to go deep sys admining13:46
Ronalds_Mazitis_I hate computers :D13:46
ossetthat's what she said13:46
vuurdraakxD13:46
vuurdraakanyway im afk ;)13:46
BluesKajHi folks14:11
J_MorningstarI need some help, advice, or suggestions on a port/firewall issue...14:14
leftyfb!ask | J_Morningstar14:14
ubottuJ_Morningstar: Please don't ask to ask a question, simply ask the question (all on ONE line and in the channel, so that others can read and follow it easily). If anyone knows the answer they will most likely reply. :-) See also !patience14:14
=== Trieste_ is now known as Trieste
J_MorningstarI tried openning needed porst for udp and tcp with ufw, but still unable to get a response from a LAN connected machine. Any advice for troubleshooting?14:15
leftyfbJ_Morningstar: step #1 flush iptables and run the same test14:15
J_MorningstarI wasn't asking to ask, I was narrowing the scope of requested assistance. ;)14:16
nunyaI'm still having trouble during boot. It looks like trouble with finding network I get listening on LPF/enpos25/00:21cc:b4:7f:24  DHCPDISCOVER onenpos25 to 255.255.255.255 port 67 interval  (different intervals) Then No DHCPDOFFERS received. No working leases in persistent database - sleeping no search or nameservers found in/run/net-.conf /run/net-*c.conf /run/net6-*.conf Eventually times out after about 5 minutes and boots. Once15:27
nunyasystem up and running it finds wifi network and connects15:27
nunyaI think it's looking for a wired connection and eventually not finding one. I only have wifi no wired connections to use.15:28
nunyaI have plugged in an ethernet cable and it does find ip and boot properly then. I just have problems when only wifi is connected. We only have wifi at my house.15:35
nunyaA friend of mine suggested we make a file in /etc/network/interfaces.d called enp0s25 which is the name of the hardware for ethernet The content of that file and /etc/network/interfaces is at https://paste.ubuntu.com/p/TpJycPt5nS/15:44
nunyaWe tried uncommenting in various combinations to see if ethernet would time out faster given a static ip.15:46
leftyfbnunya: your issue is you completely messed up the networking on this laptop machine. If you had just left it alone and let Network Manager manage the networking, you wouldn't have these issues.15:51
leftyfbnunya: if you're going to spend the time trying to fix this machine, I would focus on undoing all the customizations/changes you did to the networking and put it back the way it should be with Network Manager managing the network stack15:52
nunyaleftyfb: something happened a to screw it up after removing "unused kernels" in synaptic. The things I've done to network since have been to try to fix the networking and long boot time.15:54
leftyfbnunya: put it back, work from a properly working state, not this mess you have created15:54
nunyaleftyb:If I knew the way it should be I wouldn't be here. Can you please help?15:55
leftyfbnunya: https://pastebin.ubuntu.com/p/sTNWR9cTS2/15:56
alkisgRemove your changes to /etc/network/interfaces.d/*, and also run `nm-connection-editor` and remove all your wired connections. Then reboot; then if it's slow, upload the output of systemd-analyze blame15:57
leftyfbwait, /E/N/I?????15:58
alkisgThat's what he said, right?15:58
leftyfbremove ifupdown completely and go back to netplan with the above file being the only configuration in /etc/netplan/15:58
leftyfbnunya: https://askubuntu.com/a/1034754/115131115:59
nunyaalkisg:Everything is commented out in the file created there. I will remove all wired connections and see what happens.16:04
leftyfbnunya: remove ifupdown, go back to netplan and configure netplan to use NetworkManager to manage networking16:05
nunyaleftyb:remove ifupdown not sure what you mean. remove from where?16:06
leftyfbnunya: follow the last link I sent you16:06
nunyaleftyb: Ok I did follow that link. What do I do with the information?Almost noob don't know much.16:09
leftyfbnunya: what version of ubuntu is this?16:09
nunyaleftyb:Ubuntu 20.04 focal (x86-64)16:10
leftyfbnunya: what part of the step by step instructions are you having issues with?16:11
nunyaleftyb: What is step 1 step 2 ...? I don't see tanything outlining what steps to take16:13
leftyfbuh, sorry. https://askubuntu.com/questions/1034711/how-to-enable-netplan-on-ubuntu-server-upgraded-from-16-04-to-18-04/1034754#103475416:13
nunyaleftyb: I am looking at https://pastebin.ubuntu.com/p/sTNWR9cTS2/16:14
nunyaleftyb: See if this looks right please. https://pastebin.ubuntu.com/p/QKJdx6ZkqV/16:23
=== diskin is now known as Guest1701
=== diskin_ is now known as diskin
nunyaleftyb: BTW have just deleted wired connection as instructed by alkisg and have renamed /etc/network/interfaces.d/enp0s25 to /etc/network/interfaces.d/enp0s25.bak16:34
leftyfbnunya: step #1, remove ifupdown and install netplan, then use ONLY the config file I posted earlier and no other files or configs in /etc/netplan/16:34
leftyfbnunya: delete /etc/network/interfaces and everything in /etc/network/interfaces.d/*16:35
leftyfbafter step #116:36
nunyaleftyb: remove ifupdown is command in terminal?16:36
leftyfbnunya: do you just want this fixed or are you trying to learn?16:38
nunyaleftyb: I want this fixed and trying to learn16:38
nunyaleftyb: just making sure to do it right so as not to mess things up worse16:39
leftyfbnunya: start with step 4. in the link I gave you16:39
nunyahttps://pastebin.ubuntu.com/p/sTNWR9cTS2/ or https://askubuntu.com/questions/1034711/how-to-enable-netplan-on-ubuntu-server-upgraded-from-16-04-to-18-04/1034754#1034754 ?16:41
leftyfbnunya: is there a step 4. in the first link?16:41
nunyaleftyb: ok found it I'm going to make sure netplan.io is installed with which netplan.io in tefrminal16:44
nunyaleftyb: Have edited  the yaml file as described in https://pastebin.ubuntu.com/p/QKJdx6ZkqV/ Am about to delete file in /etc/network/interfaces.d Am hesitant to delete so renamed /etc/network/interfaces.bak Have run command sudo netplan apply in terminal and about to run sudo apt purge ifupdown and pray and reboot. Sound good?16:52
leftyfbnunya: I don't know why you are posting that configuration after the dashes. That needs to go away. You also need to remove the ifupdown package as step 5. shows16:53
leftyfbnunya: the final and only file in /etc/netplan/ looks like this https://pastebin.ubuntu.com/p/sTNWR9cTS2/    not whatever you have or you think you need16:54
nunyaleftyfb: include cat /etc/netplan/01-network-manager-all.yaml as part of  or just the part below # Let NetworkManager manage all devices on this system ?16:57
nunyaleftyb: Sorry $ cat /etc/netplan/01-network-manager-all.yaml16:59
leftyfbnunya: this is the contents of /etc/netplan/01-network-manager-all.yaml   :   https://pastebin.ubuntu.com/p/bhKksry99P/16:59
nunyaleftyb: Ok. Thanks. I have completed all the steps on https://askubuntu.com/questions/1034711/how-to-enable-netplan-on-ubuntu-server-upgraded-from-16-04-to-18-04/1034754#1034754 and am about to cross my fingers and reboot17:03
nunyaleftyb: sort to be so literal and slow just making sure to get it right. thanks for your help! I am going to copy this chat as part of my support notes.17:05
nunyaleftyb: About to reboot. Crossing fingers!17:07
=== genii-core is now known as genii
yatesi have make installed, but the texinfo page is not. how do i get that?17:42
lotuspsychjeyates: sudo apt install texinfo ?17:45
yateslotuspsychje: i guess i mean the "info" page is not there for (gnu)make.17:47
yatesand info is installed17:47
=== vxwarlock_ is now known as vxwarlock
ELFrederichHi, in general, should I install graphicsmagick or imagemagick?  Is one becoming obsolete?18:43
supayELFrederich, gm is almost 20 years old..18:49
ELFrederichalright... another question.  Is there any way to get liquid rescale working within Gimp?  This guide used to work for me: https://discourse.ubuntu.com/t/gimp-woes-in-20-04/15828/14 ... (should be a direct link to comment which has 5x dpkg commands).19:00
ELFrederichCurrently the liquid rescale plugin is now giving me... `attempted to install procedure "plug-in-lqr" with invalid parameter name "output target".`19:01
ELFrederichI believe that previous workaround used to work for me.  Today I tried using it and couldn't find it in the gimp menus.19:01
nunyaleftyb: I did everything to the letter you and alkisg said still getting results of systemd-analyze blame at https://paste.ubuntu.com/p/kscnSnt7qk/19:11
leftyfbnunya: what does that have to do with networking?19:12
leftyfbnunya: according to your output, the things that take the most time are snapd, one of your partitions and cleaning up logs19:13
nunyathat was what  alkisg said to ppaste if everything still didn't work19:14
leftyfbnunya: does your networking work currently?19:14
itchhello o/19:32
lotuspsychjewelcome itch19:33
itchthanks lotuspsychje19:34
nunyayes just takes forever to timeout ethernet and finish boot. still getting listening on LPF/enp0s25/00:21:cc:b4:7f:24, sending on socket/fallback then get dhcpdiscover on enp0s25 to 255.255.255.255 port 67 interval (different number each time) (xid=0x2b5ce17a) during boot, eventually after multiples of this kind of message it boots and connects to wifi. If I go somewhere and plug into ethernet cable no such messages, normal boot time19:38
nunyaleftyb: yes just takes forever to timeout ethernet and finish boot. still getting listening on LPF/enp0s25/00:21:cc:b4:7f:24, sending on socket/fallback then get dhcpdiscover on enp0s25 to 255.255.255.255 port 67 interval (different number each time) (xid=0x2b5ce17a) during boot, eventually after multiples of this kind of message it boots and connects to wifi. If I go somewhere and plug into ethernet cable no such messages, normal19:39
nunyaboot time19:39
itchguys, i need some help. my suspend-2-ram does not work anymore and for the life of me I can't figure out what's the issue. so, i'm currently on ubuntu 21.04 (XFCE4 version), on kernel 5.11.0.41-generic. i think the S2R stopped working after a kernel update (but I'm not entirely sure). what i've tried so far: looking in dmes for anything "wrong". i also tried to disabled everything from "/sys/bus/usb/devices/*/power/wakeup" that wasn't (there were 2 devices).19:39
itchunfortunately that didn't fixed the issue and i'm all out of ideas :(19:39
itch*dmesg19:39
itchanything else I could try?19:40
leftyfbnunya: nmcli device show|egrep -i "device|type|address|^$"19:45
leftyfbor not19:45
leftyfbitch: I don't have a solution to your issue (suspend is garbage on any OS), but I will say, the version of ubuntu you are running will go end of life next month19:49
itchwhat will follow? 20.10 ?19:49
itch*21.1019:49
leftyfb!yymm | itch19:51
leftyfb!yy.mm | itch19:52
ubottuitch: Ubuntu version numbers are: YY.MM (YY=release year,MM=release month). Each year sees two releases, so just specifying YY is imprecise. See also https://www.ubuntu.com/about/release-cycle19:52
itchany way I could downgrade to 20.04 without breaking my whole system? :)19:54
leftyfbnegative19:54
itchworth asking :)19:54
Maikreinstall19:54
itchhmm. is there any solution to backup my dot files/configs and what ever packages are installed and reapply that on a new install ?19:55
leftyfbitch: 22.04 will be out in April and will be the next LTS supported for 5 years19:55
leftyfbitch: there's lots19:55
supercom32Using Ubuntu 20.04, anyone notice that when audio stops playing (after maybe 3~4 seconds), you hear a click, and as soon as you start audio again, it shows the "audio volume" modal dialog, like a new devices was just plugged in, except the volume is slightly louder than previously set?19:55
leftyfbitch: personally I use ansible19:55
itchanything more noob friendly? :)19:56
supercom32If I stop and start playing audio, I can slowly increase the set volume to maximum, which is strange.19:56
leftyfbitch: rsync and a shell script19:56
itchwof. so no :)))19:58
itchoh well19:58
=== dbristow_ is now known as dbristow
supercom32Strange. So using the CLI to monitor volume levels, it seems that every time audio resumes, volume increases by 6%.20:14
=== jje__ is now known as jje_
pikapikaSo regarding my play on linux problem21:19
pikapikaWhile copying the dotfolder as it is didn't work, I am having more success with a feature I just discovered called 'vault' that lets you package a wineprefix and its pol settings into a file, which the target machines pol can then install21:20
supercoolHello folks!21:22
pikapikaI also had certain echoing audio issues with skyrim which after a lot of research I narrowed down to an faudio issue (I checked and faudio does not exist on my old laptopn, only xaudio). Thankfully it seems winetricks has an inbuilt option to force the xact lib onto a wineprefix, which I promptly did and seems like it has fixed the audio issues. Anyways the long and short of it is that, yeah it was more complex than it should have been21:22
pikapikabut bit by bit success is being attained21:22
pikapikasupercool, hi21:22
supercoolCould someone help me to verify aUbuntu install with is not booting please? I am using a second device in order to access and check this troblematic unit.21:23
supercoolIs fsck a good idea?21:26
supercoolpikapika: hi21:27
d1rewolfhello all. I have a relatively new install of 21.04 server. For some reason, the same Nic is getting assigned two different IP addresses from two different ip spaces (172.16.1.0/24 and 192.168.8.0/24). The first comes via cloud-init and the second via dhcp. Note, these ips are both in use on two different vlans, and the dhcp server handles both, but why would two get assigned to the same Nic?21:29
supercoolThe message I am receiving during boot is "failed to start Snap Daemon."21:36
alkisgd1rewolf: dhcp reservations are per subnet; the dhcp server doesn't consider it "the same client" as it doesn't exist on the *same* subnet with the same mac21:38
alkisgIf the client does 2 dhcp requests on 2 different vlans, it'll get 2 ips21:38
d1rewolfalkisg: thanks for the response. what would cause it to make two different dhcp requests though? one definitely comes from dhcpd: "dhcpcd[669]: enp2s0: probing address 192.168.8.201/24". The other via dhcp from systemd-networking? "systemd-networkd[627]: enp2s0: DHCPv4 address 172.16.1.7/16 via 172.16.1.1"21:42
alkisgIf you have declared to vlan interfaces, it's like you have 2 nics; they do 2 dhcp requests21:42
alkisgBut note that I've no idea about cloud-init or netplan, so I can't mention any details21:43
d1rewolfwell, I didn't *declare* them, as I just installed the OS21:43
alkisg*two21:43
alkisgHow does it know that you have a vlan?21:43
d1rewolfdidn't do any specific special vlan config. I suppose this means somehow vlan traffic from both vlans is making it onto that switch port and ubuntu is seeing it and doing some automagic?21:44
d1rewolfalkisg: it's a great question re: how does it know there are vlans to begin with21:44
alkisgI don't know of any "vlan autodiscovery" mechanisms, I can't imagine how that would happen if you didn't specify it in a configuration step21:45
alkisgMaybe someone else does know though, my knowledge in vlans in limited...21:45
MarcUKHello how can i make it so my NVME drives are auto mounted on startup21:45
d1rewolfalkisg: I know. and...I didn't. sigh. You go away for a few years and the whole networking substructure changes ;) I long for the days before netplan/cloud-init/etc21:45
alkisgOh I purge all these new things, snapd, netplan etc :)21:46
MarcUKWell i used to do networking but i gave up on all that crap as you will spend your entire life certifying for rubbish21:47
alkisgIf something catches up enough to become a standard across many distributions, then it's worth my time...21:47
MarcUKCCNA CCNP all a cash con for them to make money certifying21:47
alkisgMarcUK: what's the output of e.g.: (sudo lsblk --fs; sudo parted -l ) | nc termbin.com 999921:49
alkisgI.e. your disk layout, to see what your nvme devices file systems are etc21:49
MarcUKAlkisg i just went into disk utility and told it auto mount on startup21:51
alkisg👍️21:52
supercoolCould someone help me to verify a Ubuntu system not booting please?22:10
jeremy31supercool: what does it do?22:13
supercooljeremy31: It is faling to boot with a error message.22:14
jeremy31And the error message is?22:14
supercoolI am using badblocks to check it and it passed22:14
supercoolFailed to start Snap Daemon22:15
supercoolIf I use fsck it shows a message the superblock could not be read or does not describe a valid ext2/ext3/ext4 filesystem.22:16
supercoolBad magic number in super-block while trying to open /dev/sbd22:17
supercoolNot sure if it helps22:17
supercoolThere is also a first error message as https://unix.stackexchange.com/questions/502540/why-does-drmvmw-host-log-vmwgfx-error-failed-to-send-host-log-message-sh22:18
supercooljeremy31: like this: https://imgur.com/JjXvkxU22:30
jeremy31supercool: Not sure why that would stop booting22:32
supercoolyes, but it does22:32
supercoolMaybe thats not the problem at all22:32
supercoolBut that is the message I get during boot22:33
jhutchins!fixgrub22:51
ubottuGRUB2 is the default Ubuntu boot manager. Lost GRUB after installing Windows? See https://help.ubuntu.com/community/RestoreGrub - For more information and troubleshooting for GRUB2 please refer to https://help.ubuntu.com/community/Grub222:51
jhutchins( supercool that's not directed at you necessarily.)22:52
jhutchinssupercool: Is this a new install?  What filesystem are you using?  Did you use the installer to create it?22:54
=== xenial is now known as Guest1410
MarcUKCan i have swap files on more than one drive23:16

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