On Sun, Jun 02, 2019 at 01:44:26AM +0200, Martin Olsson wrote:
> I login and create this script /root/foo.sh: ('bc' can be replaced
> with any package)
>
> #!/bin/sh
> timeout 1m apt-get -y -qq install bc
>
> I run 'chmod 755 /root/foo.sh' and then execute it:
> # /root/foo.sh
> Selecting p
Update:
5)
The problem only affects 'apt-get install', not 'apt-get update'.
6)
A workaround is to use --foreground
timeout --foreground 1m apt-get -y install bc
This will finish successfully without any delay or strange exit-code.
However, this is a workaround. 'apt-get install' will launch ch
Package: apt
Version: 1.4.9
Hi!
I've found a reproduceable bug when using 'apt-get' together with
'timeout' within a shell.
How to reproduce:
I install a system using the debian-9.9.0-amd64-xfce-CD-1.iso.
I don't install anything at all except a ssh-server (not even any
sys-utils, just the base
3 matches
Mail list logo