LinuxQuestions.org
Review your favorite Linux distribution.
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 04-24-2004, 08:31 PM   #1
FreakFish
LQ Newbie
 
Registered: Apr 2004
Location: China
Distribution: Fedora One
Posts: 8

Rep: Reputation: 0
i'd like to know sth about "apt"


hi! i'm a beginner of linux, and now i'm using Fedora 1.

i'm trying to use "apt-get" to update my current system, but i still have sth confusing about the update via "apt-get".

the first time, i used the apt package from freshrpms.net, and also i used the sources.list provided by freshrpms.net, i import the RPM-GPG-KEY.

and i updated new packages sucessfully except the "kernel" one, and i did some research, some articles say that the "apt-get dist-upgrade" won't update the "kernel" and user has to download those kernel packages to the machine, then use "apt-get install kernel***.rpm" manually.

However, afterwards, i installed the "apt" package from www-fedora-us" and it worked very well! it provides a few more repository mirrors, and my "kernel" is updated to 2.4.22-1.2188.nptl which is the newest kernel rpm release on those mirrors without any problems.

is there anyone can tell me what's could possibly cause that difference?

and in additional, i've imported more than one RPM-GPG-KEY, would those GPG-KEYS be messed up, then the "apt" would get confused?? or that's just fine, importing mixing GPG-KEYS from different mirrors doesn't really matter?

If i used more than one repositiory, would it causes package conflicts? or i must be stick to one available repository, and only install the packages from it rather than ones from other repositiories?

Thank you guys!!
 
Old 04-24-2004, 10:41 PM   #2
ranger_nemo
Senior Member
 
Registered: Feb 2003
Location: N'rn WI -- USA
Distribution: Kubuntu 8.04, ClarkConnect 4
Posts: 1,142

Rep: Reputation: 47
The kernel isn't really any big deal... It's just a package like any other. You can install new ones with apt. If it doesn't install with an "apt-get update", then you can do it with "apt-get install kernel", which will list which are available, then an "apt-get install kernel#version-numbers" to specify which one you want.

Having more than one key is fine. You might actually need to, depending on the repositories (repos) you use. Most supply the same packages which have the same key. But, if somebody supplies packages they made, they might sign it with their own key, and you would need to import that one to check the packages before they were installed.

As long as you use repos that are copies of eachother, you prob'ly won't have any trouble. I have three in my list that all supply the same packages, and apt downloads from the first one it can connect to. If you have repos that supply different versions of the same packages, or different packages, than you might run into some trouble.
 
Old 04-25-2004, 02:02 AM   #3
FreakFish
LQ Newbie
 
Registered: Apr 2004
Location: China
Distribution: Fedora One
Posts: 8

Original Poster
Rep: Reputation: 0
sweet! thank you for your plain explainations!

now i do run into troubles now, after i used "apt" to install libXft package, and i installed another libXft downloaded from someplace else, and after i installed, i deleted those libXft.so.2 libXft.so.2.1.1 .. that generated by the latter one, and i'm trying use rpm -e libxft to delete that, but there's no responding in terminal.

I turned on a new terminal, trying to run rpm again, there's nothing happens either.

i guess that because i deleted those libXft.so.2 files.
how could i fix it then i can delete that libXft sucessfully?

i tried to reinstall that package, but it always tells me libXft is currently installed!
 
Old 04-25-2004, 07:40 AM   #4
ranger_nemo
Senior Member
 
Registered: Feb 2003
Location: N'rn WI -- USA
Distribution: Kubuntu 8.04, ClarkConnect 4
Posts: 1,142

Rep: Reputation: 47
Try "rpm -ivh --force packagename".
 
  


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
Telling people to use "Google," to "RTFM," or "Use the search feature" Ausar General 77 03-21-2010 11:26 AM
"Xlib: extension "XFree86-DRI" missing on display ":0.0"." zaps Linux - Games 9 05-14-2007 03:07 PM
how to install the "packages that have been held back" when doing "apt-get upgrade&qu zero79 Debian 5 06-27-2004 08:19 PM
Sound problem with "alsamixer" or "alsaconf" or sth else maybe... Mikuda Linux - Games 4 05-01-2004 11:09 AM
what to do about apt "suggestions" and "recommendations" Bruce Hill Debian 8 11-11-2003 06:17 AM

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

All times are GMT -5. The time now is 11:52 AM.

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