Я недавно изменил имя пользователя своей учетной записи человечности "администратору", ранее это раньше было "солнечным лучом". Теперь я пытаюсь установить использование pylint склонного - добираются, но я получаю следующую ошибку
admin@inspiron-5567:~$ sudo apt-get install pylint
[sudo] password for admin:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
blt libtcl8.6 libtk8.6 python-astroid python-backports.functools-lru-cache python-concurrent.futures python-configparser python-egenix-mxdatetime python-egenix-mxtools python-isort python-lazy-object-proxy
python-logilab-common python-mccabe python-setuptools python-singledispatch python-tk python-wrapt tk8.6-blt2.5
Suggested packages:
blt-demo tcl8.6 tk8.6 pylint-doc python-egenix-mxdatetime-dbg python-egenix-mxdatetime-doc python-egenix-mxtools-dbg python-egenix-mxtools-doc pyro python-unittest2 python-setuptools-doc tix python-tk-dbg
The following NEW packages will be installed:
blt libtcl8.6 libtk8.6 pylint python-astroid python-backports.functools-lru-cache python-concurrent.futures python-configparser python-egenix-mxdatetime python-egenix-mxtools python-isort
python-lazy-object-proxy python-logilab-common python-mccabe python-setuptools python-singledispatch python-tk python-wrapt tk8.6-blt2.5
0 upgraded, 19 newly installed, 0 to remove and 5 not upgraded.
Need to get 0 B/3,667 kB of archives.
After this operation, 21.7 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
WARNING: The following packages cannot be authenticated!
libtcl8.6 libtk8.6 tk8.6-blt2.5 blt python-lazy-object-proxy python-wrapt python-singledispatch python-backports.functools-lru-cache python-setuptools python-astroid python-concurrent.futures python-isort
python-mccabe python-configparser python-logilab-common pylint python-egenix-mxtools python-egenix-mxdatetime python-tk
Install these packages without verification? [y/N] y
Get:1 file:/home/sunbeam/subuntu1804 libtcl8.6 8.6.8+dfsg-3 [881 kB]
Err:1 file:/home/sunbeam/subuntu1804 libtcl8.6 8.6.8+dfsg-3
File not found - /home/sunbeam/subuntu1804/./repo/libtcl8.6_8.6.8+dfsg-3_amd64.deb (2: No such file or directory)
Get:2 file:/home/sunbeam/subuntu1804 libtk8.6 8.6.8-4 [693 kB]
Err:2 file:/home/sunbeam/subuntu1804 libtk8.6 8.6.8-4
File not found - /home/sunbeam/subuntu1804/./repo/libtk8.6_8.6.8-4_amd64.deb (2: No such file or directory)
Get:3 file:/home/sunbeam/subuntu1804 tk8.6-blt2.5 2.5.3+dfsg-4 [572 kB]
Err:3 file:/home/sunbeam/subuntu1804 tk8.6-blt2.5 2.5.3+dfsg-4
File not found - /home/sunbeam/subuntu1804/./repo/tk8.6-blt2.5_2.5.3+dfsg-4_amd64.deb (2: No such file or directory)
Get:4 file:/home/sunbeam/subuntu1804 blt 2.5.3+dfsg-4 [4,944 B]
Err:4 file:/home/sunbeam/subuntu1804 blt 2.5.3+dfsg-4
File not found - /home/sunbeam/subuntu1804/./repo/blt_2.5.3+dfsg-4_amd64.deb (2: No such file or directory)
Get:5 file:/home/sunbeam/subuntu1804 python-lazy-object-proxy 1.3.1-1 [20.8 kB]
Err:5 file:/home/sunbeam/subuntu1804 python-lazy-object-proxy 1.3.1-1
File not found - /home/sunbeam/subuntu1804/./repo/python-lazy-object-proxy_1.3.1-1_amd64.deb (2: No such file or directory)
Get:6 file:/home/sunbeam/subuntu1804 python-wrapt 1.9.0-3 [27.5 kB]
Err:6 file:/home/sunbeam/subuntu1804 python-wrapt 1.9.0-3
File not found - /home/sunbeam/subuntu1804/./repo/python-wrapt_1.9.0-3_amd64.deb (2: No such file or directory)
Get:7 file:/home/sunbeam/subuntu1804 python-singledispatch 3.4.0.3-2 [9,848 B]
Err:7 file:/home/sunbeam/subuntu1804 python-singledispatch 3.4.0.3-2
File not found - /home/sunbeam/subuntu1804/./repo/python-singledispatch_3.4.0.3-2_all.deb (2: No such file or directory)
Get:8 file:/home/sunbeam/subuntu1804 python-backports.functools-lru-cache 1.4-2 [5,960 B]
Err:8 file:/home/sunbeam/subuntu1804 python-backports.functools-lru-cache 1.4-2
File not found - /home/sunbeam/subuntu1804/./repo/python-backports.functools-lru-cache_1.4-2_all.deb (2: No such file or directory)
Get:9 file:/home/sunbeam/subuntu1804 python-setuptools 39.0.1-2 [329 kB]
Err:9 file:/home/sunbeam/subuntu1804 python-setuptools 39.0.1-2
File not found - /home/sunbeam/subuntu1804/./repo/python-setuptools_39.0.1-2_all.deb (2: No such file or directory)
Get:10 file:/home/sunbeam/subuntu1804 python-astroid 1.6.0-1 [108 kB]
Err:10 file:/home/sunbeam/subuntu1804 python-astroid 1.6.0-1
File not found - /home/sunbeam/subuntu1804/./repo/python-astroid_1.6.0-1_all.deb (2: No such file or directory)
Get:11 file:/home/sunbeam/subuntu1804 python-concurrent.futures 3.2.0-1 [34.2 kB]
Err:11 file:/home/sunbeam/subuntu1804 python-concurrent.futures 3.2.0-1
File not found - /home/sunbeam/subuntu1804/./repo/python-concurrent.futures_3.2.0-1_all.deb (2: No such file or directory)
Get:12 file:/home/sunbeam/subuntu1804 python-isort 4.3.4+ds1-1 [30.4 kB]
Err:12 file:/home/sunbeam/subuntu1804 python-isort 4.3.4+ds1-1
File not found - /home/sunbeam/subuntu1804/./repo/python-isort_4.3.4+ds1-1_all.deb (2: No such file or directory)
Get:13 file:/home/sunbeam/subuntu1804 python-mccabe 0.6.1-2 [8,092 B]
Err:13 file:/home/sunbeam/subuntu1804 python-mccabe 0.6.1-2
File not found - /home/sunbeam/subuntu1804/./repo/python-mccabe_0.6.1-2_all.deb (2: No such file or directory)
Get:14 file:/home/sunbeam/subuntu1804 python-configparser 3.5.0-1 [59.6 kB]
Err:14 file:/home/sunbeam/subuntu1804 python-configparser 3.5.0-1
File not found - /home/sunbeam/subuntu1804/./repo/python-configparser_3.5.0-1_all.deb (2: No such file or directory)
Get:15 file:/home/sunbeam/subuntu1804 python-logilab-common 1.4.1-1 [369 kB]
Err:15 file:/home/sunbeam/subuntu1804 python-logilab-common 1.4.1-1
File not found - /home/sunbeam/subuntu1804/./repo/python-logilab-common_1.4.1-1_all.deb (2: No such file or directory)
Get:16 file:/home/sunbeam/subuntu1804 pylint 1.8.3-1 [342 kB]
Err:16 file:/home/sunbeam/subuntu1804 pylint 1.8.3-1
File not found - /home/sunbeam/subuntu1804/./repo/pylint_1.8.3-1_all.deb (2: No such file or directory)
Get:17 file:/home/sunbeam/subuntu1804 python-egenix-mxtools 3.2.9-1 [75.3 kB]
Err:17 file:/home/sunbeam/subuntu1804 python-egenix-mxtools 3.2.9-1
File not found - /home/sunbeam/subuntu1804/./repo/python-egenix-mxtools_3.2.9-1_amd64.deb (2: No such file or directory)
Get:18 file:/home/sunbeam/subuntu1804 python-egenix-mxdatetime 3.2.9-1 [68.3 kB]
Err:18 file:/home/sunbeam/subuntu1804 python-egenix-mxdatetime 3.2.9-1
File not found - /home/sunbeam/subuntu1804/./repo/python-egenix-mxdatetime_3.2.9-1_amd64.deb (2: No such file or directory)
Get:19 file:/home/sunbeam/subuntu1804 python-tk 2.7.15~rc1-1 [25.9 kB]
Err:19 file:/home/sunbeam/subuntu1804 python-tk 2.7.15~rc1-1
File not found - /home/sunbeam/subuntu1804/./repo/python-tk_2.7.15~rc1-1_amd64.deb (2: No such file or directory)
E: Failed to fetch file:/home/sunbeam/subuntu1804/./repo/libtcl8.6_8.6.8+dfsg-3_amd64.deb File not found - /home/sunbeam/subuntu1804/./repo/libtcl8.6_8.6.8+dfsg-3_amd64.deb (2: No such file or directory)
E: Failed to fetch file:/home/sunbeam/subuntu1804/./repo/libtk8.6_8.6.8-4_amd64.deb File not found - /home/sunbeam/subuntu1804/./repo/libtk8.6_8.6.8-4_amd64.deb (2: No such file or directory)
E: Failed to fetch file:/home/sunbeam/subuntu1804/./repo/tk8.6-blt2.5_2.5.3+dfsg-4_amd64.deb File not found - /home/sunbeam/subuntu1804/./repo/tk8.6-blt2.5_2.5.3+dfsg-4_amd64.deb (2: No such file or directory)
E: Failed to fetch file:/home/sunbeam/subuntu1804/./repo/blt_2.5.3+dfsg-4_amd64.deb File not found - /home/sunbeam/subuntu1804/./repo/blt_2.5.3+dfsg-4_amd64.deb (2: No such file or directory)
E: Failed to fetch file:/home/sunbeam/subuntu1804/./repo/python-lazy-object-proxy_1.3.1-1_amd64.deb File not found - /home/sunbeam/subuntu1804/./repo/python-lazy-object-proxy_1.3.1-1_amd64.deb (2: No such file or directory)
E: Failed to fetch file:/home/sunbeam/subuntu1804/./repo/python-wrapt_1.9.0-3_amd64.deb File not found - /home/sunbeam/subuntu1804/./repo/python-wrapt_1.9.0-3_amd64.deb (2: No such file or directory)
E: Failed to fetch file:/home/sunbeam/subuntu1804/./repo/python-singledispatch_3.4.0.3-2_all.deb File not found - /home/sunbeam/subuntu1804/./repo/python-singledispatch_3.4.0.3-2_all.deb (2: No such file or directory)
E: Failed to fetch file:/home/sunbeam/subuntu1804/./repo/python-backports.functools-lru-cache_1.4-2_all.deb File not found - /home/sunbeam/subuntu1804/./repo/python-backports.functools-lru-cache_1.4-2_all.deb (2: No such file or directory)
E: Failed to fetch file:/home/sunbeam/subuntu1804/./repo/python-setuptools_39.0.1-2_all.deb File not found - /home/sunbeam/subuntu1804/./repo/python-setuptools_39.0.1-2_all.deb (2: No such file or directory)
E: Failed to fetch file:/home/sunbeam/subuntu1804/./repo/python-astroid_1.6.0-1_all.deb File not found - /home/sunbeam/subuntu1804/./repo/python-astroid_1.6.0-1_all.deb (2: No such file or directory)
E: Failed to fetch file:/home/sunbeam/subuntu1804/./repo/python-concurrent.futures_3.2.0-1_all.deb File not found - /home/sunbeam/subuntu1804/./repo/python-concurrent.futures_3.2.0-1_all.deb (2: No such file or directory)
E: Failed to fetch file:/home/sunbeam/subuntu1804/./repo/python-isort_4.3.4+ds1-1_all.deb File not found - /home/sunbeam/subuntu1804/./repo/python-isort_4.3.4+ds1-1_all.deb (2: No such file or directory)
E: Failed to fetch file:/home/sunbeam/subuntu1804/./repo/python-mccabe_0.6.1-2_all.deb File not found - /home/sunbeam/subuntu1804/./repo/python-mccabe_0.6.1-2_all.deb (2: No such file or directory)
E: Failed to fetch file:/home/sunbeam/subuntu1804/./repo/python-configparser_3.5.0-1_all.deb File not found - /home/sunbeam/subuntu1804/./repo/python-configparser_3.5.0-1_all.deb (2: No such file or directory)
E: Failed to fetch file:/home/sunbeam/subuntu1804/./repo/python-logilab-common_1.4.1-1_all.deb File not found - /home/sunbeam/subuntu1804/./repo/python-logilab-common_1.4.1-1_all.deb (2: No such file or directory)
E: Failed to fetch file:/home/sunbeam/subuntu1804/./repo/pylint_1.8.3-1_all.deb File not found - /home/sunbeam/subuntu1804/./repo/pylint_1.8.3-1_all.deb (2: No such file or directory)
E: Failed to fetch file:/home/sunbeam/subuntu1804/./repo/python-egenix-mxtools_3.2.9-1_amd64.deb File not found - /home/sunbeam/subuntu1804/./repo/python-egenix-mxtools_3.2.9-1_amd64.deb (2: No such file or directory)
E: Failed to fetch file:/home/sunbeam/subuntu1804/./repo/python-egenix-mxdatetime_3.2.9-1_amd64.deb File not found - /home/sunbeam/subuntu1804/./repo/python-egenix-mxdatetime_3.2.9-1_amd64.deb (2: No such file or directory)
E: Failed to fetch file:/home/sunbeam/subuntu1804/./repo/python-tk_2.7.15~rc1-1_amd64.deb File not found - /home/sunbeam/subuntu1804/./repo/python-tk_2.7.15~rc1-1_amd64.deb (2: No such file or directory)
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
Я уже использовал ответы от того, Как изменить пользовательское имя администратора? для изменения моего имени пользователя от "солнечного луча" до "администратора", но теперь как, я использую "Кв. - добираются" для установки чего-либо, это пытается выбрать файлы от/home/sunbeam/subuntu1804/./repo/.. который ясно не существует теперь, как солнечный луч переименован администратору. Таким образом, мой вопрос состоит в том, как установить, что-нибудь с помощью склонного - добирается, поскольку пути к файлам изменились?
Как я могу решить проблему?
следующее из комментариев
Это похоже на неправильную запись в Ваших источниках (/etc/apt/sources
) мне, где необходимо изменить запись, которая указывает на старый пользовательский каталог к новому пути $HOME (я принимаю Вас трудно кодированный старый каталог как источник, который теперь изменился),
Команда
grep sunbeam /etc/apt/sources.list
Я ожидал бы не приводить ни к каким результатам. Если это делает; они должны быть изменены для отражения нового названия каталогов $HOME.
Самая быстрая фиксация, по-моему, должна отредактировать файл и заставить его отразить новый каталог. Я использовал бы
sudo vim /etc/apt/sources.list
но можно заменить vim
с Вашим любимым редактором или изменением файл с sed
(потоковое редактирование) и т.д.