"우분투 소프트웨어 센터", "소프트웨어 업데이터", "소프트웨어 소스", "언어 지원"을 열 수 없습니다. 소스 목록의 잘못된 라인 56

"우분투 소프트웨어 센터", "소프트웨어 업데이터", "소프트웨어 소스", "언어 지원"을 열 수 없습니다. 소스 목록의 잘못된 라인 56

다음 오류가 발생합니다.

패키지 정보를 초기화할 수 없습니다.

패키지 정보를 초기화하는 동안 해결할 수 없는 문제가 발생했습니다.

'update-manager' 패키지에 대해 이 버그를 보고하고 다음 오류 메시지를 포함하십시오: E: 소스 목록 /etc/apt/sources.list(URI 구문 분석)의 잘못된 라인 56, E: 소스 목록을 읽을 수 없습니다. ., E:패키지 목록 또는 상태 파일을 구문 분석하거나 열 수 없습니다.

나는 문제가소스 목록의 56번째 줄, 하지만 '에 명시된 대로 모두 수행했습니다.내 source.list에서 잘못된 줄을 어떻게 제거합니까?" 왜냐하면 첫 번째 질문의 '[중복]'이지만 제안된 각 솔루션에도 문제가 남아 있기 때문입니다. 또 무엇을 할 수 있습니까?

터미널에 입력하면 다음과 같은 결과 gksu gedit /etc/apt/sources.list가 나타납니다.

# deb cdrom:[Ubuntu 12.10 _Quantal Quetzal_ - Release i386 (20121017.2)]/ quantal main restricted

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://mx.archive.ubuntu.com/ubuntu/ quantal main restricted
deb-src http://mx.archive.ubuntu.com/ubuntu/ quantal main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://mx.archive.ubuntu.com/ubuntu/ quantal-updates main restricted
deb-src http://mx.archive.ubuntu.com/ubuntu/ quantal-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://mx.archive.ubuntu.com/ubuntu/ quantal universe
deb-src http://mx.archive.ubuntu.com/ubuntu/ quantal universe
deb http://mx.archive.ubuntu.com/ubuntu/ quantal-updates universe
deb-src http://mx.archive.ubuntu.com/ubuntu/ quantal-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu 
## team, and may not be under a free licence. Please satisfy yourself as to 
## your rights to use the software. Also, please note that software in 
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://mx.archive.ubuntu.com/ubuntu/ quantal multiverse
deb-src http://mx.archive.ubuntu.com/ubuntu/ quantal multiverse
deb http://mx.archive.ubuntu.com/ubuntu/ quantal-updates multiverse
deb-src http://mx.archive.ubuntu.com/ubuntu/ quantal-updates multiverse

## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://mx.archive.ubuntu.com/ubuntu/ quantal-backports main restricted universe multiverse
deb-src http://mx.archive.ubuntu.com/ubuntu/ quantal-backports main restricted universe multiverse

deb http://security.ubuntu.com/ubuntu quantal-security main restricted
deb-src http://security.ubuntu.com/ubuntu quantal-security main restricted
deb http://security.ubuntu.com/ubuntu quantal-security universe
deb-src http://security.ubuntu.com/ubuntu quantal-security universe
deb http://security.ubuntu.com/ubuntu quantal-security multiverse
deb-src http://security.ubuntu.com/ubuntu quantal-security multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
deb http://archive.canonical.com/ubuntu quantal partner
# deb-src http://archive.canonical.com/ubuntu quantal partner

## This software is not part of Ubuntu, but is offered by third-party
## developers who want to ship their latest software.
deb http://extras.ubuntu.com/ubuntu quantal main
deb-src socio http://archive.canonical.com/ precisa
deb-src http://extras.ubuntu.com/ubuntu quantal main

분명히 나는 ​​이것에 대해 처음이라고 말해야하므로 도움을 주셔서 감사합니다.

그리고 덕분에-엘리아 케이건- ''를 넣는 방법을 가르쳐 주려고소스.목록'처음에 딱 하고 싶었던 일인데 어떻게 해야 할지 몰랐는데, 정말 감사합니다.

답변1

제거하다마지막 줄 앞의 줄 :

deb-src socio http://archive.canonical.com/ precisa

수동으로 편집해서 실수를 한 것 같습니다. 이 줄은 구체적인 내용( main, 등) 을 나타내지 않으므로 partner이 줄이 무엇인지 알 수 없습니다.

파일을 제거하고 저장한 후 패키지 소스를 업데이트 sudo apt-get update하거나,확인하다시스템 업데이트 관리자에서.

그건 그렇고, 나는 더 넓은 범위를 볼 수 없습니다내 source.list에서 잘못된 줄을 어떻게 제거합니까?질문에서는 이것을 다루지 않습니다.

관련 정보