Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Debian User (http://www.linux-archive.org/debian-user/)
-   -   PROGRESS Can't resolve ftp.us.debian.org (http://www.linux-archive.org/debian-user/85332-progress-cant-resolve-ftp-us-debian-org.html)

"wa9als@gmail.com" 05-10-2008 02:24 AM

PROGRESS Can't resolve ftp.us.debian.org
 
On 5/8/08, NN_il_Confusionario <pinkof.pallus@tiscalinet.it> wrote:
> On Wed, May 07, 2008 at 05:18:45PM -0400, wa9als@gmail.com wrote:
> > > Does it help defining in /etc/hosts the http hosts of your sources.list ?
> >
> > I can try that, but I've never done that before.
>
> well, try it, it is not difficoult. I am not assuring that this will
> solve the problem, I am saying that this is so easy that it is worth to
> try it.

** I can't believe it, but this works perfectly! I put all entries
returned by getent for each of my apt sources in the hosts file, and
now apt works perfectly! So what does this tell us exactly in the
context of what's happened? What could've changed to make this
necessary? It used to work without those in the hosts file.
THANK YOU NN_il_Confusionario - I really appreciate it! I hope this
working tells someone a clue so that I can figure out how to get it to
work WITHOUT those in the hosts file.

>
> > > > > Moreover, what happened when in sources.list you used the ip in place of
> > > > > security.debian.org ?
> >
> > Using the backports IP worked for installing SpamAssassin, but it
> > doesn't work for security. Every time I ping security.debian.org I
> > get a different IP anyway, so I'm not sure of what to use.
>
> the ip I explicity indicated in two of may previous e-mails. There you
> find also the reason I used to chose that ip among the many that
>
> getent hosts security.debian.org
>
> returns.
>
> > I'm sure my restore did something bad, so let me describe
> > what I did:
> >
> > 1. I installed Etch 40r0 from June 2007 download (base system).
> > 2. I ran apt-get update and dist-upgrade - Worked fine!
> > 3. Then I installed Mondo, and used mondorestore to restore /etc,
> > /home, /usr, and /var from my mondo-created backup DVDs.
>
> I do not know/use/whatever mondo.
>
> I do not understand backup procedures like yours. In debian, it makes
> sense to backup:
>
> /etc/ (very important)
> /root/
> /home/
> /usr/local/
> /var/lib/dpkg/ (very important)
> /var/cache/debconf/ (optional)
> other specifc directories from /var
> (for example the postgres/mysql/... directory if you use a database,
> but stop the database before doing the backup!)
>
> and then you do restores of _specific_ files when needed.
>
> If you really want to perform "complete" backups and restores, I think tha mondo
> has the ability to perform them without the need of a base installation on disk.

Yes, this is the mondo "nuke" option. You boot from the first
recovery disk and enter "nuke" at the prompt. This restores
everything to bare metal - wonderful if it works. It used to work for
me, but a couple of years ago I started having a problem with mondo
recognizing my cdrom. Although it recognizes the media and starts the
mondo application and loads vmlinuz... then ti starts giving error
about not being able to find the cdrom. I have not been able to get
an answer for this on the mondo-devl list. However, I can restore
individual files or directories from the media by using the
mondorestore function. So I have installed a fresh installation of
etch, updated, then installed mondo, then restored /etc, /home, /usr,
and /var using mondorestore and my backup media. With some minor
tweaking, this worked fine previously. This time, my apt started
behaving differently! I haven't been able to find a better
backup/restore strategy that I can understand at my level.

> Your method does a *mix* of a existing installation on disk with a
> previous backed-up installation. As you have experienced, not always a
> great thing.

I know this. The only good thing is that the backed-up system was up
to date and the fresh installation was up to date. The way I do it is
the best that I can understand at the moment, and it has worked for me
once before.

Again, thanks so much for your help! I'd still like to hear any
further comments now that you know that putting the getent results in
the hosts file worked.

- John


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


All times are GMT. The time now is 12:44 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.