You are here
Hello everyone.
This is the third TurnKey Appliance that I have tried and I must say that these are VERY nice appliances.
Im having trouble with getting apt-get to work correctly. I am trying to install MySQL on the LAPP appliance along with PHPMYADMIN and PHPPGADMIN and am having trouble getting apt-get to work correctly.
When I type apt-get install mysql-server i get
root@lapp:/etc/apt/sources.list.d# apt-get install mysql-server
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package mysql-server
I have went into /etc/apt/sources.list.d then the file source.list and removed all of the comment tags and still no dice. When I run apt-get update I get the following:
Err http://archive.turnkeylinux.org hardy-security Release.gpg
Could not resolve 'archive.turnkeylinux.org'
Err http://archive.turnkeylinux.org hardy Release.gpg
Could not resolve 'archive.turnkeylinux.org'
Err http://archive.ubuntu.com hardy-security Release.gpg
Could not resolve 'archive.ubuntu.com'
Err http://archive.ubuntu.com hardy Release.gpg
Could not resolve 'archive.ubuntu.com'
Err http://archive.ubuntu.com hardy-updates Release.gpg
Could not resolve 'archive.ubuntu.com'
Err http://archive.ubuntu.com hardy-backports Release.gpg
Could not resolve 'archive.ubuntu.com'
Reading package lists... Done
W: Failed to fetch http://archive.turnkeylinux.org/ubuntu/dists/hardy-security/Release.gpg Could not resolve 'archive.turnkeylinux.org'
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/hardy-security/Release.gpg Could not resolve 'archive.ubuntu.com'
W: Failed to fetch http://archive.turnkeylinux.org/ubuntu/dists/hardy/Release.gpg Could not resolve 'archive.turnkeylinux.org'
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/hardy/Release.gpg Could not resolve 'archive.ubuntu.com'
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/hardy-updates/Release.gpg Could not resolve 'archive.ubuntu.com'
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/hardy-backports/Release.gpg Could not resolve 'archive.ubuntu.com'
W: Some index files failed to download, they have been ignored, or old ones used instead.
W: You may want to run apt-get update to correct these problems
I tried to see if iptables is blocking it from going out but it is not installed.
Can someone please let me know what im doing wrong?
networking configuration
Did you configure networking or was it done automatically via DHCP?
BTW, if you are using a virual machine, make sure it has access to the hosts network via NAT or bridged networking.
Thanks for the quick reply.
UPDATE
Ran update GW command and now route-n shows
DNS configuration
1. Have you setup a local dns configuration? (ie. 127.0.0.1)
2. The nameserver configured doesn't seem to be a nameserver, or atleast isn't accepting my traffic. A quick search revealed that you should be using {pdns,sdn}.012.net.il, so update your /etc/resolv.conf to contain: This should solve your problem, unless ofcourse you also have routing problems...
To see if there was anything
Here is what I found. During the install, DHCP is done automatically. When I go into the admin tool and configure StaticIP, it removes the GatewayIP address. I then have to go back in and manually put in the GatewayIP.
If I reboot the machine, and go back into the StaticIP setup, the GatewayIP address is removed.
I think there may be a bug in the LAPP install or either I have a bad disc.
As of now it is working and my setup looks the same once I run what you asked me to the first time.
Thanks a lot for all of your help with this. I really appreciate it.
I think we nailed this bug
this might help...
http://www.turnkeylinux.org/forum/support/20090724/fix-apt-get-could-not...
Add new comment