Bug#1056556: Debugging techniques

2023-12-04 Thread Dima Kogan
Hi Johannes Schauer Marin Rodrigues writes: > By default, mmdebstrap does not print the output of the commands it runs. It > does that though when something goes wrong. So if "apt install" fails, then > you > get its output. In your case, you missed a "note" (not even a warning) in the > "apt

Bug#1056556: Debugging techniques

2023-11-30 Thread Johannes Schauer Marin Rodrigues
Hi, Quoting Dima Kogan (2023-12-01 05:11:19) > Johannes Schauer Marin Rodrigues writes: > >> Would that work, though? > > Yes. Did you try it and it did not work? What was the error message? > > No :) I wanted to read about what it did first. I tried it just now, > though. With the --included

Bug#1056556: Debugging techniques

2023-11-30 Thread Dima Kogan
Johannes Schauer Marin Rodrigues writes: >> > mmdebstrap ... --variant=apt --chrooted-customize-hook=bash unstable >> > /dev/null >> >> Would that work, though? > Yes. Did you try it and it did not work? What was the error message? No :) I wanted to read about what it did first. I tried it

Bug#1056556: Debugging techniques

2023-11-28 Thread Johannes Schauer Marin Rodrigues
Hi, Quoting Dima Kogan (2023-11-28 17:25:01) > I sorta expected that there was extra complexity here that made > debugging difficult. It's unfortunate. to be fair, I have yet to see a problem involving apt pinning that was not difficult. If the wrong package that got installed did not make you

Bug#1056556: Debugging techniques

2023-11-28 Thread Dima Kogan
Hi josch. I sorta expected that there was extra complexity here that made debugging difficult. It's unfortunate. > mmdebstrap ... --variant=apt --chrooted-customize-hook=bash unstable /dev/null Would that work, though? --chrooted-customize-hook isn't in the manpage --customize-hook runs

Bug#1056556: Debugging techniques

2023-11-27 Thread Johannes Schauer Marin Rodrigues
Hi Dima, qick top post as I'm about to head out for work and I don't have access to my Debian mail there. I'll write you a more complete reply in ~12 hours when I'm back. Until then, the short answer is: you cannot re-run that apt-get in a shell because of the file descriptors that are passed,

Bug#1056556: Debugging techniques

2023-11-27 Thread Dima Kogan
Hi. I tried to do that apt pinning today, as you suggested. It still fails in the same way as before: $ mmdebstrap I: installing remaining packages inside the chroot... Some packages could not be installed. This may mean that you have requested an impossible situation