Более новая версия пакета libc6-dev вызывает хаос

558
Ulrik

У меня mips64машина работает Debian Wheezy. GCCКомпилятор устанавливается без каких-либо проблем, однако у компоновщика возникают некоторые проблемы:

apt-get install gcc make gcc helloworld.c -o helloworld /usr/bin/ld: cannot find crt1.o: No such file or directory 

Быстрый поиск в Интернете показывает, что я якобы скучаю libc6-dev, но это неправильная версия:

apt-get install libc6-dev The following packages have unmet dependencies: libc6-dev : Depends: libc6 (= 2.13-38+deb7u9) but 2.13-38+deb7u10 is to be installed 

Принудительная установка с помощью:

apt-get download libc6-dev dpkg -i --force-all libc6-dev_2.13-38+deb7u9_mips.deb 

Исправляет проблему, но теперь каждый раз, когда я использую aptинструменты, они жалуются, что у меня несовместимые пакеты. Я попробовал следующее:

apt-get install libc6-dev=2.13-38+deb7u9 libc6-dev : Depends: libc6 (= 2.13-38+deb7u9) but 2.13-38+deb7u10 is to be installed E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution). 

Также, пытаясь обновить «родительский» пакет lib6, говорит, что у меня уже есть последняя версия (2.13-38 + deb7u9).

Эта проблема появилась два дня назад (вероятно, когда libc6-devбыла выпущена версия 2.13-38 + deb7u10, но без той же версии libc6). Есть ли способ удовлетворить все зависимости здесь?

1

2 ответа на вопрос

0
Ulrik

I found what was the problem, the package repository did not have the latest libc-dev-bin for some reason, so the following fixes the problem:

curl -O http://ftp.debian.org/debian/pool/main/e/eglibc/libc-dev-bin_2.13-38+deb7u10_mips.deb dpkg -i libc-dev-bin_2.13-38+deb7u10_mips.deb apt-get install gcc make automake autoconf linux-libc-dev curl -O http://ftp.debian.org/debian/pool/main/e/eglibc/libc6-dev_2.13-38+deb7u10_mips.deb dpkg -i libc6-dev_2.13-38+deb7u10_mips.deb 

(it needs to be in that order) When I changed the repositories in the sources.list, the problem is still there, so I guess the cause will be fixed at some point.

-1
Sean.Mollet

В моей системе была установлена ​​libc6-deb7u11, поэтому мне пришлось заменить ее на u10. Пакет находится по адресу:

http://ftp.us.debian.org/debian/pool/main/e/eglibc/libc6_2.13-38+deb7u10_mips.deb

Существующий ответ уже указывает на то, что Ramhound 7 лет назад 0

Похожие вопросы