Fedora Linux Support Community & Resources Center
  #1  
Old 30th March 2009, 04:04 AM
YAOMTC Offline
Registered User
 
Join Date: Mar 2009
Posts: 25
Not enough room to update on LiveUSB?

I created my LiveUSB using liveusb-creator, and while I can update individual packages easily enough, I can't update everything at once. It's 500 MB of updates, and I just don't have the room for it. (Just barely, it stops before the last two packages.)

Code:
(322/324): foomatic-3.0.2-70.fc10.i386.rpm                                           |  19 MB     03:13
------------------------------------------------------------------------------------------------------------
Total                                                                       113 kB/s | 500 MB     75:35


Error Downloading Packages:
  glibc-common-2.9-3.i386: Insufficient space in download directory //var/cache/yum/updates/packages
    * free   11 M
    * needed 22 M
  6:kdegames-4.2.1-1.fc10.i386: Insufficient space in download directory //var/cache/yum/updates/packages
    * free   11 M
    * needed 32 M
Is it possible to

a) increase the amount of space the LiveUSB takes up on the thumb drive,

b) update a certain number or range of packages and their dependencies (say, around half of it, then the other half after restarting), or

c) solve this problem some other, better way?


I could really use all those updates!


EDIT: Problem solved, see marko's post.

Last edited by YAOMTC; 8th April 2009 at 04:49 PM.
Reply With Quote
  #2  
Old 30th March 2009, 06:11 AM
RahulSundaram Offline
Registered User
 
Join Date: May 2005
Posts: 3,549
Hi,

What is the size of the USB disk? How much space did you allocate for persistence?
__________________
Rahul
http://fedoraproject.org/wiki/RahulSundaram
Reply With Quote
  #3  
Old 30th March 2009, 06:41 AM
YAOMTC Offline
Registered User
 
Join Date: Mar 2009
Posts: 25
Quote:
Originally Posted by RahulSundaram View Post
Hi,

What is the size of the USB disk? How much space did you allocate for persistence?
It's a 4 GB disk, but I didn't set the whole thing to be used by the LiveUSB. How would I find out how much is used? I can't remember what I set it as.
Reply With Quote
  #4  
Old 30th March 2009, 07:00 AM
RahulSundaram Offline
Registered User
 
Join Date: May 2005
Posts: 3,549
Hi

http://fedoraforum.org/forum/showthread.php?t=201286
__________________
Rahul
http://fedoraproject.org/wiki/RahulSundaram
Reply With Quote
  #5  
Old 30th March 2009, 11:51 PM
YAOMTC Offline
Registered User
 
Join Date: Mar 2009
Posts: 25
Quote:
Originally Posted by RahulSundaram View Post
So the suggestion is to... format extra space on the thumb drive as ext2? Or should I use ext3?
Reply With Quote
  #6  
Old 1st April 2009, 07:38 PM
YAOMTC Offline
Registered User
 
Join Date: Mar 2009
Posts: 25
Okay, this is getting really old. I wiped the thumb drive and recreated the LiveUSB using the maximum amount of space for the persistent overlay, and I still ran out of space during yum update.

Dolphin says I have 918.7 MB free (you'd think I'd have more if I set it to use ~3.7 GB...), which - while it's relatively small - should be enough for the 511 MB of updates. But nooo:

Code:
(330/332): foomatic-3.0.2-70.fc10.i386.rpm               |  19 MB     10:08
--------------------------------------------------------------------------------
Total                                            99 kB/s | 511 MB     88:16


Error Downloading Packages:
  glibc-common-2.9-3.i386: Insufficient space in download directory //var/cache/yum/updates/packages
    * free   440 k
    * needed 22 M
  6:kdegames-4.2.1-1.fc10.i386: Insufficient space in download directory //var/cache/yum/updates/packages
    * free   440 k
    * needed 32 M
?!?!?!
Reply With Quote
  #7  
Old 2nd April 2009, 11:44 PM
marko's Avatar
marko Offline
Registered User
 
Join Date: Jun 2004
Location: Laurel, MD USA
Posts: 5,449
So do it in chunks!

step 1, turn off keepcache flag in /etc/yum.conf
Quote:
keepcache = 0

step2 see what's available for update with yum check-update
Quote:
yum check-update
-->
step 3: note what packages where are available for update, pick some subset that will fit on the USB key, and update them:
Quote:
yum update package1 package2 package3 package4... packageN
after that's done, do it again, maybe do a
Quote:
yum clean packages
here between each run
Quote:
yum update packageN+1, ....
etc until done
Quote:
yum update packageLAST-2 packageLAST-1 ..... packageLAST
or use some other means to subset them like wildcarding the names so that a reasonably small # of packages is
matched:
Quote:
yum update kde*
yum update selinux*
yum update xorg*
and so on



OR install yumex and GUI check box the subset you want to update, and so on.

Last edited by marko; 6th April 2009 at 12:39 AM.
Reply With Quote
  #8  
Old 6th April 2009, 12:19 AM
ddalley Offline
Registered User
 
Join Date: Apr 2009
Location: Toronto
Posts: 23
Quote:
Originally Posted by YAOMTC View Post
Okay, this is getting really old. I wiped the thumb drive and recreated the LiveUSB using the maximum amount of space for the persistent overlay, and I still ran out of space during yum update.

Dolphin says I have 918.7 MB free (you'd think I'd have more if I set it to use ~3.7 GB...), which - while it's relatively small - should be enough for the 511 MB of updates. But nooo:
I hear you on this problem, YAOMTC. I had a similar experience, so Iam just letting you know you weren't the only one. I know of no solution, though

I also ran into an updae / size problem, but I was fortunate enough to be using a GUI updater. It took a while to finish.
Reply With Quote
  #9  
Old 6th April 2009, 12:37 AM
marko's Avatar
marko Offline
Registered User
 
Join Date: Jun 2004
Location: Laurel, MD USA
Posts: 5,449
ddalley:

Take a look at my post #7, you don't have to do your updates in one huge chunk. Just pick a subset of the packages, update those and clean that up and start the next. Basically you use yum check-update to see what packages can be updated, then use 'globbing' to just do some of them. You can do a "yum clean packages" in between updates to make really sure the updated package rpms got flushed out of /var/cache/yum
Reply With Quote
  #10  
Old 6th April 2009, 06:37 AM
ddalley Offline
Registered User
 
Join Date: Apr 2009
Location: Toronto
Posts: 23
Thanks, Mark.

I'm not sure why the USB stick, at that time, had such a small partition, as it was a 4Gb stick, but it's done now.
Reply With Quote
  #11  
Old 8th April 2009, 04:09 AM
marko's Avatar
marko Offline
Registered User
 
Join Date: Jun 2004
Location: Laurel, MD USA
Posts: 5,449
Quote:
I'm not sure why the USB stick, at that time, had such a small partition, as it was a 4Gb stick, but it's done now.
liveusb-creator used to be limited to a maximum of 2GB for the persistent volume because of the limitations of the vfat file system. But now, version 3.6 and later, can use ext3 so there's no limitation (effectively) anymore
Reply With Quote
  #12  
Old 8th April 2009, 04:48 PM
YAOMTC Offline
Registered User
 
Join Date: Mar 2009
Posts: 25
Well, it took a while to get through a few package conflicts, but thanks to wildcards I eventually managed to update everything. Thanks for the tip!
Reply With Quote
  #13  
Old 8th April 2009, 05:27 PM
sideways's Avatar
sideways Offline
Retired User
 
Join Date: Oct 2004
Location: London, UK
Posts: 4,999
I would do a dd image of the whole stick now (not just the overlay), compress it and save it somewhere safe.

persistent overlays are prone to borking and not being recoverable
Reply With Quote
Reply

Tags
liveusb, room, update

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Fedora 9 LiveUSB System update problem schmidty313 Using Fedora 0 9th November 2008 07:20 PM
Update kernel with syslinux (LiveUSB) PhillyFloyd Using Fedora 8 2nd June 2008 10:03 PM
hi room talkstock888 Installation and Live Media 1 29th March 2006 03:28 PM
up2date - no room (?????) heatopher Using Fedora 11 23rd June 2005 01:01 AM


Current GMT-time: 12:07 (Wednesday, 22-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat