[PLUG] URPMI trouble

Skool!lookS look.kool at guruvision.com
Mon Apr 9 13:35:58 IST 2018


Ranjith,

Your help was really monumental when I was completely stuck.

May I request you to try and reply to conversation on the list by 
replying to the list which helps lot many people in understanding and 
analyzing lot of things.

Yes, we do have some risks associated with participation and responding 
on public mailing list, but in my opinion benefits outweigh risks on 
logarithmic scale.

Once again thanks for your help, and participation at PLUG.

It's your choice finally, because the person who gets help may decide to 
honor your anonymous (for list) mode (though I did not, at least as it 
looks).

Shirish (who did not deny being on list since before year 2001)

On Monday 09 April 2018 01:11 PM, Ranjith R wrote:
> Hello,
> 
> 
> On Monday 9 April 2018, 12:48:29 PM IST, Skool!lookS 
> <look.kool at guruvision.com> wrote:
> 
> 
> [shirish at localhost <mailto:shirish at localhost> ~]$ ldd 
> /lib64/librpmbuild.so.7
>          not a dynamic executable
> 
> [shirish at localhost <mailto:shirish at localhost> ~]$ ls -ll /lib64/librpmbuild*
> lrwxrwxrwx 1 root root    20 Mar 29 18:13 /lib64/librpmbuild.so.7 ->
> librpmbuild.so.7.0.2*
> -rwxr-xr-x 1 root root 155504 Oct 26 18:27 /lib64/librpmbuild.so.7.0.1*
> -rwxr-xr-x 1 root root      0 Mar 29 18:14 /lib64/librpmbuild.so.7.0.2*
> 
> So a newer file (which has the link) is size zero, an older version
> looks alright.
> 
> relink to the old libfile?
> 
> Reviewing the above output
> /lib64/librpmbuild.so.7 is a symlink to librpmbuild.so.7.0.2. The 
> librpmbuild.so.7.0.2 is an empty file. This is why you get the message 
> "too short"
> 
> Usually this file is provided by the rpm/package rpm-build-libs.
> 
> I have no working knowledge with urpmi. If it generates a log like yum, 
> can you check the log to see whether it made any attempts to update 
> rpm-build-libs.
> 
> You could fix this by installing the right rpm-build-libs package which 
> provides so.7.0.2 or copying the file from another alternative system 
> after the upgrade.
> 
> Best regards
> 
> 
> PS: I am not including my name :D(. I do not know how to answer your non 
> technical question
> 
> 
> 
> Thanks Ranjith (in advance)
> 
> {
> Just out of curiosity, am I getting help from Saudi (South) India?
> The appended "h" tells the spelling is from southern part of India.
> 
> There is a funny thing about Indian States. They remove "h" from
> Gujarath (making it Gujarat), and in South they append "h". I am still
> learn the rule when "h" gets appended. But very interesting learning at
> a philosophical level. (e.g. name Amith Shah)
> 
> if you know that rule (when to append h) please share it.
> 
> My Mallu as well as telugu friends used to always spell/pronounce my
> name sirish.  So many issues that I finally gave up on all native names
> that are written using english/latin script, which makes me eternally
> challenged person on Languages and Litteracy front.
> 
> }
> 
> 
> On Monday 09 April 2018 12:07 PM, Ranjith R wrote:
>  > Hello,
>  >
>  >
>  > On Monday 9 April 2018, 11:58:50 AM IST, Skool!lookS
>  > <look.kool at guruvision.com <mailto:look.kool at guruvision.com>> wrote:
>  >
>  >
>  > Hi PLUGs,
>  >
>  > I was running on battery that is flaky. Not realizing/remembering it
>  > while starting update process, urpmi was downloading and installing
>  > packages.
>  >
>  > Suddenly unit got turned off, battery's wish..!
>  >
>  > Now when computer is back on and running, trying to
>  >
>  > #urpmi --auto-update
>  >
>  > or anything similar shows...
>  >
>  > ------ OUTPUT of the command ---
>  > Can't load
>  > 
> '/usr/lib/perl5/vendor_perl/5.22.2/x86_64-linux-thread-multi/auto/URPM/URPM.so' 
> 
>  >
>  > for module URPM: /lib/../lib64/librpmbuild.so.7: file too short at
>  > /usr/lib/perl5/5.22.3/x86_64-linux-thread-multi/DynaLoader.pm line 193.
>  >
>  >
>  > Error message that you need to review is
>  >
>  > 
> '/usr/lib/perl5/vendor_perl/5.22.2/x86_64-linux-thread-multi/auto/URPM/URPM.so'
>  > for module URPM: /lib/../lib64/librpmbuild.so.7: file too short
>  >
>  > "File too short"
>  >
>  > Can you check whether the symlinks or check if the lib is corrupted
>  >
>  > ldd /lib64/librpmbuild.so.7
>  >
>  > If you have a similar system, compare the outputs
>  >
>  > ls -ll /lib64/librpmbuild*
>  >
>  >
>  >
>  >
>  >
>  >
>  >
>  >    at /usr/lib/perl5/vendor_perl/5.22.3/urpm/msg.pm line 7.
>  > Compilation failed in require at
>  > /usr/lib/perl5/vendor_perl/5.22.3/urpm/msg.pm line 7.
>  > BEGIN failed--compilation aborted at
>  > /usr/lib/perl5/vendor_perl/5.22.3/urpm/msg.pm line 7.
>  > Compilation failed in require at
>  > /usr/lib/perl5/vendor_perl/5.22.3/urpm.pm line 7.
>  > BEGIN failed--compilation aborted at
>  > /usr/lib/perl5/vendor_perl/5.22.3/urpm.pm line 7.
>  > Compilation failed in require at /usr/sbin/urpmi line 23.
>  > BEGIN failed--compilation aborted at /usr/sbin/urpmi line 23.
>  >
>  > ------- END of OUTPUT ----
>  >
>  > What are ways (if any) to recover from this. My knowledge is either
>  > limited or evaporated over time owing to environmental temperature rise.
>  >
>  > Any hints/suggestions are highly welcome.
>  >
>  > Thankfully machine can powerup and I can login so NOT "the greatest of
>  > the disasters", so to say.
>  >
>  > --
>  > --
>  > Consultant Spirituel
>  >
>  > Guruvision Inc.
>  > _______________________________________________
>  > plug-mail mailing list
>  > plug-mail at plug.org.in <mailto:plug-mail at plug.org.in> 
> <mailto:plug-mail at plug.org.in <mailto:plug-mail at plug.org.in>>
>  > http://list.plug.org.in/listinfo/plug-mail
> 
> 
> -- 
> --
> Consultant Spirituel
> 
> Guruvision Inc.
> _______________________________________________
> plug-mail mailing list
> plug-mail at plug.org.in <mailto:plug-mail at plug.org.in>
> http://list.plug.org.in/listinfo/plug-mail

-- 
--
Consultant Spirituel

Guruvision Inc.


More information about the plug-mail mailing list