1
Fork 0

Amend article with actual fix for my issue

This commit is contained in:
Jake Howard 2017-09-14 14:16:21 +01:00
parent e8c85e6e15
commit 600c813bfb
Signed by: jake
GPG key ID: 57AFB45680EDD477
2 changed files with 5 additions and 1 deletions

View file

@ -100,3 +100,4 @@ nginx
systemd
mirrorlist
pacman
MortenLinderud

View file

@ -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
```
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.
@ -47,3 +47,6 @@ To revert, just restore the backup of the pacman mirrorlist, and re-run the abov
## 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.
## 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!