[clue-tech] CentOS 5 update problems
Mark G. Harvey
markgharvey at yahoo.com
Mon Aug 20 16:22:49 MDT 2007
Dan,
Ok, now I'm really stumped. It appears what you suggested works fine. So why can't "yum
update" use the repositories in these directories
[root at hosting ~]# ll /etc/yum.repos.d/
total 16
-rw-r--r-- 1 root root 2365 Jul 12 16:32 CentOS-Base.repo
-rw-r--r-- 1 root root 622 Apr 8 13:22 CentOS-Media.repo
& download updates? I can send you the .repo files directly (vice clue-tech) if you need
them.
Do I need to manually set a repository such as
http://centos-distro.cavecreek.net/centos/5.0/updates/i386/RPMS/
for the system to get its updates?
Again, thanks much for lending a hand with this issue.
Mark
the download ...
[root at hosting ~]# wget -cvt 0
'http://centos-distro.cavecreek.net/centos/5.0/updates/i386/RPMS/vim-minimal-7.0.109-3.el5.3.i386.rpm'
--16:11:55--
http://centos-distro.cavecreek.net/centos/5.0/updates/i386/RPMS/vim-minimal-7.0.109-3.el5.3.i386.rpm
Resolving centos-distro.cavecreek.net... 64.38.239.200
Connecting to centos-distro.cavecreek.net|64.38.239.200|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 319592 (312K) [application/x-rpm]
--16:11:56-- (try: 2)
http://centos-distro.cavecreek.net/centos/5.0/updates/i386/RPMS/vim-minimal-7.0.109-3.el5.3.i386.rpm
Connecting to centos-distro.cavecreek.net|64.38.239.200|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 319592 (312K) [application/x-rpm]
Saving to: `vim-minimal-7.0.109-3.el5.3.i386.rpm'
100%[====================================================================>] 319,592
149K/s in 2.1s
16:11:58 (149 KB/s) - `vim-minimal-7.0.109-3.el5.3.i386.rpm' saved [319592/319592]
verification ... I didn't even install it, just verified.
[root at hosting ~]# ll
total 380
-rw------- 1 root root 1135 Jul 10 19:08 anaconda-ks.cfg
-rw-r--r-- 1 root root 30911 Jul 10 19:08 install.log
-rw-r--r-- 1 root root 5572 Jul 10 19:05 install.log.syslog
-rw-r--r-- 1 root root 319592 May 10 09:09 vim-minimal-7.0.109-3.el5.3.i386.rpm
[root at hosting ~]# rpm -qip vim-minimal-7.0.109-3.el5.3.i386.rpm
Name : vim-minimal Relocations: (not relocatable)
Version : 7.0.109 Vendor: CentOS
Release : 3.el5.3 Build Date: Wed 09 May 2007 05:04:27 PM MDT
Install Date: (not installed) Build Host: builder4.centos.org
Group : Applications/Editors Source RPM: vim-7.0.109-3.el5.3.src.rpm
Size : 590552 License: freeware
Signature : DSA/SHA1, Thu 10 May 2007 09:09:52 AM MDT, Key ID a8a447dce8562897
Summary : A minimal version of the VIM editor.
Description :
VIM (VIsual editor iMproved) is an updated and improved version of the
vi editor. Vi was the first real screen-based editor for UNIX, and is
still very popular. VIM improves on vi by adding new features:
multiple windows, multi-level undo, block highlighting and more. The
vim-minimal package includes a minimal version of VIM, which is
installed into /bin/vi for use when only the root partition is
present. NOTE: The online help is only available when the vim-common
package is installed.
[root at hosting ~]#
--- Dan Poler <dpoler at redhat.com> wrote:
> From the errors you're receiving it would seem that the files are not
> coming off of the yum repo properly. I'm not sure what to tell you -- I
> was able to download, for example,
>
http://centos-distro.cavecreek.net/centos/5.0/updates/i386/RPMS/vim-minimal-7.0.109-3.el5.3.i386.rpm
> and run 'rpm -qip' against it and see that it was a valid, good package.
> The files seem good, but they're not getting to you good.
> What happens if you download the above rpm and apply it with 'rpm -Uvh',
> or verify it with 'rpm -qip' ?
> If your media were bad, or the fact that it's ESX, I suspect you'd have
> far larger problems than this...
>
> dap
>
____________________________________________________________________________________
Pinpoint customers who are looking for what you sell.
http://searchmarketing.yahoo.com/
More information about the clue-tech
mailing list