LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Yum, what causes the looking for dependencys? (https://www.linuxquestions.org/questions/linux-newbie-8/yum-what-causes-the-looking-for-dependencys-347252/)

fieldyweb 07-27-2005 07:12 AM

Yum, what causes the looking for dependencys?
 
Ok, its month number 2 of using Fedora/Gnome, and it was all going grand until i tried to update Gnome 2.08 to gnome 2.10, that however is another sotry, the gnome-pane is unstable..

i digress..

Yum, I've had a read on this forum and many others, tried several example yum.conf files. and I agree it is a good way of updating stuff, however, whats with the not updating the 30 other packages which did find the dependecy files, because one spurious file needs a .0.106 file..?
no no no.. this cna't be the way to go, YUM finds 30+ packages which can be updated, and one or two that can't, so i have to spend hours surfing the net trying to find the dammed file which does contain the dependency so the other 30 files CAN be updated..

this is the 21st centry, ask me, "Do you want to ignore this file which i can't figure out how to update? and i will carry on updating this HUGE list of other files for you..."

Is there any way I can get the command yum update to ignore any files which don't meet its draconian needs, and carry on updating all the other files?

cdhgee 07-27-2005 09:31 AM

Try

Code:

yum update --exclude=package
Replace package with the names of any packages you don't want it to bother upgrading - i.e. the ones that it is failing over dependencies. If you still can't get it to work, have a look at getting apt-get for Fedora which gives you a bit more control over the options you have when managing packages.

fieldyweb 07-27-2005 10:06 PM

did that
 
I have tried that, as well as placing in /etc/yum.conf in the exludes section dispite for example placing gtkam in the excludes on 2 different attemps, yum still tried to update it...


So I deleted (yum remove <package> the 3 packages causing problems, yum then proceeded to check all its dependecies, then told me it was a 204Mb download, Ok set it off over night..
It downloaded all but 3 packages and then quit... Hey if you know anyone who writes this stuff THIS IS NOT GOOD, ASK!! shall i continue? I have just downloaded 291 of 294 packages does the fact that i have failed to download 3 packages bother you or should i continue?

No worries, i wake up, and rerun yum update, it downloads the 3 packages, then comes up with this erros

Transaction Check Error: file /etc/apt/sources.list.d/nrpms.list conflicts between attempted installs of nrpms-release-1-4.1.fc3.nr and medley-package-config-99-1.rhfc3.at
file /etc/yum.repos.d/nrpms.repo conflicts between attempted installs of nrpms-release-1-4.1.fc3.nr and medley-package-config-99-1.rhfc3.at
file /usr/share/themes/Industrial/gtk-2.0/gtkrc conflicts between attempted installs of ximian-artwork-0.2.32-1.1.fc3.rf and gtk2-engines-2.6.3-1.1.fc3.nr
file /usr/lib/libpostproc.so.0.0.1 conflicts between attempted installs of ffmpeg-0.4.9-9_cvs20050517.rhfc3.at and libpostproc-1.0-46_pre7.rhfc3.at

So despite running countless transaction checks BEFORE this started, now it finds errors, i've been downloading for 6hrs.. for christ sake, i have 98% of the files ok, Why does it keep failing, ASK, ASK, ASK!!! "Do you want me to continue...?" Its got so much it CAN work with...

i'm afraid this is not "a problem" i just see this as terrible programming, first thing i was taught, if there is a problem, move around it!!


AAAGGGHH!!!
And then i have several spuds on other forums telling me how good YUM is, ok its better than nowt, but if this is considered good, i guess you've never used better...

fieldyweb 07-27-2005 10:13 PM

Now ehn i try to redo the yum update i get

Setting up Update Process
Setting up Repos
core 100% |=========================| 951 B 00:00
dag 100% |=========================| 1.1 kB 00:00
updates-released 100% |=========================| 951 B 00:00
nr-testing 100% |=========================| 1.0 kB 00:00
li.stable 100% |=========================| 951 B 00:00
atrpms-good 100% |=========================| 951 B 00:00
nr-production 100% |=========================| 1.0 kB 00:00
base 100% |=========================| 1.1 kB 00:00
updates 100% |=========================| 951 B 00:00
atrpms-stable 100% |=========================| 951 B 00:00
freshrpms 100% |=========================| 951 B 00:00
macromedia.mplug.org 100% |=========================| 903 B 00:00
Reading repository metadata in from local files
core : ################################################## 2622/2622
dag : ################################################## 3033/3033
primary.xml.gz 100% |=========================| 373 kB 00:22
primary.xml.gz 100% |=========================| 288 kB 01:17
Traceback (most recent call last):
File "/usr/bin/yum", line 7, in ?
yummain.main(sys.argv[1:])
File "/usr/share/yum-cli/yummain.py", line 68, in main
result, resultmsgs = base.doCommands()
File "/usr/share/yum-cli/cli.py", line 413, in doCommands
return self.updatePkgs()
File "/usr/share/yum-cli/cli.py", line 932, in updatePkgs
self.doRepoSetup()
File "/usr/share/yum-cli/cli.py", line 89, in doRepoSetup
self.doSackSetup()
File "__init__.py", line 143, in doSackSetup
File "repos.py", line 241, in populateSack
File "repos.py", line 687, in getPrimaryXML
File "repos.py", line 674, in _retrieveMD
File "repos.py", line 566, in get
File "mirror.py", line 414, in urlgrab
File "mirror.py", line 392, in _mirror_try
File "mirror.py", line 290, in _get_mirror

cdhgee 07-28-2005 03:04 AM

How have you got your repositories configured? Are they all coming from one source or from several places? If you've got multiple different repositories configured that explains why you've got conflicts between the different versions of the packages that it's trying to install.

Personally, I don't use yum, I use apt-get for Fedora, which is similar to Debian's apt-get but uses RPM packages instead of DEB packages.

fieldyweb 07-30-2005 06:41 AM

Case closed
 
fustration finally got the better of me and for the 7th time in 3 weeks i formatted my hard disk, went to the local Bangkok ICT emporium and bought a copy of FC4 on DVD and loaded that...

I'm going to take my own advice and post a polite request on the yum site...
thank you for the help. I guess when dealing with the new, a level of fear and mis understanding is to be expected...


All times are GMT -5. The time now is 05:59 PM.