Strona 1 z 1
Brak pliku /etc/apt/sources.list
: 07 lipca 2010, 20:24
autor: malacz
Witam.
Na serwerze dedykowanym VPS mam Debiana 4.0. Wszelkie programy jakie instaluję są w starych wersjach. Np.: cmake jest 2.4 a powinien być 2.6 więc myślę że trzeba zaktualizować system i dopisać linki do wpisów. Edytuję /etc/apt/sources.list no i co? Takiego pliku nie ma?
Gdzie indziej może być?
: 07 lipca 2010, 20:26
autor: widmo17
Użyj np. locate
: 07 lipca 2010, 20:38
autor: malacz
No tak, dziękuję, znalazłem.
Na Debianie 4.0 nie działa aptitude?
: 08 lipca 2010, 01:47
autor: kodzik
W Debianie 4.0, z tego co wiem, program aptitude nie jest domyślnie instalowany (apt-get jest menedżerem). Doinstaluj i po kłopocie.
: 09 lipca 2010, 17:07
autor: malacz
Dziękuję, już sobie z tym poradziłem. Ale teraz
cokolwiek chcę zrobić wyświetlane są błędy np.:
Kod: Zaznacz cały
apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run `apt-get -f install' to correct these.
The following packages have unmet dependencies:
binutils: Depends: libc6 (>= 2.11) but 2.7-18lenny4 is installed
libc-bin: Breaks: libc6 (< 2.10) but 2.7-18lenny4 is installed
libmysqlclient15-dev: Depends: zlib1g-dev but it is not installed
E: Unmet dependencies. Try using -f.
Kod: Zaznacz cały
Suggested packages:
glibc-doc manpages-dev
Recommended packages:
gcc c-compiler
The following packages will be REMOVED:
binutils libc-bin libmysqlclient15-dev
The following NEW packages will be installed:
libc6-dev
0 upgraded, 1 newly installed, 3 to remove and 7 not upgraded.
3 not fully installed or removed.
Need to get 0B/3387kB of archives.
After this operation, 19.7MB disk space will be freed.
Do you want to continue [Y/n]? Y
(Reading database ... 38022 files and directories currently installed.)
Removing binutils ...
FATAL: kernel too old
/var/lib/dpkg/info/binutils.postrm: line 7: 17884 Segmentation fault ldconfig
dpkg: error processing binutils (--remove):
subprocess post-removal script returned error exit status 139
Removing libmysqlclient15-dev ...
FATAL: kernel too old
/var/lib/dpkg/info/libmysqlclient15-dev.postrm: line 6: 17888 Segmentation fault ldconfig
dpkg: error processing libmysqlclient15-dev (--remove):
subprocess post-removal script returned error exit status 139
Errors were encountered while processing:
binutils
libmysqlclient15-dev
E: Sub-process /usr/bin/dpkg returned an error code (1)
: 10 lipca 2010, 12:56
autor: kodzik
Zastosuj się do podpowiedzi apt-get'a. Wykonaj polecenie
i pokaż co konsola na to
: 10 lipca 2010, 15:20
autor: malacz
Chyba apt-get?
Podałem to:
Kod: Zaznacz cały
Suggested packages:
glibc-doc manpages-dev
Recommended packages:
gcc c-compiler
The following packages will be REMOVED:
binutils libc-bin libmysqlclient15-dev
The following NEW packages will be installed:
libc6-dev
0 upgraded, 1 newly installed, 3 to remove and 7 not upgraded.
3 not fully installed or removed.
Need to get 0B/3387kB of archives.
After this operation, 19.7MB disk space will be freed.
Do you want to continue [Y/n]? Y
(Reading database ... 38022 files and directories currently installed.)
Removing binutils ...
FATAL: kernel too old
/var/lib/dpkg/info/binutils.postrm: line 7: 17884 Segmentation fault ldconfig
dpkg: error processing binutils (--remove):
subprocess post-removal script returned error exit status 139
Removing libmysqlclient15-dev ...
FATAL: kernel too old
/var/lib/dpkg/info/libmysqlclient15-dev.postrm: line 6: 17888 Segmentation fault ldconfig
dpkg: error processing libmysqlclient15-dev (--remove):
subprocess post-removal script returned error exit status 139
Errors were encountered while processing:
binutils
libmysqlclient15-dev
E: Sub-process /usr/bin/dpkg returned an error code (1)
: 10 lipca 2010, 18:39
autor: kodzik
Literówka..
A pokaż co konsola krzyczy po wydaniu polecenia
: 10 lipca 2010, 20:15
autor: malacz
Takie coś:
Kod: Zaznacz cały
Setting up libgcc1 (1:4.4.4-6) ...
FATAL: kernel too old
/var/lib/dpkg/info/libgcc1.postinst: line 15: 28479 Segmentation fault ldconfig
dpkg: error processing libgcc1 (--configure):
subprocess post-installation script returned error exit status 139
Errors were encountered while processing:
libgcc1
: 11 lipca 2010, 12:06
autor: kodzik
Konsola krzyczy, że powinieneś zaktualizować jądro. Albo skompiluj nowe jajo, albo skorzystaj z backportów dla wersji stabilnej (linki powinny znajdować się na forum).