Bug#448316: apt does not work in initramfs
severity 448316 minor
forcemerge 448316 221666
thanks
Amos Waterland <apw@us.ibm.com> writes:
> Severity: important
Sorry but this bug is far from important since it's not the default
way to use it and few people is affected by this.
> While building a software appliance from Debian recently, I ran into
> a problem with apt in which it prints this:
>
> E: You don't have enough free space in /var/cache/apt/archives/.
>
> Note that the appliance is a single cpio file that Linux mounts on boot
> as an initramfs.
>
> After reading bug #221666, I worked around the problem by hacking the
> init scripts to mount a special tmpfs dir on that specific directly, but
> this is a very undesirable solution.
>
> Would you accept a patch to make apt deal with the case gracefully?
>
> If not, would you accept a patch that adds a command line option to
> ignore the check?
I don't have a strong opinion on it. Basically, I'd like to see the
proposed patch and see if it's acceptable, otherwise a command line
option can be used for it.
I'm looking forward to see it solved and am I curious to know _why_
you want to run it on initramfs?
--
O T A V I O S A L V A D O R
---------------------------------------------
E-mail: otavio@debian.org UIN: 5906116
GNU/Linux User: 239058 GPG ID: 49A5F855
Home Page: http://otavio.ossystems.com.br
---------------------------------------------
"Microsoft sells you Windows ... Linux gives
you the whole house."
Reply to: