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? -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos/attachments/20081218/52e95197/attachment-0003.html>
cjzjm100 wrote:> 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. > os.list:uncomment these lines:> #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)- KB
On Thu, 18 Dec 2008, cjzjm100 wrote:> 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.Why did you remove yum ? apt and yum can happily coexist on a single system. Without understanding what problems you have, apt does require that your RPM database is consistent and all dependencies are met. Since you say that it wanted to uninstall yum to satisfy dependencies, the only thing I can imagine that happened is that you forced some packages on your system (NEVER *EVER* use --force or --nodeps with rpm) that broken de chain of dependencies involving yum. The RPMforge apt packages do not include the apt configuration for CentOS because the packages are also used by RHEL users. I do have some lines added in comment that you can uncomment:> ### 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)But it would be nice if the centos-release package would contain an apt configuration file. -- -- dag wieers, dag at centos.org, http://dag.wieers.com/ -- [Any errors in spelling, tact or fact are transmission errors]
Dag Wieers wrote:> But it would be nice if the centos-release package would contain an apt > configuration file.easy to drop in, please post a recommended config stanza, into an issue at bugs.centos.org/ and it can be taken from there. - KB
On Thu, 18 Dec 2008, Karanbir Singh wrote:> Dag Wieers wrote: >> But it would be nice if the centos-release package would contain an apt >> configuration file. > > easy to drop in, please post a recommended config stanza, into an issue > at bugs.centos.org/ and it can be taken from there.Added as: http://bugs.centos.org/view.php?id=3307 Kind regards, -- -- dag wieers, dag at centos.org, http://dag.wieers.com/ -- [Any errors in spelling, tact or fact are transmission errors]
Dag Wieers wrote:> Added as: > > http://bugs.centos.org/view.php?id=3307excellent! we should target centos-release-5.3 and make sure they get included in there! -- Karanbir Singh CentOS Project { http://www.centos.org/ } irc: z00dax, #centos at irc.freenode.net
Dag Wieers wrote:> On Thu, 18 Dec 2008, Karanbir Singh wrote: > >> Dag Wieers wrote: >>> But it would be nice if the centos-release package would contain an apt >>> configuration file. >> easy to drop in, please post a recommended config stanza, into an issue >> at bugs.centos.org/ and it can be taken from there. > > Added as: > > http://bugs.centos.org/view.php?id=3307 > > Kind regards,Btw, while we are at it - do we want to add configs for smart as well ? Does anyone even use that in production ? ( I personally stopped tracking it about 2 years back and no longer have it installed anywhere ). -- Karanbir Singh CentOS Project { http://www.centos.org/ } irc: z00dax, #centos at irc.freenode.net