LinuxForum.Fans
Тема

Как восстановить ядро системы в Sqeeze (подробности в теме)?

Автор: Darc 22 сообщений 6647 просмотров
#223846

Здравствуйте, у меня такая проблема, расскажу по порядку!
Пол года назад по причине неработающего в KDE 4.4.5 skype перешёл на Gnome перед этим почистив систему от KDE, из репозитариев установился Gnome с gdm3, но видимо не всё из kde было удалено т.к. слетели ихсы. Повторно установил X, драйвера Nvidia с офф.сайта при помощи программы-скрипта SGFXI.
Давно заметил что после всех действий при установке ПО оно не появлялось в меню, но это особо не напрягало т.к. всё запускал вручную по нажатию Alt+F2 и ввода программы (по моему быстрее) и кнопками запуска с рабочего стола (для них была создана папка на столе чтоб на загромождать).
На прошлой неделе потребовался GIMP, который отказался запускаться из меню (появились часы, покрутились и пропали), при попытке запустить по нажатию Alt+F2 выдал что GIMP не установлен.
Из консоли начал установку, aptitude сказал что в системе он установлен. Я его деинсталил, удалил все каталоги с именем Гимп под рутом и повторно установил. После установки в меню не появился при запуске по нажатию Alt+F2 эффект тотже - часы и всё! :(
Прочитал что решается вопрос установкой новой версии из ветки Backports или Testing.
При установки из ветки Backports начались проблемы с зависимостями, но после их решения и установки ничего не изменилось при запуске.
Решил обновить систему до Wheeze (пишу коротко и по памяти с работы):
создал /etc/apt/apt.conf: release = wheeze &
/etc/apt/preferences: release a = wheeze
pin = 650
и так далее на уменьшение до unstable и заменил в sources.list всё на wheeze.

После обновления системы aptitude safe-upgrade установилось новое ядро + заменилось всё ПО и слетели иксы после перезагрузки, об этом предупреждалось (что возможно придётся переустановить Nvidia драйвера и virtualbox). После долгих разборок оказалось что при обновлении системы полностью удалились все xserver-*, после его установки Х запустился но в 1/4 размера экрана. Настройка xorg.conf ничего не дала. Решил сделать aptitude -f install, и добавил "на свою голову файл № (точно не помню) unattanded-install в каталог /etc/apt/apt.conf.d" и прописал туда ветки и комманду "aptitude -f install = y" и как вариант aptitude -f install = "y" и запустил на ночь. Проверка зависимостей и установка пошла без моего вмешательства...
Вчера утром в консоли сообщение что всё успешно завершено и требуется перезапустить систему, но пролистав эклан при помощи ScrolLock заметил что были удалены все ядра и модули из системы, и всё ПО и установлены 7 программ и новый udev...
При перезагрузке в Grub 2 остались только пункты загрузки Win.
Пробовал скачать вручную ядро и образ RAM-дискаего и скопировать их в каталог (точные имена файлов не помню): /boot/initrd-2.6.32-amd64, /boot/vmlinuz-2.6.32-amd64 при помощи установочного диска Lenny 5.0.8 и добавить пункты в меню груб сразу же, при перезагрузке пункты меню не появились.

Помогите пожалуйста восстановить систему и как сделать чтобы при загрузке релиз показывался снова Sqeeze - наигрался уже с тестовыми просто и с зависимостями?
Заранее спасибо.

#223868

Darc, не осилил твое изложение, давай коротко и по теме. http://linuxforum.ru/viewtopic.php?id=14275
сделай от root'а след команды и покажи вывод:

text
cat /etc/apt/sources.list
cat /etc/apt/preferences
cat /etc/apt/apt.conf
ls /etc/apt/
ls /etc/apt/sources.list.d/
#223877
newzenon написал:
не осилил твое изложение,

Чего там осиливать то? :
1) человек убил систему.
2) Требуется восстановить записи в grub
3)

Darc написал:
заметил что были удалены все ядра и модули из системы, и всё ПО и установлены 7 программ и новый udev...

В общем требуется поднять систему из того что есть, а есть чуть чуть.

#223882

i2ks, это ж целое сочинение, и не по делу, нет чтобы в двух фразах. oO

#223898

Здравствуйте, прошу прощение за то что так расписал, думал поподробнее...
sources.list:

Показать

#############################################################
################### OFFICIAL DEBIAN REPOS ###################
#############################################################

###### Debian Main Repos
deb http://ftp.ru.debian.org/debian/ squeeze main contrib non-free
deb-src http://ftp.ru.debian.org/debian/ squeeze main contrib non-free
deb http://ftp.at.debian.org/debian/ squeeze main contrib non-free
deb-src http://ftp.at.debian.org/debian/ squeeze main contrib non-free
deb http://ftp.debian.org/debian/ squeeze main contrib non-free
deb-src http://ftp.debian.org/debian/ squeeze main contrib non-free
deb http://mirror.yandex.ru/debian/ squeeze main contrib non-free
deb-src http://mirror.yandex.ru/debian/ squeeze main contrib non-free
###### Debian Update Repos
deb http://security.debian.org/ squeeze/updates main contrib non-free
deb http://ftp.ru.debian.org/debian/ squeeze-proposed-updates main contrib non-free
deb-src http://security.debian.org/ squeeze/updates main contrib non-free
deb-src http://ftp.ru.debian.org/debian/ squeeze-proposed-updates main contrib non-free

##############################################################
##################### UNOFFICIAL REPOS ######################
##############################################################

###### 3rd Party Binary Repos

#### Debian Backports - http://backports.debian.org/
deb http://backports.debian.org/debian-backports squeeze-backports main

#### Debian Multimedia - http://www.debian-multimedia.org/
## Run this command: apt-get update && apt-get install debian-multimedia-keyring && apt-get update
deb http://www.debian-multimedia.org stable main non-free

#### Dotdeb - http://www.dotdeb.org
## Run this command: wget -q -O - http://www.dotdeb.org/dotdeb.gpg | apt-key add -
deb http://packages.dotdeb.org oldstable all

#### Enlightenment - http://enlightenment.org
## Run this command: wget -q http://packages.enlightenment.org/repo.key -O- | apt-key add -
deb http://packages.enlightenment.org/debian squeeze main extras

#### Esmska - http://code.google.com/p/esmska/
## Run this command: wget -q -O - http://repo.palatinus.cz/repo.key | apt-key add -
deb http://repo.palatinus.cz/stable /

#### Google Linux Software Repositories - http://www.google.com
## Run this command: wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add -
deb http://dl.google.com/linux/deb/ stable non-free main

#### Google Linux Software Repositories (Testing) - http://www.google.com
## Run this command: wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add -
deb http://dl.google.com/linux/deb/ testing non-free

#### Opera .deb Repository - http://deb.opera.com/
## Run this command: wget -O - http://deb.opera.com/archive.key | apt-key add -
deb http://deb.opera.com/opera/ squeeze non-free

#### Skype - http://www.skype.com
## Run this command: gpg --keyserver pgp.mit.edu --recv-keys 0xd66b746e && gpg --export --armor 0xd66b746e | apt-key add -
deb http://download.skype.com/linux/repos/debian/ stable non-free

#### Unofficial Maintainer - http://unofficial.debian-maintainers.org/
## Run this command: wget -q -O - http://unofficial.debian-maintainers.org/project/openpgp/archive-key.asc | apt-key add -
deb http://unofficial.debian-maintainers.org/ squeeze main contrib non-free restricted

#### VirtualBox - http://www.virtualbox.org
## Run this command: wget -q http://download.virtualbox.org/virtualbox/debian/sun_vbox.asc -O- | apt-key add -
deb http://download.virtualbox.org/virtualbox/debian squeeze contrib

#### Webmin - http://webmin.com/
## Run this command: wget -q http://www.webmin.com/jcameron-key.asc -O- | apt-key add -
deb http://download.webmin.com/download/repository sarge contrib

#### Wine - http://www.winehq.org/
## Run this command: wget -O - http://www.lamaresh.net/apt/key.gpg | apt-key add -
deb http://www.lamaresh.net/apt squeeze main


####### 3rd Party Source Repos

#### Dotdeb (Source) - http://www.dotdeb.org
## Run this command: wget -q -O - http://www.dotdeb.org/dotdeb.gpg | apt-key add -
deb-src http://packages.dotdeb.org oldstable all

#### Unofficial Maintainer (Source) - http://unofficial.debian-maintainers.org/
## Run this command: wget -q -O - http://unofficial.debian-maintainers.org/project/openpgp/archive-key.asc | apt-key add -
deb-src http://unofficial.debian-maintainers.org/ squeeze main contrib non-free restricted

apt.conf

Показать
APT::Default-Release "testing"
APT::Cache-Limit "10000000"

Preferences:

Показать
Package: *
Pin: release a=wheeze
Pin-Priority: 660
Package: *
Pin: release a=wheeze-updates
Pin-Priority: 650
Package: *
Pin: release a=wheeze-backports
Pin-Priority: 640
Package: *
Pin: release a=sid
Pin-Priority: 630
Package: *
Pin: release a=unstable
Pin-Priority: 620
Package: *

В общем после обновления до версии wheeze (testing) слетели Иксы, при попытке устранить проблему в зависимостях при помощи комманды aptitude -f install запустилась программа Dec_config (промелькнула быстро и понеслась проверка зависимостей) после такой результат.
Как можно воскресить систему? Можно с livecd? Как прикрутить ядро без перестановки системы, т.к. для резервной копии информации нет места?
Заранее спасибо за помощь.
Прошу прощения за то что много воды лью, первая такая проблема просто! :)

#223900

Убери _всё_ из /etc/apt/apt.conf и /etc/apt/preferences
sources.list копию сохрани, и приведи к виду:

text
# Официальный репозиторий Debian
deb ftp://ftp.ru.debian.org/debian/ stable main contrib non-free
deb-src ftp://ftp.ru.debian.org/debian/ stable main contrib non-free
# Debian Squeeze - обновления
deb ftp://ftp.ru.debian.org/debian squeeze-updates main
deb-src ftp://ftp.ru.debian.org/debian squeeze-updates main
# Debian Squeeze - обновления безопасности
deb ftp://ftp.ru.debian.org/debian-security squeeze/updates main non-free contrib
deb-src ftp://ftp.ru.debian.org/debian-security squeeze/updates main non-free contrib
# Debian Squeeze - backports
deb ftp://ftp.ru.debian.org/debian-backports squeeze-backports main contrib
deb-src ftp://ftp.ru.debian.org/debian-backports squeeze-backports main contrib
# Debian Squeeze - proprsed - updates
deb ftp://ftp.ru.debian.org/debian squeeze-proposed-updates main contrib non-free
deb-src ftp://ftp.ru.debian.org/debian squeeze-proposed-updates main contrib non-free

Далее:

text
aptitude update
aptitude full-upgrade

Вывод обеих сюда.

#223901
Darc написал:
Как можно воскресить систему? Можно с livecd? Как прикрутить ядро без перестановки системы

Загружаешься с Live CD
Монтируешь корень, /dev и /proc чрутишься, ставишь ядро, ставишь grub.
Profit.
Расписывать надо?

#223908

grub как ни странно стоит, просто оттуда пропал debian.
У меня всё кроме home и swop на одном разделе примонтировать смогу скорее всего:

Показать

fdisk -l
mount /dev/xxx /mnt

разделы /dev и /proc монтируются с livecd системы в /mnt (реальной ОС) - я прав?

Но можно на всякий случай Profit, т.к. я не уверен на счёт ядра

sources.list уже скопировал у вас, когда приду домой после загрузки с livecd скопирую в /etc/apt/, а тот скопирую на флэш.
вывод комманд приведу.

#223910

Допустим Debian у тебя на /dev/sda1, грузим Live.

text
mkdir /mnt/debian
mount /dev/sda1 /mnt/debian
mount -t proc none /mnt/debian/proc
mount -o bind /dev /mnt/debian/dev
chroot /mnt/debian /bin/bash 

Все мы внутри.

#223912

Понял, после chroot произвести
aptitude update
aptitude search linux-image-amd64-xxx и установить нужный, затем
aptitude full-upgrade
Я правильно понял?

#223913
Darc написал:
Понял, после chroot произвести
aptitude update
aptitude search linux-image-amd64-xxx и установить нужный, затем
aptitude full-upgrade
Я правильно понял?

Да.
Еще не помешает перустановить grub
aptitude reinstall grub2 os-prober

#223915

спасибо, когда приду домой всё сделаю, результаты вывода команд выложу сюда под спойлер.
Спасибо огромное!:)

#224009

вот что выдают команды при попытке запуска:
aptitude update:

Показать

Err http://ftp.debian.org squeeze Release.gpg
Could not resolve '[url=ftp://ftp.debian.org]ftp.debian.org[/url]'
Err http://ftp.debian.org/debian/ squeeze/contrib Translation-en
Could not resolve '[url=ftp://ftp.debian.org]ftp.debian.org[/url]'
Err http://ftp.debian.org/debian/ squeeze/contrib Translation-ru
Could not resolve '[url=ftp://ftp.debian.org]ftp.debian.org[/url]'
Err http://ftp.debian.org/debian/ squeeze/main Translation-en
Could not resolve '[url=ftp://ftp.debian.org]ftp.debian.org[/url]'
Err http://ftp.debian.org/debian/ squeeze/main Translation-ru
Could not resolve '[url=ftp://ftp.debian.org]ftp.debian.org[/url]'
Err http://ftp.debian.org/debian/ squeeze/non-free Translation-en
Could not resolve '[url=ftp://ftp.debian.org]ftp.debian.org[/url]'
Err http://ftp.debian.org/debian/ squeeze/non-free Translation-ru
Could not resolve '[url=ftp://ftp.debian.org]ftp.debian.org[/url]'
Err http://security.debian.org squeeze/updates Release.gpg
Could not resolve 'security.debian.org'
Err http://security.debian.org/ squeeze/updates/contrib Translation-en
Could not resolve 'security.debian.org'
Err http://security.debian.org/ squeeze/updates/contrib Translation-ru
Could not resolve 'security.debian.org'
Err http://security.debian.org/ squeeze/updates/main Translation-en
Could not resolve 'security.debian.org'
Err http://security.debian.org/ squeeze/updates/main Translation-ru
Could not resolve 'security.debian.org'
Err http://security.debian.org/ squeeze/updates/non-free Translation-en
Could not resolve 'security.debian.org'
Err http://security.debian.org/ squeeze/updates/non-free Translation-ru
Could not resolve 'security.debian.org'
Err http://ftp.ru.debian.org squeeze Release.gpg
Could not resolve '[url=ftp://ftp.ru.debian.org]ftp.ru.debian.org[/url]'
Err http://ftp.ru.debian.org/debian/ squeeze/contrib Translation-en
Could not resolve '[url=ftp://ftp.ru.debian.org]ftp.ru.debian.org[/url]'
Err http://ftp.ru.debian.org/debian/ squeeze/contrib Translation-ru
Could not resolve '[url=ftp://ftp.ru.debian.org]ftp.ru.debian.org[/url]'
Err http://ftp.ru.debian.org/debian/ squeeze/main Translation-en
Could not resolve '[url=ftp://ftp.ru.debian.org]ftp.ru.debian.org[/url]'
Err http://ftp.ru.debian.org/debian/ squeeze/main Translation-ru
Could not resolve '[url=ftp://ftp.ru.debian.org]ftp.ru.debian.org[/url]'
Err http://ftp.ru.debian.org/debian/ squeeze/non-free Translation-en
Could not resolve '[url=ftp://ftp.ru.debian.org]ftp.ru.debian.org[/url]'
Err http://ftp.ru.debian.org/debian/ squeeze/non-free Translation-ru
Could not resolve '[url=ftp://ftp.ru.debian.org]ftp.ru.debian.org[/url]'
Err http://ftp.ru.debian.org squeeze-updates Release.gpg
Could not resolve '[url=ftp://ftp.ru.debian.org]ftp.ru.debian.org[/url]'
Err http://ftp.ru.debian.org/debian/ squeeze-updates/contrib Translation-en
Could not resolve '[url=ftp://ftp.ru.debian.org]ftp.ru.debian.org[/url]'
Err http://ftp.ru.debian.org/debian/ squeeze-updates/contrib Translation-ru
Could not resolve '[url=ftp://ftp.ru.debian.org]ftp.ru.debian.org[/url]'
Err http://ftp.ru.debian.org/debian/ squeeze-updates/main Translation-en
Could not resolve '[url=ftp://ftp.ru.debian.org]ftp.ru.debian.org[/url]'
Err http://ftp.ru.debian.org/debian/ squeeze-updates/main Translation-ru
Could not resolve '[url=ftp://ftp.ru.debian.org]ftp.ru.debian.org[/url]'
Err http://ftp.ru.debian.org/debian/ squeeze-updates/non-free Translation-en
Could not resolve '[url=ftp://ftp.ru.debian.org]ftp.ru.debian.org[/url]'
Err http://ftp.ru.debian.org/debian/ squeeze-updates/non-free Translation-ru
Could not resolve '[url=ftp://ftp.ru.debian.org]ftp.ru.debian.org[/url]'
Err http://ftp.ru.debian.org squeeze-proposed-updates Release.gpg
Could not resolve '[url=ftp://ftp.ru.debian.org]ftp.ru.debian.org[/url]'
Err http://ftp.ru.debian.org/debian/ squeeze-proposed-updates/contrib Translation-en
Could not resolve '[url=ftp://ftp.ru.debian.org]ftp.ru.debian.org[/url]'
Err http://ftp.ru.debian.org/debian/ squeeze-proposed-updates/contrib Translation-ru
Could not resolve '[url=ftp://ftp.ru.debian.org]ftp.ru.debian.org[/url]'
Err http://ftp.ru.debian.org/debian/ squeeze-proposed-updates/main Translation-en
Could not resolve '[url=ftp://ftp.ru.debian.org]ftp.ru.debian.org[/url]'
Err http://ftp.ru.debian.org/debian/ squeeze-proposed-updates/main Translation-ru
Could not resolve '[url=ftp://ftp.ru.debian.org]ftp.ru.debian.org[/url]'
Err http://ftp.ru.debian.org/debian/ squeeze-proposed-updates/non-free Translation-en
Could not resolve '[url=ftp://ftp.ru.debian.org]ftp.ru.debian.org[/url]'
Err http://ftp.ru.debian.org/debian/ squeeze-proposed-updates/non-free Translation-ru
Could not resolve '[url=ftp://ftp.ru.debian.org]ftp.ru.debian.org[/url]'
Reading package lists...

aptitude full-upgrade:

Показать

Reading package lists...
Building dependency tree...
Reading state information...
Reading package lists...
Building dependency tree...
Reading state information...
Reading extended state information...
Initializing package states...
The following packages will be upgraded:
libsmbclient libwbclient0 samba samba-common samba-common-bin smbclient
swat winbind
8 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 40.8 MB of archives. After unpacking 0 B will be used.
Do you want to continue? [Y/n/?] WARNING: untrusted versions of the following packages will be installed!

Untrusted packages could compromise your system's security.
You should only proceed with the installation if you are certain that
this is what you want to do.

libsmbclient smbclient libwbclient0 samba-common swat samba
samba-common-bin winbind

Do you want to ignore this warning and proceed anyway?
To continue, enter "Yes"; to abort, enter "No": Unrecognized input. Enter either "Yes" or "No".
Do you want to ignore this warning and proceed anyway?
To continue, enter "Yes"; to abort, enter "No":
#253631

Респект newzenon!
После неудачного обновления пакетов, Ubuntu умерла ((( Советовали переставить.
Сутки поисков и твои рекомендации ПОМОГЛИ!
Единственно, как-то вылетела ошибка типа "работа dpkg прервана, вы должны в ручную запустить sudo dpkg --configure -a для устранения проблемы", запустил без sudo, подождал и вуаля!
Linux forever!

#253693
"michon" написал:
Респект newzenon!

:)

#256362
Darc написал:
вот что выдают команды при попытке запуска:
aptitude update:
Показать

Err http://ftp.debian.org squeeze Release.gpg
Could not resolve '[url=ftp://ftp.debian.org]ftp.debian.org[/url]'
Err http://ftp.debian.org/debian/ squeeze/contrib Translation-en
Could not resolve '[url=ftp://ftp.debian.org]ftp.debian.org[/url]'
Err http://ftp.debian.org/debian/ squeeze/contrib Translation-ru
Could not resolve '[url=ftp://ftp.debian.org]ftp.debian.org[/url]'
Err http://ftp.debian.org/debian/ squeeze/main Translation-en
Could not resolve '[url=ftp://ftp.debian.org]ftp.debian.org[/url]'
Err http://ftp.debian.org/debian/ squeeze/main Translation-ru
Could not resolve '[url=ftp://ftp.debian.org]ftp.debian.org[/url]'
Err http://ftp.debian.org/debian/ squeeze/non-free Translation-en
Could not resolve '[url=ftp://ftp.debian.org]ftp.debian.org[/url]'
Err http://ftp.debian.org/debian/ squeeze/non-free Translation-ru
Could not resolve '[url=ftp://ftp.debian.org]ftp.debian.org[/url]'
Err http://security.debian.org squeeze/updates Release.gpg
Could not resolve 'security.debian.org'
Err http://security.debian.org/ squeeze/updates/contrib Translation-en
Could not resolve 'security.debian.org'
Err http://security.debian.org/ squeeze/updates/contrib Translation-ru
Could not resolve 'security.debian.org'
Err http://security.debian.org/ squeeze/updates/main Translation-en
Could not resolve 'security.debian.org'
Err http://security.debian.org/ squeeze/updates/main Translation-ru
Could not resolve 'security.debian.org'
Err http://security.debian.org/ squeeze/updates/non-free Translation-en
Could not resolve 'security.debian.org'
Err http://security.debian.org/ squeeze/updates/non-free Translation-ru
Could not resolve 'security.debian.org'
Err http://ftp.ru.debian.org squeeze Release.gpg
Could not resolve '[url=ftp://ftp.ru.debian.org]ftp.ru.debian.org[/url]'
Err http://ftp.ru.debian.org/debian/ squeeze/contrib Translation-en
Could not resolve '[url=ftp://ftp.ru.debian.org]ftp.ru.debian.org[/url]'
Err http://ftp.ru.debian.org/debian/ squeeze/contrib Translation-ru
Could not resolve '[url=ftp://ftp.ru.debian.org]ftp.ru.debian.org[/url]'
Err http://ftp.ru.debian.org/debian/ squeeze/main Translation-en
Could not resolve '[url=ftp://ftp.ru.debian.org]ftp.ru.debian.org[/url]'
Err http://ftp.ru.debian.org/debian/ squeeze/main Translation-ru
Could not resolve '[url=ftp://ftp.ru.debian.org]ftp.ru.debian.org[/url]'
Err http://ftp.ru.debian.org/debian/ squeeze/non-free Translation-en
Could not resolve '[url=ftp://ftp.ru.debian.org]ftp.ru.debian.org[/url]'
Err http://ftp.ru.debian.org/debian/ squeeze/non-free Translation-ru
Could not resolve '[url=ftp://ftp.ru.debian.org]ftp.ru.debian.org[/url]'
Err http://ftp.ru.debian.org squeeze-updates Release.gpg
Could not resolve '[url=ftp://ftp.ru.debian.org]ftp.ru.debian.org[/url]'
Err http://ftp.ru.debian.org/debian/ squeeze-updates/contrib Translation-en
Could not resolve '[url=ftp://ftp.ru.debian.org]ftp.ru.debian.org[/url]'
Err http://ftp.ru.debian.org/debian/ squeeze-updates/contrib Translation-ru
Could not resolve '[url=ftp://ftp.ru.debian.org]ftp.ru.debian.org[/url]'
Err http://ftp.ru.debian.org/debian/ squeeze-updates/main Translation-en
Could not resolve '[url=ftp://ftp.ru.debian.org]ftp.ru.debian.org[/url]'
Err http://ftp.ru.debian.org/debian/ squeeze-updates/main Translation-ru
Could not resolve '[url=ftp://ftp.ru.debian.org]ftp.ru.debian.org[/url]'
Err http://ftp.ru.debian.org/debian/ squeeze-updates/non-free Translation-en
Could not resolve '[url=ftp://ftp.ru.debian.org]ftp.ru.debian.org[/url]'
Err http://ftp.ru.debian.org/debian/ squeeze-updates/non-free Translation-ru
Could not resolve '[url=ftp://ftp.ru.debian.org]ftp.ru.debian.org[/url]'
Err http://ftp.ru.debian.org squeeze-proposed-updates Release.gpg
Could not resolve '[url=ftp://ftp.ru.debian.org]ftp.ru.debian.org[/url]'
Err http://ftp.ru.debian.org/debian/ squeeze-proposed-updates/contrib Translation-en
Could not resolve '[url=ftp://ftp.ru.debian.org]ftp.ru.debian.org[/url]'
Err http://ftp.ru.debian.org/debian/ squeeze-proposed-updates/contrib Translation-ru
Could not resolve '[url=ftp://ftp.ru.debian.org]ftp.ru.debian.org[/url]'
Err http://ftp.ru.debian.org/debian/ squeeze-proposed-updates/main Translation-en
Could not resolve '[url=ftp://ftp.ru.debian.org]ftp.ru.debian.org[/url]'
Err http://ftp.ru.debian.org/debian/ squeeze-proposed-updates/main Translation-ru
Could not resolve '[url=ftp://ftp.ru.debian.org]ftp.ru.debian.org[/url]'
Err http://ftp.ru.debian.org/debian/ squeeze-proposed-updates/non-free Translation-en
Could not resolve '[url=ftp://ftp.ru.debian.org]ftp.ru.debian.org[/url]'
Err http://ftp.ru.debian.org/debian/ squeeze-proposed-updates/non-free Translation-ru
Could not resolve '[url=ftp://ftp.ru.debian.org]ftp.ru.debian.org[/url]'
Reading package lists...

aptitude full-upgrade:

Показать

Reading package lists...
Building dependency tree...
Reading state information...
Reading package lists...
Building dependency tree...
Reading state information...
Reading extended state information...
Initializing package states...
The following packages will be upgraded:
libsmbclient libwbclient0 samba samba-common samba-common-bin smbclient
swat winbind
8 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 40.8 MB of archives. After unpacking 0 B will be used.
Do you want to continue? [Y/n/?] WARNING: untrusted versions of the following packages will be installed!

Untrusted packages could compromise your system's security.
You should only proceed with the installation if you are certain that
this is what you want to do.

libsmbclient smbclient libwbclient0 samba-common swat samba
samba-common-bin winbind

Do you want to ignore this warning and proceed anyway?
To continue, enter "Yes"; to abort, enter "No": Unrecognized input. Enter either "Yes" or "No".
Do you want to ignore this warning and proceed anyway?
To continue, enter "Yes"; to abort, enter "No":

Похоже у вас не настроено соединение с интернетом. Поэтому эти команды не дают должного результата.
Также возможно это проблема с /etc/resolv.conf.

#263320
newzenon написал:
Допустим Debian у тебя на /dev/sda1, грузим Live.
text
mkdir /mnt/debian
mount /dev/sda1 /mnt/debian
mount -t proc none /mnt/debian/proc
mount -o bind /dev /mnt/debian/dev
chroot /mnt/debian /bin/bash 

Все мы внутри.

Загрузился с ЛивеСД, выполнил все эти команды. НО команды aptitude нет в наличии. Как быть?

#263369
"mirage" написал:
НО команды aptitude нет в наличии. Как быть?
text
apt-get install aptitude
#263375
newzenon написал:
[quote="mirage"]НО команды aptitude нет в наличии. Как быть?
text
apt-get install aptitude

[/quote]

Так в том то и дело, что apt-get и всё, что начинается на apt-... нет таких команд

#263377

Делаете чрут, потом

text
sudo which aptitude

потом будет видно

Войдите или зарегистрируйтесь, чтобы ответить.