Upon inserting Ubuntu liveCDs older than current install, it still asks to upgrade
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
update-notifier (Ubuntu) |
Fix Released
|
Low
|
Andreas Altaïr Redmer |
Bug Description
[Impact]
Just a little problem, with every livecd inserted it propose to upgrade, although it is a release older than the installed.
People might accedentally start an "upgrade" with an older version medium. Especially if a user has many images around an burns/mount unintentionally an older version, and then gets offered an update but will receive a downgrade.
[Test Case]
mount a cd/usb stick with an older ubuntu version (I used alternative install CD) and see how it offers an upgrade from that media.
After applying the change in the branch to the file /usr/lib/
[Regression Potential]
The fix was developed by 3 developers and consists only of 4 code lines. So it should be free of errors now.
If there is an undiscovered bug in that code now, it will cause, that no update dialog comes up anymore, even if a media with a newer Ubuntu Version is mounted.
[Other Info]
Another way to test the fix is to execute the script directly by
/usr/lib/
and then check the return value of that script with
echo $?
1 = CD with packages
2 = Ubuntu CD with newer version that the currently installed
After the application of the patch it returns only 2 if the inserted media is indeed newer.
Related branches
- Dmitry Shachnev: Approve
- Andreas Altaïr Redmer (community): Needs Resubmitting
- Sebastien Bacher: Needs Fixing
- Brian Murray: Disapprove
- Ubuntu branches: Pending requested
-
Diff: 43 lines (+14/-2)2 files modifieddata/apt-cdrom-check (+8/-2)
debian/changelog (+6/-0)
- Brian Murray: Approve
-
Diff: 33 lines (+14/-1)2 files modifieddata/apt-cdrom-check (+8/-1)
debian/changelog (+6/-0)
- Dennis Kaarsemaker: Pending requested
- Diff: 0 lines
description: | updated |
Changed in update-notifier (Ubuntu): | |
status: | New → Incomplete |
Changed in update-notifier (Ubuntu): | |
importance: | Undecided → Low |
summary: |
- Upgrade to older releases ? + Upgrade to older releases |
summary: |
- Upgrade to older releases + Upon inserting Ubuntu liveCDs older than current install, it still asks + to upgrade |
Changed in update-notifier (Ubuntu): | |
assignee: | nobody → Paul Smith (pdereksmith) |
tags: | added: patch |
tags: | removed: bitesize |
Changed in update-notifier (Ubuntu): | |
status: | In Progress → Fix Committed |
description: | updated |
Can you post a video or image(s)?