[SLUG] upgrading Ubuntu with CDs to save bandwidth?

2009-03-08 Thread Sonia Hamilton
Last night I was trying to upgrade some Ubuntu machines using the Ubuntu 
CDs (rather than downloading all the packages), in order to save 
bandwidth. I couldn't get the upgrade to download packages off the CD; 
in the end I did clean installs - no big deal since /home was separate.


I'm just wondering how you're supposed to do it, and more importantly, 
how a newbie would be supposed to do it.


I tried doing it the GUI way - adding the CD via "Software Sources", 
then upgrading via "Update Manager"


I tried doing it via the shell - various combinations of `apt cd-rom 
add`, `apt-get update`, `apt-get upgrade`, `apt-get dist-upgrade`, 
editing /etc/apt/sources.list.


The only thing I can think of is that I was using the Live CDs - should 
I have used the Alternate CDs instead?


--
Sonia Hamilton.

--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] upgrading Ubuntu with CDs to save bandwidth?

2009-03-08 Thread Blindraven
2 Ways you can do that :

 Mount the ISO as a drive with a command like: sudo mount -o loop
~/Desktop/ubuntu-8.10-alternate-i386.iso /media/cdrom0

or

gksu "sh /cdrom/cdromupgrade"



Regards,
Harrison.


On Mon, Mar 9, 2009 at 3:08 PM, Sonia Hamilton  wrote:
>
> Last night I was trying to upgrade some Ubuntu machines using the Ubuntu CDs 
> (rather than downloading all the packages), in order to save bandwidth. I 
> couldn't get the upgrade to download packages off the CD; in the end I did 
> clean installs - no big deal since /home was separate.
>
> I'm just wondering how you're supposed to do it, and more importantly, how a 
> newbie would be supposed to do it.
>
> I tried doing it the GUI way - adding the CD via "Software Sources", then 
> upgrading via "Update Manager"
>
> I tried doing it via the shell - various combinations of `apt cd-rom add`, 
> `apt-get update`, `apt-get upgrade`, `apt-get dist-upgrade`, editing 
> /etc/apt/sources.list.
>
> The only thing I can think of is that I was using the Live CDs - should I 
> have used the Alternate CDs instead?
>
> --
> Sonia Hamilton.
>
> --
> SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
> Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html



--
"None are so hopelessly enslaved as those who falsely believe they are free."
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] upgrading Ubuntu with CDs to save bandwidth?

2009-03-08 Thread Sonia Hamilton

Thanks for that, I'll give it a go on the next upgrade I do.

But going back to the second part of my question, how would a 
non-technical user do it?


For example, here's a hypothetical use case for a 3rd world country I've 
worked in:


"Juan-Carlos has been using Ubuntu for 12 months, and now wants to 
upgrade because he's heard that Network Manager will solve some 
networking issues he's having. He is currently sharing an expensive 
satellite link with several neighbours, and downloading 1G of files to 
upgrade is out of the question. He travels by bus into the district 
capital, and downloads and burns the next Ubuntu iso at an internet 
cafe. Upon getting home, he tries to upgrade using the CD but none of 
the menu items cause the files on the CD to be used. In disgust, he 
let's his neighbour reinstall a pirate copy of Window$ XP SP2 and solves 
his network problems".


(It's Guatemala, and "privatise everything" has done wonders for the 
cost of utilities).


Sonia Hamilton.



Blindraven wrote:

2 Ways you can do that :

 Mount the ISO as a drive with a command like: sudo mount -o loop
~/Desktop/ubuntu-8.10-alternate-i386.iso /media/cdrom0

or

gksu "sh /cdrom/cdromupgrade"



Regards,
Harrison.


On Mon, Mar 9, 2009 at 3:08 PM, Sonia Hamilton  wrote:
  

Last night I was trying to upgrade some Ubuntu machines using the Ubuntu CDs 
(rather than downloading all the packages), in order to save bandwidth. I 
couldn't get the upgrade to download packages off the CD; in the end I did 
clean installs - no big deal since /home was separate.

I'm just wondering how you're supposed to do it, and more importantly, how a 
newbie would be supposed to do it.

I tried doing it the GUI way - adding the CD via "Software Sources", then upgrading via 
"Update Manager"

I tried doing it via the shell - various combinations of `apt cd-rom add`, 
`apt-get update`, `apt-get upgrade`, `apt-get dist-upgrade`, editing 
/etc/apt/sources.list.

The only thing I can think of is that I was using the Live CDs - should I have 
used the Alternate CDs instead?

--
Sonia Hamilton.

--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html





--
"None are so hopelessly enslaved as those who falsely believe they are free."
  

--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] upgrading Ubuntu with CDs to save bandwidth?

2009-03-08 Thread Harrison Conlin
On Mon, Mar 9, 2009 at 3:08 PM, Sonia Hamilton  wrote:
> The only thing I can think of is that I was using the Live CDs - should I
> have used the Alternate CDs instead?

Haven't tried it but http://aptoncd.sourceforge.net/ should work with
a dist-upgrade

-- 
Harrison Conlin
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] upgrading Ubuntu with CDs to save bandwidth?

2009-03-08 Thread Jeff Waugh


> Last night I was trying to upgrade some Ubuntu machines using the Ubuntu  
> CDs (rather than downloading all the packages), in order to save  
> bandwidth. I couldn't get the upgrade to download packages off the CD;  
> in the end I did clean installs - no big deal since /home was separate.
>
> I'm just wondering how you're supposed to do it, and more importantly,  
> how a newbie would be supposed to do it.

8< ... snip ... 8<

> The only thing I can think of is that I was using the Live CDs - should  
> I have used the Alternate CDs instead?

Yes, stick an alternate CD in the drive and a dialogue will pop up asking if
you'd like to use it as a source (and then upgrade).

(It's not always massively useful for folks with lots of bandwidth, since
you're likely to have extra stuff not represented on the install CD... But
in the case of a basic Ubuntu machine installed in the field, it's pretty
good. Also consider the use of a DVD image if you want the whole archive
available.)

- Jeff

-- 
linux.conf.au 2010: Wellington, NZ   http://www.penguinsvisiting.org.nz/
 
 "Evil will always triumph over good, because good is dumb." - Dark
 Helmet, Spaceballs
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] upgrading Ubuntu with CDs to save bandwidth?

2009-03-08 Thread Jeff Waugh


> 
> 
> > Last night I was trying to upgrade some Ubuntu machines using the Ubuntu
> > CDs (rather than downloading all the packages), in order to save
> > bandwidth. I couldn't get the upgrade to download packages off the CD;
> > in the end I did clean installs - no big deal since /home was separate.
> >
> > I'm just wondering how you're supposed to do it, and more importantly,
> > how a newbie would be supposed to do it.
> 
> 8< ... snip ... 8<
> 
> > The only thing I can think of is that I was using the Live CDs - should
> > I have used the Alternate CDs instead?
> 
> Yes, stick an alternate CD in the drive and a dialogue will pop up asking
> if you'd like to use it as a source (and then upgrade).

Salient point that I managed to skip: The alternate CD has packages on it,
while the Live CD is just a great big compressed image of a filesystem... so
it won't help with upgrades at all (yet [1]).

- Jeff

[1] Years ago there was some inspired brainstorming about ways to do this
very cleverly, but I don't imagine it's on the agenda at the moment. Net
connected upgrades are just so bloody convenient and simple (and ALL of the
developers have fantastic net connections, of course).

-- 
linux.conf.au 2010: Wellington, NZ   http://www.penguinsvisiting.org.nz/
 
  "It is not enough for me to wear dark sunglasses and a wig. The
   wheelchair gives me away. People want to be photographed with me, but
  it can be a nuisance when I am in a hurry." - Stephen Hawking on
 celebrity
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] upgrading Ubuntu with CDs to save bandwidth?

2009-03-09 Thread Sonia Hamilton
Thanks everyone. I didn't realise the difference in the layout of the 
live and alt cd. I'll also check out aptoncd for future uses.


Sonia Hamilton.



Jeff Waugh wrote:



  





Last night I was trying to upgrade some Ubuntu machines using the Ubuntu
CDs (rather than downloading all the packages), in order to save
bandwidth. I couldn't get the upgrade to download packages off the CD;
in the end I did clean installs - no big deal since /home was separate.

I'm just wondering how you're supposed to do it, and more importantly,
how a newbie would be supposed to do it.
  

8< ... snip ... 8<



The only thing I can think of is that I was using the Live CDs - should
I have used the Alternate CDs instead?
  

Yes, stick an alternate CD in the drive and a dialogue will pop up asking
if you'd like to use it as a source (and then upgrade).



Salient point that I managed to skip: The alternate CD has packages on it,
while the Live CD is just a great big compressed image of a filesystem... so
it won't help with upgrades at all (yet [1]).

- Jeff

[1] Years ago there was some inspired brainstorming about ways to do this
very cleverly, but I don't imagine it's on the agenda at the moment. Net
connected upgrades are just so bloody convenient and simple (and ALL of the
developers have fantastic net connections, of course).

  

--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html