Ошибки после установки

Автор marko02, 02 февраля 2017, 14:53:57

« назад - далее »

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

marko02

Добрый день. Установил Debian 8. В конце установки была ошибка, но я не придал ей значения. Ставлю sudo и опять та же ошибка:

atlantic556:~#  apt-get install sudo
Reading package lists... Done
Building dependency tree       
Reading state information... Done
sudo is already the newest version.
sudo set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] yes
Setting up readahead-fedora (2:1.5.6-5.2) ...
update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults
update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults
update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults
find: `/etc/exim4/conf.d/': No such file or directory
dpkg: error processing package readahead-fedora (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
readahead-fedora
E: Sub-process /usr/bin/dpkg returned an error code (1)


Как решить? С линуксом дружу 2 недели.

* Используйте теги для оформления сообщений, ihammers.

qupl

1. Ошиблись с разделом
2. Информация
3. после выполнения пункта 2. apt-get -f install

marko02

#2
Цитата: qupl от 02 февраля 2017, 15:03:23
1. Ошиблись с разделом
2. Информация
3. после выполнения пункта 2. apt-get -f install

atlantic556:~# uname -a
Linux atlantic556 3.16.0-4-amd64 #1 SMP Debian 3.16.39-1 (2016-12-30) x86_64 GNU/Linux
===============================
atlantic556:~# lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description: DebianEdu/Skolelinux
Release: 8.7
Codename: jessie
===============================
atlantic556:~# cat /etc/apt/sources.list
# main sources

deb http://debian.intergenia.de/debian/ jessie main contrib non-free
deb-src http://debian.intergenia.de/debian/ jessie main contrib non-free

# security

deb http://debian.intergenia.de/debian-security/ jessie/updates main contrib non-free
deb-src http://debian.intergenia.de/debian-security/ jessie/updates main contrib non-free
===============================
atlantic556:~# ls /etc/apt/sources.list.d
atlantic556:~#
===============================
atlantic556:~# apt-get -f install
Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up readahead-fedora (2:1.5.6-5.2) ...
update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults
update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults
update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults
find: `/etc/exim4/conf.d/': No such file or directory
dpkg: error processing package readahead-fedora (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
readahead-fedora
E: Sub-process /usr/bin/dpkg returned an error code (1)



* Используйте теги для оформления сообщений, ihammers.

Cообщение объединено 02 Февраля 2017, 16:54:48

Вроде исправил. Сделал так:

cd /var/lib/dpkg/info
rm readahead-fedora.*
apt-get -f install