=== lesbraz is now known as sbraz | ||
edwin_liu | Hello , I want to install ubuntu system with cloud-init , the question is that how can I disable system upgrade when I install ubuntu system | 07:06 |
---|---|---|
edwin_liu | I find that I can not install some offline software , and the error is "Unable to correct problems, you have held broken packages" | 07:07 |
edwin_liu | "Depends: gcc-10-base (=10.3.0-1ubuntu1-20.04) but 10.5.0-1ubuntu~20.04 is to be installed" | 07:08 |
edwin_liu | so can anybody help me, Thanks. | 07:08 |
alistair60 | Hi guys has anyone managed to use cloud-init to deploy ubuntu to bare-metal and install install nvidia drivers without having to manually enroll the MOK? | 15:30 |
minimal | disable secure boot in the UEFI first? ;-) | 15:31 |
dbungert | alistair60: let's take this to #ubuntu-server, mok enrollment shouldn't be needed in that case though | 15:32 |
minimal | just tried to build cloud-init Main locally and it failed with an error in the test section, ERROR collecting tools/test_tools.py, showing a stack dump. It's an AssertionError for /usr/lib/python3.11/distutils/core.py | 19:47 |
minimal | I'm out of my depth here trying to figure out the problem. c-i 23.2.2 builds and tests fine in the same environment. | 19:47 |
falcojr | minimal: odd...can you pastebin a log? | 19:48 |
minimal | yeah, one sec | 19:48 |
minimal | https://pastebin.com/raw/J2pViF2i | 19:52 |
minimal | I see that integration tests need pytest<=7.3.1 (whereas I'm on 7.4.0) but I'm not running integration tests | 20:02 |
minimal | looks like pytest 7.4.0 contains a fix for #11104 which was the integration-related problem hit | 20:21 |
falcojr | weird, looks like setuptools is broken, but I have no idea | 20:30 |
minimal | I see there were some recent setuptools related changes in git main | 20:31 |
minimal | let me try building from a slightly older version of git main | 20:32 |
minimal | falcojr: so a version of git master from 2 weeks ago works fine (some of my own tests fail but that's unrelated) | 21:05 |
falcojr | minimal: I can reproduce it now. I'll figure it out | 21:10 |
falcojr | minimal: See if https://github.com/canonical/cloud-init/pull/4315 works for you | 21:16 |
-ubottu:#cloud-init- Pull 4315 in canonical/cloud-init "Fix test_tools.py collection" [Open] | 21:16 | |
minimal | ok, I'll try that, thanks | 21:46 |
=== dalurka_ is now known as dalurka | ||
minimal | falcojr: nope, that hasn't made any difference | 23:12 |
falcojr | minimal: what version of python? Using tox? If not, whats your pip freeze show? | 23:13 |
minimal | Python 3.11.4 | 23:14 |
minimal | python and pytest are coming from the distro packages | 23:16 |
falcojr | ahh, 3.11 does it for me | 23:16 |
minimal | tox is 4.6.4 | 23:22 |
minimal | though originally I'd forgotten to install distro packaged tox | 23:23 |
falcojr | minimal: try the PR now? | 23:25 |
falcojr | unfortunately, one of those I have no idea why this changed anything | 23:26 |
falcojr | it was happening on import of setuptools, so there's likely something in how pytest is running things or some setuptools state doing weird things | 23:27 |
minimal | falcojr: that's it now, some failures (to be expected as I'm work on stuff) | 23:49 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!