[DRBD-user] Problem to install compiled RPMs after upgrade to CentOS 5.3

Gordan Bobic gordan at bobich.net
Thu Apr 2 11:16:44 CEST 2009

Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.


I wouldn't bother. Just set exclude=drbd* in /etc/yum.conf, rpmbuild -tb
drbd-8.3.0.tar.gz, and rpm -Uvh --oldpackage drbd-8.3.0.x86_64.rpm. The
drbd82/drbd83 packages from the repository will never bother you again.

Gordan

On Thu, 2 Apr 2009 12:10:55 +0300, Theophanis Kontogiannis
<theophanis_kontogiannis at yahoo.gr> wrote:
> Dear Luis and All,
> 
> Thank you for your answer.
> 
> Your suggestion works.
> 
> Do you happen to know what is the change that we should make in the
> drbd.spec file that would make the resulting version to be drbd83-
instead
> of drbd-?
> 
> Thank you again All for your Time.
> 
> Theophanis Kontogiannis
> 
>  
> 
>> -----Original Message-----
>> From: Luis Garrido [mailto:luisgarrido at users.sourceforge.net]
>> Sent: Wednesday, April 01, 2009 6:10 PM
>> Cc: drbd-user at lists.linbit.com
>> Subject: Re: [DRBD-user] Problem to install compiled RPMs after upgrade
>> to
>> CentOS 5.3
>> 
>> > yum install ../drbd-8.3.0-3.x86_64.rpm
>> >
>> 
>> For a local rpm package in your hard drive you probably must use yum
>> localinstall ..., not yum install ...
>> 
>> 
>> >
>> > Package drbd is obsoleted by drbd82, trying to install
>> > drbd82-8.2.6-1.el5.centos.x86_64 instead
>> >
>> 
>> Perhaps it has to do with CentOS packages being called drbd82-*, not
>> drbd-*, you could change the .spec file so the package name becomes
>> drbd83.
>> 
>> HTH,
>> 
>> L
> 
> 
> 
> _______________________________________________
> drbd-user mailing list
> drbd-user at lists.linbit.com
> http://lists.linbit.com/mailman/listinfo/drbd-user



More information about the drbd-user mailing list