Próbuję zainstalować build-dep na Linuksie 15, ale otrzymuję błąd. Sprawdziłem listę źródeł i wyglądam dobrze. Zaktualizowałem także system (apt-get update)
To jest polecenie
apt-get build-dep --no-install-recommends linux-image-$(uname -r)
I to jest błąd:
Picking "linux" as source package instead of "linux-image-3.8.0-19-generic"
E: Unable to find a source package for linux
A to jest moja lista źródłowa:
deb http://archive.getdeb.net/ubuntu raring-getdeb apps games
deb-src http://cran.ms.unimelb.edu.au/bin/linux/ubuntu raring/
deb http://packages.linuxmint.com/ nadia main upstream import
deb http://archive.ubuntu.com/ubuntu/ quantal main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ quantal-updates main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu/ quantal-security main restricted universe multiverse
deb http://archive.canonical.com/ubuntu/ quantal partner
deb http://packages.medibuntu.org/ quantal free non-free
# deb http://archive.getdeb.net/ubuntu quantal-getdeb apps
# deb http://archive.getdeb.net/ubuntu quantal-getdeb
Odpowiedzi:
2 dla odpowiedzi № 1Brakuje źródłowego uri do zainstalowania kompilacji. Robić:
sudo bash -c "echo "deb-src http://us.archive.ubuntu.com/ubuntu/ trusty main restricted universe multiverse" >> /etc/apt/sources.list"
sudo apt-get update
sudo apt-get build-dep --no-install-recommends linux-image-$(uname -r) # or any other package
0 dla odpowiedzi nr 2
Jądro jest wyjątkowe. zainstalować linux-source
; apt-get domyślnie ustawi bieżącą wersję.