You are not logged in.
Hi, I noticed that pacman stopped storing packages in `/var/cache/pacman/pkg/`. I found out it's because there is a post-transaction hook "Cleaning up package cache..." (see pacman output below). The hook definition is in `/usr/share/libalpm/hooks/package-cleanup.hook`. I have no idea how this file got there. I tried `pkgfile` to find which package this belongs to, but no luck. I did notice that arch docker has such a file:
https://github.com/archlinux/archlinux- … eanup.hook
I did tinker around with docker, and now I'm worried that this somehow leaked into the host system (I don't know if that's possible?). Anyways, I don't like that hook. I know I can just delete the file, but the question remains how it got there, and how I can make sure it doesn't get there again??
Thanks for your help!
[ ~]$ sudo pacman -Syu python-matplotlib
:: Synchronizing package databases...
core is up to date
extra is up to date
community is up to date
warning: python-matplotlib-3.0.2-1 is up to date -- reinstalling
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...
Packages (1) python-matplotlib-3.0.2-1
Total Download Size: 6.54 MiB
Total Installed Size: 24.98 MiB
Net Upgrade Size: 0.00 MiB
:: Proceed with installation? [Y/n]
:: Retrieving packages...
python-matplotlib-3.0.2-1-x86_64 6.5 MiB 8.46M/s 00:01 [########################################] 100%
(1/1) checking keys in keyring [########################################] 100%
(1/1) checking package integrity [########################################] 100%
(1/1) loading package files [########################################] 100%
(1/1) checking for file conflicts [########################################] 100%
(1/1) checking available disk space [########################################] 100%
:: Processing package changes...
(1/1) reinstalling python-matplotlib [########################################] 100%
:: Running post-transaction hooks...
(1/2) Cleaning up package cache...
(2/2) Arming ConditionNeedsUpdate...Last edited by stri (2018-11-24 03:15:08)
Offline
This is what pacman -Qo is for.
Offline
Thanks for the hint, it says that no package owns it.
I probably made a mistake when I played with the archlinux-docker repository and somehow copied that file over. I'll mark it as solved.
Sorry for taking your time, and thanks for the reply!
Offline