Upgrade with non-interactive frontend does not deal with conffile prompts & dpkg --configure -a on recover doesn't too
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Landscape Server |
Invalid
|
Medium
|
Free Ekanayaka | ||
update-manager (Ubuntu) |
Fix Released
|
High
|
Michael Vogt |
Bug Description
Doing a karmic -> lucid release upgrade via Landscape, got this in the /var/log/
(...)
2010-03-12 15:18:33,911 DEBUG quirks: running StartUpgrade
2010-03-12 15:18:33,917 DEBUG check if patch '_usr_sbin_
2010-03-12 15:18:33,918 DEBUG skipping 'README' (no '.')
2010-03-12 15:18:33,918 DEBUG check if patch '_usr_sbin_
2010-03-12 15:18:33,965 DEBUG killing update-notifier
2010-03-12 15:18:34,027 DEBUG killing kblueplugd kbluetooth4
2010-03-12 15:18:34,046 DEBUG killing gnome-screensaver
2010-03-12 15:18:34,062 INFO cache.commit()
2010-03-12 15:18:34,063 DEBUG failed to SystemUnLock() (E:Not locked)
2010-03-12 15:18:34,607 DEBUG doing a pty.fork()
2010-03-12 15:18:34,634 DEBUG pid is: 1309
2010-03-12 15:28:44,104 WARNING got a conffile-prompt from dpkg for file: '/etc/bash.bashrc'
That's actually the last line of that log file. In the process list it seems dpkg it stuck now:
877 ? S 0:03 /usr/bin/python /usr/bin/
879 ? S 0:05 \_ /usr/bin/python /usr/bin/
880 ? S 0:05 \_ /usr/bin/python /usr/bin/
881 ? S 0:02 \_ /usr/bin/python /usr/bin/
1054 ? Ssl 0:01 \_ /usr/bin/python /usr/bin/
1060 ? S 0:20 \_ /usr/bin/python /var/lib/
1309 pts/1 Ss+ 0:01 \_ /usr/bin/python /var/lib/
10051 pts/2 Ss+ 0:00 \_ /usr/bin/dpkg --force-overwrite --force-overwrite --status-fd 25 --configure bash
Changed in landscape: | |
milestone: | none → 1.5.0 |
importance: | Undecided → Medium |
assignee: | nobody → Free Ekanayaka (free.ekanayaka) |
Changed in update-manager (Ubuntu): | |
status: | New → Confirmed |
importance: | Undecided → Medium |
assignee: | nobody → Michael Vogt (mvo) |
milestone: | none → ubuntu-10.04-beta-1 |
summary: |
- Release upgrade driven by landscape stopped at a prompt + Upgrade with non-interactive frontend does not deal with conffile + prompts & dpkg --configure -a on recover doesn't too |
Changed in landscape: | |
status: | New → Invalid |
visibility: | private → public |
Changed in update-manager (Ubuntu): | |
status: | Confirmed → In Progress |
importance: | Medium → High |
Changed in update-manager (Ubuntu): | |
status: | In Progress → Fix Committed |
We probably need a way to pass --force-confold to dpkg. It's what smart does.