FAQ   Search   Memberlist  
Profile    Log in to check your private messages    Register    Log in
running apt and yum simultaneously

 
Post new topic   Reply to topic    BLAG Forum Index -> open discussion
View previous topic :: View next topic  
Author Message
john maclean
PostPosted: Fri Dec 14, 2007 2:04 am    Post subject: running apt and yum simultaneously Reply with quote

I've re-installed 70k from a cd and ran `yum -y update` soon after. Out of curiosity I decided to try `apt-get update && apt-get -y dist-upgrade` whilst yum was yumming. Tail end of results shown below. Not for the faint hearted. Apt one in the end.

question - should a system be "allowed" to run two package management systems simultaneously? Surely apt and yum are both pointing to the same rpms on this box and they could step on each others toes, right?

Quote:
(41/47): gnome-desktop-2. 100% |=========================| 888 kB 00:08
http://www.blagblagblag.org/70000/i386/RPMS.errata/gnome-python2-gtkmozembed-2.1
4.3-6.fc7.i386.rpm: [Errno 14] HTTP Error 404: Not Found
Trying other mirror.
(43/47): popt-1.10.2.2-2. 100% |=========================| 70 kB 00:00
(44/47): wpa_supplicant-0 100% |=========================| 259 kB 00:02
http://www.blagblagblag.org/70000/i386/RPMS.errata/gnome-python2-gtkhtml2-2.14.3
-6.fc7.i386.rpm: [Errno 14] HTTP Error 404: Not Found
Trying other mirror.
(46/47): libattr-2.4.32-3 100% |=========================| 12 kB 00:00
(47/47): newt-0.52.7-1.fc 100% |=========================| 131 kB 00:01


Error Downloading Packages:
perl-libs - 4:5.8.8-26.fc7.i386: failure: perl-libs-5.8.8-26.fc7.i386.rpm from
errata: [Errno 256] No more mirrors to try.
perl - 4:5.8.8-26.fc7.i386: failure: perl-5.8.8-26.fc7.i386.rpm from errata: [
Errno 256] No more mirrors to try.
gnome-python2-libegg - 2.14.3-6.fc7.i386: failure: gnome-python2-libegg-2.14.3
-6.fc7.i386.rpm from errata: [Errno 256] No more mirrors to try.
python-iniparse - 0.2.2-1.fc7.noarch: failure: python-iniparse-0.2.2-1.fc7.noa
rch.rpm from errata: [Errno 256] No more mirrors to try.
gnome-python2-gtkmozembed - 2.14.3-6.fc7.i386: failure: gnome-python2-gtkmozem
bed-2.14.3-6.fc7.i386.rpm from errata: [Errno 256] No more mirrors to try.
xchat - 1:2.8.4-5.fc7.i386: failure: xchat-2.8.4-5.fc7.i386.rpm from errata: [
Errno 256] No more mirrors to try.
gnome-python2-gtkhtml2 - 2.14.3-6.fc7.i386: failure: gnome-python2-gtkhtml2-2.
14.3-6.fc7.i386.rpm from errata: [Errno 256] No more mirrors to try.
libsmbclient - 3.0.27-0.fc7.i386: failure: libsmbclient-3.0.27-0.fc7.i386.rpm
from errata: [Errno 256] No more mirrors to try.
gnome-python2-gtkspell - 2.14.3-6.fc7.i386: failure: gnome-python2-gtkspell-2.
14.3-6.fc7.i386.rpm from errata: [Errno 256] No more mirrors to try.
gnome-python2-extras - 2.14.3-6.fc7.i386: failure: gnome-python2-extras-2.14.3
-6.fc7.i386.rpm from errata: [Errno 256] No more mirrors to try.


_________________
BLAG 'em up!
saddletramp
PostPosted: Fri Dec 14, 2007 5:07 pm    Post subject: Reply with quote

been thinking of posting something along these lines myself, since installing blag a week or so ago.

i was simply going to ask why is there 2 managers anyway, and wouldn't that almost guarantee a conflict somewhere down the road?

noldrin
PostPosted: Fri Dec 14, 2007 7:30 pm    Post subject: Reply with quote

In the past I've found yum useful in installing software on a broken system, when the admin wouldn't let me use apt to fix the broken packages. That all I've used yum for when I've had apt available. I would imagine Including yum is useful for people coming over from fedora, although it's a pain sometimes to convince previous fedora users to use apt instead.

Also, doesn't pirut now need yum?

I don't see what they would ever interfere with each other since both of them interface through RPM and that is what manages which packages are installed. I could see potential problems if you accidentally did this:

yum update
apt-get dist-upgrade

But the threat of that doesn't seem to justify removing a potentially useful too.

jebba
PostPosted: Fri Dec 14, 2007 9:28 pm    Post subject: Re: running apt and yum simultaneously Reply with quote

john maclean wrote:
Iquestion - should a system be "allowed" to run two package management systems simultaneously? Surely apt and yum are both pointing to the same rpms on this box and they could step on each others toes, right?


They both can't access the rpm database at the same time for writing, so they wont step on each others toes that way. It wont break anything, but you can't run them at the same time. In other words, they both can't install at the same time.

jebba
PostPosted: Fri Dec 14, 2007 9:30 pm    Post subject: Reply with quote

saddletramp wrote:
i was simply going to ask why is there 2 managers anyway, and wouldn't that almost guarantee a conflict somewhere down the road?


They don't conflict. They both point at the same database in the end.

Yum is there pretty much because it /has/ to. Apt is there because many people (such as me) prefer it.

Display posts from previous:   
Post new topic   Reply to topic    BLAG Forum Index -> open discussion
Page 1 of 1

Protected by Anti-Spam ACP