[Bug 277873] Re: cdrom upgrade requires absolute path

BryanFRitt 277873 at bugs.launchpad.net
Sun Apr 29 06:01:35 UTC 2012


I ran into this same problem when I tried to upgrade 11.10 to 12.04, same changes fixed the problem
I ended up doing something like:
commenting out the 
`UPGRADER_DIR=dists/$CODENAME/main/dist-upgrader/binary-all` line. (put a # infront of it) 
Then change the fullpath line to `fullpath=$ISOPATHGOESHERE/dists/$CODENAME/main/dist-upgrader/binary-all` replacing `$ISOPATHGOESHERE` with the full path for the mounted ISO path, cd path, or whatever it may be
(optional) comment out the `exit 1` lines... it cased the terminal to exit without leaving the errors visable
and put word `sudo` infront of the `$TMPDIR/$CODENAME --cdrom "$cddirname" $@` line
(note: don't copy the ` ` characters)

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

Title:
  cdrom upgrade requires absolute path

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

Bug description:
  If you attempt to execute the script straight off the alternate cdrom, it fails with the error message:
  [quote]
  tar: ./dists/stable/main/dist-upgrader/binary-all//intrepid.tar.gz: Cannot open: No such file or directory
  tar: Error is not recoverable: exiting now
  tar: Child returned status 2
  tar: Error exit delayed from previous errors
  Could not find the upgrade application in the archive, exiting
  [/quote]

  This can easily be fixed by copying the file onto the hard-drive, and
  removing the final slash from the "dists/stable/main/dist-upgrade
  /binary-all/" line (so it reads "dists/stable/main/dist-upgrade
  /binary-all").  Then set the cddirname variable (the following line)
  to point to the location of the cdrom drive

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




More information about the foundations-bugs mailing list