View previous topic :: View next topic |
Author |
Message |
m_p_w n00b
Joined: 12 Sep 2016 Posts: 31
|
Posted: Thu Aug 16, 2018 5:31 pm Post subject: net-wireless/wpa_supplicant cannot be installed |
|
|
I keep trying to install net-wireless/wpa_supplicant, but I get an error "Failed to emerge dev-python/m2crypto-0.24.0".
Basically it says that dev-python/m2crypto is needed for net-wireless/wpa_supplicant, but then I am not sure why it fails to be emerged |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54823 Location: 56N 3W
|
Posted: Thu Aug 16, 2018 5:37 pm Post subject: |
|
|
m_p_w,
Put the build log for dev-python/m2crypto onto a pastebin site.
The failure message will give the location of the build log. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
m_p_w n00b
Joined: 12 Sep 2016 Posts: 31
|
|
Back to top |
|
|
Anon-E-moose Watchman
Joined: 23 May 2008 Posts: 6219 Location: Dallas area
|
|
Back to top |
|
|
m_p_w n00b
Joined: 12 Sep 2016 Posts: 31
|
Posted: Fri Aug 17, 2018 12:13 pm Post subject: |
|
|
"So I removed my mask override (stupid anyway) and for some really odd reason it started to pull in the “old” version of OpenSSL. I have no idea why, since a dependency needed the masked version before."
I am not sure how to do it? Could you help me what commands I should use? |
|
Back to top |
|
|
Anon-E-moose Watchman
Joined: 23 May 2008 Posts: 6219 Location: Dallas area
|
Posted: Fri Aug 17, 2018 12:56 pm Post subject: |
|
|
The latest stable version is openssl-1.0.2o-r3, that's what should be being loaded.
If you do an "emerge -pv @world" what does it show? ( "-p" is the pretend flag, nothing will get emerged) _________________ UM780, 6.12 zen kernel, gcc 13, openrc, wayland |
|
Back to top |
|
|
m_p_w n00b
Joined: 12 Sep 2016 Posts: 31
|
Posted: Fri Aug 17, 2018 1:10 pm Post subject: |
|
|
https://pastebin.com/CGqDF1GP
it says that dev-libs/openssl-1.1.0i:0/1.1::gentoo is being loaded
should I downgrade it to openssl-1.0.2o-r3? |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 31461 Location: here
|
Posted: Fri Aug 17, 2018 1:15 pm Post subject: |
|
|
m_p_w wrote: | https://pastebin.com/CGqDF1GP
it says that dev-libs/openssl-1.1.0i:0/1.1::gentoo is being loaded
should I downgrade it to openssl-1.0.2o-r3? |
Yes, remove entry in /etc/portage/package.unmask and downgrade it to 1.0.2 _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
Anon-E-moose Watchman
Joined: 23 May 2008 Posts: 6219 Location: Dallas area
|
Posted: Fri Aug 17, 2018 1:28 pm Post subject: |
|
|
You should have an entry for openssl in /etc/portage/package.keywords, remove that.
Or as fedeliallalinea said it might be in package.unmask, if so remove it
Then redo the pretend emerge command and lets make sure that the old one is going to be installed.
Edit to add: Also check /etc/portage/make.conf and look for the EMERGE_DEFAULT_OPTS line.
Does it have "--autounmask=n" on that line? _________________ UM780, 6.12 zen kernel, gcc 13, openrc, wayland |
|
Back to top |
|
|
m_p_w n00b
Joined: 12 Sep 2016 Posts: 31
|
Posted: Fri Aug 17, 2018 5:10 pm Post subject: |
|
|
Ok thank you guys, now it works, I changed " =dev-libs/openssl-1.1.0i " to "=dev-libs/openssl-1.0.2o-r3 " in /etc/portage/package.unmask
and later I used the command emerge --ask openssl to downgrade openssl to 1.0.2o-r3. |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54823 Location: 56N 3W
|
Posted: Fri Aug 17, 2018 5:22 pm Post subject: |
|
|
m_p_w,
There are some changes in dev-libs/openssl-1.1 that make it incompatible with dev-libs/openssl-1.0 and lots of things that depend on openssl too.
Left to its own devices, portage will install dev-libs/openssl-1.0 for you.
Code: | $ eix dev-libs/openssl
[I] dev-libs/openssl
Available versions:
(0.9.8) 0.9.8z_p8^d 0.9.8z_p8-r1^d
(0) 1.0.2o-r3^d (~)1.0.2o-r6^d{tbz2} (~)1.0.2p^d{tbz2} [M](~)1.1.0i(0/1.1)^d [M]**1.1.1_pre8(0/1.1)^d |
Your /etc/portage/package.unmask entry does nothing as 1.0.2o-r3 is stable.
1.0.2o-r6 and 1.0.2p are both keyworded for testing an all higher versions are masked. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
Anon-E-moose Watchman
Joined: 23 May 2008 Posts: 6219 Location: Dallas area
|
Posted: Fri Aug 17, 2018 5:52 pm Post subject: |
|
|
Thanks Neddy, I was going to tell him that.
m_p_w, try not to keep too many entries in your /etc/portage/package.* files as they will become harder to keep up with.
You shouldn't need much of anything in the package.unmask file, that's usually empty. _________________ UM780, 6.12 zen kernel, gcc 13, openrc, wayland |
|
Back to top |
|
|
m_p_w n00b
Joined: 12 Sep 2016 Posts: 31
|
Posted: Sat Aug 18, 2018 7:33 pm Post subject: |
|
|
but then can I just delete etc/portage/package.* and it will automatically install dev-libs/openssl-1.0 and not dev-libs/openssl-1.1? |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54823 Location: 56N 3W
|
Posted: Sat Aug 18, 2018 7:35 pm Post subject: |
|
|
m_p_w,
Correct.
You can always comment out the entry and test.
Trust but verify :) _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
Anon-E-moose Watchman
Joined: 23 May 2008 Posts: 6219 Location: Dallas area
|
Posted: Sat Aug 18, 2018 7:36 pm Post subject: |
|
|
I wouldn't delete them en-mass.
package.unmask is fine to be empty.
package.mask, keyword and use might or might not be needed depending on what you have or what you plan on installing on your system.
Edit to add: as Neddy said, commenting out is better, that way if needed you can easily uncomment, and not needed you can delete the commented line later. _________________ UM780, 6.12 zen kernel, gcc 13, openrc, wayland |
|
Back to top |
|
|
saderror256 n00b
Joined: 26 Jul 2018 Posts: 13 Location: Current Directory
|
Posted: Sun Aug 19, 2018 2:25 am Post subject: |
|
|
Quote: | Failed to emerge dev-python/m2crypto-0.24.0 |
I had this same issue on a Dell Latitude E5420, but on another computer it worked fine
I assume this bug is something to do with firmware/hardware, seriously, I spent hours in #gentoo and got little to no responses. Could you tell us your hardware? I might build a list of devices that have this issue and report it, this might help the m2crypto devs a little to map the issue, maybe the firmware for them use the same module/driver? you get my point i hope. Specs would also be nice
Someone "did" manage to find a workaround by modifying the emerge file, but i tried it and it didnt work
So yeah, enjoy the crying pain, you can try to continue, prove me wrong and fix the issue, but i just couldnt find a workaround for this one _________________ FreeBSD user, but still uses and loves himself some Gentoo!
I wont judge you based on what you use, newbie or inexperienced, you are still amazing for being here B) |
|
Back to top |
|
|
m_p_w n00b
Joined: 12 Sep 2016 Posts: 31
|
Posted: Sun Aug 19, 2018 12:06 pm Post subject: |
|
|
saderror256 wrote: | Quote: | Failed to emerge dev-python/m2crypto-0.24.0 |
I had this same issue on a Dell Latitude E5420, but on another computer it worked fine
I assume this bug is something to do with firmware/hardware, seriously, I spent hours in #gentoo and got little to no responses. Could you tell us your hardware? I might build a list of devices that have this issue and report it, this might help the m2crypto devs a little to map the issue, maybe the firmware for them use the same module/driver? you get my point i hope. Specs would also be nice
Someone "did" manage to find a workaround by modifying the emerge file, but i tried it and it didnt work
So yeah, enjoy the crying pain, you can try to continue, prove me wrong and fix the issue, but i just couldnt find a workaround for this one |
Lenovo B50-45 with AMD E1-6010 |
|
Back to top |
|
|
|