FS#34707 - [pacman] No free space detected with cache on ramfs

Attached to Project: Pacman
Opened by McFyrn (McFyrn) - Tuesday, 09 April 2013, 20:10 GMT
Last edited by Dave Reisner (falconindy) - Friday, 12 April 2013, 13:08 GMT
Task Type Bug Report
Category Backend/Core
Status Closed
Assigned To Dave Reisner (falconindy)
Architecture All
Severity Low
Priority Normal
Reported Version 4.1.0
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
My pacman cache is on a ramfs; with pacman 4.1 I got an error when I try to install a package or update my system:
error: Partition /var/cache/pacman too full: 559 blocks needed, 0 blocks free
error: failed to commit transaction (not enough free disk space)
I guess this error came with the commit 6e29f02e94022e141eced2e0cdcb5b85894317ad, if I'm not mistaken there was no free space check before.


Additional info:
* pacman 4.1
* CheckSpace uncommented in pacman.conf
* fstab line for pacman cache:
none /var/cache/pacman ramfs defaults 0 0


Steps to reproduce:
1/ Add the line to fstab
2/ Uncomment CheckSpace in pacman.conf
3/ Install or update a package
This task depends upon

Closed by  Dave Reisner (falconindy)
Friday, 12 April 2013, 13:08 GMT
Reason for closing:  Won't fix
Additional comments about closing:  ramfs isn't a real filesystem and will always report 0 size. If you insist on using it over tmpfs, then you'll need to disable CheckSpace.
Comment by Dave Reisner (falconindy) - Thursday, 11 April 2013, 13:39 GMT
Why on earth would you use ramfs over tmpfs?

Loading...