PDA

View Full Version : How to sync apt,yum and up2date


Elison
2004-03-04, 01:11 AM CST
Hello,
I wanna have the same sources for all three update tools.
ATM I have the problem that up2date lists other packages to update than apt:

My sources.list
-----------
# Add any local repositories here.
# To (re)select from known repositories/mirrors run "apt-get mirror-select"
#rpm http://ayo.freshrpms.net fedora/linux/test/i386 core
##rpm-src http://ayo.freshrpms.net fedora/linux/test/i386 core

#rpm.livra.net
rpm http://rpm.livna.org/ fedora/1/i386 stable unstable testing
#rpm-src http://rpm.livna.org/ fedora/1/i386 stable unstable testing

# Fedora Core 2 (test) (Technical University Chemnitz, Germany)
rpm http://wftp.tu-chemnitz.de/pub/linux/fedora fedora/1.90/i386 os updates
rpm-src http://wftp.tu-chemnitz.de/pub/linux/fedora fedora/1.90/i386 os updates

# Fedora Core 2 updates (test) (FreshRPMS (Europe))
#rpm http://ayo.freshrpms.net fedora/linux/development/i386 core
#rpm-src http://ayo.freshrpms.net fedora/linux/development/i386 core

# Fedora Extras (University Aachen, Germany)
#rpm http://sunsite.informatik.rwth-aachen.de/ftp/pub/Linux/fedora fedora/1.90/i386 stable
#rpm-src http://sunsite.informatik.rwth-aachen.de/ftp/pub/Linux/fedora fedora/1.90/i386 stable

# Fedora Extras (Technical University Chemnitz, Germany)
#rpm http://wftp.tu-chemnitz.de/pub/linux/fedora fedora/1.90/i386 stable
#rpm-src http://wftp.tu-chemnitz.de/pub/linux/fedora fedora/1.90/i386 stable

#mplayer
#rpm http://ftp.icm.edu.pl/pub/linux/mplayer-rpms/apt/ fc1 stable testing unstable

#flash
rpm http://sluglug.ucsc.edu/macromedia/apt fedora/1 macromedia
#rpm-src http://sluglug.ucsc.edu/macromedia/apt fedora/1 macromedia

# FreshRPMS
rpm http://ayo.freshrpms.net fedora/linux/1/i386 core updates freshrpms
#rpm-src http://ayo.freshrpms.net fedora/linux/1/i386 core updates freshrpms

# Void's RPMS
rpm http://voidmain.is-a-geek.net apt/fedora/1/en/i386 voidmain
#rpm-src http://voidmain.is-a-geek.net apt/fedora/1/en/i386 voidmain

My yum.conf:
---------------
# Add any local repositories here.
# To (re)select from known repositories/mirrors run "apt-get mirror-select"
#rpm http://ayo.freshrpms.net fedora/linux/test/i386 core
##rpm-src http://ayo.freshrpms.net fedora/linux/test/i386 core

#rpm.livra.net
rpm http://rpm.livna.org/ fedora/1/i386 stable unstable testing
#rpm-src http://rpm.livna.org/ fedora/1/i386 stable unstable testing

# Fedora Core 2 (test) (Technical University Chemnitz, Germany)
rpm http://wftp.tu-chemnitz.de/pub/linux/fedora fedora/1.90/i386 os updates
rpm-src http://wftp.tu-chemnitz.de/pub/linux/fedora fedora/1.90/i386 os updates

# Fedora Core 2 updates (test) (FreshRPMS (Europe))
#rpm http://ayo.freshrpms.net fedora/linux/development/i386 core
#rpm-src http://ayo.freshrpms.net fedora/linux/development/i386 core

# Fedora Extras (University Aachen, Germany)
#rpm http://sunsite.informatik.rwth-aachen.de/ftp/pub/Linux/fedora fedora/1.90/i386 stable
#rpm-src http://sunsite.informatik.rwth-aachen.de/ftp/pub/Linux/fedora fedora/1.90/i386 stable

# Fedora Extras (Technical University Chemnitz, Germany)
#rpm http://wftp.tu-chemnitz.de/pub/linux/fedora fedora/1.90/i386 stable
#rpm-src http://wftp.tu-chemnitz.de/pub/linux/fedora fedora/1.90/i386 stable

#mplayer
#rpm http://ftp.icm.edu.pl/pub/linux/mplayer-rpms/apt/ fc1 stable testing unstable

#flash
rpm http://sluglug.ucsc.edu/macromedia/apt fedora/1 macromedia
#rpm-src http://sluglug.ucsc.edu/macromedia/apt fedora/1 macromedia

# FreshRPMS
rpm http://ayo.freshrpms.net fedora/linux/1/i386 core updates freshrpms
#rpm-src http://ayo.freshrpms.net fedora/linux/1/i386 core updates freshrpms

# Void's RPMS
rpm http://voidmain.is-a-geek.net apt/fedora/1/en/i386 voidmain
#rpm-src http://voidmain.is-a-geek.net apt/fedora/1/en/i386 voidmain




sources from rhn
---------------

yum fedora-core-rawhide http://download.fedora.redhat.com/pub/fedora/linux/core/development/$ARCH/
yum-mirror fedora-core-rawhide http://fedora.redhat.com/download/up2date-mirrors/fedora-core-rawhide
yum fedore-core-2-test1-updates http://fedora.redhat.com/updates/released/fedora-core-1
#yum-mirror fedora-core-1 http://fedora.redhat.com/download/up2date-mirrors/fedora-core-1
#yum-mirror updates-released http://fedora.redhat.com/download/up2date-mirrors/updates-released
yum updates-testing http://fedora.redhat.com/updates/testing/fedora-core-$releasever
yum-mirror updates-testing http://fedora.redhat.com/download/up2date-mirrors/updates-testing


I hope this tread is not to long,
but I think when we have a good answer it will help many people:
I am using Fedora Core 2.

thx

Elison
2004-03-04, 03:26 AM CST
I think I mixed some releases,
it would be fine to run only testing.
I can´t install the newer apt, and synaptic wont also not install:

synaptic:
Hängt ab von: librpm-4.2.so
Hängt ab von: librpmdb-4.2.so
Hängt ab von: librpmio-4.2.so

apt-cache policy apt
apt:
Installiert: 0:0.5.15cnc5-0.fdr.10.1.90
Kandidat: 0.5.15cnc5-0.rhfc1.dag
Versionstabelle:
0.5.15cnc5-0.rhfc1.dag 0
500 http://apt.sw.be redhat/fc1/en/i386/dag pkglist
*** 0:0.5.15cnc5-0.fdr.10.1.90 0
500 http://wftp.tu-chemnitz.de fedora/1.90/i386/stable pkglist
100 RPM Database
0:0.5.15cnc5-0.fdr.10.1 0
500 http://download.fedora.us fedora/1/i386/stable pkglist
500 http://sunsite.informatik.rwth-aachen.de ftp/pub/Linux/fedora/fedora/1/i386/stable pkglist
0.5.15cnc3-0.1.fr 0
500 http://ayo.freshrpms.net fedora/linux/1/i386/freshrpms pkglist
0:0.5.15cnc1-0.fdr.3.1 0
500 http://download.fedora.us fedora/1/i386/stable pkglist
500 http://sunsite.informatik.rwth-aachen.de ftp/pub/Linux/fedora/fedora/1/i386/stable pkglist

It would be very helpfull if someone can answer to this, because up2date and yum won´t work anymore.
Both stop with some errors.

thx