Skip to content

Instantly share code, notes, and snippets.

@neonb88
Last active June 17, 2023 03:43
Show Gist options
  • Save neonb88/5ba848f1aef21ab67c7a4ff28e6d2ea3 to your computer and use it in GitHub Desktop.
Save neonb88/5ba848f1aef21ab67c7a4ff28e6d2ea3 to your computer and use it in GitHub Desktop.
error: could not determine cachedir mount point /var/cache/pacman/pkg
[root@n-ThinkPad-T420 /]# pacman -S base
:: There are 49 members in group base:
:: Repository core
1) bash 2) bzip2 3) coreutils 4) cryptsetup 5) device-mapper 6) dhcpcd 7) diffutils 8) e2fsprogs 9) file 10) filesystem 11) findutils
12) gawk 13) gcc-libs 14) gettext 15) glibc 16) grep 17) gzip 18) inetutils 19) iproute2 20) iputils 21) jfsutils 22) less 23) licenses
24) linux 25) logrotate 26) lvm2 27) man-db 28) man-pages 29) mdadm 30) nano 31) netctl 32) pacman 33) pciutils 34) perl 35) procps-ng
36) psmisc 37) reiserfsprogs 38) s-nail 39) sed 40) shadow 41) sysfsutils 42) systemd-sysvcompat 43) tar 44) texinfo 45) usbutils
46) util-linux 47) vi 48) which 49) xfsprogs
Enter a selection (default=all):
warning: bash-4.4.023-1 is up to date -- reinstalling
warning: bzip2-1.0.6-7 is up to date -- reinstalling
warning: coreutils-8.29-1 is up to date -- reinstalling
warning: cryptsetup-2.0.3-2 is up to date -- reinstalling
warning: filesystem-2018.1-2 is up to date -- reinstalling
warning: findutils-4.6.0-2 is up to date -- reinstalling
warning: gcc-libs-8.1.1+20180531-1 is up to date -- reinstalling
warning: glibc-2.27-3 is up to date -- reinstalling
warning: pacman-5.1.0-2 is up to date -- reinstalling
warning: shadow-4.5-4 is up to date -- reinstalling
warning: util-linux-2.32-3 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...
Packages (58) groff-1.22.3-7 libaio-0.3.111-1 libpipeline-1.5.0-1 linux-firmware-20180606.d114732-1 mkinitcpio-24-2 mkinitcpio-busybox-1.28.4-1
mpfr-4.0.1-1 openresolv-3.9.0-1 thin-provisioning-tools-0.7.6-1 bash-4.4.023-1 bzip2-1.0.6-7 coreutils-8.29-1 cryptsetup-2.0.3-2
device-mapper-2.02.179-1 dhcpcd-7.0.5b-1 diffutils-3.6-1 e2fsprogs-1.44.3-1 file-5.33-3 filesystem-2018.1-2 findutils-4.6.0-2
gawk-4.2.1-1 gcc-libs-8.1.1+20180531-1 gettext-0.19.8.1-2 glibc-2.27-3 grep-3.1-1 gzip-1.9-1 inetutils-1.9.4-5 iproute2-4.17.0-1
iputils-20161105.1f2bb12-2 jfsutils-1.1.15-5 less-530-1 licenses-20171006-1 linux-4.17.6-1 logrotate-3.14.0-1 lvm2-2.02.179-1
man-db-2.8.3-2 man-pages-4.16-1 mdadm-4.0-1 nano-2.9.8-1 netctl-1.17-1 pacman-5.1.0-2 pciutils-3.6.1-1 perl-5.26.2-2
procps-ng-3.3.15-1 psmisc-23.1-1 reiserfsprogs-3.6.27-1 s-nail-14.9.10-1 sed-4.5-1 shadow-4.5-4 sysfsutils-2.1.0-10
systemd-sysvcompat-239.0-2 tar-1.30-1 texinfo-6.5-1 usbutils-010-1 util-linux-2.32-3 vi-1:070224-3 which-2.21-2
xfsprogs-4.17.0-1
Total Download Size: 212.93 MiB
Total Installed Size: 723.39 MiB
Net Upgrade Size: 477.02 MiB
:: Proceed with installation? [Y/n] y
error: could not determine cachedir mount point /var/cache/pacman/pkg
error: failed to commit transaction (not enough free disk space)
Errors occurred, no packages were upgraded.
@CHNB128
Copy link

CHNB128 commented Jun 6, 2020

Not good, but work. Thanks! 👍

@SkyyySi
Copy link

SkyyySi commented Aug 26, 2020

Awesome, thank you!

(BTW, you can also use pacman --needed so you don't reinstall anything, and uncomment the Color line in /etc/pacman.conf to get colored output. Just thought to let you know :) )

@thecatvoid
Copy link

I FOUND!!! Just comment CheckSpace in /etc/pacman.conf

Fixed mine! thanks

@codeeleven0
Copy link

Thank you so much!

@codeeleven0
Copy link

@Febri1e
Copy link

Febri1e commented Feb 24, 2023

I FOUND!!! Just comment CheckSpace in /etc/pacman.conf

Thank you!

Copy link

ghost commented Apr 15, 2023

Perfect, Tks @Allespro

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment