=== p is now known as Guest1245 [00:03] . [00:04] . [00:04] . [00:04] . === CaffeinatedTech1 is now known as CaffeinatedTech [12:50] Hi all [14:19] Kubuntu 22.10>>>>>>>>>>>22.04.1 [14:31] reinstall === Lord_of_Life_ is now known as Lord_of_Life [19:06] https://github.com/Gictorbit/illustratorCClinux [19:10] ew wine [19:11] vincenzo: Looks cool, are you having problems using this under Kubuntu? [19:14] hmm shareware that works 7 days.. [19:30] ew wine? rofl [19:58] how to get info of current network and change ip to static address? [20:11] sorry, my bad have got it. [21:15] hi i need some help with uninstalling wine i installed the wrong LTS version and cant uninstall it [21:21] can someone help plss [21:24] hello? [21:25] how did you install @user|66 [21:25] ? [21:28] @user|66 hello? [21:34] srry im back [21:34] kk === j_ is now known as rebatela [21:35] i installed it just following what the winehq website said [21:35] did you install any packages? I don't know what they recommend off the top of my head. [21:36] im new to linux and dont rlly know but i can send what they recommend [21:36] ah, I see @user|66, did you use Ubuntu 22.04 package from wineHq per https://wiki.winehq.org/Ubuntu [21:37] Already got it. [21:37] ya [21:38] i already had wine stable installed and working im on jammy btw and i swithced to dev and installed the wrong LTS version [21:38] You want to use ppa-purge [21:39] ok [21:39] but crafting the command is a PITA [21:39] so gimme a second ... [21:39] okie :) [21:41] sudo ppa-purge -s dl.winehq.org -p wine-builds -o ubuntu [21:41] sudo ppa-purge -s dl.winehq.org -p wine-builds -o ubuntu [21:41] !ppa-purge [21:41] To disable a PPA from your sources and revert your packages back to default Ubuntu packages, install ppa-purge and use the command: « sudo ppa-purge ppa:/ » – For more information, see http://www.webupd8.org/2009/12/remove-ppa-repositories-via-command.html [21:41] [sudo] password for blake: [21:41] sudo: ppa-purge: command not found [21:41] thats what happend [21:42] you need to install it, user|66 [21:42] sudo apt install ppa-purge [21:42] very useful package, that! [21:42] Yes, the benefit here is it will automagically roll back all packages that we added. [21:42] ty ive been trying to use purge and didnt know i had to install lol [21:43] However, I am not sure if the command I gave will work. ppa-purge has a creaky interface for removing non-ppa repositories. But it saves enormous amounts of time and trouble once one gets it to work. [21:44] sudo ppa-purge -s dl.winehq.org -p wine-builds -o ubuntu [21:44] Updating packages lists [21:44] E: The repository 'https://ppa.launchpadcontent.net/wine/wine-builds/ubuntu jammy Release' does not have a Release file. [21:44] Warning: apt-get update failed for some reason [21:44] that happend [21:44] ima update rq and see if that helps [21:44] right, so let me look around a bit. I have to complete the install and then craft the command [21:45] okie [21:46] you're getting a different issue than I'm seeing. Is this for 22.04? [21:47] yes im on 22.04.1 [21:48] sudo ppa-purge -s dl.winehq.org ppa:wine-builds/ubuntu [21:48] when i updated i got this issue too [21:48] Hit:1 http://us.archive.ubuntu.com/ubuntu jammy InRelease [21:48] Hit:2 http://us.archive.ubuntu.com/ubuntu jammy-updates InRelease [21:48] Hit:3 http://us.archive.ubuntu.com/ubuntu jammy-backports InRelease [21:48] Hit:4 https://dl.google.com/linux/chrome/deb stable InRelease [21:48] Hit:5 https://dl.winehq.org/wine-builds/ubuntu bionic InRelease [21:48] @user|66 so far that looks fine [21:49] user|66: Oy, pasting stuff directly into IRC will result in a bot muting you for 60 seconds. You can use a pastebin website like bpa.st to avoid that in the future. Sorry for the inconvenience. [21:49] hmm, EXCEPT for bionic on windok. [21:49] *winehq [21:50] im getting the same error [21:51] winhq should be showing "jammy InRelease", not "bionic InRelease" [21:52] ok, so another problem: I'm not seeing ppa-purge disabling the repo, which is used to do. [21:52] im not sure y [21:53] Regardless, it should be at least be able to remove the packages in that installation. [21:53] Let me finish the install and test. [21:53] kk [21:59] i downloaded the wrong LTS mine is jammy and i downloaded Focal if that helps any [21:59] @user|66 it looks like the command I provided should work in any case. [22:00] At least for purging the packages. [22:00] what do you see when trying to purge? [22:00] Updating packages lists [22:00] E: The repository 'https://ppa.launchpadcontent.net/wine/wine-builds/ubuntu jammy Release' does not have a Release file. [22:00] Warning: apt-get update failed for some reason [22:01] So are you sure you installed anything? [22:02] sudo apt list --installed |grep winehq [22:02] WARNING: apt does not have a stable CLI interface. Use with caution in scripts. [22:02] winehq-devel/jammy,now 7.18~jammy-1 amd64 [installed] [22:02] ^^ What does that show [22:02] ah, so there you go [22:03] it did get installed. Interesting it's specified as a jammy package. [22:03] ik thats weird [22:03] Do you remember installing winehq-devel? [22:03] ye [22:04] how do i switch back to stable? [22:04] ok. So the challenge is rolling back any dependencies that also have been updated from the same repository. [22:04] Well, if you instaall the stable branch, that may conflict with devel and remove it. [22:04] It depends on the package. [22:05] But, assuming you want winehq gone, then ppa-purge is probably a good tool to consider. [22:05] There is also Lutris which may pull in new winehq libraries. As an end-user, that's probably a better choice. [22:06] how would i do that? [22:07] Search for 'Ubuntu Install Lutris' [22:07] You will add a repo similar to here. [22:07] i have lutris just dont know how to use it completely [22:08] ah, lets see [22:09] well, I don't have a great answer for that. You will just need to use their docs [22:10] so what would be a better place than youtube to learn about linux and how to use it [22:10] FWIW, winehq-stable doesn't exist in Jammy. [22:11] wym i used to use it on jammy [22:12] At least, not from the Jammy repo. I have that added, and an see the packages like so: apt list |grep winhq # Shows only winehq-devel and winehq-staging. You don't want either of those as a user (most likely). [22:13] Check out all the packages installed with winehq-devel [22:13] https://pastebin.com/KhW5Btr2 [22:14] So *that* is what you want rolled back. [22:14] Otherwise, your system may be subtly broken for any other wine package setup. [22:14] like it is rn [22:14] yeah, prolly [22:15] So my system now has that also installed. [22:15] I will now rollback with ppa-purge and make sure it works. [22:15] and i deleted everything already in my wine folder so i lost all that when i didnt have to [22:15] ok [22:17] https://pastebin.com/ewNJ5hxd [22:17] That shows the result of ppa-purge and then using 'sudo apt autoremove' to remove the i386 libs it installed. [22:20] so should i do that ?? [22:21] yes: sudo apt autoremove, as long as the files listed are as I showed you. If it is trying to remove other packages (like KDE or xserver), then no. [22:22] idk what it dose if i do [22:27] So did ppa-purge work? [22:27] And autoremove? [22:28] After that, we can double-check and then remove the repo. ppa-purge doesn't seem to remove it like it did with an older format. [22:30] kk [22:31] So in sum: 1: sudo ppa-purge -s dl.winehq.org -o wine-builds -p ubuntu [22:31] 2: sudo apt autoremove [22:31] sudo apt autoremove wine [22:31] right?? [22:31] 3: sudo rm /etc/apt/sources.list.d/winehq-* [22:31] no, do not specify the package [22:32] ok [22:32] That will remove all "unused" dependencies from winehq-devel or whatever you installed [22:32] then run sudo apt update to update your database. [22:33] Then you are on your merry way. [22:34] E: The repository 'https://ppa.launchpadcontent.net/wine/wine-builds/ubuntu jammy Release' does not have a Release file. [22:34] N: Updating from such a repository can't be done securely, and is therefore disabled by default. [22:34] N: See apt-secure(8) manpage for repository creation and user configuration details. [22:35] how do i send a txt [22:35] fiel [22:35] file [22:37] user|66: Upload the text to a pastebin and send the link. [22:37] bpa.st works. [22:48] @mmikowski did u see my error [22:48] @user|66 sorry, no. I went back to work :) [22:48] ur good [22:49] So what step failed. 1, 2, or 3? [22:49] 1 and 2 [22:49] wait [22:49] You need to add the repo key [22:49] probably ... [22:50] how do i get that?? [22:50] E: The repository 'https://ppa.launchpadcontent.net/wine/wine-builds/ubuntu jammy Release' does not have a Release file. [22:50] N: Updating from such a repository can't be done securely, and is therefore disabled by default. [22:50] N: See apt-secure(8) manpage for repository creation and user configuration details. [22:50] It's in the instructions, however, I admit that was a knee-jerk reaction, and is probably not correct. [22:50] Lets work through the steps. [22:51] thats what happens when i update [22:51] okie [22:51] sudo dpkg --add-architecture i386 [22:51] sudo mkdir -pm755 /etc/apt/keyrings [22:51] sudo wget -O /etc/apt/keyrings/winehq-archive.key https://dl.winehq.org/wine-builds/winehq.key [22:52] now try 'sudo apt update' [22:52] Do you see any errors? [22:52] not yet ima update [22:52] ima=? [22:52] ima=i am [22:53] got the same errors [22:53] sudo apt list --installed |grep winehq # <= what does that provide [22:54] WARNING: apt does not have a stable CLI interface. Use with caution in scripts. [22:54] winehq-devel/now 7.18~jammy-1 amd64 [installed,local] [22:56] Somehting is wrong with the repos. [22:56] how would i fix that?? [22:57] You need to (a) rollback the packages used from the repo, and (b) disable the repo so you don't accidentally pull in new packages from it in the future. [22:57] That's what the three steps above are designed to do. [22:58] My guess is you had installed the wrong version, and so it's looking for a Jammy release file, and it's not there. [22:58] yep prob [22:58] sudo wget -NP /etc/apt/sources.list.d/ https://dl.winehq.org/wine-builds/ubuntu/dists/jammy/winehq-jammy.sources [22:59] then try sudo apt update && sudo apt upgrade -y [22:59] same error [22:59] Argh. [22:59] ikr [22:59] Ok, there is a more elegant solution, but here: [23:00] ok [23:01] sudo apt purge winehq-devel [23:01] also, assuming you want all of wine removed: [23:01] yes [23:02] at this point idc anymore [23:02] its been broken for ab a month now [23:02] its working i think [23:05] blake@blake-HP-Laptop-14-dk1xxx ~> wine --version [23:05] wine-6.0.3 (Ubuntu 6.0.3~repack-1) [23:05] https://askubuntu.com/questions/37531/how-do-i-remove-all-packages-from-a-certain-repository [23:05] yeah, that looks good [23:06] so i gonna install stable now and it should work [23:06] cross fingers [23:06] crossing fingers lol [23:07] That last item I sent you talks about how ppa-purge is partially broken for i386 libraries, which is what wine uses. [23:07] What do you get with this: https://askubuntu.com/questions/37531/how-do-i-remove-all-packages-from-a-certain-repository [23:07] sudo ppa-purge -i -s dl.winehq.org -o wine-builds -p ubuntu [23:07] ^^ 2nd one [23:10] its too big to send [23:10] pastebin.com [23:10] Does it look ok? [23:10] no [23:10] lol [23:10] Similar to what I sent before? [23:10] no [23:11] ill send one at a time kk [23:11] Updating packages lists [23:11] E: The repository 'https://ppa.launchpadcontent.net/wine/wine-builds/ubuntu jammy Release' does not have a Release file. [23:11] E: Failed to download some files [23:11] W: Failed to fetch https://ppa.launchpadcontent.net/wine/wine-builds/ubuntu/dists/jammy/Release: 404 Not Found [IP: My IP :) 443] [23:11] E: Some index files failed to download. They have been ignored, or old ones used instead. [23:11] Warning: aptitude update failed for some reason [23:12] Yeah, bad repo file [23:12] Did you remove the old repo file (step 3 from above)? [23:12] ls /etc/apt/sources.list.d/ |grep wine [23:13] what does that show? [23:13] (don't do step 3 right now). [23:13] ok [23:13] what do you see with the ls command provided? [23:14] it just brought me to that directory [23:14] do i need to sudo [23:15] nope, just looking [23:15] It should show one or two files [23:16] im just in that file [23:16] blake@blake-HP-Laptop-14-dk1xxx /e/a/sources.list.d> [23:16] /etc/apt/sources.list.d [23:16] That command above will show any files with wine in the name. [23:17] If there are none, then you added the repo in a different way than the winehq website suggests [23:17] blake@blake-HP-Laptop-14-dk1xxx /e/a/sources.list.d> /etc/apt/sources.list.d [23:17] blake@blake-HP-Laptop-14-dk1xxx /e/a/sources.list.d> [23:18] It doesn't matter from which directory you execute the command; it's the output that matters. [23:18] Does it show anything? [23:18] no it just brings me to that directory [23:20] then there are no files in that directory with the word 'wine' in them. [23:20] ah, you added the ppa winebuilds! [23:21] that's NOT the standard winehq install [23:21] Dude! [23:21] ye? [23:22] i typed ls and theres 2 files 1: winehq-jammy.sources 2:wine-ubuntu-wine-builds-jammy.list [23:23] grep -l 'wine' /etc/apt/sources.list.d/*.list [23:23] yeah, so you have two repos enabled. [23:23] one's a proper ppa [23:23] this is what it gave me [23:24] see: /etc/apt/sources.list.d/wine-ubuntu-wine-builds-jammy.list [23:24] that's the ppa [23:25] what do i do with it? [23:31] I suggest you disable the ppa source, as it doesn't appear that it is used by apt. [23:32] in other word: cd /etc/apt/sources.list.d; mv wine-ubuntu-wine-builds-jammy.list :wine-ubuntu-wine-builds-jammy.list.disabled [23:33] then sudo apt update and report back if that error goes away [23:37] @user|66 any luck? [23:37] i just got back [23:37] 1 sec [23:38] cd /etc/apt/sources.list.d; mv wine-ubuntu-wine-builds-jammy.list :wine-ubuntu-wine-builds-jammy.list.disabled [23:38] mv: cannot move 'wine-ubuntu-wine-builds-jammy.list' to ':wine-ubuntu-wine-builds-jammy.list.disabled': Permission denied [23:39] use a sudo in front of that [23:39] ok [23:39] sudo mv wine-ubuntu-wine-builds-jammy.list :wine-ubuntu-wine-builds-jammy.list.disabled [23:39] i think it worked [23:40] it says its disabled [23:40] so now: sudo apt update [23:40] :wine-ubuntu-wine-builds-jammy.list.disabled [23:40] right [23:41] that will remove it from the repo list, so now when you update, that warning should go away. [23:42] after i ran update i ran upgrade and it gave me this: 0 upgraded, 0 newly installed, 0 to remove and 11 not upgraded. [23:43] how do i upgrade those [23:43] That's normal. They'll become available once a full roll-out occurs [23:43] There's nothing to fix. [23:44] if you do sudo apt full-upgrade, that will install everything that is meant to upgrade your system. [23:44] ok so i should be able to install stable now? [23:44] now can you purge the winehq ppa? [23:45] whats the command again?? [23:45] sudo ppa-purge -s dl.winehq.org -o wine-builds -p ubuntu [23:47] PPA purged successfully using aptitude fallback [23:47] yess [23:47] ah, yes, forbot the -i [23:48] sudo ppa-purge -i -s dl.winehq.org -o wine-builds -p ubuntu [23:48] ? [23:48] o [23:48] The -i will help clean up i386 libs, IIRC. Not tested here. [23:48] PPA purged successfully [23:48] ok, then once that is set, disable the winehq repo: [23:49] how do i do that lol [23:49] ok, so that worked with the -i flag, right [23:49] ok, sudd apt autoremove [23:49] ok [23:50] what next? [23:50] cd /etc/apt/sources.list.d; sudo mv winehq-jammy.sources winehq-jammy.sources.disabled [23:51] sudo apt update [23:51] do i need to put sudo infront of  cd /etc/apt/sources.list.d; sudo mv winehq-jammy.sources winehq-jammy.sources.disabled [23:53] its disabled [23:53] winehq-jammy.sources.disabled [23:53] sudo apt update; [23:53] it worked [23:55] there you go. [23:56] so i can install wine stable?? [23:56] Wine stable comes from Ubuntu. [23:56] so get dev? [23:56] No [23:56] what should i get?? [23:57] Use the default Wine. [23:57] That's stable. [23:57] its out of date tho [23:57] Is that a problem? If it isn't, using the stable default is preferred. [23:58] idk [23:58] If you need a later container, consider using Lutrus which is supposed to take care of a lot of the trouble. [23:58] ok [23:58] will do [23:58] tysm