[prev in list] [next in list] [prev in thread] [next in thread] 

List:       npaci-rocks-discussion
Subject:    [Rocks-Discuss] Re: Question about how to downgrade a package in the local repository
From:       Juan Eduardo Ramirez Vargas <juaneduardo.ramirez () upr ! edu>
Date:       2019-06-11 14:02:11
Message-ID: CA+EmpbC=0u=i7NLahAFhyh1gz7eqXLjUWgVz-0+Dazd5nXMsZw () mail ! gmail ! com
[Download RAW message or body]

Hi Phill,
  Thanks! It worked!
I eliminated both from
/export/rocks/install/rolls/base/7.0/x86_64/RedHat/RPMS/
and replaced mosh from epel.

For the record, I scripted my steps below.
Thanks again.
Eduardo
-------steps---
#cd /export/rocks/install
#
##backup first in case want to reverse procedure
#mkdir basebackup
#mv rolls/base/7.0/x86_64/RedHat/RPMS/protobuf-2.6.1-2.x86_64.rpm
basebackup/.
#mv rolls/base/7.0/x86_64/RedHat/RPMS/mosh-1.2.4-1.x86_64.rpm basebackup/.
#cp -p rolls/base/7.0/x86_64/RedHat/RPMS/index.html basebackup/.
#
##download mosh from epel as replacement
#yumdownloader --enablerepo=epel
--destdir=rolls/base/7.0/x86_64/RedHat/RPMS/ mosh-*
#
##remove protobuf reference from index.html (just in case)
#sed -i '/^<tr><td>$/{:more;$!N;s/\n/&/2;t enough;$!b more;:
enough;s@^<tr><td>\n<a
href="protobuf-2.6.1-2.x86_64.rpm">protobuf-2.6.1-2.x86_64.rpm</a>\n</td></tr>$@@;P;D;}'
 rolls/base/7.0/x86_64/RedHat/RPMS/index.html
#
#rocks create distro

On Fri, Jun 7, 2019 at 6:25 PM Philip Michael Papadopoulos <ppapadop@uci.edu>
wrote:

> Juan,
> You can eliminate both protobuf and mosh from the rocks rolls
> (/export/rocks/install/rolls) and replace mosh with the one
> from EPEL.
> 
> -P
> 
> 
> On Fri, Jun 7, 2019 at 2:29 PM Juan Eduardo Ramirez Vargas <
> juaneduardo.ramirez@upr.edu> wrote:
> 
> > Hi Phil,
> > How it happen your version of mosh requires libprotobuf.so.8?
> > My has exactly the opposite requirements.
> > # rpm -q --whatrequires 'libprotobuf.so.9()(64bit)'
> > protobuf-2.6.1-2.x86_64
> > mosh-1.2.4-1.x86_64
> > 
> > ]# rpm -q --whatrequires 'libprotobuf.so.8()(64bit)'
> > no package requires libprotobuf.so.8()(64bit)
> > 
> > I am guessing you manage to compile a new base roll version without your
> > own protobuf.
> > 
> > From /export/rocks/install/rolls/base/7.0/x86_64/roll-base.xml (see
> below)
> > my version is 7.0-2 and is the only one public.
> > 
> > Do you mind to share your base roll version?for download?
> > Looking at github, there are changes removing protobuf from that roll
> > already.
> > I would appreciate very much.
> > 
> > And many thanks you for all work done with rocks.
> > Eduardo
> > 
> > 
> > -----content of
> > ----/export/rocks/install/rolls/base/7.0/x86_64/roll-base.xml-----
> > <roll name="base" interface="4.0">
> > <timestamp time="19:13:16" date="December 01 2017" tz="PST"/>
> > <color edge="yellow" node="yellow"/>
> > <info version="7.0" release="2" arch="x86_64" os="linux"/>
> > <iso maxsize="600" bootable="0" mkisofs="-b isolinux/isolinux.bin
> > -c isolinux/boot.cat -boot-load-size 4 -boot-info-table -no-emul-boot
> > -eltorito-alt-boot -e images/efiboot.img -no-emul-boot -J -T "/>
> > <rpm rolls="0" bin="1" src="0"/>
> > <author name="root" host="centos-rocks-7"/>
> > </roll>
> > 
> > On Thu, Jun 6, 2019 at 4:01 PM Philip Michael Papadopoulos <
> > ppapadop@uci.edu>
> > wrote:
> > 
> > > On Thu, Jun 6, 2019 at 9:01 AM Juan Eduardo Ramirez Vargas <
> > > juaneduardo.ramirez@upr.edu> wrote:
> > > 
> > > > Hi,
> > > > I have been preparing a roll for migration of our cluster.
> > > > However in my testing cluster, I found that rocks is not using the
> > > standard
> > > > package protobuf but a custom version. Tracking down If found it is
> > > located
> > > > in the base roll (protobuf-2.6.1-2).
> > > > However standard centos version is 2.5.0-8.
> > > 
> > > Turn out, that I am having issues trying to install some packages (on
> the
> > > > compute nodes) from epel repository. because the dependency is
> > > > libprotobuf-so.8 but protobuf-2.6.1-2 gives  libprotobuf-so.9
> > > > 
> > > > It is possible to downgrade protobuf? if yes, how can I do that.
> > > > If removing from
> > > > 
> > > > 
> > > 
> > 
> /export/rocks/install/rolls/base/7.0/x86_64/RedHat/RPMS/protobuf-2.6.1-2.x86_64.rpm
> > > > can't do the trick? or this is required to kickstart nodes?
> > > 
> > > Ah, the fun of software versions.  You should be able to remove
> > > protobuf-2.6.1-2 from /export/rocks/install/rolls....
> > > 
> > > The software that uses protobuf.so.8 is mosh and this is only installed
> > on
> > > the frontend by default
> > > # rpm -q --whatrequires 'libprotobuf.so.8()(64bit)'
> > > mosh-1.2.4-1.x86_64
> > > 
> > > I don't see anything requiring .9
> > > # rpm -q --whatrequires 'libprotobuf.so.9()(64bit)'
> > > no package requires libprotobuf.so.9()(64bit)
> > > 
> > > Likely a holdover from when RedHat6 did not have any native protobuf
> > > support.
> > > 
> > > -P
> > > 
> > > 
> > > 
> > > 
> > > 
> > > 
> > > 
> > > 
> > > > Thanks for any help
> > > > Eduardo
> > > > -------------- next part --------------
> > > > An HTML attachment was scrubbed...
> > > > URL:
> > > > 
> > > 
> > 
> http://lists.sdsc.edu/pipermail/npaci-rocks-discussion/attachments/20190606/f61810c5/attachment.html
> 
> > > > 
> > > 
> > > 
> > > --
> > > Philip Papadopoulos, Ph.D
> > > Director, Research Cyber Infrastructure Center
> > > University of California, Irvine
> > > E-mail: ppapadop@uci.edu
> > > Phone: (949) 824-5343
> > > -------------- next part --------------
> > > An HTML attachment was scrubbed...
> > > URL:
> > > 
> > 
> http://lists.sdsc.edu/pipermail/npaci-rocks-discussion/attachments/20190606/0e90e0f4/attachment.html
> 
> > > 
> > -------------- next part --------------
> > An HTML attachment was scrubbed...
> > URL:
> > 
> http://lists.sdsc.edu/pipermail/npaci-rocks-discussion/attachments/20190607/6da4498a/attachment.html
> 
> > 
> 
> 
> --
> Philip Papadopoulos, Ph.D
> Director, Research Cyber Infrastructure Center
> University of California, Irvine
> E-mail: ppapadop@uci.edu
> Phone: (949) 824-5343
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> http://lists.sdsc.edu/pipermail/npaci-rocks-discussion/attachments/20190607/98495c42/attachment.html
>  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.sdsc.edu/pipermail/npaci-rocks-discussion/attachments/20190611/b00fa5e1/attachment.html \



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic