$ sudo aptitude install flashplugin-installer The following partially installed packages will be configured: flashplugin-installer No packages will be installed, upgraded, or removed. 0 packages upgraded, 0 newly installed, 0 to remove and 15 not upgraded. Need to get 0B of archives. After unpacking 0B will be used. Setting up flashplugin-installer (11.1.102.55ubuntu0.10.10.1) ... cd: 161: can't cd to /var/cache/flashplugin-installer dpkg: error processing flashplugin-installer (--configure): subprocess installed post-installation script returned error exit status 2 Errors were encountered while processing: flashplugin-installer E: Sub-process /usr/bin/dpkg returned an error code (1) A package failed to install. Trying to recover:
2 Answers
There is a bug, that sometimes prevents installing the flash plugin. Actually there are several reports, I just picked one with a possible workaround:
- Check if the directory exists:
ls /var/cache/flashplugin-installer
- If not, create as root:
sudo mkdir /var/cache/flashplugin-installer
- Re-run the install command.
This is probably a bug but, anyhow, i found more easy installing flash in another way ( but with this method only a local installation is made ) :
- download the tar.gz package from the official website
- unpack
- copy only the file named
libflashplayer.so
to~/.mozilla/plugins
( if the plugins folder does not exist create it ) - start firefox with your brand new plugin installed, if you want to upgrade flash you only have to copy the new .so file over the old one.