[Bug 887650] Re: Upon inserting Ubuntu liveCDs older than current install, it still asks to upgrade

Andreas Altaïr Redmer 887650 at bugs.launchpad.net
Mon Mar 18 14:23:42 UTC 2013


** Description changed:

- Hello
- Just a little problem, with every livecd inserted it propose to upgrade, although it is a release older than the installed.
- Thanks
- Fabio
- ---
- Ubuntu Bug Squad volunteer triager
- http://wiki.ubuntu.com/BugSquad
+ [Impact]
  
- ProblemType: BugDistroRelease: Ubuntu 11.10
- Package: update-notifier 0.117ubuntu3.1
- ProcVersionSignature: Ubuntu 3.0.0-12.20-generic 3.0.4
- Uname: Linux 3.0.0-12-generic x86_64
- ApportVersion: 1.23-0ubuntu4
- Architecture: amd64
- Date: Tue Nov  8 17:34:46 2011
- ExecutablePath: /usr/bin/update-notifierInstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111012)SourcePackage: update-notifier
- UpgradeStatus: No upgrade log present (probably fresh install)
+ 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/update-
+ notifier/apt-cdrom-check the error is fixed.
+ 
+ [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/update-notifier/apt-cdrom-check /media/path/to/the/ubuntu/cd/or/usb/media
+ 
+ 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.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to update-notifier in Ubuntu.
https://bugs.launchpad.net/bugs/887650

Title:
  Upon inserting Ubuntu liveCDs older than current install, it still
  asks to upgrade

Status in “update-notifier” package in Ubuntu:
  Fix Released

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/update-
  notifier/apt-cdrom-check the error is fixed.

  [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/update-notifier/apt-cdrom-check /media/path/to/the/ubuntu/cd/or/usb/media

  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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/update-notifier/+bug/887650/+subscriptions




More information about the foundations-bugs mailing list