Здравствуйте, у меня такая проблема, расскажу по порядку!
Пол года назад по причине неработающего в 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 - наигрался уже с тестовыми просто и с зависимостями?
Заранее спасибо.
В общем после обновления до версии wheeze (testing) слетели Иксы, при попытке устранить проблему в зависимостях при помощи комманды aptitude -f install запустилась программа Dec_config (промелькнула быстро и понеслась проверка зависимостей) после такой результат.
Как можно воскресить систему? Можно с livecd? Как прикрутить ядро без перестановки системы, т.к. для резервной копии информации нет места?
Заранее спасибо за помощь.
Прошу прощения за то что много воды лью, первая такая проблема просто! :)
Убери _всё_ из /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
Понял, после chroot произвести
aptitude update
aptitude search linux-image-amd64-xxx и установить нужный, затем
aptitude full-upgrade
Я правильно понял?
Понял, после chroot произвести
aptitude update
aptitude search linux-image-amd64-xxx и установить нужный, затем
aptitude full-upgrade
Я правильно понял?
Да.
Еще не помешает перустановить grub
aptitude reinstall grub2 os-prober
вот что выдают команды при попытке запуска:
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.
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":
Респект newzenon!
После неудачного обновления пакетов, Ubuntu умерла ((( Советовали переставить.
Сутки поисков и твои рекомендации ПОМОГЛИ!
Единственно, как-то вылетела ошибка типа "работа dpkg прервана, вы должны в ручную запустить sudo dpkg --configure -a для устранения проблемы", запустил без sudo, подождал и вуаля!
Linux forever!
вот что выдают команды при попытке запуска:
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.
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.