[13:09] <BluesKaj> Hi all
 Hello guys.
 I want to increase my swap size (at the moment it is 16GB).
 I think I should decrease my ext4 partition, and relocate the unallocated space to swap partition.
 But I cannot decrease (or even increase) my ext4 partition size.
 Is there any help?
 Hello guys.
 I want to increase my swap size (at the moment it is 16GB).
 I think I should decrease my ext4 partition, and relocate the unallocated space to swap partition.
 But I cannot decrease (or even increase) my ext4 partition size.
 Is there any help?
 Kubuntu 20.04
 Hello guys.
 I want to increase my swap size (at the moment it is 16GB).
 I think I should decrease my ext4 partition, and relocate the unallocated space to swap partition.
 But I cannot decrease (or even increase) my ext4 partition size (I tried GParted).
 Is there any help?
 Kubuntu 20.04
[14:53] <tomreyn> AliPharzaneh: why do you want to increase your swap size above 16 GB? how much physical memory (RAM) is installed?
 # man resize2fs | grep -A1 'shrink an ext2'
        If  you  wish  to shrink an ext2 partition, first use resize2fs to shrink the size of filesystem.  Then you may use fdisk(8) to shrink the size of the partition.  When shrinking the size of the partition, make sure you do not
[14:55] <tomreyn> AliPharzaneh: this would post your partition tables for others to look at:    sudo fdisk -l | nc termbin.com 9999
        make it smaller than the new size of the ext2 filesystem!
 I hardly doubt that online-shrinking is possible, you may need to boot from a 'LIVE-ISO' and do it from there
[15:50] <Newbie9> Hi All. My discover software center has stopped displaying any updates. I am not very good at this but I think this has something to do with the repository/source. Please can someone help. I just want to install pulse effects.
[15:52] <Newbie9> lsb_release -a
[15:52] <Newbie9> No LSB modules are available.
[15:52] <Newbie9> Distributor ID: Ubuntu
[15:52] <Newbie9> Description:    Ubuntu 20.10
[15:52] <Newbie9> Release:        20.10
[15:52] <Newbie9> Codename:       groovy
 Im having the same problem (re @Akshay Jr.: what it means by not having a release file)
[15:57] <Roey> hey in linux does free() actually free up ram for the rest of the OS or just for the rest of the app that allocated it?
[15:58] <Roey> like, if I close a hundred tabs in firefox, will that free up memory for other apps, or will firefox just free that memory up (for itself)?  i.e. what is the opposite of sbrk()
[16:40] <cbreak> Roey: linux has virtual memory since a long time
[16:40] <cbreak> inactive memory will be swapped out if needed, even if processes don't release it
[16:40] <cbreak> and nowadays, applications use mmap not sbrk I think
[16:52] <Roey> cbreak: ah ok.
[16:52] <Roey> hrm.
[16:52] <Roey> so like in my case firefox ends up consuming large amounts of RAM
[16:52] <Roey> I hope that closing all those tabs will result in it releasing RAM back to the OS
[16:52] <Roey> I mean I oculd just re-start Fx
[16:52] <Roey> just as well.
[16:52] <user|41> Everything consume now lot of ram :)
[16:53] <user|41> I remember QNX floppy disk demo ahhh
[16:53] <user|41> Or gopher jaja
[16:55] <cbreak> Roey: you can just try it :)
[16:55] <Roey> :)
[16:56] <cbreak> I use a bunch of addons, UnloadTabs, TreeStyleTabs, for example
[16:56] <Roey> I forgot to see how much RAM it consumed before I closed all those tabs
[16:56] <Roey> hehehe
[16:56] <cbreak> that way I don't have to close tabs if I don't want to
[16:56] <Roey> cbreak: ahhh ok
[16:56] <Roey> cbreak: I wonder if UnloadTabs works with Panorama Tab Groups
[16:56] <cbreak> Roey: you can check about:performance
[16:57] <cbreak> it will not give you a full view on memory
[16:57] <cbreak> but blame some of it on tabs
[16:57] <Roey> aye
[16:57] <Roey> :)
[16:57] <Roey> cbreak: and video content tabs
[16:57] <Roey> and anything extensive like Facebook
[16:57] <Roey> or Youtube
[16:57] <Roey> or Gmail
[16:58] <cbreak> and there's about:memory
 How to install android emulator on kubuntu ....?
[17:03] <oerheks> android studio > https://snapcraft.io/android-studio
[17:03] <oerheks> it is available as snap
[17:04] <oerheks> or anbox https://snapcraft.io/anbox
 Ok tnx (re @IrcsomeBot: <oerheks> or anbox https://snapcraft.io/anbox)
[18:27] <user|38> hi
[18:28] <user|38> I unintentionally damaged my sources.list file and can't find the default one. help
[18:29] <user|38> D:
[18:30] <arraybolt3[m]> user|38: Easy to fix!
[18:30] <arraybolt3[m]> user|38: Open a terminal with Ctrl+Alt+T.
[18:30] <arraybolt3[m]> user|38: Now run "sudo /etc/apt/sources.list".
[18:31] <arraybolt3[m]> user|38: Let me know when you've gotten that far.
[18:31] <user|38> order not found
[18:31] <user|38> :(
[18:32] <arraybolt3[m]> user|38: Oy, I messed up the command.
[18:32] <arraybolt3[m]> user|38: "sudo nano /etc/apt/sources.list"
[18:32] <user|38> ok
[18:32] <user|38> done
[18:32] <arraybolt3[m]> user|38: OK, now press and hold Ctrl+K - this will wipe everything in the file. Then we can rebuild it (I've done this several times, it's easy).
[18:34] <arraybolt3[m]> user|38: Once the file is wiped, copy and paste the code from here into the file: https://pastebin.com/pFy59vzn
[18:35] <arraybolt3[m]> user|38: I just realized I should ask you, what version of Kubuntu are you on? 20.04? 22.04?
[18:35] <arraybolt3[m]> (The contents of the file depend on the version of Kubuntu.)
[18:36] <user|38> thank you so much!
[18:36] <user|38> u are my hero <3
[18:37] <arraybolt3[m]> user|38: What version of Kubuntu are you on?
[18:37] <arraybolt3[m]> user|38: (no problem, glad to help)
[18:37] <user|38> 21.10
[18:38] <arraybolt3[m]> user|38: OK, this won't work then, don't save the file yet.
[18:38] <user|38> late
[18:38] <arraybolt3[m]> user|38: That's fine, just don't run anything with apt yet.
[18:38] <user|38> =#
[18:39] <user|38> late
[18:39] <arraybolt3[m]> user|38: OK, no problem.
[18:39] <arraybolt3[m]> user|38: I guess then we just upgraded your system to Jammy, which is good since 21.10 is EOL, so... uh... woot!
[18:40] <user|38> oh
[18:40] <user|38> ok
[18:40] <user|38> thanks
[18:40] <arraybolt3[m]> user|38: You may want to back up all your data real quick to make sure your system can be recovered if anything goes wrong.
[18:41] <arraybolt3[m]> user|38: Do you have any 3rd-party repositories (PPAs) enabled on your system?
[18:42] <user|38> yep
[18:42] <arraybolt3[m]> user|38: OK, run "sudo sed -i s/deb/#deb/ /etc/apt/sources.list.d/*.list".
[18:42] <arraybolt3[m]> user|38: (If we've started the upgrade procedure, we should finish it right so that your system still works right.)
[18:43] <arraybolt3[m]> (And that command will temporarily disable 3rd party repos so we can upgrade properly.
[18:43] <arraybolt3[m]> (We'll be re-enabling them at the end of this.)
[18:46] <oerheks> original /usr/share/doc/apt/examples/sources.list > sudo cp /usr/share/doc/apt/examples/sources.list /etc/apt/source.list
[18:47] <oerheks> but universe and such are not enabled by fefault
[18:47] <oerheks> c/default
[18:47] <arraybolt3[m]> oerheks: I didn't realize he's still on Impish and we just accidentally hacky-upgraded to Jammy... so now I'm trying to recover that without breaking anything.
[18:47] <oerheks> oh oke
[18:48]  * arraybolt3[m] makes note to self to always ask about Ubuntu version before suggesting anything with sources.list
[18:51] <arraybolt3[m]> user|38: You still here?
[18:53] <user|38> yep
[18:54] <arraybolt3[m]> user|38: OK, did you run the "sudo sed -i s/deb/#deb/ /etc/apt/sources.list.d/*.list" command yet?
[18:54] <user|38> yes
[18:55] <arraybolt3[m]> user|38: OK, can you do "sudo nano /etc/apt/sources.list" again so we can get 21.10 fully upgraded *before* committing to the upgrade?
[18:58] <arraybolt3[m]> user|38: Once that's open, wipe the file again and replace it with these contents: https://pastebin.com/DLTveimu
[19:39] <arraybolt3[m]> user|38: The guide I'm trying to walk you through is here: https://askubuntu.com/questions/458201/how-can-i-upgrade-ubuntu-to-newer-release-manually-without-using-update-manager If I'm not around when you're back, here's the instructions.