Проблема с установкой некоторых пакетов и обновлением Ubuntu
Я несколько новичок в этой операционной системе. Я использую его с 6 месяцев. Изначально у меня не было проблем с моей операционной системой, но с того дня, когда я через некоторое время нажимал "Проверить" в разделе обновления программного обеспечения, появлялось окно с сообщением "Не удалось загрузить информацию о репозитории". Когда я нажимаю на детали, это примерно так:
W:Failed to fetch http://archive.ubuntu.com/ubuntu/dists/precise/Release Unable to find expected entry 'commercial/binary-amd64/Packages' in Release file (Wrong sources.list entry or malformed file)
, W:Failed to fetch http://security.ubuntu.com/ubuntu/dists/precise-security/Release Unable to find expected entry 'commercial/binary-amd64/Packages' in Release file (Wrong sources.list entry or malformed file)
, W:Failed to fetch http ://archive.ubuntu.com/ubuntu/dists/precise-updates/Release Unable to find expected entry 'commercial/binary-amd64/Packages' in Release file (Wrong sources.list entry or malformed file)
, E:Some index files failed to download. They have been ignored, or old ones used instead.
Я не могу понять актуальную проблему, так как пару дней. Я даже не могу установить некоторые программы, такие как VLC,SKYPE,TeamViewer и Wine. Мне сообщают о той же самой проблеме всегда, это что-то вроде этого:
Package dependencies cannot be resolved
This error could be caused by required additional software packages which are missing or not installable. Furthermore there could be a conflict between software packages which are not allowed to be installed at the same time.
The following packages have unmet dependencies:
vlc: Depends: vlc-nox (= 2.0.3+git20120729+r318-0~r40~precise1) but 2.0.3+git20120729+r318-0~r40~precise1 is to be installed
Depends: libavcodec-extra-53 (>= 4:0.8-1~) but 4:0.8.3ubuntu0.12.04.1 is to be installed
Depends: libavutil-extra-51 (>= 4:0.8-1~) but 4:0.8.3ubuntu0.12.04.1 is to be installed
Depends: libc6 (>= 2.15) but 2.15-0ubuntu10 is to be installed
Depends: libfreetype6 (>= 2.2.1) but 2.4.8-1ubuntu2 is to be installed
Depends: libgcc1 (>= 1:4.1.1) but 1:4.6.3-1ubuntu5 is to be installed
Depends: libqtcore4 (>= 4:4.8.0) but 4:4.8.1-0ubuntu4.2 is to be installed
Depends: libqtgui4 (>= 4:4.7.0~beta1) but 4:4.8.1-0ubuntu4.2 is to be installed
Depends: libstdc++6 (>= 4.6) but 4.6.3-1ubuntu5 is to be installed
Depends: zlib1g (>= 1:1.2.3.3.dfsg) but 1:1.2.3.4.dfsg-3ubuntu4 is to be installed
Я стал настолько страстным пользователем Ubuntu, что я не могу удалить и установить его снова. Может ли кто-нибудь помочь мне здесь.?
2 ответа
Просто нажмите Ctrl+Alt+T на клавиатуре, чтобы открыть терминал. Когда он откроется, выполните команды ниже.
sudo apt-get install -f
sudo apt-get update
Отредактированный /etc/apt/sources.list вручную и удалил все экземпляры слова "коммерческий". Задача решена. Сделайте резервную копию этого файла первым!