Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
I can't install "Linux-Source".
I can't install "Linux-Source".
Hello.
I installed Debian 8.6 amd64 and I can't install "Linux-Source" and Kernel header. It show me an error about "Could not mark all packages....".
Why?
Thank you.
I installed Debian 8.6 amd64 and I can't install "Linux-Source" and Kernel header. It show me an error about "Could not mark all packages....".
Why?
Thank you.
Re: I can't install "Linux-Source".
And with aptitude? The -s is just to simulate:
Code: Select all
# aptitude install -s linux-headers-$(uname -r) linux-source
DebianStable
Code: Select all
$ vrms
No non-free or contrib packages installed on debian! rms would be proud.
Re: I can't install "Linux-Source".
Can't installkedaha wrote:And with aptitude? The -s is just to simulate:Code: Select all
# aptitude install -s linux-headers-$(uname -r) linux-source
I take a photo and please see ""
Thank you.
Re: I can't install "Linux-Source".
Have you enabled the source archives in your Sources List
On my system:
You might post your sources.list file.
On my system:
Code: Select all
root@kedaha:/home/user# aptitude install -s linux-headers-$(uname -r) linux-source
The following NEW packages will be installed:
linux-source linux-source-3.16{a}
The following packages will be REMOVED:
libqt5script5{u} phonon4qt5{u}
The following packages will be upgraded:
linux-headers-3.16.0-4-amd64 linux-headers-3.16.0-4-common
2 packages upgraded, 2 newly installed, 2 to remove and 89 not upgraded.
Need to get 83.7 MB/88.7 MB of archives. After unpacking 81.1 MB will be used.
Do you want to continue? [Y/n/?]
DebianStable
Code: Select all
$ vrms
No non-free or contrib packages installed on debian! rms would be proud.
Re: I can't install "Linux-Source".
kedaha wrote:Have you enabled the source archives in your Sources List
On my system:You might post your sources.list file.Code: Select all
root@kedaha:/home/user# aptitude install -s linux-headers-$(uname -r) linux-source The following NEW packages will be installed: linux-source linux-source-3.16{a} The following packages will be REMOVED: libqt5script5{u} phonon4qt5{u} The following packages will be upgraded: linux-headers-3.16.0-4-amd64 linux-headers-3.16.0-4-common 2 packages upgraded, 2 newly installed, 2 to remove and 89 not upgraded. Need to get 83.7 MB/88.7 MB of archives. After unpacking 81.1 MB will be used. Do you want to continue? [Y/n/?]
Code: Select all
cat /etc/apt/sources.list
# deb cdrom:[Debian GNU/Linux 8.6.0 _Jessie_ - Official amd64 DVD Binary-1 20160917-14:25]/ jessie contrib main
# deb cdrom:[Debian GNU/Linux 8.6.0 _Jessie_ - Official amd64 DVD Binary-1 20160917-14:25]/ jessie main contrib
deb http://security.debian.org/ jessie/updates main contrib
deb-src http://security.debian.org/ jessie/updates main contrib
# jessie-updates, previously known as 'volatile'
# A network mirror was not selected during install. The following entries
# are provided as examples, but you should amend them as appropriate
# for your mirror of choice.
deb http://ftp.debian.org/debian/ jessie-updates contrib main
deb-src http://ftp.debian.org/debian/ jessie-updates contrib main
- Ardouos
- Posts: 1075
- Joined: 2013-11-03 00:30
- Location: Elicoor II
- Has thanked: 1 time
- Been thanked: 4 times
Re: I can't install "Linux-Source".
Correct me if I am wrong, but apt only retrieves from the sources archives if you use the source switch.kedaha wrote:Have you enabled the source archives in your Sources List
Code: Select all
# apt-get source
Code: Select all
$ sudo apt-get install linux-source
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
linux-source-3.16
Suggested packages:
libncurses-dev ncurses-dev libqt4-dev pkg-config
The following NEW packages will be installed:
linux-source linux-source-3.16
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 83.7 MB of archives.
After this operation, 83.7 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://ftp.uk.debian.org/debian/ jessie/main linux-source-3.16 all 3.16.39-1 [83.7 MB]
Get:2 http://ftp.uk.debian.org/debian/ jessie/main linux-source all 3.16+63 [5,014 B]
Fetched 83.7 MB in 48s (1,737 kB/s)
Selecting previously unselected package linux-source-3.16.
(Reading database ... 120724 files and directories currently installed.)
Preparing to unpack .../linux-source-3.16_3.16.39-1_all.deb ...
Unpacking linux-source-3.16 (3.16.39-1) ...
Selecting previously unselected package linux-source.
Preparing to unpack .../linux-source_3.16+63_all.deb ...
Unpacking linux-source (3.16+63) ...
Setting up linux-source-3.16 (3.16.39-1) ...
Setting up linux-source (3.16+63) ...
$
It looks like you do not have Debian's "jessie" main repo in your sources.
Follow the link that kedaha has shown you, it should tell you what you need to know.
There is only one Debian | Do not break Debian | Stability and Debian | Backports
⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
⠈⠳⣄⠀
⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
⠈⠳⣄⠀
- stevepusser
- Posts: 12930
- Joined: 2009-10-06 05:53
- Has thanked: 41 times
- Been thanked: 71 times
Re: I can't install "Linux-Source".
I will bet you have some bad advice to install the linux-source for your current kernel. (not dependent on deb-src lines, by the way) If all you need to do is build a kernel driver (module), the header package is all you need, along with the compilers.
MX Linux packager and developer
Re: I can't install "Linux-Source".
I need it for VirtualBox.stevepusser wrote:I will bet you have some bad advice to install the linux-source for your current kernel. (not dependent on deb-src lines, by the way) If all you need to do is build a kernel driver (module), the header package is all you need, along with the compilers.
Re: I can't install "Linux-Source".
why do you think you need linux sources for virtualbox?hack3rcon wrote:I need it for VirtualBox.
please explain and show us in detail.
- stevepusser
- Posts: 12930
- Joined: 2009-10-06 05:53
- Has thanked: 41 times
- Been thanked: 71 times
Re: I can't install "Linux-Source".
Yup, bad advice. Check the Debian wiki entry for Virtual Box.hack3rcon wrote:I need it for VirtualBox.stevepusser wrote:I will bet you have some bad advice to install the linux-source for your current kernel. (not dependent on deb-src lines, by the way) If all you need to do is build a kernel driver (module), the header package is all you need, along with the compilers.
MX Linux packager and developer
Re: I can't install "Linux-Source".
I installed Debian as a VM and I want to install VirtualBox Guest Addition.debiman wrote:why do you think you need linux sources for virtualbox?hack3rcon wrote:I need it for VirtualBox.
please explain and show us in detail.
- stevepusser
- Posts: 12930
- Joined: 2009-10-06 05:53
- Has thanked: 41 times
- Been thanked: 71 times
Re: I can't install "Linux-Source".
Here's a quick and easy way to set up what you need to build the modules in your Debian guest system.
Install module-assistant.
Run as sysadmin (as root or with sudo) in a terminal. This gets everything you need automatically.
That's it, you are done. Now you have a module build environment set up in your guest, ready to build the guest additions.
Again, where did you get the bad instructions to install "linux-source"? You can only use the headers in a linux-source directory if you used it to build your running kernel in there, so that's doubly bad advice, too. They are no use if they are "just installed."
Install module-assistant.
Run
Code: Select all
m-a prepare
That's it, you are done. Now you have a module build environment set up in your guest, ready to build the guest additions.
Again, where did you get the bad instructions to install "linux-source"? You can only use the headers in a linux-source directory if you used it to build your running kernel in there, so that's doubly bad advice, too. They are no use if they are "just installed."
MX Linux packager and developer