
나는 끔찍한 실수를 저질러 gtk(그리고 gnome을 포함한 모든 링크된 패킷)를 제거했습니다. 그 후 대부분의 주요 패킷이 포함된 GUI를 복구했지만
sudo apt-get install ubuntu-desktop
이제 다음 작업을 수행하려고 할 때 오류가 발생합니다 sudo apt-get update
.
Hit http://repo.yandex.ru maverick Release.gpg
Hit http://ru.archive.ubuntu.com maverick Release.gpg
Ign http://repo.yandex.ru/ubuntu/ maverick/main Translation-en
Ign http://repo.yandex.ru/ubuntu/ maverick/main Translation-en_US
Ign http://repo.yandex.ru/ubuntu/ maverick/main Translation-ru
Ign http://repo.yandex.ru/ubuntu/ maverick/non-free Translation-en
Ign http://ru.archive.ubuntu.com/ubuntu/ maverick/contrib Translation-en
Ign http://ru.archive.ubuntu.com/ubuntu/ maverick/contrib Translation-en_US
Ign http://ru.archive.ubuntu.com/ubuntu/ maverick/contrib Translation-ru
Ign http://ru.archive.ubuntu.com/ubuntu/ maverick/main Translation-en
Ign http://ru.archive.ubuntu.com/ubuntu/ maverick/main Translation-en_US
Hit http://ru.archive.ubuntu.com/ubuntu/ maverick/main Translation-ru
Ign http://repo.yandex.ru/ubuntu/ maverick/non-free Translation-en_US
Ign http://repo.yandex.ru/ubuntu/ maverick/non-free Translation-ru
Hit http://repo.yandex.ru maverick Release
Ign http://ru.archive.ubuntu.com/ubuntu/ maverick/restricted Translation-en
Ign http://ru.archive.ubuntu.com/ubuntu/ maverick/restricted Translation-en_US
Hit http://ru.archive.ubuntu.com/ubuntu/ maverick/restricted Translation-ru
Hit http://ru.archive.ubuntu.com maverick Release
Hit http://repo.yandex.ru maverick/main i386 Packages
Hit http://repo.yandex.ru maverick/non-free i386 Packages
Hit http://ru.archive.ubuntu.com maverick/main Sources
W: Failed to fetch http://ru.archive.ubuntu.com/ubuntu/dists/maverick/Release Unable to find expected entry contrib/source/Sources in Meta-index file (malformed Release file?)
E: Some index files failed to download, they have been ignored, or old ones used instead.
발행했는데 sudo apt-get clean all
아무것도 바뀌지 않았습니다.
/etc/apt/sources.list
다음과 같습니다:
deb http://ru.archive.ubuntu.com/ubuntu/ maverick main contrib restricted
deb-src http://ru.archive.ubuntu.com/ubuntu/ maverick main contrib restricted
deb http://repo.yandex.ru/ubuntu/ maverick main non-free
sudo apt-get update
contrib
Deb 기록 없이도 잘 작동합니다.
그 문제를 해결할 수 있는 방법이 있나요?
우분투 10.10을 사용하고 있습니다.
답변1
contrib
공식 우분투 미러에 대한 유효한 섹션이 아니므로 contrib/source/Sources
찾을 수 없는 비밀스러운 메시지입니다.
repo.yandex.ru
에 나열된 공식적인 것이 아닙니다.https://launchpad.net/ubuntu/+archivemirrors. 해당 미러 섹션 non-free
에는 바이너리나 소스가 포함되어 있지 않습니다. Yandex 미러를 사용하려면 다음을 사용하십시오.mirror.yandex.ru
.
또한 저장소 소스 목록이 누락되어 security.ubuntu.com
보안 업데이트가 지연될 수 있습니다.
저장소 소스를 최소한 다음으로 설정해야 합니다.
deb http://ru.archive.com/ubuntu/ maverick main restricted
deb-src http://ru.archive.com/ubuntu/ maverick main restricted
deb http://security.ubuntu.com/ubuntu/ maverick main-security restricted
deb-src http://security.ubuntu.com/ubuntu/ maverick main-security restricted
이 목록에는 많은 패키지가 누락되어 있습니다. 새로 설치 시 제공된 목록을 사용하고 아래 텍스트를 다음과 같이 저장하는 것이 좋습니다 /etc/apt/sources.list
.
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://ru.archive.ubuntu.com/ubuntu/ maverick main restricted
deb-src http://ru.archive.ubuntu.com/ubuntu/ maverick main restricted
## Major bug fix updates produced after the final release of the
## distribution.
deb http://ru.archive.ubuntu.com/ubuntu/ maverick-updates main restricted
deb-src http://ru.archive.ubuntu.com/ubuntu/ maverick-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://ru.archive.ubuntu.com/ubuntu/ maverick universe
deb-src http://ru.archive.ubuntu.com/ubuntu/ maverick universe
deb http://ru.archive.ubuntu.com/ubuntu/ maverick-updates universe
deb-src http://ru.archive.ubuntu.com/ubuntu/ maverick-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://ru.archive.ubuntu.com/ubuntu/ maverick multiverse
deb-src http://ru.archive.ubuntu.com/ubuntu/ maverick multiverse
deb http://ru.archive.ubuntu.com/ubuntu/ maverick-updates multiverse
deb-src http://ru.archive.ubuntu.com/ubuntu/ maverick-updates multiverse
## Uncomment the following two lines to add software from the 'backports'
## repository.
## 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://ru.archive.ubuntu.com/ubuntu/ maverick-backports main restricted universe multiverse
# deb-src http://ru.archive.ubuntu.com/ubuntu/ maverick-backports main restricted universe 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 maverick partner
# deb-src http://archive.canonical.com/ubuntu maverick 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 maverick main
deb-src http://extras.ubuntu.com/ubuntu maverick main
deb http://security.ubuntu.com/ubuntu maverick-security main restricted
deb-src http://security.ubuntu.com/ubuntu maverick-security main restricted
deb http://security.ubuntu.com/ubuntu maverick-security universe
deb-src http://security.ubuntu.com/ubuntu maverick-security universe
deb http://security.ubuntu.com/ubuntu maverick-security multiverse
deb-src http://security.ubuntu.com/ubuntu maverick-security multiverse