Проблемка в следующем.
VirtualBox поставил Xubuntu 8.04 при попытке обновится или установить пакеты
выдает ошибку:
W: Не удалось загрузить http://archive.ubuntu.com/ubuntu/dists/har...nslation-ru.bz2 Не удается соединится с archive.ubuntu.com:80 (00.35.89.45). -connect (111 Conectioon refused) [IP: 00.35.89.45 80]
Ну и т.д.
Хотя этот адрес я открываю броузером из VirtualBox без проблем так что соединение работает нормально.
Подскажите что не так?
[Решено]xubuntu на виртуалке - нет доступа к репозиторию
Модератор: Модераторы разделов
-
hdog69
- Сообщения: 124
- ОС: Debian Lenny
-
blackdevil
- Бывший модератор
- Сообщения: 2751
- Статус: Добровольный помощник
- ОС: Ubuntu (lts)
Re: [Решено]xubuntu на виртуалке - нет доступа к репозиторию
Для начала хотелось бы как минимум увидеть содержимое файла sources.list и настройки виртуальной машины.
Простые решения для Ubuntu-подобных систем: смотрим тут
-
hdog69
- Сообщения: 124
- ОС: Debian Lenny
Re: [Решено]xubuntu на виртуалке - нет доступа к репозиторию
Вот sources.list
# deb cdrom:[Xubuntu 8.04.1 _Hardy Heron_ - Release i386 (20080702.1)]/ hardy main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
## Major bug fix updates produced after the final release of the
## distribution.
## 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
## universe WILL NOT receive any review or updates from the Ubuntu security
## team.
## 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.
## 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://ua.archive.ubuntu.com/ubuntu/ hardy-backports main restricted universe multiverse
# deb-src http://ua.archive.ubuntu.com/ubuntu/ hardy-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 hardy partner
# deb-src http://archive.canonical.com/ubuntu hardy partner
deb http://archive.ubuntu.com/ubuntu/ hardy universe
deb http://archive.ubuntu.com/ubuntu/ hardy-updates universe
deb http://archive.ubuntu.com/ubuntu/ hardy main
А какие имено настройки виртуальной машины?
# deb cdrom:[Xubuntu 8.04.1 _Hardy Heron_ - Release i386 (20080702.1)]/ hardy main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
## Major bug fix updates produced after the final release of the
## distribution.
## 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
## universe WILL NOT receive any review or updates from the Ubuntu security
## team.
## 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.
## 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://ua.archive.ubuntu.com/ubuntu/ hardy-backports main restricted universe multiverse
# deb-src http://ua.archive.ubuntu.com/ubuntu/ hardy-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 hardy partner
# deb-src http://archive.canonical.com/ubuntu hardy partner
deb http://archive.ubuntu.com/ubuntu/ hardy universe
deb http://archive.ubuntu.com/ubuntu/ hardy-updates universe
deb http://archive.ubuntu.com/ubuntu/ hardy main
А какие имено настройки виртуальной машины?
-
blackdevil
- Бывший модератор
- Сообщения: 2751
- Статус: Добровольный помощник
- ОС: Ubuntu (lts)
Re: [Решено]xubuntu на виртуалке - нет доступа к репозиторию
Имеется в виду какое виртуальное железо как настроено для Kubuntu. Как настроена сеть? Nat, Host IP или т.п....
Кстати попробуйте перед установкой чего либо запустить в консоли:
Потому что по первому посту видно что ссылки http://archive.ubuntu.com/ubuntu/dists/har...nslation-ru.bz2 действительно нет на сервере, хотя есть директория http://archive.ubuntu.com/ubuntu/dists/har...dates/universe/
Еще попробуйте вместо своих репозиториев поставить репозитории яндекс-зеркала, должно помочь...
Кстати попробуйте перед установкой чего либо запустить в консоли:
Код: Выделить всё
sudo apt-get updateПотому что по первому посту видно что ссылки http://archive.ubuntu.com/ubuntu/dists/har...nslation-ru.bz2 действительно нет на сервере, хотя есть директория http://archive.ubuntu.com/ubuntu/dists/har...dates/universe/
Еще попробуйте вместо своих репозиториев поставить репозитории яндекс-зеркала, должно помочь...
Простые решения для Ubuntu-подобных систем: смотрим тут
-
hdog69
- Сообщения: 124
- ОС: Debian Lenny
Re: [Решено]xubuntu на виртуалке - нет доступа к репозиторию
Сеть NAT, Xubuntu а не Kubuntu, По поводу виртуального железа приду домой посмотрю.
Яндекс зеркала в списке есть, пробовал, таже байда.
Яндекс зеркала в списке есть, пробовал, таже байда.
-
hdog69
- Сообщения: 124
- ОС: Debian Lenny
Re: [Решено]xubuntu на виртуалке - нет доступа к репозиторию
Скопировал sources.list отсюда http://forum.ubuntu.ru/index.php?topic=2949.0 только заменил "feisty" на "hardy", результата никого.
Нескромный вопрос а где смотреть виртуальное железо.
Тут еще одна идейка основная система ходит в интернет через прокси, может с этим связано, если да то как это решить.
Нескромный вопрос а где смотреть виртуальное железо.
Тут еще одна идейка основная система ходит в интернет через прокси, может с этим связано, если да то как это решить.
-
hdog69
- Сообщения: 124
- ОС: Debian Lenny
Re: [Решено]xubuntu на виртуалке - нет доступа к репозиторию
Вопрос решен, всем спасибо.
Оказалось в гостевой ОС надо создать файл /etc/apt/apt.conf.d/proxy и просисать адресцию прокси.
Хотя
не понятно причем прокси гостевой я так понимаю доступ к сети идет через основную ОС где уже прописан прокси.
Оказалось в гостевой ОС надо создать файл /etc/apt/apt.conf.d/proxy и просисать адресцию прокси.
Хотя