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