View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0004927 | Kali Linux | Kali Package Bug | public | 2018-08-24 20:14 | 2018-08-25 07:35 |
| Reporter | doteater | Assigned To | rhertzog | ||
| Priority | normal | Severity | minor | Reproducibility | have not tried |
| Status | closed | Resolution | no change required | ||
| Summary | 0004927: macchanger requires user interaction to update, even with "-y" | ||||
| Description | I want all packages to be upgraded upon boot, so I have a script that does "apt-get update" and "apt-get -y upgrade". However, the upgrade never completes. When I run the upgrade automatically, it becomes clear this is because debconf is asking whether macchanger should be run automatically. Is this a bug? I expected "-y" to be safe to run unattended. Please let me know if I can provide any more info. ps auxww | grep -i 'apt|mac|dpkg'root 1924 0.2 1.5 121032 78104 pts/1 S+ 13:01 0:01 apt-get -y upgrade dpkg --list macchangerDesired=Unknown/Install/Remove/Purge/Hold uname -aLinux a 4.13.0-kali1-amd64 0000001 SMP Debian 4.13.10-1kali2 (2017-11-08) x86_64 GNU/Linux | ||||
|
Ran into other packages that do this, and running: DEBIAN_FRONTEND=noninteractive apt-get -y upgrade...seems to do what I want. Feel free to close if I was mistaken and this was not a bug. |
|
|
Hi, you definitely were mistaken. And there are packages like unattended-upgrades that are specifically meant to address this problem (though they are designed to handle security updates and not updates to a rolling distribution). Also see https://debian-handbook.info/browse/stable/sect.automatic-upgrades.html#id-1.9.17.9 |
|
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2018-08-24 20:14 | doteater | New Issue | |
| 2018-08-24 20:52 | doteater | Note Added: 0009521 | |
| 2018-08-25 07:35 | rhertzog | Assigned To | => rhertzog |
| 2018-08-25 07:35 | rhertzog | Status | new => closed |
| 2018-08-25 07:35 | rhertzog | Resolution | open => no change required |
| 2018-08-25 07:35 | rhertzog | Note Added: 0009523 |