[Bullseye] downgrade python2

Kernels & Hardware, configuring network, installing services

[Bullseye] downgrade python2

Postby caminero » 2020-09-16 13:48

Hi * .
Today I run "apt upgrade" without checking properly. I got an upgrade on python2 to version 2.7.18-2
which broke latest Virtualbox (to run un kernel 5.8 ).
Now I need to downgrade from 2.7.18-2 to 2.7.17-2

Code: Select all
# apt-get install python=2.7.17-2

Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
python : PreDepends: python-minimal (= 2.7.17-2) but it is not installable
Depends: libpython-stdlib (= 2.7.17-2) but it is not installable
Depends: python2 (= 2.7.17-2) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.


Also removed the installed python2, downloaded previous one manually and tried to install to no avail .:(

Help !

Thanks in advance .
caminero
 
Posts: 12
Joined: 2010-09-25 16:25

Re: [Bullseye] downgrade python2

Postby dilberts_left_nut » 2020-09-16 14:53

Downgrading python is not really a feasible solution - every upgrade from now will be expecting the new version.

You should probably just wait for a new version of VB that supports the updated python, or do what you should have been doing all along and run stable.
AdrianTM wrote:There's no hacker in my grandma...
User avatar
dilberts_left_nut
 
Posts: 5077
Joined: 2009-10-05 07:54
Location: enzed

Re: [Bullseye] downgrade python2

Postby stevepusser » 2020-09-16 17:12

Since virtualbox is not in the testing repositories, only in Sid, that begs the question as to where you got it.

I do have VBox 6.1.14 backported to Buster and Stretch for MX Linux, and it does work with backported 5.8 kernels there. http://mxrepo.com/mx/testrepo/pool/test/v/virtualbox/

Maybe if someone asks nicely, I could update my Debian OBS repo for it, too.
MX Linux packager and developer
User avatar
stevepusser
 
Posts: 12083
Joined: 2009-10-06 05:53

Re: [Bullseye] downgrade python2

Postby stevepusser » 2020-09-16 18:24

Well, here's the rebuilt virtualbox 6.1.14 for Buster and testing. Virtualbox-ext-pack and -guest-additions-iso 6.1.14 are also in the repo.

https://build.opensuse.org/package/show ... virtualbox

The OBS automatically rebuilds a package if any of the build-depends changes, such as python2, so hopefully, it will remain compatible.
MX Linux packager and developer
User avatar
stevepusser
 
Posts: 12083
Joined: 2009-10-06 05:53

Re: [Bullseye] downgrade python2

Postby caminero » 2020-09-16 20:20

I downloaded from http://virtualbox.org

Actually, I backup'd everything and installed Buster (is the only version I dislike since potato).
I need to deliver "windows" stuff tomorrow morning.
Thanks to all for your support.
caminero
 
Posts: 12
Joined: 2010-09-25 16:25

Re: [Bullseye] downgrade python2

Postby stevepusser » 2020-09-16 20:25

Obviously, there had been changes in Bullseye since Oracle built their version, and they didn't respond to them. That's one advantage of the automatic rebuilds in the OBS.

Anyway, there's no 5.8 kernel in buster-backports yet, though we do have a couple already in the MX repos so we can test the new VBox packages with it.
MX Linux packager and developer
User avatar
stevepusser
 
Posts: 12083
Joined: 2009-10-06 05:53

Re: [Bullseye] downgrade python2

Postby caminero » 2020-09-16 20:39

@stevepusser
Next week I'll get to install new laptop (Ryzen at last !!!! ).
Which packages should I install from that repo?
http://mxrepo.com/mx/testrepo/pool/test ... _amd64.deb ?
http://mxrepo.com/mx/testrepo/pool/test ... _amd64.deb ?
I'm guessing here !
Thanks
caminero
 
Posts: 12
Joined: 2010-09-25 16:25

Re: [Bullseye] downgrade python2

Postby caminero » 2020-09-18 14:24

Can I point to that repo on /etc/apt/sources.list ?

Thanks
caminero
 
Posts: 12
Joined: 2010-09-25 16:25

Re: [Bullseye] downgrade python2

Postby Head_on_a_Stick » 2020-09-18 15:30

Black Lives Matter

Debian buster-backports ISO image: for new hardware support
User avatar
Head_on_a_Stick
 
Posts: 12650
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: [Bullseye] downgrade python2

Postby caminero » 2020-09-19 13:15

Thank you !
caminero
 
Posts: 12
Joined: 2010-09-25 16:25

Re: [Bullseye] downgrade python2

Postby stevepusser » 2020-09-19 17:35

I would use my debian testing OBS repo linked above for the new virtualbox that I just went to the trouble of updating instead, since the MX repos are not based on any Bullseye platform, and trying to use it for Bullseye is sure to lead to grief. Plus you might be confused by all the extra packages that are in the MX repos. My OBS Bullseye builds have only virtualbox related packages, and rebuild themselves if anything changes in the build-depends, which happens pretty frequently in Sid and testing.

About Ryzens, has anyone had experience with the new AMD Ryzen 7 4800H eight core laptops? It seems like there are some nice laptops coming out with this processor that would be great for building packages, and don't cost an arm and a leg. An extra discrete GPU is not necessary for building packages, either. That's in case my current heavy 2018 MSI GP63 with 2 hours battery life gives up the ghost...
MX Linux packager and developer
User avatar
stevepusser
 
Posts: 12083
Joined: 2009-10-06 05:53

Re: [Bullseye] downgrade python2

Postby caminero » 2020-09-27 03:14

All I got was a 4700u : 8 cores no smt .(hp proobok 445 G7 which I see there are out of stock)
I was hoping for a 4800u but never showed up.

You will need 4.7 kernel at least .
This laptop works fine and smooth on debian bullseye .
Compared with my old probook with intel core i5 6200, I'm in other galaxy..
caminero
 
Posts: 12
Joined: 2010-09-25 16:25

Re: [Bullseye] downgrade python2

Postby stevepusser » 2020-09-28 04:20

If those laptops come with Ryzen 7 APU graphics, I'm fairly sure you need a lot more than a 4.6 kernel. Anyway, a user did have a 4800H laptop on the MX forums, and they reported it worked well with the AHS or KDE version of MX, but they wanted to know how to install a 5.8 kernel for some more advertised improvements.

I read a review of the newer KDE Slimbook with that CPU, and the guy reported it has great performance without any overheating issues. He didn't like the light grey upon dark grey keyboard letters that much, though.
MX Linux packager and developer
User avatar
stevepusser
 
Posts: 12083
Joined: 2009-10-06 05:53


Return to System configuration

Who is online

Users browsing this forum: No registered users and 22 guests

fashionable