Yesterday we had to upgrade a Ubuntu Linux server from a really old version of Ubuntu to the latest and greatest version of Ubuntu. When attempting to run the upgrade from the command line from a file on a Ubuntu CD we were getting an error which is described in more detail below along with what can be done to resolve the issue.

Ubuntu Upgrade Error Using The cdromupgrade Script:

root@bliss:/media/cdrom1# sh cdromupgrade
Could not find the upgrade application archive, exiting

Once I received this error I looked at the source of the cdromupgrade shell script and realized that the entire path needs to be entered for the shell script to work. So instead of just trying “./cdromupgrade” or “sh cdromupgrade” you should enter the full path as shown in the below example. The cdrom01 will need to be changed to whatever drive the Ubuntu CD is in.

Use Full Path To Launch cdromupgrade:

root@bliss:/media/cdrom1# /media/cdrom01/cdromupgrade

The upgrade script should work properly with the full path.

Beginning Ubuntu Linux (Paperback)

By (author): Keir Thomas, Andy Channelle

List Price: $39.99 USD
New From: $13.49 USD In Stock
Used from: $3.42 USD In Stock

The Official Ubuntu Book (5th Edition) (Paperback)

By (author): Benjamin Hill, Matthew Helmke, Corey Burger

List Price: $34.99 USD
New From: $13.00 USD In Stock
Used from: $0.31 USD In Stock

Tags: , , , , , , , ,
Leave a Reply

*Type the letter/number combination in the abvoe field before clicking submit.