LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-05-2004, 10:49 AM   #1
sonaural
LQ Newbie
 
Registered: Oct 2003
Location: Silicon Valley
Distribution: gentoo
Posts: 27

Rep: Reputation: Disabled
moving from yum to apt/synaptic


I've been using yum for updates. I would like to use synaptic, but I've never switched before --- some machines I use apt on, some I use yum.

What is the best way --- or is there a way --- to move to apt from yum? I've updated sources.list and did an apt-get update, but when running synaptic I have many broken packages. Obvioulsy, this is something I know little about.

thanks much!

brad
 
Old 11-05-2004, 11:29 AM   #2
homey
Senior Member
 
Registered: Oct 2003
Posts: 3,057

Rep: Reputation: 61
You don't have to switch, I have both as some sites are more apt to have something than yum others.
 
Old 11-05-2004, 01:31 PM   #3
sonaural
LQ Newbie
 
Registered: Oct 2003
Location: Silicon Valley
Distribution: gentoo
Posts: 27

Original Poster
Rep: Reputation: Disabled
They keep different dBs, don't they? If so, then it would be a pain to keep track of packages and their dependencies.

brad
 
Old 11-05-2004, 01:41 PM   #4
homey
Senior Member
 
Registered: Oct 2003
Posts: 3,057

Rep: Reputation: 61
They do keep different directories in /var/cache/apt and /var/cache/yum but you don't have to track dependencies as that is one thing both programs are very good at.

If you are having problems with synaptic, it has an option to fix broken packages. If you still can't get them to fix, maybe try yum remove apt-get. Then remove /etc/apt and /var/cache/apt
Then reinstall apt-get / synaptic and run the command apt-get update.
Also, in the synaptic program, I always use smart upgrade so it doesn't try to load stuff which I don't want.
 
Old 11-05-2004, 02:19 PM   #5
sonaural
LQ Newbie
 
Registered: Oct 2003
Location: Silicon Valley
Distribution: gentoo
Posts: 27

Original Poster
Rep: Reputation: Disabled
Thanks for the msg!
Ok, so I'm lost

I understood that they keep different dBs. For instance, if I used yum to install pkgA and pkgA depended on pkgB yum would install pkgA and pkgB. Fine so far.

If I then used apt-get to install pkgC and it depended on pkgB - apt-get would not know that it had already been downloaded and installed by yum.

Is that true?

----
AFA about synaptic: I basically did what you said. I installed synaptic with yum (which, of course, installed apt). Then I: apt-get update. After starting synaptic, I had 616 broken packages. This doesn't seem right, does it?

3rd question: are you suggesting to start over? yum remove apt and synaptic. Delete the dirs /etc/apt and /var/cache/apt and just start over?

I appreciate your help!

brad
 
Old 11-05-2004, 03:06 PM   #6
homey
Senior Member
 
Registered: Oct 2003
Posts: 3,057

Rep: Reputation: 61
If you run apt-get update it will update it's database so it will know what is already installed. Therefore, pkgC will install with no problem because pkgB has already been accounted for.

Before you remove apt-get try to fix the broken packages with the command:
apt-get -f install
I can't imagine how you got so many broken packages.
 
Old 11-05-2004, 03:17 PM   #7
sonaural
LQ Newbie
 
Registered: Oct 2003
Location: Silicon Valley
Distribution: gentoo
Posts: 27

Original Poster
Rep: Reputation: Disabled
Quote:
Originally posted by homey
If you run apt-get update it will update it's database so it will know what is already installed. Therefore, pkgC will install with no problem because pkgB has already been accounted for.

Before you remove apt-get try to fix the broken packages with the command:
apt-get -f install
I can't imagine how you got so many broken packages.
Ok, when I do that I get the serious message:
"You are about to do something potentially harmful
To continue type in the phrase 'Yes, do as I say!'"

I see that a couple of kernel's will be removed --- one is the one I'm using currently!
Video card driver libs -- one that I'm using currently!

And, a whole lot of other packages and "essential" packages.

This doesn't seem right, does it?

brad
 
Old 11-05-2004, 03:23 PM   #8
homey
Senior Member
 
Registered: Oct 2003
Posts: 3,057

Rep: Reputation: 61
Quote:
To continue type in the phrase 'Yes, do as I say!'"
NO, do not do that! and no that doesn't seem to be right.

Have you tried the command: yum update
 
Old 11-05-2004, 03:50 PM   #9
sonaural
LQ Newbie
 
Registered: Oct 2003
Location: Silicon Valley
Distribution: gentoo
Posts: 27

Original Poster
Rep: Reputation: Disabled
Quote:
Originally posted by homey
NO, do not do that! and no that doesn't seem to be right.

Have you tried the command: yum update
Yeah, I do that quite often. I just did another one and I have some updates - rpm being one., rpm-build another.

I thought there may be hope with the updated packages, but:

Now, when I do apt-get update I receive warnings about multiple versions of a lot of packages. Doing apt-get update once again I receive no warnings.

Synaptic report 617 broken packages (gee, I added one!)

apt-get -f install _seems_ to be reporting the same: essential packages will be removed, etc.. Although, the essential packages list seems less: still, kernel is in there, rpm is there (it says: "because of apt)


(Hey, you know, maybe there is a particular problem in this instance because I'm on an AMD64, so the vast majority of my libs are 64bit -- but I bet not all. (this is the first AMD64 machine I've built. I'm running FC2 on it. The other linux machines that I have are all pentiums with different flavors of redhat - ES3, RH8, FC1/FC2))

brad
 
Old 02-17-2005, 09:31 AM   #10
JerryMcFarts
Member
 
Registered: Mar 2004
Location: Ohio, USA
Distribution: Ubuntu 6.04
Posts: 117

Rep: Reputation: 15
I actually have the same problem. Is start Synaptic up and it tells me i have 23 broken packages, but it doesn't make sense because i use all the packages for instance gaim, and they work fine. I also have some Xorg files wanting to be removed.

Those files get me scared so im not doing it quite yet. I have tried what htey said above, yum remove synaptic but when i try to do it to apt-get. i get:

Setting up Remove Process
No Packages marked for removal

but i know its there because i do

apt-get update

and I get
0 upgraded, 0 newly installed, 328 removed and 0 not upgraded.
Need to get 0B of archives.
After unpacking 2625MB disk space will be freed.
Do you want to continue? [Y/n]

so im just running it normal and not doing anything about it. its just on the back burner because everything is running just fine.. but it is annoying to think about.

any thoughts? Thanks.

~bryon
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Reset Yum and Synaptic to their default configurations JRR883 Linux - Software 3 10-19-2005 03:14 PM
HELP: yum, apt-get, synaptic developers woes :S kevingpo Fedora 1 09-12-2005 03:38 AM
HOWTO's for the front page.... apt, up2date, synaptic, yum, yumex t3gah LQ Suggestions & Feedback 2 03-21-2005 06:52 AM
Whats better Synaptic or Yum? Jmcatch742 Linux - General 1 01-02-2005 01:06 PM
apt-get and synaptic?? wrat Linux - Newbie 2 05-10-2004 10:10 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:47 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration