[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Problem with xz on very small system

Sven Joachim wrote:
> David Goodenough wrote:
> > Yes that works, but it is not something I would want to do repeatedly
> > to the CF.  It does seem odd that such tiny DEBs need such a large amount
> > of memory to uncompress them.
> They don't need that much memory to uncompress (9 MB with the default xz
> compression level of 6, see xz(1)), but dpkg's own memory footprint
> seems to have increased somewhat.  And if you also want to use apt, 64
> Megabyte is probably just not sufficient without swap these days.

Perhaps you could manually walk through the upgrades.  Use apt to
identify the packages that are going to be upgraded and download them
to the cache.  Then use dpkg manually to one by one walk through the
identified packages and upgrade them individually.  Run apt again
afterward to verify that the upgrade has completed.

  apt-get upgrade -d -y
  dpkg -i /var/cache/apt/archives/foo1.deb
  dpkg -i /var/cache/apt/archives/foo2.deb

Painful.  But potentially a workaround.

Creeping featurism negatively affects all systems.  Sigh.


Attachment: signature.asc
Description: Digital signature

Reply to: