MEPIS This forum is for the discussion of MEPIS Linux. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
09-04-2005, 10:51 PM
|
#1
|
LQ Newbie
Registered: Jan 2004
Location: Tasmania, Australia
Distribution: Red Hat Enterprise Workstation, Debian, Simply Mepis, Damn Small Linux
Posts: 29
Rep:
|
Apt-get and Kpackage
Hi, All,
I installed Mepis 3.3 a few days ago, and it seems ok. But, when I try to use apt-get or Kpackage, I get errors saying that the attempts are timing out. I re-did the sources.list, and tried again. It is still timing out. Here are the error messages I get:
root@2[stevesmith]# apt-get update
Err ftp://ftp.wa.au.debian.org testing/main Packages
Could not connect to ftp.wa.au.debian.org:21 (1.0.0.0), connection timed out
Err http://ftp.at.debian.org testing/main Packages
Could not connect to ftp.at.debian.org:80 (1.0.0.0), connection timed out
This is happening no matter what sites I try to use! I've tried everything I can think of, including changing the cache size; nothing works. Any ideas? is it possible that a port apt-get needs to use hase been closed? How do I check? Incidentally, I don't think it has anything to do with guarddog; I disabled it and ran apt-get, and it still happened.
Thanks,
Steve

|
|
|
09-05-2005, 01:14 AM
|
#2
|
Member
Registered: Jan 2002
Location: Third Stone from the Sun
Distribution: Debian Sid, SourceMage 0.9.5, & To be Continued on a TP
Posts: 800
Rep:
|
They both work when I click on them in a browser, so they are active.
Maybe going to Mepis site and finding different sources to use.
|
|
|
09-05-2005, 04:35 AM
|
#3
|
LQ Newbie
Registered: Jan 2004
Location: Tasmania, Australia
Distribution: Red Hat Enterprise Workstation, Debian, Simply Mepis, Damn Small Linux
Posts: 29
Original Poster
Rep:
|
Hi, Bitta,
Thanks for responding! I've been trying different sites, debian and mepis, for 3 days; you can reach them by browser, but not apt-get, kpackage, or gftp. I've been trying to think of what can be blocking them, but I'm new to all of this, and I'm way out of my league(my computers have been in storage for the past year, so I haven't been able to work with linux much). Everyone I know that uses apt says it should work straight out of the box; mine doesn't.
|
|
|
09-05-2005, 09:40 AM
|
#4
|
Member
Registered: Mar 2005
Location: Hilversum/Holland
Distribution: Debian GNU/Linux 5.0 (“Lenny”)
Posts: 290
Rep:
|
Re: Apt-get and Kpackage
Quote:
Originally posted by Farquar210
Hi, All,
I installed Mepis 3.3 a few days ago, and it seems ok. But, when I try to use apt-get or Kpackage, I get errors saying that the attempts are timing out. I re-did the sources.list, and tried again. It is still timing out. Here are the error messages I get:
root@2[stevesmith]# apt-get update
Err ftp://ftp.wa.au.debian.org testing/main Packages
Could not connect to ftp.wa.au.debian.org:21 (1.0.0.0), connection timed out
Err http://ftp.at.debian.org testing/main Packages
Could not connect to ftp.at.debian.org:80 (1.0.0.0), connection timed out
|
Seems to be a firewall problem.
Try this to be sure:
Code:
iptables -F
iptables -P INPUT ACCEPT
iptables -P OUTPUT ACCEPT
Try this first and make another connection attempt.
It could also be that the Debian server where temporarily out of line or simply overloaded, both things can result in timeouts.
Quote:
Incidentally, I don't think it has anything to do with guarddog;
|
Bad thought. It has. I didn't saw this as I first read your post. Guarddog is the culprit.
Get a better firewall, not a good one, get The FIREWALL(TM):
Firestarter, n00b-proof, dead easy to setup, powerfull, grafic, allows real-time management, systray aware for both Gnome and KDE...
They already owe me a beer case for advertising...
Last edited by runlevel0; 09-05-2005 at 10:12 AM.
|
|
|
09-05-2005, 11:45 AM
|
#5
|
Member
Registered: Dec 2002
Location: algeria
Distribution: redhat 7.3, debian lenny
Posts: 627
Rep:
|
Hi,
have a direct access to internet or you go thru a proxy ?
if last is the case you must precise it in the apt.conf
in my case ( i have a direct access) this is my apt.conf
APT:  efault-Release "unstable";
APT::Cache-Limit 10000000;
APT::Get::Purge;
Acquire::cdrom::Mount "/mnt/cdrom";
Acquire::http::Proxy "http://bela:xxxxxx@172.19.10.200:8080";;
bela is the name and xxxxxx the passwd required by my proxy
best regards
bela
|
|
|
09-06-2005, 04:23 AM
|
#6
|
LQ Newbie
Registered: Jan 2004
Location: Tasmania, Australia
Distribution: Red Hat Enterprise Workstation, Debian, Simply Mepis, Damn Small Linux
Posts: 29
Original Poster
Rep:
|
Hi,
It seems to be DNS problems; if I swap the URLs for IP addresses, it works (for the most part). I am still receiving a few errors, from the Mepis site mostly, but I think they may be problems with the sites. I have ADSL, and no proxy that I am aware of
Steve.
|
|
|
09-07-2005, 08:10 PM
|
#7
|
LQ Newbie
Registered: Feb 2005
Location: United States -KY
Distribution: FC 4 / Mepis 3.3.1
Posts: 15
Rep:
|
DNS problems
Hi,
Actually, there are quite a number of folks reporting problems with domain name resolve issues in apt, Firefox, and / or Synaptic under Mepis. No real reason uncovered as yet but it happens mostly with people using an aDSL connection to the Internet. Yes, IP addresses will solve the problem *if* you can figure out all the IP addresses and type them instead of domain names.
Very puzzling at this time.
-tammac
|
|
|
09-09-2005, 10:41 AM
|
#8
|
Senior Member
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
|
MEPIS sorces.list DNS error workaround
I am running SimplyMEPIS; but using cable, so I don't have your error problems. However, I thought writing the following bash snippet was interesting. I tested it by pasting it into a "Super User Terminal" & it worked fine -- the resulting /etc/apt/sources.test was just what I intended.
Code:
# Copyright (c) 2005 by f.a.archibald.iii -- all rights reserved
# Use at your own risk
# *** As root ***
# Set variables
LIST=/etc/apt/sources.list
ORIG=/etc/apt/sources.orig
TEST=/etc/apt/sources.test
# Make a back up & a test file
cp $LIST $ORIG
cp $LIST $TEST
# Run
echo -e "\n\n\n# Special IP lines\n" >> $TEST
for H in `awk '$1 ~ "deb" {print $2}' $TEST \
| awk -F/ '{print $3}' \
| grep -v "^$" | uniq `
do IP=`host $H | head -1 | awk '{print $4}'` ;
SED="sed -nes/$H/$IP/p $TEST";
$SED >> $TEST;
echo >> $TEST;
done
# Check results
less $TEST
When you are sure you are happy w/ the results: Of course if you get buyer's remorse: If you are interested in how it works, RTFMs, then ask Q's. I have deliberately broken lines & added extra spaces to make it (relatively) easy to read.
Last edited by archtoad6; 09-12-2005 at 07:23 PM.
|
|
|
09-11-2005, 08:21 PM
|
#9
|
LQ Newbie
Registered: Jan 2004
Location: Tasmania, Australia
Distribution: Red Hat Enterprise Workstation, Debian, Simply Mepis, Damn Small Linux
Posts: 29
Original Poster
Rep:
|
Hi, Rick,
Thanks for your response! I'm going to give that snippet a try. If I could get cable I would, but aDSL is the fastest internet available where I live in Tasmania. As it turns out, I believe my probs were being caused by my Service Provider! Over the weekend, Their DHCP server smoked; I called them to see what was happening, and the tech had me hook straight into one of their DNS servers. I'm still having a few probs connecting with a site or 2, but the resolve issues are gone. Now, if I could only quit getting 'no such site' errors when I try to use apt-get update to connect with the Mepis update site and the Nerim site.....
Thanks,
Steve

Last edited by Farquar210; 09-11-2005 at 08:24 PM.
|
|
|
09-12-2005, 07:29 PM
|
#10
|
Senior Member
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
|
Ouch!
Found a bunch of errors in my code, edited them out, tested WAY more throughly.
Use the version dated: "09-12-2005 at 06:23 PM"
Glad I looked again.
|
|
|
09-12-2005, 08:45 PM
|
#11
|
Senior Member
Registered: May 2005
Distribution: Ubuntu with IceWM
Posts: 1,775
Rep:
|
Check out the "upgrade problems" message on Mepis Lovers.
|
|
|
09-12-2005, 09:58 PM
|
#12
|
Senior Member
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
|
Here is the relevant part:
Quote:
This is from mos and cblue:
All users of Mepis need to edit their /etc/apt/sources.list file using a text editor as root (or su) and delete the apt sources for the non-us debian repos.
Also, change the ftp.us.debian.org repos to read ftp.debian.org instead.
After Debian released their Sarge distro, they decided to do away with the non-us repos and now all Mepis users will get apt-get update errors unless they take the non-us repositories out of their sources.list file.
See this topic too, for more help and info.
|
Here is some code that should save a manual edit:
Code:
# Copyright (c) 2005 by f.a.archibald.iii -- all rights reserved
# Use at your own risk
# *** As root ***
# Set variables
LIST=/etc/apt/sources.list
ORIG=/etc/apt/sources.orig
TEST=/etc/apt/sources.test
# Make a back up & a test file
cp $LIST $ORIG
cp $LIST $TEST
# Run
grep -v non-us $ORIG \
| sed '/^#\?deb/ s,ftp.us,ftp,' > $TEST
# Check results
less $TEST
diff $ORIG $TEST | less
As above, when you are sure you are happy w/ the results: Of course if you get buyer's remorse:
Last edited by archtoad6; 09-12-2005 at 10:43 PM.
|
|
|
All times are GMT -5. The time now is 02:31 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|