自由狼-台风 发表于 2009-2-25 14:32:49

MagicLinux-2.0手工升级?

对于能用”./configure“、”make“、”make install“安装少量软件的用户来说,手工升级MagicLinux-2.0是否现实?

有可供升级的Glibc等RPM包吗?还是需要自行下载编译安装?

为了在升级失败时恢复系统至升级前的状态,需要作哪些准备?

如果用非RPM方式升级成功,系统的RPM体系会被破坏吗?

自由狼-台风 发表于 2009-2-25 14:48:06

有人试验过MagicLinux-2.0在不升级内核的情况下能升级到哪个版本的Glibc吗?

自由狼-台风 发表于 2009-2-25 14:59:36

找到Glibc的RPM。但从查到的资料上看,RPM方式需要好几个包。具体需要哪些包呢?

自由狼-台风 发表于 2009-2-25 15:19:44


# rpm -Uvh glibc-2.9.90-7.i686.rpm
error: Failed dependencies:
      glibc-common = 2.9.90-7 is needed by glibc-2.9.90-7.i686
      glibc > 2.3.6 conflicts with glibc-common-2.3.6-1mgc.i386
      glibc = 2.3.6-1mgc is needed by (installed) glibc-headers-2.3.6-1mgc.i386
      glibc = 2.3.6-1mgc is needed by (installed) glibc-devel-2.3.6-1mgc.i386
      glibc = 2.3.6-1mgc is needed by (installed) glibc-utils-2.3.6-1mgc.i386
#
这行“glibc > 2.3.6 conflicts with glibc-common-2.3.6-1mgc.i386”是什么意思?

自由狼-台风 发表于 2009-2-25 15:27:39


# rpm -Uvh glibc-common-2.9.90-7.i586.rpm
error: Failed dependencies:
      glibc = 2.9.90-7 is needed by glibc-common-2.9.90-7.i586
      glibc-common = 2.3.6-1mgc is needed by (installed) glibc-2.3.6-1mgc.i686
# rpm -Uvh glibc-headers-2.9.90-7.i586.rpm
error: Failed dependencies:
      glibc = 2.9.90-7 is needed by glibc-headers-2.9.90-7.i586
      glibc-headers = 2.3.6-1mgc is needed by (installed) glibc-devel-2.3.6-1mgc.i386
# rpm -q glibc-common
glibc-common-2.3.6-1mgc
# rpm -q glibc-headers
glibc-headers-2.3.6-1mgc
#
这又是怎么回事?“glibc-common”和“glibc-headers”都装了啊。

自由狼-台风 发表于 2009-2-25 15:31:30

有人试验过“--nodeps”吗?什么后果?
我已经把系统1换成EverestLinux-0.6了,如果现在用系统2的MagicLinux-2.0试验可能会瘫痪。如果想试验,还得先用备份把系统1恢复为MagicLinux-2.0。

亦幻 发表于 2009-2-25 17:29:40

本来想尝试的,就是因为太多问题,索性就下了个dvd

jiangtao9999 发表于 2009-2-25 17:42:11

因为依赖关系,需要同时升级相关的包。
一般就是放在同一个目录里
rpm -Uvh *

自由狼-台风 发表于 2009-2-25 17:44:50

原帖由 jiangtao9999 于 2009-2-25 17:42 发表 http://www.linuxfans.org/bbs/images/common/back.gif
因为依赖关系,需要同时升级相关的包。
一般就是放在同一个目录里
rpm -Uvh *
具体需要哪几个包呢?升的时候需要“--nodeps”吗?有什么已知的良好或不良后果吗?升完还降得回来吗?

haulm 发表于 2009-2-25 20:13:50

MagicLinux-2.0就好比现在的win98 winme一样,离现实的软件应用差的太远了,旧的系统要被淘汰掉了。

自由狼-台风 发表于 2009-2-25 20:33:34

原帖由 haulm 于 2009-2-25 20:13 发表 http://www.linuxfans.org/bbs/images/common/back.gif
MagicLinux-2.0就好比现在的win98 winme一样,离现实的软件应用差的太远了,旧的系统要被淘汰掉了。
不过在有更满意的发行版之前,还是得先用下去啊↑如果能通过手工升级的办法对付几个月,也不是不可以……

题外,因为某些目的,我仍然保留着Win98。

自由狼-台风 发表于 2009-2-25 20:34:27

有人有成功升级ML2.0的先例吗?

sejishikong 发表于 2009-2-25 22:45:07

因为2.1和2.0的底层库变化不大,所以我想应该可以正常升级,但是你用的那个glibc-2.9.90肯定不行.

你用置顶贴里的兼容升级方案试试,下载那19个rpm,用rpm -Uvh *.rpm安装,如果有冲突或者依赖提示,你发上来我看看.

自由狼-台风 发表于 2009-2-25 22:52:48

谢谢。

不过如果我用 http://www.ibm.com/developerworks/cn/linux/l-cn-glibc-upd/index.html 那样的办法升级Glibc甚至GCC,会破坏原系统的RPM体系吗?

自由狼-台风 发表于 2009-2-26 02:58:49


# ls -l
total 60496
-rw-rw-r--    1 typhoontyphoon    2649182月 26 02:33 apr-1.3.2-1mgc.i686.rpm
-rw-rw-r--    1 typhoontyphoon    9893882月 26 02:33 apr-devel-1.3.2-1mgc.i686.rpm
-rw-rw-r--    1 typhoontyphoon   17965812月 26 02:34 binutils-2.18.50.0.6-3mgc.i686.rpm
-rw-rw-r--    1 typhoontyphoon   23141632月 26 02:35 cpp-4.2.4-2mgc.i686.rpm
-rw-rw-r--    1 typhoontyphoon   57636782月 26 02:37 gcc-4.2.4-2mgc.i686.rpm
-rw-rw-r--    1 typhoontyphoon   30154152月 26 02:36 gcc-c++-4.2.4-2mgc.i686.rpm
-rw-rw-r--    1 typhoontyphoon119721542月 26 02:42 glibc-2.7-2mgc.i686.rpm
-rw-rw-r--    1 typhoontyphoon219844552月 26 02:45 glibc-common-2.7-2mgc.i686.rpm
-rw-rw-r--    1 typhoontyphoon   21492452月 26 02:50 glibc-devel-2.7-2mgc.i686.rpm
-rw-rw-r--    1 typhoontyphoon    6224832月 26 02:50 glibc-headers-2.7-2mgc.i686.rpm
-rw-rw-r--    1 typhoontyphoon    1466482月 26 02:50 glibc-utils-2.7-2mgc.i686.rpm
-rw-rw-r--    1 typhoontyphoon   403832月 26 02:50 libgcc-4.2.4-2mgc.i686.rpm
-rw-rw-r--    1 typhoontyphoon   564162月 26 02:50 libgomp-4.2.4-2mgc.i686.rpm
-rw-rw-r--    1 typhoontyphoon    3031952月 26 02:51 libstdc++-4.2.4-2mgc.i686.rpm
-rw-rw-r--    1 typhoontyphoon   86135992月 26 02:53 libstdc++-devel-4.2.4-2mgc.i686.rpm
-rw-rw-r--    1 typhoontyphoon    5168852月 26 02:51 libtool-1.5.26-4mgc.i686.rpm
-rw-rw-r--    1 typhoontyphoon   239632月 26 02:51 libtool-ltdl-1.5.26-4mgc.i686.rpm
-rw-rw-r--    1 typhoontyphoon   196362月 26 02:51 libtool-ltdl-devel-1.5.26-4mgc.i686.rpm
-rw-rw-r--    1 typhoontyphoon    3101812月 26 02:51 pango-1.22.4-1mgc.i686.rpm
-rw-rw-r--    1 typhoontyphoon    2393752月 26 02:51 pango-devel-1.22.4-1mgc.i686.rpm
-rw-rw-r--    1 typhoontyphoon    5533822月 26 02:52 tzdata-2008e-2mgc.noarch.rpm
#rpm -Uvh *.rpm
error: Failed dependencies:
      gdb < 6.3.0.0-1.111 conflicts with glibc-2.7-2mgc.i686
      cairo >= 1.8.0 is needed by pango-1.22.4-1mgc.i686
      freetype >= 2.3.7 is needed by pango-1.22.4-1mgc.i686
      glib2 >= 2.18.1-1mgc is needed by pango-1.22.4-1mgc.i686
      libX11 is needed by pango-1.22.4-1mgc.i686
      libXext is needed by pango-1.22.4-1mgc.i686
      libXrender is needed by pango-1.22.4-1mgc.i686
      libcairo.so.2 is needed by pango-1.22.4-1mgc.i686
      cairo-devel >= 1.8.0 is needed by pango-devel-1.22.4-1mgc.i686
      fontconfig-devel >= 2.6.0 is needed by pango-devel-1.22.4-1mgc.i686
      freetype-devel >= 2.3.7 is needed by pango-devel-1.22.4-1mgc.i686
      glib2-devel >= 2.18.1-1mgc is needed by pango-devel-1.22.4-1mgc.i686
      libX11-devel is needed by pango-devel-1.22.4-1mgc.i686
      libXext-devel is needed by pango-devel-1.22.4-1mgc.i686
      libXrender-devel is needed by pango-devel-1.22.4-1mgc.i686
      libcairo.so.2 is needed by pango-devel-1.22.4-1mgc.i686
#rpm -Uvh apr-1.3.2-1mgc.i686.rpm
error: Failed dependencies:
      libpthread.so.0(GLIBC_2.4) is needed by apr-1.3.2-1mgc.i686
      apr = 1.2.2-2mgc is needed by (installed) apr-devel-1.2.2-2mgc.i686
# rpm -Uvh binutils-2.18.50.0.6-3mgc.i686.rpm
error: Failed dependencies:
      gcc-c++ < 4.0.0 conflicts with binutils-2.18.50.0.6-3mgc.i686
# rpm -Uvh glibc-2.7-2mgc.i686.rpm
error: Failed dependencies:
      glibc-common = 2.7-2mgc is needed by glibc-2.7-2mgc.i686
      gdb < 6.3.0.0-1.111 conflicts with glibc-2.7-2mgc.i686
      glibc > 2.3.6 conflicts with glibc-common-2.3.6-1mgc.i386
      glibc = 2.3.6-1mgc is needed by (installed) glibc-headers-2.3.6-1mgc.i386
      glibc = 2.3.6-1mgc is needed by (installed) glibc-devel-2.3.6-1mgc.i386
      glibc = 2.3.6-1mgc is needed by (installed) glibc-utils-2.3.6-1mgc.i386
# rpm -Uvh glibc-common-2.7-2mgc.i686.rpm
error: Failed dependencies:
      glibc < 2.7 conflicts with glibc-common-2.7-2mgc.i686
      glibc-common = 2.3.6-1mgc is needed by (installed) glibc-2.3.6-1mgc.i686
# rpm -Uvh glibc-devel-2.7-2mgc.i686.rpm
error: Failed dependencies:
      glibc = 2.7-2mgc is needed by glibc-devel-2.7-2mgc.i686
      glibc-headers = 2.7-2mgc is needed by glibc-devel-2.7-2mgc.i686
# rpm -Uvh glibc-headers-2.7-2mgc.i686.rpm
error: Failed dependencies:
      glibc = 2.7-2mgc is needed by glibc-headers-2.7-2mgc.i686
      glibc-headers = 2.3.6-1mgc is needed by (installed) glibc-devel-2.3.6-1mgc.i386
# rpm -Uvh glibc-utils-2.7-2mgc.i686.rpm
error: Failed dependencies:
      glibc = 2.7-2mgc is needed by glibc-utils-2.7-2mgc.i686
# rpm -Uvh glibc-*.i686.rpm
error: Failed dependencies:
      gdb < 6.3.0.0-1.111 conflicts with glibc-2.7-2mgc.i686
#


[ 本帖最后由 自由狼-台风 于 2009-2-26 03:01 编辑 ]
页: [1] 2 3
查看完整版本: MagicLinux-2.0手工升级?