[apt upgrade] Preparing to unpack .../pop-icon-theme_3.0.0~1649981169~22.04~896e668_all.deb ...
[apt upgrade] find: '/usr/share/icons/Pop/': No such file or directory
[apt upgrade] dpkg: error processing archive /var/cache/apt/archives/pop-icon-theme_3.0.0~1649981169~22.04~896e668_all.deb (--unpack):
[apt upgrade] new pop-icon-theme package pre-installation script subprocess returned error exit status 1
[apt upgrade] Errors were encountered while processing:
[apt upgrade] /var/cache/apt/archives/pop-icon-theme_3.0.0~1649981169~22.04~896e668_all.deb
This can be used as a workaround:
# Work around pop-icon-theme bug
SIZES=("8x8" "16x16" "24x24" "32x32" "48x48" "64x64" "128x128" "256x256" "512x512")
SCALES=('@2x')
for SCALE in "${SCALES[@]}"
do
for SIZE in "${SIZES[@]}"
do
mkdir -p "/usr/share/icons/Pop/${SIZE}${SCALE}"
done
done
Issue Type
Bug Report
Operating System
Pop!_OS
OS Version
22.04
Icon Theme Version
What happened?
When installing, the
preinst
script fails:This can be used as a workaround:
Expected Outcome
pop-icon-theme
installs successfully.Other Information
It's being installed via an arm64 systemd-nspawn.
It's likely due to this line using
rm -r
overrm -rf