Using Yum - Help
This is a discussion on Using Yum - Help ; Am I on track here? I thought the FC5 changes to yum would allow something
like the following; Note the failure messages at the end of the output. Is
there a permissions problem with the drive which holds /home (/dev/hdb1)?
...
-
Using Yum
Am I on track here? I thought the FC5 changes to yum would allow something
like the following; Note the failure messages at the end of the output. Is
there a permissions problem with the drive which holds /home (/dev/hdb1)?
RPM's fail to install also .. After the RPM is downloaded from a web site,
the window pops up asking what to do with the file, I indicate install
using installer, then the window opens telling me the installation will
proceed, then after I click yes on that, the progress box ends with
message that installer can't reach out someplace and "have you checked
your internet connection".
I'm stumped for the moment. Appreciate your input and help.
TIA
Dave
~~~~~~~~~~~~~~~~~~~~ OUTPUT from Terminal ~~~~~~~~~~~
[root@localhost dave]# yum install xine Loading "installonlyn" plugin
Setting up Install Process
Setting up repositories
extras-development-source [1/21]
extras-development-source 100% |=========================| 951 B 00:00
development [2/21]
development 100% |=========================| 1.1 kB 00:00 legacy-updates
[3/21]
legacy-updates 100% |=========================| 951 B 00:00 extras-source
[4/21]
extras-source 100% |=========================| 951 B 00:00 core [5/21]
core 100% |=========================| 1.1 kB 00:00 development-debuginfo
[6/21]
development-debuginfo 100% |=========================| 1.1 kB 00:00
updates-source [7/21]
updates-source 100% |=========================| 951 B 00:00
extras-development [8/21]
extras-development 100% |=========================| 1.1 kB 00:00
core-source [9/21]
core-source 100% |=========================| 951 B 00:00
extras-development-debuginfo [10/21]
extras-development-debugi 100% |=========================| 951 B 00:00
legacy-testing [11/21]
legacy-testing 100% |=========================| 951 B 00:00
updates-testing [12/21]
updates-testing 100% |=========================| 951 B 00:00
extras-debuginfo [13/21]
extras-debuginfo 100% |=========================| 951 B 00:00
updates-testing-debuginfo [14/21]
updates-testing-debuginfo 100% |=========================| 951 B 00:00
updates [15/21]
updates 100% |=========================| 951 B 00:00
updates-testing-source [16/21]
updates-testing-source 100% |=========================| 951 B 00:00 Test
[17/21]
not using ftp, http[s], or file for repos, skipping - -rw-r--r-- 1 500 500
1639 Mar 16 2001 RPM-GPG-KEY not using ftp, http[s], or file for repos,
skipping - drwxr-xr-x 8 500 500 4096 Apr 21 17:23 ayo not using ftp,
http[s], or file for repos, skipping - drwxr-xr-x 3 500 500 4096 Nov 07
2003 fedora not using ftp, http[s], or file for repos, skipping -
drwxr-xr-x 11 500 500 4096 Jul 29 2004 redhat not using ftp, http[s], or
file for repos, skipping - drwxr-xr-x 7 500 500 4096 Jan 05 2005 yellowdog
ftp://ftp.us3.freshrpms.net/pub/fres...ta/repomd.xml: [Errno 4] IOError:
[Errno ftp error] 550 Failed to change directory. Trying other mirror.
Cannot open/read repomd.xml file for repository: Test failure:
repodata/repomd.xml from Test: [Errno 256] No more mirrors to try. Error:
failure: repodata/repomd.xml from Test: [Errno 256] No more mirrors to
try. [root@localhost dave]#
~~~~~~~~~~~~~~ END of OUTPUT FROM TERM ~~~~~~~~~~~~~~~
Cheers,
Dave
-
Re: Using Yum
Dave, Some things to check to narrow it down.
1. Can you install an rpm from the command line?
2. Is your firewall set on and have it turned off.
3. Are you using SELinux?
4. Have you checked the repositories in yum.conf or yum.repos.d?
5. Are quotas enabled and are you near the limit. Do you have space on
the partition that contains /var?
6. Have you tried yum update yum?
7. Lastly what does /var/log/yum.log show?
../Todd
Dave Mann wrote:
> Am I on track here? I thought the FC5 changes to yum would allow something
> like the following; Note the failure messages at the end of the output. Is
> there a permissions problem with the drive which holds /home (/dev/hdb1)?
>
> RPM's fail to install also .. After the RPM is downloaded from a web site,
> the window pops up asking what to do with the file, I indicate install
> using installer, then the window opens telling me the installation will
> proceed, then after I click yes on that, the progress box ends with
> message that installer can't reach out someplace and "have you checked
> your internet connection".
>
> I'm stumped for the moment. Appreciate your input and help.
>
> TIA
>
> Dave
>
> ~~~~~~~~~~~~~~~~~~~~ OUTPUT from Terminal ~~~~~~~~~~~
>
> [root@localhost dave]# yum install xine Loading "installonlyn" plugin
> Setting up Install Process
> Setting up repositories
> extras-development-source [1/21]
> extras-development-source 100% |=========================| 951 B 00:00
> development [2/21]
> development 100% |=========================| 1.1 kB 00:00 legacy-updates
> [3/21]
> legacy-updates 100% |=========================| 951 B 00:00 extras-source
> [4/21]
> extras-source 100% |=========================| 951 B 00:00 core [5/21]
> core 100% |=========================| 1.1 kB 00:00 development-debuginfo
> [6/21]
> development-debuginfo 100% |=========================| 1.1 kB 00:00
> updates-source [7/21]
> updates-source 100% |=========================| 951 B 00:00
> extras-development [8/21]
> extras-development 100% |=========================| 1.1 kB 00:00
> core-source [9/21]
> core-source 100% |=========================| 951 B 00:00
> extras-development-debuginfo [10/21]
> extras-development-debugi 100% |=========================| 951 B 00:00
> legacy-testing [11/21]
> legacy-testing 100% |=========================| 951 B 00:00
> updates-testing [12/21]
> updates-testing 100% |=========================| 951 B 00:00
> extras-debuginfo [13/21]
> extras-debuginfo 100% |=========================| 951 B 00:00
> updates-testing-debuginfo [14/21]
> updates-testing-debuginfo 100% |=========================| 951 B 00:00
> updates [15/21]
> updates 100% |=========================| 951 B 00:00
> updates-testing-source [16/21]
> updates-testing-source 100% |=========================| 951 B 00:00 Test
> [17/21]
> not using ftp, http[s], or file for repos, skipping - -rw-r--r-- 1 500 500
> 1639 Mar 16 2001 RPM-GPG-KEY not using ftp, http[s], or file for repos,
> skipping - drwxr-xr-x 8 500 500 4096 Apr 21 17:23 ayo not using ftp,
> http[s], or file for repos, skipping - drwxr-xr-x 3 500 500 4096 Nov 07
> 2003 fedora not using ftp, http[s], or file for repos, skipping -
> drwxr-xr-x 11 500 500 4096 Jul 29 2004 redhat not using ftp, http[s], or
> file for repos, skipping - drwxr-xr-x 7 500 500 4096 Jan 05 2005 yellowdog
> ftp://ftp.us3.freshrpms.net/pub/fres...ta/repomd.xml: [Errno 4] IOError:
> [Errno ftp error] 550 Failed to change directory. Trying other mirror.
> Cannot open/read repomd.xml file for repository: Test failure:
> repodata/repomd.xml from Test: [Errno 256] No more mirrors to try. Error:
> failure: repodata/repomd.xml from Test: [Errno 256] No more mirrors to
> try. [root@localhost dave]#
>
> ~~~~~~~~~~~~~~ END of OUTPUT FROM TERM ~~~~~~~~~~~~~~~
>
>
> Cheers,
>
> Dave
-
Re: Using Yum
On Sun, 25 Jun 2006 02:49:28 +0000, Todd wrote:
> Dave, Some things to check to narrow it down. 1. Can you install an rpm
> from the command line? 2. Is your firewall set on and have it turned off.
> 3. Are you using SELinux?
> 4. Have you checked the repositories in yum.conf or yum.repos.d? 5. Are
> quotas enabled and are you near the limit. Do you have space on the
> partition that contains /var?
> 6. Have you tried yum update yum?
> 7. Lastly what does /var/log/yum.log show?
>
> ./Todd
1. I can install an rpm via command line -- I usually receive a failed
dependencies since I am trying to work with FC 5, but I just installed
Hylafax and it went very smoothly.
2. My firewall is turned off
3. I am using SELinux
4. Here is my /etc/yum/pluginconf.d
[main]
enabled=1
# this sets the number of package versions which are kept
tokeep=5
Here is my /etc/yum/conf
# This is the fedorafaq.org yum.conf for Fedora Core 5.
#
# Note that you also need the rest of the configuration
# as described at http://www.fedorafaq.org/#yumconf
[main]
cachedir=/var/cache/yum
keepcache=0
debuglevel=2
logfile=/var/log/yum.log
pkgpolicy=newest
distroverpkg=redhat-release
tolerant=1
exactarch=1
obsoletes=1
# Don't check keys for localinstall
gpgcheck=0
plugins=1
metadata_expire=1800
# Changed this because some mirrors go down and then
# re-trying takes forever.
timeout=7
# PUT YOUR REPOS HERE OR IN separate files named file.repo
# in /etc/yum.repos.d
/var partition has 9.3 GB remaining
6. yum update yum returned this:
[root@localhost dave]# yum update yum
Loading "installonlyn" plugin
Setting up Update Process
Setting up repositories
jpackage-fedora [1/3]
jpackage-fedora 100% |=========================| 951 B 00:00
flash [2/3]
flash 100% |=========================| 951 B 00:00
jpackage-generic [3/3]
jpackage-generic 100% |=========================| 951 B 00:00
Reading repository metadata in from local files
Could not find update match for yum
No Packages marked for Update/Obsoletion
[root@localhost dave]#
the yum.log shows:
Jun 13 18:08:27 Updated: evolution-data-server.i386 1.6.2-1.fc5.1
Jun 13 18:08:30 Installed: arts.i386 1.5.2-0.1.fc5
(lots of similiar clipped to save bandwidth at 60 Baud)
Jun 22 15:04:19 Installed: limewire-rhmenu.noarch 3.5.6-3jpp
Jun 22 15:56:46 Updated: RealPlayer.i586 10.0.7.785-20060201
Jun 25 10:43:26 Installed: sharutils.i386 4.2.1-18.3.FC2.legacy
-----------------
I'm open to any recommendations ... thanks!
Daver
-
Re: Using Yum
Dave Mann wrote:
> On Sun, 25 Jun 2006 02:49:28 +0000, Todd wrote:
>
>> Dave, Some things to check to narrow it down. 1. Can you install an rpm
>> from the command line? 2. Is your firewall set on and have it turned off.
>> 3. Are you using SELinux?
>> 4. Have you checked the repositories in yum.conf or yum.repos.d? 5. Are
>> quotas enabled and are you near the limit. Do you have space on the
>> partition that contains /var?
>> 6. Have you tried yum update yum?
>> 7. Lastly what does /var/log/yum.log show?
>>
>> ./Todd
>
>
> 1. I can install an rpm via command line -- I usually receive a failed
> dependencies since I am trying to work with FC 5, but I just installed
> Hylafax and it went very smoothly.
>
> 2. My firewall is turned off
>
> 3. I am using SELinux
>
> 4. Here is my /etc/yum/pluginconf.d
>
> [main]
> enabled=1
> # this sets the number of package versions which are kept
> tokeep=5
>
>
> Here is my /etc/yum/conf
>
> # This is the fedorafaq.org yum.conf for Fedora Core 5.
> #
> # Note that you also need the rest of the configuration
> # as described at http://www.fedorafaq.org/#yumconf
> [main]
> cachedir=/var/cache/yum
> keepcache=0
> debuglevel=2
> logfile=/var/log/yum.log
> pkgpolicy=newest
> distroverpkg=redhat-release
> tolerant=1
> exactarch=1
> obsoletes=1
> # Don't check keys for localinstall
> gpgcheck=0
> plugins=1
> metadata_expire=1800
> # Changed this because some mirrors go down and then
> # re-trying takes forever.
> timeout=7
>
>
> # PUT YOUR REPOS HERE OR IN separate files named file.repo
> # in /etc/yum.repos.d
>
>
> /var partition has 9.3 GB remaining
>
> 6. yum update yum returned this:
>
> [root@localhost dave]# yum update yum
> Loading "installonlyn" plugin
> Setting up Update Process
> Setting up repositories
> jpackage-fedora [1/3]
> jpackage-fedora 100% |=========================| 951 B 00:00
> flash [2/3]
> flash 100% |=========================| 951 B 00:00
> jpackage-generic [3/3]
> jpackage-generic 100% |=========================| 951 B 00:00
> Reading repository metadata in from local files
> Could not find update match for yum
> No Packages marked for Update/Obsoletion
> [root@localhost dave]#
>
>
>
> the yum.log shows:
>
> Jun 13 18:08:27 Updated: evolution-data-server.i386 1.6.2-1.fc5.1
> Jun 13 18:08:30 Installed: arts.i386 1.5.2-0.1.fc5
>
> (lots of similiar clipped to save bandwidth at 60 Baud)
>
> Jun 22 15:04:19 Installed: limewire-rhmenu.noarch 3.5.6-3jpp
> Jun 22 15:56:46 Updated: RealPlayer.i586 10.0.7.785-20060201
> Jun 25 10:43:26 Installed: sharutils.i386 4.2.1-18.3.FC2.legacy
>
> -----------------
>
> I'm open to any recommendations ... thanks!
>
> Daver
Looks good so far. - have you tried cleaning the yum cache?
# yum clean all
one other guess here - try setting gpgcheck=1 in yum.conf.
The error of the original posting looked more to me like it was a
repository problem.
What are the contents of your /etc/yum.repos.d/fedora-updates-testing.repo ?
Why rpm's install on the command line and not through x-windows is
beyond me.
-
Re: Using Yum
On Mon, 26 Jun 2006 20:29:11 GMT, Todd
wrote:
>
>Why rpm's install on the command line and not through x-windows is
>beyond me.
ObPedant: What is this "x-windows" you speak of? Are you, by chance,
referring to the Windowing system known as "X?"
--
Joe Zeff
The Guy With the Sideburns
If it ain't baroque, don't fix it.
http://www.lasfs.org http://home.earthlink.net/~sidebrnz
-
Re: Using Yum
On Mon, 26 Jun 2006 20:29:11 +0000, Todd wrote:
> Dave Mann wrote:
>> On Sun, 25 Jun 2006 02:49:28 +0000, Todd wrote:
>>
>>> Dave, Some things to check to narrow it down. 1. Can you install an rpm
>>> from the command line? 2. Is your firewall set on and have it turned
>>> off. 3. Are you using SELinux?
>>> 4. Have you checked the repositories in yum.conf or yum.repos.d? 5. Are
>>> quotas enabled and are you near the limit. Do you have space on the
>>> partition that contains /var?
>>> 6. Have you tried yum update yum?
>>> 7. Lastly what does /var/log/yum.log show?
>>>
>>> ./Todd
>>
>>
>> 1. I can install an rpm via command line -- I usually receive a failed
>> dependencies since I am trying to work with FC 5, but I just installed
>> Hylafax and it went very smoothly.
>>
>> 2. My firewall is turned off
>>
>> 3. I am using SELinux
>>
>> 4. Here is my /etc/yum/pluginconf.d
>>
>> [main]
>> enabled=1
>> # this sets the number of package versions which are kept tokeep=5
>>
>>
>> Here is my /etc/yum/conf
>>
>> # This is the fedorafaq.org yum.conf for Fedora Core 5. #
>> # Note that you also need the rest of the configuration # as described
>> at http://www.fedorafaq.org/#yumconf [main]
>> cachedir=/var/cache/yum
>> keepcache=0
>> debuglevel=2
>> logfile=/var/log/yum.log
>> pkgpolicy=newest
>> distroverpkg=redhat-release
>> tolerant=1
>> exactarch=1
>> obsoletes=1
>> # Don't check keys for localinstall
>> gpgcheck=0
>> plugins=1
>> metadata_expire=1800
>> # Changed this because some mirrors go down and then # re-trying takes
>> forever.
>> timeout=7
>>
>>
>> # PUT YOUR REPOS HERE OR IN separate files named file.repo # in
>> /etc/yum.repos.d
>>
>>
>> /var partition has 9.3 GB remaining
>>
>> 6. yum update yum returned this:
>>
>> [root@localhost dave]# yum update yum Loading "installonlyn" plugin
>> Setting up Update Process
>> Setting up repositories
>> jpackage-fedora
>> [1/3] jpackage-fedora 100% |=========================| 951 B
>> 00:00 flash
>> [2/3] flash 100% |=========================|
>> 951 B 00:00 jpackage-generic
>> [3/3] jpackage-generic 100%
>> |=========================| 951 B 00:00 Reading repository metadata
>> in from local files Could not find update match for yum
>> No Packages marked for Update/Obsoletion [root@localhost dave]#
>>
>>
>>
>> the yum.log shows:
>>
>> Jun 13 18:08:27 Updated: evolution-data-server.i386 1.6.2-1.fc5.1 Jun 13
>> 18:08:30 Installed: arts.i386 1.5.2-0.1.fc5
>>
>> (lots of similiar clipped to save bandwidth at 60 Baud)
>>
>> Jun 22 15:04:19 Installed: limewire-rhmenu.noarch 3.5.6-3jpp Jun 22
>> 15:56:46 Updated: RealPlayer.i586 10.0.7.785-20060201 Jun 25 10:43:26
>> Installed: sharutils.i386 4.2.1-18.3.FC2.legacy
>>
>> -----------------
>>
>> I'm open to any recommendations ... thanks!
>>
>> Daver
>
> Looks good so far. - have you tried cleaning the yum cache?
>
> # yum clean all
>
> one other guess here - try setting gpgcheck=1 in yum.conf.
>
> The error of the original posting looked more to me like it was a
> repository problem.
> What are the contents of your /etc/yum.repos.d/fedora-updates-testing.repo
> ?
>
> Why rpm's install on the command line and not through x-windows is beyond
> me.
I'll give those ideas a try.
I install from the command line because I am a very old DOS person and
usually just cut and paste the name of the rpm into the line after I hit
an alias key which puts in "rpm -ivh " So then I can do the deed in two or
maybe three keystrokes. Idiosyncrasy. When I d/l an rpm I usually just
let the installer do the job, but the window which pops up with all of the
failed libraries is not cut and paste-able. Since I make a list of the
failed dependencies and then go after them one at a time via googling and
then downloading, it is more practicable to use the command line.
If I allow the additional .repo files I get lots of messages
about "duplicate yum suppositories and I am a bad boy. So I renamed the
file temporarily to something old or whatever.