Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 20th December 2006, 20:24
hal2710 hal2710 is offline
Junior Member
 
Join Date: Dec 2006
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default The Perfect Setup - Ubuntu 6.10 Server (Edgy Eft) - Page 4

Hi


I have got as far as section 8


8 Install Some Software

Now we install a few packages that are needed later on. Run

apt-get install binutils cpp cpp-4.0 fetchmail flex gcc gcc-4.0 libarchive-zip-perl libc6-dev libcompress-zlib-perl libdb4.3-dev libpcre3 libpopt-dev linux-kernel-headers lynx m4 make ncftp nmap openssl perl perl-modules unzip zip zlib1g-dev autoconf automake1.9 libtool bison autotools-dev g++

(This command should go into one line!)




I get this error from Putty

Reading package lists... Done
Building dependency tree
Reading state information... Done
Package linux-kernel-headers is a virtual package provided by:
linux-libc-dev 2.6.17.1-10.34
You should explicitly select one to install.
E: Package linux-kernel-headers has no installation candidate


Q: Is this an error ??

I'm abit on the new side

Here is a cut and paste from the putty terminal of everthing I have done so for :-

Using username "root".
root@192.168.10.2's password:
Last login: Wed Dec 20 18:32:19 2006 from 192.168.0.200
Linux PugWash 2.6.17-10-server #2 SMP Fri Oct 13 18:47:26 UTC 2006 i686

The programs included with the Ubuntu system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by
applicable law.
root@PugWash:~# hostname
PugWash
root@PugWash:~# hostname -f
PugWash
root@PugWash:~# apt-get update
Get: 1 http://security.ubuntu.com edgy-security Release.gpg [191B]
Ign http://security.ubuntu.com edgy-security/main Translation-en_GB
Ign http://security.ubuntu.com edgy-security/restricted Translation-en_GB
Ign http://security.ubuntu.com edgy-security/universe Translation-en_GB
Hit http://security.ubuntu.com edgy-security Release
Get: 2 http://de.archive.ubuntu.com edgy Release.gpg [191B]
Ign http://de.archive.ubuntu.com edgy/main Translation-en_GB
Ign http://de.archive.ubuntu.com edgy/restricted Translation-en_GB
Ign http://de.archive.ubuntu.com edgy/universe Translation-en_GB
Get: 3 http://de.archive.ubuntu.com edgy-updates Release.gpg [191B]
Ign http://de.archive.ubuntu.com edgy-updates/main Translation-en_GB
Ign http://de.archive.ubuntu.com edgy-updates/restricted Translation-en_GB
Get: 4 http://de.archive.ubuntu.com edgy Release [34.7kB]
Get: 5 http://de.archive.ubuntu.com edgy-updates Release [23.3kB]
Hit http://security.ubuntu.com edgy-security/main Packages
Hit http://security.ubuntu.com edgy-security/restricted Packages
Hit http://security.ubuntu.com edgy-security/main Sources
Get: 6 http://de.archive.ubuntu.com edgy/main Packages [940kB]
Hit http://security.ubuntu.com edgy-security/restricted Sources
Get: 7 http://security.ubuntu.com edgy-security/universe Packages [12.4kB]
Get: 8 http://security.ubuntu.com edgy-security/universe Sources [1476B]
Get: 9 http://de.archive.ubuntu.com edgy/restricted Packages [5974B]
Get: 10 http://de.archive.ubuntu.com edgy/main Sources [274kB]
Get: 11 http://de.archive.ubuntu.com edgy/restricted Sources [1436B]
Get: 12 http://de.archive.ubuntu.com edgy/universe Packages [3559kB]
Get: 13 http://de.archive.ubuntu.com edgy/universe Sources [1068kB]
Get: 14 http://de.archive.ubuntu.com edgy-updates/main Packages [45.7kB]
Get: 15 http://de.archive.ubuntu.com edgy-updates/restricted Packages [14B]
Get: 16 http://de.archive.ubuntu.com edgy-updates/main Sources [14.9kB]
Get: 17 http://de.archive.ubuntu.com edgy-updates/restricted Sources [14B]
Fetched 5981kB in 28s (209kB/s)
Reading package lists... Done
root@PugWash:~# apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be upgraded:
gnupg info linux-image-2.6.17-10-server tar x11-common
5 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 25.4MB of archives.
After unpacking 958kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get: 1 http://security.ubuntu.com edgy-security/main tar 1.15.91-2ubuntu0.3 [346kB]
Get: 2 http://de.archive.ubuntu.com edgy-updates/main x11-common 1:7.1.1ubuntu6.2 [291kB]
Get: 3 http://security.ubuntu.com edgy-security/main gnupg 1.4.3-2ubuntu3.2 [1056kB]
Get: 4 http://security.ubuntu.com edgy-security/main info 4.8.dfsg.1-1ubuntu0.1 [163kB]
Get: 5 http://security.ubuntu.com edgy-security/main linux-image-2.6.17-10-server 2.6.17.1-10.34 [23.6MB]
Fetched 25.4MB in 1m39s (256kB/s)
Preconfiguring packages ...
(Reading database ... 13890 files and directories currently installed.)
Preparing to replace tar 1.15.91-2 (using .../tar_1.15.91-2ubuntu0.3_i386.deb) ...
Unpacking replacement tar ...
Setting up tar (1.15.91-2ubuntu0.3) ...

(Reading database ... 13890 files and directories currently installed.)
Preparing to replace x11-common 1:7.1.1ubuntu6 (using .../x11-common_1%3a7.1.1ubuntu6.2_i386.deb) ...
Unpacking replacement x11-common ...
Preparing to replace gnupg 1.4.3-2ubuntu3 (using .../gnupg_1.4.3-2ubuntu3.2_i386.deb) ...
Unpacking replacement gnupg ...
Preparing to replace info 4.8.dfsg.1-1 (using .../info_4.8.dfsg.1-1ubuntu0.1_i386.deb) ...
Unpacking replacement info ...
Preparing to replace linux-image-2.6.17-10-server 2.6.17-10.33 (using .../linux-image-2.6.17-10-server_2.6.17.1-10.34_i386.deb) ...
The directory /lib/modules/2.6.17-10-server still exists. Continuing as directed.
Done.
Unpacking replacement linux-image-2.6.17-10-server ...
Running postrm hook /sbin/update-grub .
Searching for GRUB installation directory ... found: /boot/grub
Testing for an existing GRUB menu.list file ... found: /boot/grub/menu.lst
Searching for splash image ... none found, skipping ...
Found kernel: /boot/vmlinuz-2.6.17-10-server
Found kernel: /boot/memtest86+.bin
Updating /boot/grub/menu.lst ... done

Setting up x11-common (7.1.1ubuntu6.2) ...
System startup links for /etc/init.d/x11-common already exist.

Setting up gnupg (1.4.3-2ubuntu3.2) ...
Setting up info (4.8.dfsg.1-1ubuntu0.1) ...

Setting up linux-image-2.6.17-10-server (2.6.17.1-10.34) ...
Running depmod.
update-initramfs: Generating /boot/initrd.img-2.6.17-10-server
Not updating initrd symbolic links since we are being updated/reinstalled
(2.6.17-10.33 was configured last, according to dpkg)
Not updating image symbolic links since we are being updated/reinstalled
(2.6.17-10.33 was configured last, according to dpkg)
Running postinst hook /sbin/update-grub.
Searching for GRUB installation directory ... found: /boot/grub
Testing for an existing GRUB menu.list file ... found: /boot/grub/menu.lst
Searching for splash image ... none found, skipping ...
Found kernel: /boot/vmlinuz-2.6.17-10-server
Found kernel: /boot/memtest86+.bin
Updating /boot/grub/menu.lst ... done


root@PugWash:~# rm -f /bin/sh
root@PugWash:~# ln -s /bin/bash /bin/sh
root@PugWash:~# apt-get install binutils cpp cpp-4.0 fetchmail flex gcc gcc-4.0 libarchive-zip-perl libc6-dev libcompress-zlib-perl libdb4.3-dev libpcre3 libpopt-dev linux-kernel-headers lynx m4 make ncftp nmap openssl perl perl-modules unzip zip zlib1g-dev autoconf automake1.9 libtool bison autotools-dev g++
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package linux-kernel-headers is a virtual package provided by:
linux-libc-dev 2.6.17.1-10.34
You should explicitly select one to install.
E: Package linux-kernel-headers has no installation candidate
root@PugWash:~#
root@PugWash:~#


HTH as I don't want to go any further as I will probably mess things up.


Thanks

Hal2710
Reply With Quote
Sponsored Links
  #2  
Old 21st December 2006, 18:54
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

Please leave out the package linux-kernel-headers in the apt-get command and try again.

BTW, PugWash is no FQDN. Your hostname should be an FQDN.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 21st December 2006, 21:25
hal2710 hal2710 is offline
Junior Member
 
Join Date: Dec 2006
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi Falko,

Thank you for the reply.

I have done as requested. The apt-get now works. Thank you again.

My Server setup is now complete :-)

http://hal2710.homeip.net


Please visit !!!!!

BTW What would you recommend as FQDN for PugWash@hal2710.homeip.net ?

This webserver is for personal use on my cable internet connection ! Any ideas ??

Any way thanks again for your help. Your website and the Perfect Setup Guide made the difference when thinking about my own webserver project. I am a Windows user but began with BBC Micro and Sinclair Spectrum 48K !! I have been grasping at Linux for a while and this Site is Brilliant to say the least.


Long may you 'ROCK' Amodeus


Hal2710 & Tabitha
Reply With Quote
  #4  
Old 3rd January 2007, 12:05
DaRKNeSS666NL DaRKNeSS666NL is offline
HowtoForge Supporter
 
Join Date: Nov 2006
Posts: 207
Thanks: 17
Thanked 5 Times in 4 Posts
Default

Okee,

I am starting allover again. So I did an fresh install and got the same error, I already tried it myself without the linux-kernel-headers and then it's installing.

My Question dont we need the linux-kernel-headers any more?
I think it's maby already in the update/upgrade. Because thats the one thing that's differend whit my last install.

DaRKNeSS
__________________
Updating my server to Debian Squeeze, so here I go again...
Reply With Quote
  #5  
Old 4th January 2007, 15:17
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
 
Default

Quote:
Originally Posted by DaRKNeSS666NL
My Question dont we need the linux-kernel-headers any more?
No it's not required.
I think some packages were renamed/removed in the repositories.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
The Perfect Setup - Ubuntu 6.10 Server (Edgy Eft) - Page 6 Linocks Installation/Configuration 14 23rd June 2008 21:07
The Perfect Setup - Ubuntu 6.10 Server Question n74jw HOWTO-Related Questions 5 27th January 2008 12:14
The Perfect Setup - Ubuntu 6.10 Server (Edgy Eft) - connection timeouts thegestetner HOWTO-Related Questions 3 15th December 2006 12:54
The Perfect Server - Ubuntu 6.10 (Edgy Eft): sasl issues after power outage incgnito HOWTO-Related Questions 5 14th December 2006 20:29
The Perfect Setup - Ubuntu 6.10 Server (Edgy Eft) - Page 4 carloscastaneda HOWTO-Related Questions 2 10th December 2006 22:50


All times are GMT +2. The time now is 22:03.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.