ошибка завихрения yaourt: ошибка подключения SSL

Кто-то еще может ответить в awk или sed, но версия Python проста и могла бы быть полезна Вам.

#!/usr/bin/env python

input_file = 'input.dat'
in_fh      = open(input_file, 'r')

input_order = []
seen        = {}
for line in in_fh:    
    # Remove the newline character...
    line = line[:-1]

    # Separate the first column from the rest of the line...
    key_col, sep, rest_of_line = line.partition(" ")
    rest_of_line = sep + rest_of_line  

    # If we've seen this key already, concatenate the line...
    if key_col in seen:
        seen[key_col] += rest_of_line
    # ...otherwise, record the ordering, and store the new info
    else:
        input_order.append(key_col)
        seen[key_col] = rest_of_line

in_fh.close()

# Dump the ordered output to stdout
for unique_col in input_order:
    print unique_col + seen[unique_col]
3
09.12.2013, 04:33
1 ответ

Эта проблема, по-видимому, происходит для иранского народа.

Решение:

Необходимо заменить yaourt-ssl3 и package-query-ssl3 вместо этого yaourt и package-query.

Во-первых необходимо удалить текущий yaourt и package-query следующей командой:

sudo pacman -Rsc package-query

И затем установка ssl3 :

curl -O3 https://aur.archlinux.org/packages/pa/package-query-ssl3/package-query-ssl3.tar.gz
tar -xf package-query-ssl3.tar.gz
cd package-query-ssl3
makepkg -cis
cd ..
curl -O3 https://aur.archlinux.org/packages/ya/yaourt-ssl3/yaourt-ssl3.tar.gz
tar -xf yaourt-ssl3.tar.gz
cd yaourt-ssl3
makepkg -cis

Именно.

1
27.01.2020, 21:31

Теги

Похожие вопросы