PDA

View Full Version : [ubuntu] upgrade 8.04 to 8.10, fail



xjspace
November 18th, 2008, 05:01 PM
1.sudo mkdir /media/cdrom0
2.sudo mount -t iso9660 -o loop ~/Desktop/ubuntu-8.10-alternate-i386.iso /media/cdrom0/
3.sudo apt-cdrom -m -d /media/cdrom0 add
4.sudo apt-get update
5.sudo /media/cdrom/cdromupgrade
step 3
x-desktop:~$ sudo apt-cdrom -m -d /media/cdrom0 add
[sudo] password for x:
现把 /media/cdrom0/ 作为了 CD-ROM 的挂载点
正在鉴别.. [789f0853e2eebf2d7df1c1d361e2f4df-2]
正在光盘中查找索引文件..
Found 0 package indexes, 0 source indexes, 0 translation indexes and 1 signatures
E: Unable to locate any package files, perhaps this is not a Debian Disc
upgrades fail
check
md5sum is ok (it is right)

pastalavista
November 18th, 2008, 05:45 PM
bootable cd's can't be upgraded. you have to do an actual install and then make a new .iso of the installation

edit:
never mind. I didn't understand what you were doing. If you are using 8.04 and load a different Ubuntu installation disk, it should ask if you want to add it as a repository and then add it to the software sources. In Synaptic, be sure the software sources include the CD ROM (check the box).

then try,


sudo aptitude dist-upgrade

I've been told that doesn't work any more, but that was how I upgraded and it worked perfectly for me.

xjspace
November 19th, 2008, 09:25 AM
Thanks
After I go home, tries..............

Partyboi2
November 19th, 2008, 09:33 AM
If you are trying to upgrade using the alternate cd you can stick the cd in the cdrom and in a terminal type

gksu "sh /cdrom/cdromupgrade"

xjspace
November 19th, 2008, 04:11 PM
1.wa.
sudo apt-cdrom -m -d /media/cdrom0 add


添加光盘失败

添加光盘时出错,升级中止。如果它是一个可用的 Ubuntu 光盘,那么请报告本错误。

错误消息是:
'Unable to locate any package files, perhaps this is not a Ubuntu Disc or the wrong architecture?'



2.alt +f2
gksu "sh /cdrom/cdromupgrade"


添加光盘失败

添加光盘时出错,升级中止。如果它是一个可用的 Ubuntu 光盘,那么请报告本错误。

错误消息是:
'Unable to locate any package files, perhaps this is not a Ubuntu Disc or the wrong architecture?'

method1 and method2 is Same wrong.



Screenshot.png

xjspace
November 20th, 2008, 04:31 PM
8.04 to 8.10, ĻisoĻ upgrade Method" iso local please help me !

Partyboi2
November 20th, 2008, 09:43 PM
What is the name of the iso you downloaded?

xjspace
November 21st, 2008, 03:48 PM
download name :ubuntu-8.10-alternate-i386.iso