Re: [CentOS] CentOS5.5 cannot boot

2010-07-31 Thread cjzjm100
I hava not CentOS's CD,but i had made a live-usb of debian5,when i entered its 
rescue mode ,i found it need a CD,then i entered a shell ,but i cannot find the 
fs,i donnot know how i can mount the fs,because it hadnot mount command,any 
idea?
I find CentOS had some problem:sometime there is a fs error,all icons cannot 
load ,then i tried log in the shell,it said there was fs error,however i 
rebooted the system ,everything was ok!
In all those problem,i had not do any bad thing to the system.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Centos5.5 cannot boot

2010-07-29 Thread cjzjm100
Hi,everybody!
When the system boot,there is a problem:
/etc/rc.d/init.d/functions:line 19  /sbin/consoletype:cannot execute binary file
/etc/profile.d/lang.sh:line 46: /sbin/consoletype:cannot execute binary file
it cannot boot! How can i fix it?
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Devhelp had problem

2010-06-30 Thread cjzjm100
when i opened Devhelp,there was a segment err even i had reinstall it.
How can i fix it?
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] how to download the source of kdebase

2010-03-08 Thread cjzjm100
Hi,man!
I want to see the source code of konqueror and some of softwares in CentOS,so i 
tried to down the SRPM,but i found that all in kdebase were patch files.
Where can i download the full source code.
By the way i had tried this:yumdownloader --source kdebase,but it could not 
find kdebase.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] xen kernel can't boot

2009-05-21 Thread cjzjm100
I had installed the kernel-xen-2.6.18-128.1.10.el5 .However ,when i chosed 
that,the system could't boot.It just always reboot!When i chosed the 
kernel-2.6.18-128.1.10.el5,there was nothing wrong!
What's the problem?

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] problem of update by yum

2009-05-15 Thread cjzjm100
I had updated by yum,however alway received the same result.
The result was:
filelists.xml.gz | 1.0 MB 00:15 
Traceback (most recent call last):
  File /usr/bin/yum, line 29, in ?
yummain.user_main(sys.argv[1:], exit_code=True)
  File /usr/share/yum-cli/yummain.py, line 229, in user_main
errcode = main(args)
  File /usr/share/yum-cli/yummain.py, line 145, in main
(result, resultmsgs) = base.buildTransaction() 
  File /usr/lib/python2.4/site-packages/yum/__init__.py, line 647, in 
buildTransaction
(rescode, restring) = self.resolveDeps()
  File /usr/lib/python2.4/site-packages/yum/depsolve.py, line 704, in 
resolveDeps
for po, dep in self._checkFileRequires():
  File /usr/lib/python2.4/site-packages/yum/depsolve.py, line 939, in 
_checkFileRequires
if not self.tsInfo.getOldProvides(filename) and not 
self.tsInfo.getNewProvides(filename):
  File /usr/lib/python2.4/site-packages/yum/transactioninfo.py, line 414, in 
getNewProvides
for pkg, hits in self.pkgSack.getProvides(name, flag, version).iteritems():
  File /usr/lib/python2.4/site-packages/yum/packageSack.py, line 300, in 
getProvides
return self._computeAggregateDictResult(getProvides, name, flags, version)
  File /usr/lib/python2.4/site-packages/yum/packageSack.py, line 470, in 
_computeAggregateDictResult
sackResult = apply(method, args)
  File /usr/lib/python2.4/site-packages/yum/sqlitesack.py, line 861, in 
getProvides
return self._search(provides, name, flags, version)
  File /usr/lib/python2.4/site-packages/yum/sqlitesack.py, line 43, in newFunc
return func(*args, **kwargs)
  File /usr/lib/python2.4/site-packages/yum/sqlitesack.py, line 837, in 
_search
for pkg in self.searchFiles(name, strict=True):
  File /usr/lib/python2.4/site-packages/yum/sqlitesack.py, line 43, in newFunc
return func(*args, **kwargs)
  File /usr/lib/python2.4/site-packages/yum/sqlitesack.py, line 586, in 
searchFiles
self._sql_pkgKey2po(rep, cur, pkgs)
  File /usr/lib/python2.4/site-packages/yum/sqlitesack.py, line 470, in 
_sql_pkgKey2po
pkg = self._packageByKey(repo, ob['pkgKey'])
  File /usr/lib/python2.4/site-packages/yum/sqlitesack.py, line 413, in 
_packageByKey
po = self.pc(repo, cur.fetchone())
  File /usr/lib/python2.4/site-packages/yum/sqlitesack.py, line 68, in 
__init__
self._read_db_obj(db_obj)
  File /usr/lib/python2.4/site-packages/yum/sqlitesack.py, line 94, in 
_read_db_obj
setattr(self, item, _share_data(db_obj[item]))
TypeError: unsubscriptable object
What's the problem?___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] will it break the system files?

2009-01-05 Thread cjzjm100
Hi,all,i seted the encoding of vim in order to display chinese
well.Because when i opened source files programed by myslfe,the chinese
can't display well.My locale is zh_CN.UTF-8,here is the contents of .vimrc:
let termencoding=encoding
set fileencodings=utf-8,gbk,ucs-bom,cp936
After this ,will it break the system files when i edit the system files
by vim?


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] problem of apt

2008-12-19 Thread cjzjm100
Hi all !
Today the apt had a problem,here is the result:
[cjzjm...@localhost ~]$ sudo apt-get install 
nautilus-sendtoPassword:/var/lib/apt/lists/mrepo_rhel5s-i386_RPMS.os_repodata_repomd.xml:1:
 parser error : Start tag expected, '' not found  ^apt-get: 
rpm/rpmindexfile.cc:645:std::string rpmRepomdIndex::IndexURI(std::string) 
const: “Res.size()  0”failed.gave up.


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] how to install yum by apt

2008-12-18 Thread cjzjm100
Hi all!
  Becaule i heard that the apt was great,i wanted to try it.And when i tried to 
update my system,the yum faid,i installed the apt which came from dag repo by 
yum. After that i did:sudo apt-get update and sudo apt-get upgrade.There are 
some problem and i did as apt suggested:sudo apt-get --fix-broken install.Then 
apt said should remove 11 softwares insclude yum.I thougt even i removed the 
yum,i could installed it by apt again,so i removed them.
  After that i found i could not use apt smooth,there were many problem,so i 
want to install yum again.But apt couldn't find the yum package. In 
/etc/apt/sources.list.d,there are two lists:rpmforge.list and os.list.
   rpmforge.list:
# Name: RPMforge RPM Repository for Red Hat Enterprise 5 - dag
# URL: http://rpmforge.net/
#rpm http://apt.sw.be redhat/el$(VERSION)/en/$(ARCH) dag
repomd http://apt.sw.be redhat/el$(VERSION)/en/$(ARCH)/dag
repomd http://apt.sw.be redhat/el$(VERSION)/en/$(ARCH)/dag

os.list:
# Name: Operating system and updates

### Red Hat Enterprise Linux
#repomd http://mirror.centos.org centos/$(VERSION)/os/$(ARCH)
#repomd http://mirror.centos.org centos/$(VERSION)/updates/$(ARCH)
#repomd http://mirror.centos.org centos/$(VERSION)/extras/$(ARCH)
#repomd http://mirror.centos.org centos/$(VERSION)/fasttrack/$(ARCH)
#repomd http://mrepo rhel$(VERSION)s-$(ARCH)/RPMS.os
#repomd http://mrepo rhel$(VERSION)s-$(ARCH)/RPMS.updates
#rpm http://mrepo rhel$(VERSION)s-$(ARCH) os updates

### Fedora Core Linux
#repomd http://ayo.freshrpms.net fedora/linux/$(VERSION)/$(ARCH)/core
#repomd http://ayo.freshrpms.net fedora/linux/$(VERSION)/$(ARCH)/updates
#rpm http://ayo.freshrpms.net fedora/linux/$(VERSION)/$(ARCH) core updates

### Red Hat Linux
#repomd http://ayo.freshrpms.net redhat/$(VERSION)/$(ARCH)/os
#repomd http://ayo.freshrpms.net redhat/$(VERSION)/$(ARCH)/updates
#rpm http://ayo.freshrpms.net redhat/$(VERSION)/$(ARCH) os updates

What should i do?
 ___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] problem of building stardict

2008-05-18 Thread cjzjm100
Hi guys! today i tried to install the latest stardict.
When i configure it.The result is :
[EMAIL PROTECTED] stardict-3.0.1]$ ./configure --prefix=/usr
--sysconfdir=/etc --mandir=/usr/share/man
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gconftool-2... /usr/bin/gconftool-2
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking for intltool = 0.22... 0.36.2 found
checking for perl... /usr/bin/perl
checking for XML::Parser... ok
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognize dependent libraries... pass_all
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for xlf... no
checking for f77... no
checking for frt... no
checking for pgf77... no
checking for cf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for xlf90... no
checking for f90... no
checking for pgf90... no
checking for pghpf... no
checking for epcf90... no
checking for gfortran... gfortran
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether gfortran accepts -g... yes
checking the maximum length of command line arguments... 98304
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld) supports shared
libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
configure: creating libtool
appending configuration tag CXX to libtool
checking for ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld) supports shared
libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld) supports shared
libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
appending configuration tag F77 to libtool
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for gfortran option to produce PIC... -fPIC
checking if gfortran PIC flag -fPIC works... yes
checking if gfortran static flag -static works... yes
checking if gfortran supports -c -o file.o... yes
checking whether the gfortran linker (/usr/bin/ld) supports shared
libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so