Brak pliku /etc/apt/sources.list
Brak pliku /etc/apt/sources.list
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ć?
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ć?
No tak, dziękuję, znalazłem.
Na Debianie 4.0 nie działa aptitude?
Na Debianie 4.0 nie działa aptitude?
Kod: Zaznacz cały
-bash: aptitude: command not found
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)
Zastosuj się do podpowiedzi apt-get'a. Wykonaj polecenie i pokaż co konsola na to
Kod: Zaznacz cały
apt-fet -f install
Chyba apt-get?
Podałem to:
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)
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