Download 2007.1 updates to CD? - Mandriva
This is a discussion on Download 2007.1 updates to CD? - Mandriva ; How hard is it to download Mandriva 2007.1 updates to CD for offline
installation?
I'm stuck with a dialup connection here and short of packing up my computer
and taking it to a friend's house to use his DSL connection, ...
-
Download 2007.1 updates to CD?
How hard is it to download Mandriva 2007.1 updates to CD for offline
installation?
I'm stuck with a dialup connection here and short of packing up my computer
and taking it to a friend's house to use his DSL connection, I'm sort of
out of luck. I can't see tying up the phone for the time it will take to
run the urpmi updates. (Anybody got an estimate for a 56k dialup?)
I take it that I need to get the contents of the ...media/main(contrib or
non-free)/updates directories and the correct associated
media_info/...hdlist.cz files from the mirror server. Am I on the right
track here?
Can somebody fill in the details?
--
Fred Stone
-
Re: Download 2007.1 updates to CD?
On 29 Jun 2007 19:37:44 GMT, Fred Stone wrote:
> How hard is it to download Mandriva 2007.1 updates to CD for offline
> installation?
Easy, click up a root terminal
su - root
urpmi --wget --update --auto-update --auto
That updates your *hdlist.cz files, checks for what you need, and
installs the packages. :-D
> I'm stuck with a dialup connection here and short of packing up my computer
> and taking it to a friend's house to use his DSL connection, I'm sort of
> out of luck.
Yep, I can feel for you there.
> I can't see tying up the phone for the time it will take to
How long does the string need to be to tie up a package.
> run the urpmi updates. (Anybody got an estimate for a 56k dialup?)
It depends on what you have installed and needs updating.
The open office updates are realy going to eat into your connection time.
> I take it that I need to get the contents of the ...media/main(contrib or
> non-free)/updates directories and the correct associated
> media_info/...hdlist.cz files from the mirror server. Am I on the right
> track here?
Yep, you can pick your mirrors here http://easyurpmi.zarb.org/
My neighbor is on dial up. I made her a script, told her, just before
going to bed, make the dialup connection,
su - root
getupdates
$ cat getupdates
urpmi --wget --update --auto-update --auto
poweroff
-
Re: Download 2007.1 updates to CD?
Bit Twister wrote in
news:slrnf8aovj.8ag.BitTwister@wb.home.invalid:
> On 29 Jun 2007 19:37:44 GMT, Fred Stone wrote:
>> How hard is it to download Mandriva 2007.1 updates to CD for offline
>> installation?
>
> Easy, click up a root terminal
> su - root
> urpmi --wget --update --auto-update --auto
>
> That updates your *hdlist.cz files, checks for what you need, and
> installs the packages. :-D
>
I was thinking of downloading the mirror's files to a CD using my
friend's Vista machine. Hence the question about directory structures.
>> I'm stuck with a dialup connection here and short of packing up my
>> computer and taking it to a friend's house to use his DSL connection,
>> I'm sort of out of luck.
>
> Yep, I can feel for you there.
>
>> I can't see tying up the phone for the time it will take to
>
> How long does the string need to be to tie up a package.
>
Gotcha.
>> run the urpmi updates. (Anybody got an estimate for a 56k dialup?)
>
> It depends on what you have installed and needs updating.
> The open office updates are realy going to eat into your connection
> time.
>
Yes, there are quite a few updates that get selected, and unfortunately,
the selection list doesn't give sizes before it starts downloading.
>> I take it that I need to get the contents of the
>> ...media/main(contrib or non-free)/updates directories and the
>> correct associated media_info/...hdlist.cz files from the mirror
>> server. Am I on the right track here?
>
> Yep, you can pick your mirrors here http://easyurpmi.zarb.org/
>
Did that. Do I need the Main or should I just leave the DVD media for
that?
> My neighbor is on dial up. I made her a script, told her, just before
> going to bed, make the dialup connection,
> su - root
> getupdates
>
>
> $ cat getupdates
> urpmi --wget --update --auto-update --auto
> poweroff
>
Does it screw me up if the connection drops or I have to give up the
phone line before it's finished?
--
Fred Stone
-
Re: Download 2007.1 updates to CD?
On 29 Jun 2007 21:36:20 GMT, Fred Stone wrote:
>
> I was thinking of downloading the mirror's files to a CD using my
> friend's Vista machine. Hence the question about directory structures.
Hmmm, GIGO question. So, you would be downloading everything wheither
you needed it nor not and it would be usless for next update. 
Quicker to do the update while connected to DSL.
> Yes, there are quite a few updates that get selected, and unfortunately,
> the selection list doesn't give sizes before it starts downloading.
Yup, my neighbor switched providers and has no landline connection for
about a month. I did the updates via my cable connection, She was 118
updates short.
> Did that. Do I need the Main or should I just leave the DVD media for
> that?
Hmmm, media is obsolete once installed unless you are adding packages.
I alwasy disable it. But then again, I keep an admin diary of what I
install, so I load the extra packages, just after first boot.
Then do the first update.
> Does it screw me up if the connection drops
Well, last packaging being downloaded could be dinked up.
That will cause an error when checksum mismatches.
Just delete it, and getupdates again.
> or I have to give up the phone line before it's finished?
Hmm, wierd question. Yes, you can hangup once you know you have
downloaded the last package while urpmi is installing/removing the
last package.
-
Re: Download 2007.1 updates to CD?
Bit Twister wrote in
news:slrnf8b0lu.e33.BitTwister@wb.home.invalid:
> On 29 Jun 2007 21:36:20 GMT, Fred Stone wrote:
>> Does it screw me up if the connection drops
>
> Well, last packaging being downloaded could be dinked up.
> That will cause an error when checksum mismatches.
> Just delete it, and getupdates again.
>
No auto retry once ppp redials?
>> or I have to give up the phone line before it's finished?
>
> Hmm, wierd question. Yes, you can hangup once you know you have
> downloaded the last package while urpmi is installing/removing the
> last package.
>
I can't tie up the phone during the day. Overnight is not so bad.
--
Fred Stone
-
Re: Download 2007.1 updates to CD?
On 30 Jun 2007 13:44:22 GMT, Fred Stone wrote:
> No auto retry once ppp redials?
man wget 
-
Re: Download 2007.1 updates to CD?
Fred Stone wrote:
> How hard is it to download Mandriva 2007.1 updates to CD for offline
> installation?
Go into mcc (Mandrake Linux Configuration Center) and get to the software
updates section.
MCC may require that you select mirrors to download from, and it will check
for updated hdlist.cz lists. You can use the add sources within MCC to
select your mirrors, or get a list elsewhere (e.g. easyurpmi.zarb.org),
select them using urpmi.addmedia, and then restart mcc.
These lists will be only a few megabytes total, and I would recommend
downloading them over dialup rather than trying to find and download
them using your friend's machine. You may find that mcc will download
a new set of these files each time you try to update, even if you
downloaded a new set just a few minutes earlier or copied into proper
location files downloaded by your friend's machine. Grin and bear it.
Select everything you need updated, and click on install.
At that point, you will get a window listing everything to be installed,
and you will be asked if you want to go ahead. Copy/paste every package
listed in that window (some may be at the bottom out of sight if the list
is too long) to a file and save it. Copy that to floppy disk or other
transportable media. Cancel the install.
In mcc, go to the section where you can specify the mirrors to download
files from, select each source in turn, hit edit, and note the address of the
server and how to get to the directory with the files you may need.
Go to your friends house, file of rpms needed in hand. Use his machine
to download the rpms needed (with ftp, gftp, wget, curl, whatever). You
will likely need to log in to the server(s) as user anonymous and password
you@e-mail.adr. Checking the checksums (md5 or sha1) of the downloaded
rpms is a good idea. The server should have a list of them. Save a copy
of them, as you will want to check again just before install to see if
corruption has occurred.
Burn the rpms to CD, carry CD back to your machine and either copy them
to your hard drive or mount the CD player with the CD in it (or maybe
automount will mount it for you). Go to the directory containing the
rpms, and as root run
urpmi ./*
You will be given a list of rpm packages that also need to be installed
to satisfy dependencies. Copy/paste that list, repeat the exercise as
above to get all of those packages. Either burn a new CD with all the
rpms needed, or copy all needed rpms into one directory on your hard
disk.
Then, in that directory, as root, run
urpmi ./*
and that should do the job.
> I'm stuck with a dialup connection here and short of packing up my computer
> and taking it to a friend's house to use his DSL connection, I'm sort of
> out of luck.
This might be preferable.
I can't see tying up the phone for the time it will take to
> run the urpmi updates. (Anybody got an estimate for a 56k dialup?)
Before going to bed, invoke mcc and go to updates. As you select rpms
to be installed, mcc will tell you the total bytes to be downloaded.
A 56K modem with a good connection (throughput 48-52 K) will probably
download about 0.3 MB (megabytes -- not bits) a minute.
You may need to select a limited number of updates and let the machine
try to get those and install them overnight, repeating as many times as
necessary to get them all.
> I take it that I need to get the contents of the ...media/main(contrib or
> non-free)/updates directories and the correct associated
> media_info/...hdlist.cz files from the mirror server. Am I on the right
> track here?
See above. Best to let mcc handle this task, as it will do it each
time anyway.
Cheers!
jim b.
--
UNIX is not user-unfriendly; it merely
expects users to be computer-friendly.
-
Re: Download 2007.1 updates to CD?
Jim Beard wrote in
news:TFuhi.388$DM4.193@trndny06:
<...>
>> I'm stuck with a dialup connection here and short of packing up my
>> computer and taking it to a friend's house to use his DSL
>> connection, I'm sort of out of luck.
>
> This might be preferable.
>
It sure looks that way. I had completely overlooked the dependency
runaround. I went through that adding packages to 2007.0.
<...>
>> I take it that I need to get the contents of the
>> ...media/main(contrib or non-free)/updates directories and the
>> correct associated media_info/...hdlist.cz files from the mirror
>> server. Am I on the right track here?
>
> See above. Best to let mcc handle this task, as it will do it each
> time anyway.
>
Thank you for the detailed discussion. It sounds like I could end up
wasting a lot of time trying to do urpmi's work for it.
--
Fred Stone
aa# 1369
“If government half a century ago had provided us all with dinners and
breakfasts, it would be the practice of our orators today to assume the
impossibility of our providing for ourselves.”
-
Re: Download 2007.1 updates to CD?
On Sat, 30 Jun 2007 15:26:21 -0400, Fred Stone wrote:
> Thank you for the detailed discussion. It sounds like I could end up
> wasting a lot of time trying to do urpmi's work for it.
I'm also on dialup. I let the updates download overnight, and if I
need to kill it, to use the phone, I just restart it later with
urpmi --auto-select --resume --keep --auto
Regards, Dave Hodgins
--
Change nomail.afraid.org to ody.ca to reply by email.
(nomail.afraid.org has been set up specifically for
use in usenet. Feel free to use it yourself.)
-
Re: Download 2007.1 updates to CD?
Fred Stone wrote:
> How hard is it to download Mandriva 2007.1 updates to CD for offline
> installation?
Conceptually, very easy - but think carefully before you start.
Do you already have 2007.1 and just want the updates (bug fixes)?
Or do you have an older version that you want to upgrade?
> I'm stuck with a dialup connection here and short of packing up my
> computer and taking it to a friend's house to use his DSL
> connection, I'm sort of out of luck.
If you have a friend with a fast connection, a large unused
download quota, and a DVD burner (and you have a DVD reader)
then download and burn an installation DVD. Then copy all
of the updates (bug fixes) for 2007.1, both main updates
and contrib updates, onto another DVD. Also think about
getting copies of the correct plf repositories.
If that is pushing the friendship, or the equipment, download
and burn an installation CD. There are at least three that
you can choose from.
> I can't see tying up the phone
> for the time it will take to run the urpmi updates. (Anybody got an
> estimate for a 56k dialup?)
One DVD plus updates, about 5 GBytes divided by about 45 kbits/sec.
Do you own a calculator? I make it about 2 weeks.
> I take it that I need to get the contents of the
> ...media/main(contrib or non-free)/updates directories and the
> correct associated media_info/...hdlist.cz files from the mirror
> server. Am I on the right track here?
>
> Can somebody fill in the details?
Unless you are sure about which rpms you want, get a prepackaged
consistent set - an installation CD or DVD. Then let urpmi drag
in any extra rpms that you want but were not on the installation
media. Not even the DVD contains absolutely everything, but a CD
is enough for many people.
--
Peter D.
Sig goes here...
-
Re: Download 2007.1 updates to CD?
Fred Stone wrote:
> Bit Twister wrote in
> news:slrnf8aovj.8ag.BitTwister@wb.home.invalid:
>
>> On 29 Jun 2007 19:37:44 GMT, Fred Stone wrote:
>>> How hard is it to download Mandriva 2007.1 updates to CD for
>>> offline installation?
>>
>> Easy, click up a root terminal
>> su - root
>> urpmi --wget --update --auto-update --auto
Urpmi supports a "--resume" option, "man urpmi".
[snip]
> Did that. Do I need the Main or should I just leave the DVD media
> for that?
You are unlikely to miss them, but there are a few things that
don't fit on the DVD.
[snip]
> Does it screw me up if the connection drops or I have to give up the
> phone line before it's finished?
Urpmi and various download utilities can resume partial downloads.
Also consider options like "--limit-rate" so that you do not saturate
your connection.
--
Peter D.
Sig goes here...
-
Re: Download 2007.1 updates to CD?
Fred Stone wrote:
[snip]
> I can't tie up the phone during the day. Overnight is not so bad.
One all night phone call every night for a month (assuming that
your ISP does not kick you off after 3 hours). What you save in
phone calls might allow you to BUY a DVD from cheap bytes or
someone similar.
--
Peter D.
Sig goes here...
-
Re: Download 2007.1 updates to CD?
"David W. Hodgins" wrote in
news
p.tuq4q7kva3w0dx@hodgins.homeip.net:
> On Sat, 30 Jun 2007 15:26:21 -0400, Fred Stone
> wrote:
>
>> Thank you for the detailed discussion. It sounds like I could end up
>> wasting a lot of time trying to do urpmi's work for it.
>
> I'm also on dialup. I let the updates download overnight, and if I
> need to kill it, to use the phone, I just restart it later with
> urpmi --auto-select --resume --keep --auto
>
> Regards, Dave Hodgins
>
That did the trick. Sixteen hours of downloads and a few disconnects
left ten files incomplete (out of 111). The --resume picked them all up
and finished the whole process in a total of eighteen hours.
--
Fred Stone