Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] How to restore portage?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
mutobj
n00b
n00b


Joined: 03 Mar 2019
Posts: 5

PostPosted: Fri Mar 08, 2019 9:21 am    Post subject: [SOLVED] How to restore portage? Reply with quote

Something went wrong and I broke the system.

Currently I can not run emerge command because of system corruption. Is there any way to restore without reinstalling the whole system?


Last edited by mutobj on Fri Mar 08, 2019 10:22 am; edited 1 time in total
Back to top
View user's profile Send private message
mike155
Veteran
Veteran


Joined: 17 Sep 2010
Posts: 1303
Location: Frankfurt, Germany

PostPosted: Fri Mar 08, 2019 9:54 am    Post subject: Reply with quote

Please tell us what you did and what went wrong. Did you delete /usr/bin/emerge? Or do you get error messages when you start emerge?
Back to top
View user's profile Send private message
mutobj
n00b
n00b


Joined: 03 Mar 2019
Posts: 5

PostPosted: Fri Mar 08, 2019 10:15 am    Post subject: Reply with quote

I'm not sure, but I were trying to install deb package into system :D
And seems like I deleted some stuff accidentially... (my bad)

I have several errors:
Code:
error while loading shared libraries: libstdc++.so.6

emerge link is broken as long as portageq and all ../lib/python-exec/ dependant stuff
I dont know where libstdc++ but if it is located /usr/lib then it is obvious that I deleted /usr/lib directory.
I just thinking that maybe if I restore portage then I can restore all other removed stuff.


Last edited by mutobj on Fri Mar 08, 2019 10:22 am; edited 1 time in total
Back to top
View user's profile Send private message
mutobj
n00b
n00b


Joined: 03 Mar 2019
Posts: 5

PostPosted: Fri Mar 08, 2019 10:21 am    Post subject: Reply with quote

Well I found what's went wrong and I just made symlink:
Code:
ln -s /usr/lib64/ /usr/lib

Now all stuff works!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum