Amend article with actual fix for my issue
This commit is contained in:
parent
e8c85e6e15
commit
600c813bfb
2 changed files with 5 additions and 1 deletions
|
@ -100,3 +100,4 @@ nginx
|
||||||
systemd
|
systemd
|
||||||
mirrorlist
|
mirrorlist
|
||||||
pacman
|
pacman
|
||||||
|
MortenLinderud
|
||||||
|
|
|
@ -15,7 +15,7 @@ After running updates this morning, as I normally would, I went to start the pro
|
||||||
django.core.exceptions.ImproperlyConfigured: Error loading psycopg2 module: /home/jake/Projects/******/env/lib/python3.5/site-packages/psycopg2/.libs/libresolv-2-c4c53def.5.so: symbol __res_maybe_init, version GLIBC_PRIVATE not defined in file libc.so.6 with link time reference
|
django.core.exceptions.ImproperlyConfigured: Error loading psycopg2 module: /home/jake/Projects/******/env/lib/python3.5/site-packages/psycopg2/.libs/libresolv-2-c4c53def.5.so: symbol __res_maybe_init, version GLIBC_PRIVATE not defined in file libc.so.6 with link time reference
|
||||||
```
|
```
|
||||||
|
|
||||||
I knew this was something to do with updates, because that's all that had changed between the last time it worked and now. But I had a feeling rolling back updates to a given date, especially on arch, would be fairly painful. Much to my surprise, it was super simple!
|
As this was a work machine, I didn't have the time to research into the correct solution. I knew this was something to do with updates, because that's all that had changed between the last time it worked and now. But I had a feeling rolling back updates to a given date, especially on arch, would be fairly painful. Much to my surprise, it was super simple!
|
||||||
|
|
||||||
After frantically googling, so my boss didn't notice my downtime, I found [this](https://www.ostechnix.com/downgrade-packages-specific-date-arch-linux/) article, which solved my needs completely. A simple config edit, and 1 command, and I was back to working.
|
After frantically googling, so my boss didn't notice my downtime, I found [this](https://www.ostechnix.com/downgrade-packages-specific-date-arch-linux/) article, which solved my needs completely. A simple config edit, and 1 command, and I was back to working.
|
||||||
|
|
||||||
|
@ -47,3 +47,6 @@ To revert, just restore the backup of the pacman mirrorlist, and re-run the abov
|
||||||
|
|
||||||
## Outdated Packages
|
## Outdated Packages
|
||||||
Generally, having out of date packages on your system is a bad idea. Not only for security reasons, but stability and compatibility. [The article](https://www.ostechnix.com/downgrade-packages-specific-date-arch-linux/) goes through a couple more too.
|
Generally, having out of date packages on your system is a bad idea. Not only for security reasons, but stability and compatibility. [The article](https://www.ostechnix.com/downgrade-packages-specific-date-arch-linux/) goes through a couple more too.
|
||||||
|
|
||||||
|
## Actually solving my issue
|
||||||
|
A few days later, After [posting this article on twitter](https://twitter.com/RealOrangeOne/status/907591524644466688), I had a discussion with [@MortenLinderud](https://twitter.com/MortenLinderud) about the issue, who [pointed out](https://twitter.com/MortenLinderud/status/908262748718596096) that the library had already been fixed. So after updating `psycopg2`, my issue went away!
|
||||||
|
|
Loading…
Reference in a new issue