 |
 |
 |
 |
| Installation and Live Media Help with Installation & Live Media (Live CD, USB, DVD) problems. |

30th March 2009, 04:04 AM
|
|
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.
|

30th March 2009, 06:11 AM
|
|
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
|

30th March 2009, 06:41 AM
|
|
Registered User
|
|
Join Date: Mar 2009
Posts: 25

|
|
Quote:
Originally Posted by RahulSundaram
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.
|

30th March 2009, 07:00 AM
|
|
Registered User
|
|
Join Date: May 2005
Posts: 3,549

|
|
|
__________________
Rahul
http://fedoraproject.org/wiki/RahulSundaram
|

30th March 2009, 11:51 PM
|
|
Registered User
|
|
Join Date: Mar 2009
Posts: 25

|
|
Quote:
Originally Posted by RahulSundaram
|
So the suggestion is to... format extra space on the thumb drive as ext2? Or should I use ext3?
|

1st April 2009, 07:38 PM
|
|
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
?!?!?!
|

2nd April 2009, 11:44 PM
|
 |
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
step2 see what's available for update with 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
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.
|

6th April 2009, 12:19 AM
|
|
Registered User
|
|
Join Date: Apr 2009
Location: Toronto
Posts: 23

|
|
Quote:
Originally Posted by YAOMTC
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.
|

6th April 2009, 12:37 AM
|
 |
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
|

6th April 2009, 06:37 AM
|
|
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.
|

8th April 2009, 04:09 AM
|
 |
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
|

8th April 2009, 04:48 PM
|
|
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!
|

8th April 2009, 05:27 PM
|
 |
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
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
Current GMT-time: 12:07 (Wednesday, 22-05-2013)
|
|
 |
 |
 |
 |
|
|