Search found 28 matches

by endlisnis
Thu Apr 18, 2019 9:51 pm
Forum: Virtualization
Topic: Solved: Default kernel broken after kvm installed
Replies: 7
Views: 241

Re: Solved: Default kernel broken after kvm installed

Running it after the direct removal removed a headers package. Thanks.
by endlisnis
Thu Apr 18, 2019 6:00 pm
Forum: Virtualization
Topic: Solved: Default kernel broken after kvm installed
Replies: 7
Views: 241

Re: Default kernel broken after kvm installed

The first command did nothing: $ apt purge --autoremove [sudo] password for rolf: Reading package lists... Done Building dependency tree Reading state information... Done 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. But, your second command did the trick, thanks! $ apt purge "linux...
by endlisnis
Wed Apr 17, 2019 7:26 pm
Forum: Virtualization
Topic: Solved: Default kernel broken after kvm installed
Replies: 7
Views: 241

Re: Default kernel broken after kvm installed

Yes, I ran sudo update-grub . As you can see from the output, it's still finding the -kvm kernel even though I uninstalled the package. $ sudo update-grub [sudo] password for rolf: Sourcing file `/etc/default/grub' Sourcing file `/etc/default/grub.d/50_linuxmint.cfg' Generating grub configuration fi...
by endlisnis
Sat Apr 13, 2019 9:37 am
Forum: Virtualization
Topic: Solved: Default kernel broken after kvm installed
Replies: 7
Views: 241

Solved: Default kernel broken after kvm installed

I have been trying to get kvm installed on my Linux Mint 19.1 system and I've run into two problems. After installing "linux-kvm", my system now has a default grub boot of "/boot/vmlinuz-4.15.0-1031-kvm" which just freezes up forever on a black screen after the grub menu. I can still choose a normal...
by endlisnis
Wed Jan 09, 2019 10:12 am
Forum: Software & Applications
Topic: python3.7 distutils broken on last update
Replies: 31
Views: 2061

Re: python3.7 distutils broken on last update

I built my own Python3.7 from source. It's working great.

Is there anything to be done for the pre-built version so others don't run into this same problem?
by endlisnis
Tue Jan 08, 2019 1:59 pm
Forum: Software & Applications
Topic: python3.7 distutils broken on last update
Replies: 31
Views: 2061

Re: python3.7 distutils broken on last update

I've already started relying on new features in v3.7 in my source code. I'd rather not go back.
by endlisnis
Tue Jan 08, 2019 11:44 am
Forum: Software & Applications
Topic: python3.7 distutils broken on last update
Replies: 31
Views: 2061

Re: python3.7 distutils broken on last update

This used to work (before ~November). There was a change around that time that started causing this trouble.

Is there anything I can do about it?
by endlisnis
Tue Jan 08, 2019 11:25 am
Forum: Software & Applications
Topic: python3.7 distutils broken on last update
Replies: 31
Views: 2061

Re: python3.7 distutils broken on last update

Here's a more concise reproduction of my problem:
$ python3 -m apt_pkg
/usr/bin/python3: No code object available for apt_pkg

$ python3.7 -m apt_pkg
/usr/bin/python3.7: No module named apt_pkg


Python3 (v3.6) can "import apt_pkg" but python3.7 cannot.
by endlisnis
Tue Jan 08, 2019 11:22 am
Forum: Software & Applications
Topic: python3.7 distutils broken on last update
Replies: 31
Views: 2061

Re: python3.7 distutils broken on last update

$ apt reinstall python3-apt [sudo] password for rolf: The following packages will be REINSTALLED: python3-apt 0 packages upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded. Need to get 0 B/148 kB of archives. After unpacking 0 B will be used. (Reading database ... 324935 fil...
by endlisnis
Tue Jan 08, 2019 9:47 am
Forum: Software & Applications
Topic: python3.7 distutils broken on last update
Replies: 31
Views: 2061

Re: python3.7 distutils broken on last update

I was still having trouble with unhandled exceptions in Python3.7, so I tried reinstalling Mint 19.1 from scratch (preserving my home directory). Even with the new install, I am *still* having trouble. Here is an example of what I get: $ python3.7 -c 'raise Exception("")' Traceback (most recent call...
by endlisnis
Sat Nov 24, 2018 9:30 am
Forum: Software & Applications
Topic: python3.7 distutils broken on last update
Replies: 31
Views: 2061

Re: python3.7 distutils broken on last update

Hmmm... yes, you are correct again. I swear that only used to install pip for python3.6, but that may have been ages ago before python3.6 shipped with Ubuntu. Anyway, in my docker setup, once I have "python3-pip" installed, I can use "python3.7 -m pip install --user" to install all my modules and th...
by endlisnis
Thu Nov 22, 2018 3:43 pm
Forum: Software & Applications
Topic: python3.7 distutils broken on last update
Replies: 31
Views: 2061

Re: python3.7 distutils broken on last update

FYI: "python3-pip" only installs pip for python3.6 (or really just the default system python3 version). If you need pip for any other python version that you have installed, then you must install it using "get-pip" or similar mechanisms.
by endlisnis
Thu Nov 22, 2018 3:00 pm
Forum: Software & Applications
Topic: python3.7 distutils broken on last update
Replies: 31
Views: 2061

Re: python3.7 distutils broken on last update

The reason why my docker recipe wasn't working was because I hadn't installed "python3-distutils" in the docker image. Once I realized that, I tried reinstalling my python3-distutils and that fixed my problem.
by endlisnis
Thu Nov 22, 2018 2:59 pm
Forum: Software & Applications
Topic: python3.7 distutils broken on last update
Replies: 31
Views: 2061

Re: python3.7 distutils broken on last update

Ok, I figured out my problem. There was something wrong with my "python3-distutils" package. When I reinstalled that package, python3.7 started behaving.
by endlisnis
Thu Nov 22, 2018 2:51 pm
Forum: Software & Applications
Topic: python3.7 distutils broken on last update
Replies: 31
Views: 2061

Re: python3.7 distutils broken on last update

I just tried a installing Ubuntu 18.04 (via docker) and installing "python3.7", then trying to install "pip". I got the exact same problem. Here's a one-line docker reproduction script: docker run -it ubuntu /bin/bash -c 'apt update; apt install -y python3.7 curl; curl https://bootstrap.pypa.io/get-...
by endlisnis
Thu Nov 22, 2018 2:15 pm
Forum: Software & Applications
Topic: python3.7 distutils broken on last update
Replies: 31
Views: 2061

Re: python3.7 distutils broken on last update

I tried removing every single python3.7 package and re-installed. I ended up in the exact same situation. If my installation is somehow broken in a way that's not easy to get out of, I'm not above re-installing my OS, but I just want to make sure that's really what's going on here before I go that f...
by endlisnis
Thu Nov 22, 2018 1:56 pm
Forum: Software & Applications
Topic: python3.7 distutils broken on last update
Replies: 31
Views: 2061

Re: python3.7 distutils broken on last update

If Python3.7 is fundamentally broken, shouldn't that be fixed? I'm assuming that this was an Ubuntu package not customized for Linux Mint. I guess I should report it to Ubuntu?
by endlisnis
Thu Nov 22, 2018 8:32 am
Forum: Software & Applications
Topic: python3.7 distutils broken on last update
Replies: 31
Views: 2061

Re: python3.7 distutils broken on last update

I think there used to be a python3.7-distutils . I'm pretty sure I had it installed back when I had a working python3.7. The most recent upgrade (originally) failed to install because the core python3.7 package contained files that were also in python3.7-distutils . I figured someone was re-arrangin...
by endlisnis
Wed Nov 21, 2018 11:49 pm
Forum: Software & Applications
Topic: python3.7 distutils broken on last update
Replies: 31
Views: 2061

Re: python3.7 distutils broken on last update

I get the same output from apt search distutils , but I don't know what that "v" at the beginning means. That's not a package you can install: $ apt install python3.7-distutils Reading package lists... Done Building dependency tree Reading state information... Done Note, selecting 'python3-distutils...
by endlisnis
Wed Nov 21, 2018 11:39 pm
Forum: Software & Applications
Topic: python3.7 distutils broken on last update
Replies: 31
Views: 2061

Re: python3.7 distutils broken on last update

$ pip --version pip 18.1 from /usr/local/lib/python3.6/dist-packages/pip (python 3.6) $ pip3 --version pip 18.1 from /usr/local/lib/python3.6/dist-packages/pip (python 3.6) I don't see any package named python3.7-distutils $ apt list *distutils* Listing... Done python-distutils-extra/bionic,bionic ...

Go to advanced search