Форум русскоязычного сообщества Ubuntu


Хотите сделать посильный вклад в развитие Ubuntu и русскоязычного сообщества?
Помогите нам с документацией!

Автор Тема: Чистый sources.list  (Прочитано 20154 раз)

0 Пользователей и 1 Гость просматривают эту тему.

Оффлайн ulnda

  • Автор темы
  • Новичок
  • *
  • Сообщений: 5
    • Просмотр профиля
Чистый sources.list
« : 24 Сентября 2012, 22:16:51 »
Добрый вечер! Я совсем новичок в *NIX системах, установил Ubuntu (12.04). Попытался добавить новый репозиторий, но, видимо, где-то ошибся. Теперь, когда я пытаюсь установить Ubuntu One, то получаю ряд сообщений вида "Failed to fetch http://archive.canonical.com/ubuntu/dists/precise/Release.gpg Something wicked happened resolving 'archive.canonical.com:http' (-5 - No address associated with hostname)" - я полагаю, что ошибки связаны с моим sources.list. Его содержание на данный момент:

# deb cdrom:[Ubuntu 12.04.1 LTS _Precise Pangolin_ - Release i386 (20120817.3)]/ precise main restricted

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

## Major bug fix updates produced after the final release of the
## distribution.
deb http://ru.archive.ubuntu.com/ubuntu/ precise-updates main restricted
deb-src http://ru.archive.ubuntu.com/ubuntu/ precise-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/ precise universe
deb-src http://ru.archive.ubuntu.com/ubuntu/ precise universe
deb http://ru.archive.ubuntu.com/ubuntu/ precise-updates universe
deb-src http://ru.archive.ubuntu.com/ubuntu/ precise-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/ precise multiverse
deb-src http://ru.archive.ubuntu.com/ubuntu/ precise multiverse
deb http://ru.archive.ubuntu.com/ubuntu/ precise-updates multiverse
deb-src http://ru.archive.ubuntu.com/ubuntu/ precise-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://ru.archive.ubuntu.com/ubuntu/ precise-backports main restricted universe multiverse
deb-src http://ru.archive.ubuntu.com/ubuntu/ precise-backports main restricted universe multiverse

deb http://security.ubuntu.com/ubuntu precise-security main restricted
deb-src http://security.ubuntu.com/ubuntu precise-security main restricted
deb http://security.ubuntu.com/ubuntu precise-security universe
deb-src http://security.ubuntu.com/ubuntu precise-security universe
deb http://security.ubuntu.com/ubuntu precise-security multiverse
deb-src http://security.ubuntu.com/ubuntu precise-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 precise partner
# deb-src http://archive.canonical.com/ubuntu precise 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 precise main
deb http://archieve.canonical.com/ precise partner
deb-src http://archieve.canonical.com/ precise partner
deb-src http://extras.ubuntu.com/ubuntu precise main

Прошу подсказать, как можно пофиксить мою проблему. Заранее благодарю.

Оффлайн ArcFi

  • Старожил
  • *
  • Сообщений: 15189
    • Просмотр профиля
    • aetera.net
Re: Чистый sources.list
« Ответ #1 : 24 Сентября 2012, 23:05:33 »
grep -Ev '^#|^$' /etc/apt/sources.list{,.d/*}?

Оффлайн ulnda

  • Автор темы
  • Новичок
  • *
  • Сообщений: 5
    • Просмотр профиля
Re: Чистый sources.list
« Ответ #2 : 24 Сентября 2012, 23:15:50 »
Нет, не помогло. Может быть кто-то из пользователей поделится содержимым своего файла?

Оффлайн ulnda

  • Автор темы
  • Новичок
  • *
  • Сообщений: 5
    • Просмотр профиля
Re: Чистый sources.list
« Ответ #3 : 24 Сентября 2012, 23:23:05 »
Результат:


/etc/apt/sources.list:deb http://ru.archive.ubuntu.com/ubuntu/ precise main restricted
/etc/apt/sources.list:deb-src http://ru.archive.ubuntu.com/ubuntu/ precise main restricted
/etc/apt/sources.list:deb http://ru.archive.ubuntu.com/ubuntu/ precise-updates main restricted
/etc/apt/sources.list:deb-src http://ru.archive.ubuntu.com/ubuntu/ precise-updates main restricted
/etc/apt/sources.list:deb http://ru.archive.ubuntu.com/ubuntu/ precise universe
/etc/apt/sources.list:deb-src http://ru.archive.ubuntu.com/ubuntu/ precise universe
/etc/apt/sources.list:deb http://ru.archive.ubuntu.com/ubuntu/ precise-updates universe
/etc/apt/sources.list:deb-src http://ru.archive.ubuntu.com/ubuntu/ precise-updates universe
/etc/apt/sources.list:deb http://ru.archive.ubuntu.com/ubuntu/ precise multiverse
/etc/apt/sources.list:deb-src http://ru.archive.ubuntu.com/ubuntu/ precise multiverse
/etc/apt/sources.list:deb http://ru.archive.ubuntu.com/ubuntu/ precise-updates multiverse
/etc/apt/sources.list:deb-src http://ru.archive.ubuntu.com/ubuntu/ precise-updates multiverse
/etc/apt/sources.list:deb http://ru.archive.ubuntu.com/ubuntu/ precise-backports main restricted universe multiverse
/etc/apt/sources.list:deb-src http://ru.archive.ubuntu.com/ubuntu/ precise-backports main restricted universe multiverse
/etc/apt/sources.list:deb http://security.ubuntu.com/ubuntu precise-security main restricted
/etc/apt/sources.list:deb-src http://security.ubuntu.com/ubuntu precise-security main restricted
/etc/apt/sources.list:deb http://security.ubuntu.com/ubuntu precise-security universe
/etc/apt/sources.list:deb-src http://security.ubuntu.com/ubuntu precise-security universe
/etc/apt/sources.list:deb http://security.ubuntu.com/ubuntu precise-security multiverse
/etc/apt/sources.list:deb-src http://security.ubuntu.com/ubuntu precise-security multiverse
/etc/apt/sources.list:deb http://extras.ubuntu.com/ubuntu precise main
/etc/apt/sources.list:deb http://archieve.canonical.com/ precise partner
/etc/apt/sources.list:deb-src http://archieve.canonical.com/ precise partner
/etc/apt/sources.list:deb-src http://extras.ubuntu.com/ubuntu precise main
/etc/apt/sources.list.d/google-chrome.list:deb http://dl.google.com/linux/chrome/deb/ stable main
/etc/apt/sources.list.d/precise-partner.list:deb http://archive.canonical.com/ubuntu precise partner #Added by software-center

Оффлайн ArcFi

  • Старожил
  • *
  • Сообщений: 15189
    • Просмотр профиля
    • aetera.net
Re: Чистый sources.list
« Ответ #4 : 24 Сентября 2012, 23:48:19 »
Хм, что-то я сходу не вижу косяка, ну и ладно.
Чистый список репов можно сгенерировать тут:
http://repogen.simplylinux.ch/

Оффлайн ulnda

  • Автор темы
  • Новичок
  • *
  • Сообщений: 5
    • Просмотр профиля
Re: Чистый sources.list
« Ответ #5 : 25 Сентября 2012, 00:09:09 »
Спасибо, сделал новый список - пока все ок. Возник еще небольшой вопрос, думаю отдельную тему создавать глупо: пытаюсь в Netbeans положить новый проект в /var/www, получаю сообщение - "Запись в папку источников невозможна". Как мне получить доступ к этой папке? Спасибо заранее.

У нас на форуме принято: одна тема- один вопрос.

Для получения ответа на свой вопрос создайте, пожалуйста, отдельную тему.

Обращаю внимание желающих ответить, что ответы на оффтоп будут рацениваться как оффтоп.


--Сперанский
« Последнее редактирование: 25 Сентября 2012, 00:19:35 от Сперанский »

Оффлайн astrobeglec

  • Активист
  • *
  • Сообщений: 838
  • Самая тяжелая ноша - пророк в извращенном мире...
    • Просмотр профиля
Re: Чистый sources.list
« Ответ #6 : 25 Сентября 2012, 12:13:29 »
У нас на форуме принято: одна тема- один вопрос.

Для получения ответа на свой вопрос создайте, пожалуйста, отдельную тему.

Обращаю внимание желающих ответить, что ответы на оффтоп будут рацениваться как оффтоп.


--Сперанский

А еще принято после решения вопроса указывать это решение в конце топика проставлять [Решено] в названии темы и закрывать данную тему.
Я вернулся...

 

Страница сгенерирована за 0.022 секунд. Запросов: 22.