LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-01-2007, 02:41 AM   #16
jay73
LQ Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 130Reputation: 130

Omg, I never even thought about those dependencies, you're absolutely right. Then again, I performed this routine shortly after FC6 was released so that wasn't an issue back then. And with my hardware getting better and better support, I tend to get out of touch with the whole tweaking business, getting sooo lazy. If anyone knows an unsupported motherboard or something, please recommend
 
Old 04-01-2007, 06:47 AM   #17
deyash
LQ Newbie
 
Registered: Mar 2007
Posts: 29

Original Poster
Rep: Reputation: 15
Angry

well to be clear i am least inclined (as i m not comfortable) to download the kernel and re install....i suppose that would b the last thing which i would do.....

so is'nt there any other way to sort out the prob...well the card is detected then ,why the hell ,network does not work ....

keeps on giving messages :

can't find/open repomd.xml

while trying to update...

well plz suggest something else....i am getting desperate to use my LAN
 
Old 04-01-2007, 11:47 AM   #18
jay73
LQ Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 130Reputation: 130
One thing you could do is have a look at the baseurls you can find in the files fedora-core.repo, fedora-extras.repo and fedora-updates.repo. They are under /etc/yum.repos.d.

You need to make sure that either:
the first baseurl is uncommented (i.e. no # in front of it)
and/or:
that you put some alternative mirror(s) in there. The default baseurl figures pretty much in everyone's files so they tend to get a lot of traffic, which may result in them being unaccessible at times. If you want to add one or more alternative mirrors, have a look at this:
http://rhold.fedoraproject.org/Download/mirrors.html
Select one or more mirrors near you and put them under baseurl; make sure you adjust where necessary: the mirror list specifies only the top level mirror directories but you need to specify Fedora version and architecture as well (x86, x86_64, etc). Unfortunately, some mirrors are organized a bit differently from others or at least from the default baseurl so you need to paste the mirror address(es) in your browser and go to the site to explore in which subdirectories your packages are stored. Just have a look at the default baseurls in order determine which subdirectories are needed. Here's an example for the fedora-core.repo:
http://mirror.linux.duke.edu/pub/fed...e/6/x86_64/os/
and from the same mirror, for the updates-repo:
http://mirror.linux.duke.edu/pub/fed...ates/6/x86_64/
Note that both are for 64 bit Fedora; there is a 32 bit subdirectory at the same levels.

It takes a little research and some thinking but it's something that has helped many. I also suggest you do some reading first. These will teach you about many other aspects of setting up Fedora as well:
http://stanton-finley.net/fedora_cor...ion_notes.html
http://www.mjmwired.net/resources/mjm-fedora-fc6.html
The first one is devoted to FC5 but most of it carries over flawlessly.

Last edited by jay73; 04-01-2007 at 11:49 AM.
 
Old 04-02-2007, 02:22 AM   #19
Junior Hacker
Senior Member
 
Registered: Jan 2005
Location: North America
Distribution: Debian testing Mandriva Ubuntu
Posts: 2,687

Rep: Reputation: 61
Here is a thread where someone had similar problems with repos, also, there are apparently bugs in the yum package that came with original discs, not the re-spins, for some people, updating the yum package got things happening. You can compare your Fedora repo files to the ones I posted here from /etc/yum.repos.d.

http://www.linuxquestions.org/questi...d.php?t=539777

May have to try a different pci ethernet card if all else fails.
 
Old 04-02-2007, 12:26 PM   #20
deyash
LQ Newbie
 
Registered: Mar 2007
Posts: 29

Original Poster
Rep: Reputation: 15
i tried the yum after removing the hash '#' from the repo files and this time i got another prob...

actually i have internet via a 100 Mbps LAN connection which requires authentication(user id. and passwd.) for opening any site....so yum just gave the message about the authentication not given....but i don't no where to provide the network password as yum did not ask for it....how can i make yum ask for user-id and passwd for internet....

plz help!!!!
 
Old 04-02-2007, 02:29 PM   #21
jay73
LQ Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 130Reputation: 130
Huh? Do you have to provide id for each and every site you visit? That seems awfully inconvenient, to say the least. Or is it rather like you have to identify yourself just once at the beginning of each internet session?
 
Old 04-02-2007, 03:08 PM   #22
deyash
LQ Newbie
 
Registered: Mar 2007
Posts: 29

Original Poster
Rep: Reputation: 15
well

i have to authenticate for each web-browser once at beginning of each session...ya it seems boring but thats how it works here...[]
 
Old 04-02-2007, 03:13 PM   #23
jay73
LQ Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 130Reputation: 130
Can't you just fool the thing by opening a browser, submitting your id and then doing yum? Or would that just count as a second, new session? Maybe naive but wouldn't is be easy hehehe.

If that fails, you could have a look here:

http://www.fedoraforum.org/forum/sho...=&threadid=742

Last edited by jay73; 04-02-2007 at 03:18 PM.
 
Old 04-03-2007, 03:40 PM   #24
deyash
LQ Newbie
 
Registered: Mar 2007
Posts: 29

Original Poster
Rep: Reputation: 15
hey !

it seems i have to go for downloading the update packages......

so which packages exactly should i have

actually i could not find of that version so i have downloaded kernel 2.6.19-1.2911 along with kernel devel and kernel headers ppp,irqbalance ,traceroute,mkinitrd,iproute,kudzu,kudzu-devel...

now what should i do .....they are rpm packages .....

plz suggest!!!!
 
Old 04-03-2007, 05:50 PM   #25
jay73
LQ Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 130Reputation: 130
Erm... you were supposed to download and install, that's what you usually do. If you do

yum update packagename(s)

yum fetches the package(s) and then it asks if it should install them (y/n); at that point you need to type y(es) or (n)o and then it installs whatever it fetched (or it doesn't if you said no).

If you did that and chose yes, then the packages are already installed. If not, you need to redo the yum but this time it will look for them on your hard disk first; if you didn't clean your var cache, they should still be there - if you did clean the cache (or did something wrong) it will have to download from the internet again.

If you type

uname -a

it will return the currently installed kernel; if it says 2.6.19 something, you can be sure that at least the kernel packages were updated.

If you downloaded the packages manually (I'm not quite clear what you did exactly) you need to cd to the place where the rpms are stored, e.g. if they are on you desktop

cd /home/your username/Desktop

and install them manually

rpm -ivh kernel*

Please bear in mind: this procedure is by all means the worst choice you could make! You can try it if you have absolutely no other choice but else, don't. The thing is that packages do not exist independently from one another; often one package needs another one (or more) to function (that's what is known as "dependencies") and if you install them manually, you won't get told so ! so you'll install your stuff, then find that certain things don't work anymore because certain "dependencies" were not installed - worst of all, you may never find out what is missing so you can only reinstall!!! - but most often, rpm will refuse to install anything until you download and install the dependencies first... And that can be a LOT of work, trust me. If you use yum as I described, it will take care of all the dependencies and download those along with whatever you told it to fetch.

As I said in a previous post, I recommend doing a FULL update, which means

yum -y update

because this is the best way of avoiding dependency issues (the -y, btw, means yes - if you do that, yum will download and install everything without asking any further questions). You can manually install kernel packages alone, to begin with, but then you need to get kernel kernel-headers nash and makeinitrd (and make sure they match - one version of a certain package requires a specific version of the other ones - another reason to use yum...).

Last edited by jay73; 04-03-2007 at 05:53 PM.
 
Old 04-03-2007, 10:10 PM   #26
Junior Hacker
Senior Member
 
Registered: Jan 2005
Location: North America
Distribution: Debian testing Mandriva Ubuntu
Posts: 2,687

Rep: Reputation: 61
If you go to http://rpm.pbone.net/ and put --> kernel-2.6.18-1.2869.fc6.i686.rpm , in the search field you will find the kernel and kernel-src, I could not find the devel or headers packages, but the source should have all headers that you can use for compiling and by rights should be installed in /lib/modules/2.6.18-1.2869/build. Because you already have a kernel installed, you cannot install another one over top, you have to upgrade the kernel and all the other packages except for the kernel-src package which you probably do not have one installed, therefore you do not upgrade that package, you install it. Example:

Quote:
rpm -Uvh kernel-2.6.18-1.2869.fc6.i686.rpm <--(for upgrading packages already installed to a newer package)

rpm -ivh kernel-2.6.18-1.2869.fc6.src.rpm <--(for installing a package where an older version is not installed)
The kudzu-devel is not required, just kudzu (dependency hell for the devel package). If you want to try upgrading to the 2.6.19 kernel packages you will also need nash package, but when trying to upgrade it you will find a list of dependencies that need to be satisfied first and it becomes a tangled mess because other packages not related to the kernel upgrade will be tied to dependencies for nash and mkinitrd. If you did not select "development libraries & tools" as package groups to install during the initial installation, you will have to satisfy dependencies for installing the kernel source, (gcc, gcc++, gcc-fortran, make, etc.), install them using rpm install command from off the install discs. There is a list called "install.log" in /root of all installed packages during installation.

Last edited by Junior Hacker; 04-03-2007 at 10:18 PM.
 
Old 04-03-2007, 11:29 PM   #27
Junior Hacker
Senior Member
 
Registered: Jan 2005
Location: North America
Distribution: Debian testing Mandriva Ubuntu
Posts: 2,687

Rep: Reputation: 61
CORRECTION:

You can install the kernel and not upgrade to keep a copy of the last kernel if required. All other packages need to be upgraded other than kernel source of course. You will need to re-boot to use the newer kernel.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
FC6 is running slow in my PC arindom Linux - Desktop 3 12-23-2006 03:43 AM
vesafb on 2.6.15+ uses 100% cpu and is damn slow MuLaZ Linux - Hardware 2 03-29-2006 12:34 PM
Fast with DSL Modem but Damn Slow to WinXP schu-r Linux - Networking 0 07-22-2004 01:11 AM
Mozilla is so damn slow DLing stuff? BajaNick Linux - Software 3 06-21-2004 05:45 PM
Mandrake 8.2 damn slow? noname Linux - Distributions 2 05-11-2002 01:23 PM


All times are GMT -5. The time now is 06:39 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration