l-m-c & hwpack fails / tries to rm /proc
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Linaro Image Tools |
Fix Released
|
Medium
|
Guilherme Salgado | ||
linaro-image-tools (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Maverick |
Fix Released
|
Undecided
|
Unassigned | ||
Natty |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Using l-m-c from today (9/20)
./linaro-
I see...
sudo sfdisk -l:
Disk /dev/sda: 19457 cylinders, 255 heads, 63 sectors/track
Disk /dev/sdb: 481 cylinders, 255 heads, 63 sectors/track
Disk /dev/sdc: 966 cylinders, 255 heads, 63 sectors/track
mount:
/dev/sda1 on / type ext4 (rw,errors=
Are you 100% sure, on selecting [/dev/sdc] (y/n)? y
Unpacking hardware pack ...Done
W: Duplicate sources.list entry http://
W: Duplicate sources.list entry http://
W: Duplicate sources.list entry http://
W: You may want to run apt-get update to correct these problems
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
linux-
E: Broken packages
Cleaning up ...W: Duplicate sources.list entry http://
W: Duplicate sources.list entry http://
W: Duplicate sources.list entry http://
W: You may want to run apt-get update to correct these problems
Done
rm: cannot remove `/tmp/tmp.
rm: cannot remove `/tmp/tmp.
rm: cannot remove `/tmp/tmp.
rm: cannot remove `/tmp/tmp.
rm: cannot remove `/tmp/tmp.
rm: cannot remove `/tmp/tmp.
rm: cannot remove `/tmp/tmp.
rm: cannot remove `/tmp/tmp.
rm: cannot remove `/tmp/tmp.
rm: cannot remove `/tmp/tmp.
.....
There's a much longer list of proc/* entries following but no other messages from l-m-c besides of the form "trying to rm something in tmp/tmp.
Granted the error about broken packages is there, but the point of this bug report is we probably should fail a little more gracefully.
Related branches
- James Westby (community): Approve
-
Diff: 38 lines (+9/-3)1 file modifiedlinaro-media-create (+9/-3)
Changed in linaro-image-tools: | |
status: | Triaged → Fix Committed |
Changed in linaro-image-tools (Ubuntu Maverick): | |
status: | New → In Progress |
Changed in linaro-image-tools (Ubuntu Natty): | |
status: | New → Fix Committed |
Changed in linaro-image-tools: | |
status: | Fix Committed → Fix Released |
Changed in linaro-image-tools (Ubuntu Maverick): | |
status: | Fix Released → Fix Committed |
Changed in linaro-image-tools (Ubuntu Natty): | |
status: | Fix Committed → Fix Released |
This happens because when the call to linaro- hwpack- install fails, l-m-c will try to remove the temp chroot without first unmounting its /proc