Неспособный в Кв. - получают обновление, Синаптическое для способного, и мюонное не запускается, никакой путь даже с помощью терминала

Я - довольно новое использование Linux и использование, чтобы испортить мое тестирование системы и попытку. Так, синаптический не запускается как все, что я должен получить пакеты и обновления.

Вот сообщение ошибки, которое я имел (английский язык не является моим родительским языком, быть добрым с моим уровнем),

E: Erreur syntaxique /etc/apt/apt.conf.d/apt-file.conf:17 : valeur suivie de choses illicites

Перевод из французов :value followed by illicit things !! Ooops, Что такое незаконные вещи? Я не бандит. Я проверил etc/apt/apt.conf.d, вот файл:

# Apt-file configuration file

# Substitutions are made as follows:
#   host => remote hostname
#   port => remote port
#   uri => complete URI from sources.list
#   path => path from /
#   dist => the distribution name
#   cache => path to the local cache dir
#   dest => the destination file name inside the cache dir
#   cdrom => cdrom mount point

# Where are located Packages
destination = <host>_<path>_dists_<dist>_Contents-<arch>.gz

# common code blocks can be defined as variables and be used as $check_cmd, etc. later
check_cmd = ( ( gunzip -l "<cache>/<dest>_tmp" >/dev/null 2>&1 || (echo "File is not gzipped."; false) ) && mv "<cache>/<dest>_tmp" "<cache>/<dest>" 2>&1 )
error_cmd = ( rm -f "<cache>/<dest>_tmp"; echo "Can't get <uri>/dists/<dist>/Contents-<arch>.gz" )
post_dl_cmd = $check_cmd || $error_cmd 


# Fetch methods using diffindex-download:
# -i : ignore missing files
# -q : be quiet
# -n <num> : download full file if more than <num> patches would be necessary
http = diffindex-download -i "<uri>/dists/<dist>/Contents-<arch>.gz" <cache>/<dest>
https = diffindex-download -i "<uri>/dists/<dist>/Contents-<arch>.gz" <cache>/<dest>
ftp = diffindex-download -i "<uri>/dists/<dist>/Contents-<arch>.gz" <cache>/<dest>
# In debtorrent URLs, we have to replace 'debtorrent' by 'http', and we always download the full file
debtorrent = diffindex-download -i -n 0 "http://<host>:<port|9988><path>/dists/<dist>/Contents-<arch>.gz" <cache>/<dest>

ssh = scp -P <port|22> "<user>@<host>:/<path>/dists/<dist>/Contents-<arch>.gz" "<cache>/<dest>_tmp" && $post_dl_cmd
rsh = rcp -l <user> "<host>:/<path>/dists/<dist>/Contents-<arch>.gz" "<cache>/<dest>_tmp" && $post_dl_cmd
file = cp "/<path>/dists/<dist>/Contents-<arch>.gz" "<cache>/<dest>"
copy = cp "/<path>/dists/<dist>/Contents-<arch>.gz" "<cache>/<dest>"
cdrom = echo "Put CDROM labeled <path> in the cdrom device and press [ENTER]" > /dev/stderr ; read DUMMY ; mount "<cdrom>"; cp "<cdrom>/dists/<dist>/Contents-<arch>.gz" "<cache>/<dest>" ; umount "<cdrom>"

# Schemes that might require user input on 'apt-file update'
# These will be skipped if -N is given
interactive = cdrom rsh ssh

Это похоже на китайский язык для меня и когда я сделал по крайней мере 10 re-instalations от своего ПК начиная с использования Linux, но сохраните верность, я не изменю один только этот файл. Я сделал свое лучшее к найденной информации, и я нашел, что объяснение, говорящее Синаптический, кажется, перезаписывает в этом файле (?? Я не знаю), которые приводят к созданию ситуации, обновляют и обновляют невозможный. Здесь эта ссылка: http://www.hyjoo.com/sujet-32191.html

Кто-то знает то, что я переношу прочь?

0
задан 9 May 2014 в 23:43

1 ответ

Кажется, что файл apt-file.conf закончен в каталоге /etc/apt/apt.conf.d/ вместо Попытки каталога /etc/apt

переместиться,

sudo mv -i /etc/apt/apt.conf.d/apt-file.conf /etc/apt/

, возможно, лучше, если Вы проверяете прежде, который это не существует в /etc/apt и в случае, если Вы решаете, который Вы хотите сохранить.

0
ответ дан 7 October 2019 в 20:50

Другие вопросы по тегам:

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