[CentOS] Flash por x64

Wed Feb 28 15:35:26 UTC 2007
Dago Pacheco <informatica at makimet.cl>

Phil Schaffner wrote:
> On Tue, 2007-02-27 at 10:41 -0500, Matt Hyclak wrote:
>   
>> On Tue, Feb 27, 2007 at 12:19:41PM -0300, Dago Pacheco enlightened us:
>>     
>>> i'm kinda newbie in centos.... so clear me something... you say that I 
>>> must put this entry
>>>
>>> #released i386 updates
>>> [update-i386]
>>> name=CentOS-$releasever - i386 Updates
>>> mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=i386&repo=updates
>>> #baseurl=http://mirror.centos.org/centos/$releasever/updates/i386/
>>> gpgcheck=1
>>> gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-centos4
>>> enabled=0
>>> protect=1
>>>
>>>
>>> in /etc/yum.repos.d/CentOS-Base.repo , right?
>>> is there anything else that i must consider?
>>>
>>>       
>> I would put it in a separate file, e.g. firefox-i386.repo so that it isn't
>> overwritten with upgrades to the package that owns CentOS-Base.repo.
>> Otherwise, that's all you should need.
>>     
>
> Good idea to put it in another file as it may be less confusing, but it
> should not be necessary to keep it from getting overwritten by an
> upgrade, which should create CentOS-Base.repo.rpmnew if the file has
> been modified.  Either putting it in CentOS-Base.repo or in a new file
> will have the same effect.
>
> The new file, if used, can be called anything with a .repo extension as
> long as it lives in /etc/yum.repos.d/ - but it helps if the name is
> something related to the contents.  My suggestion would be
> "update-i386.repo" for the example I gave, as that will clue you in as
> to what the parameter to "yum --enable <repo> ..." should be.
>
> Another consideration might be to avoid doing something like "yum
> --enable update-i386 update" as you might get more than you bargained
> for in the way of new i386 packages.
>
> Phil
>
>
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
>
>   


i created the .repo file and then used yum, an this is the output

-------------------------------------------------------------------------------------------------------------------
[root at localhost ~]# yum --enable update-i386 install firefox.i386
Setting up Install Process
Setting up repositories
dag                       100% |=========================| 1.1 kB    00:00
kde-all                   100% |=========================|  951 B    00:00
kde                       100% |=========================|  951 B    00:00
update                    100% |=========================|  951 B    00:00
rpmforge                  100% |=========================| 1.1 kB    00:00
update-i386               100% |=========================|  951 B    00:00
base                      100% |=========================| 1.1 kB    00:00
addons                    100% |=========================|  951 B    00:00
extras                    100% |=========================| 1.1 kB    00:00
Reading repository metadata in from local files
primary.xml.gz            100% |=========================| 105 kB    00:00
update-i38: ################################################## 307/307
Added 307 new packages, deleted 0 old in 3.41 seconds
primary.xml.gz            100% |=========================|  32 kB    00:00
extras    : ################################################## 132/132
Added 3 new packages, deleted 0 old in 0.16 seconds
Parsing package install arguments
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for firefox to pack into transaction set.
firefox-1.5.0.10-0.1.el4. 100% |=========================|  83 kB    00:00
---> Package firefox.i386 0:1.5.0.10-0.1.el4.centos set to be updated
--> Running transaction check
--> Processing Dependency: libgnomeui-2.so.0 for package: firefox
--> Processing Dependency: libgnome-2.so.0 for package: firefox
--> Processing Dependency: libbonoboui-2.so.0 for package: firefox
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for libgnome to pack into transaction set.
libgnome-2.8.0-2.i386.rpm 100% |=========================|  22 kB    00:00
---> Package libgnome.i386 0:2.8.0-2 set to be updated
--> Running transaction check
--> Processing Dependency: libgnomeui-2.so.0 for package: firefox
--> Processing Dependency: libbonoboui-2.so.0 for package: firefox
--> Finished Dependency Resolution
Error: Missing Dependency: libgnomeui-2.so.0 is needed by package firefox
Error: Missing Dependency: libbonoboui-2.so.0 is needed by package firefox
-------------------------------------------------------------------------------------------------------------------------------------

For dependencies, should i use something like

/yum --enable update-i386 install <dependencies>/

or just/

yum install <dependencies>/