Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Emerge absence after using dpkg
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
ArcCha
n00b
n00b


Joined: 16 Jul 2013
Posts: 3

PostPosted: Fri Sep 20, 2013 9:14 am    Post subject: Emerge absence after using dpkg Reply with quote

I've tried to install a package with dpkg, with command like:
Code:
dpkg -i --instdir=/usr/non-portage --force-depends "package"

it worked with some errors, but it did something certainly - there was new files in /usr/non-portage. Then, I thought it is not a good idea, so I deleted /usr/non-portage and tried to uninstall dpkg - I've recieved command not found error. And yes, I couldn't locate emerge by hand, it was gone. I've tried to manually reinstall it using advices in http://www.gentoo.org/proj/en/portage/doc/manually-fixing-portage.xml, but instead lib/ I used lib64/. Now, I'm getting various errors like:
Code:

stone make.profile # eix
eix: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory
stone make.profile # eselect profile list
!!! Error: get_repos failed
!!! Error: Failed to get a list of valid profiles
exiting
stone make.profile # equery
Traceback (most recent call last):
  File "/usr/bin/equery", line 35, in <module>
    from gentoolkit import equery, errors
  File "/usr/lib64/python3.2/site-packages/gentoolkit/equery/__init__.py", line 30, in <module>
    import portage
ImportError: No module named portage
stone make.profile # gcc-config -l
 * gcc-config: Profile does not exist or invalid setting for /etc/env.d/gcc/x86_64-pc-linux-gnu-4.5.4
 [1] avr-4.6.3 *

 [2] x86_64-pc-linux-gnu-4.5.4 *
 [3] x86_64-pc-linux-gnu-4.8.1


So certainly I've screwed something up - any ideas how to clean this mess?
Back to top
View user's profile Send private message
Genone
Retired Dev
Retired Dev


Joined: 14 Mar 2003
Posts: 9501
Location: beyond the rim

PostPosted: Fri Sep 20, 2013 2:58 pm    Post subject: Reply with quote

Without knowing what you actually did (what package, exact command to remove the non-portage dir, ...), only realistic advice would be to reinstall. My random guess is that either dpkg (or the package) messed up the system config, or your cleanup removed more than intended.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming 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