Fórum Ubuntu CZ/SK
Ostatní => Archiv => Téma založeno: kiko 28 Července 2009, 11:55:04
-
Zdravim,
instalacia balika install_flash_player_10_linux.deb (z ofic. stranky adobe) nedopadla dobre a tento balicek zostal v nejakom nekonzistentnom stave a teraz sa s nim neda nic robit.
vystup z /var/lib/dpkg/status
Status: deinstall reinstreq half-configured
sudo dpkg -r adobe-flashplugin
dpkg: error processing adobe-flashplugin (--remove):
Package is in a very bad inconsistent state - you should
reinstall it before attempting a removal.
Errors were encountered while processing:
adobe-flashplugin
sudo apt-get install --reinstall adobe-flashplugin, sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: The package adobe-flashplugin needs to be reinstalled, but I can't find an archive for it.
Skusal som ho aj skopirovat do /var/cache/apt/archives, ale nepomohlo to.
Zda sa, ze je to tento bug: https://bugs.launchpad.net/ubuntu/+source/adobe-flashplugin/+bug/371890
Dakujem za pomoc.
-
Dáš tady prosím (do kódu) výstup z
dpkg -l | grep flashplugin
cat /var/lib/dpkg/info/adobe-flashplugin* | grep '^[^#]'
(Pokud to samozřejmě nepíše nějaké klikyháky.)
-
To by mě také zajímalo, řešil jsem to pár dní ale nenalezl jsem východisko.
-
ten plugin installer som instaloval podla https://bugs.launchpad.net/ubuntu/+source/adobe-flashplugin/+bug/371890/comments/6 v domneni, ze mi to nejako pomoze, ale nestalo sa tak :(
dpkg -l | grep flashplugin
rFR adobe-flashplugin 10.0.22.87-1 Adobe Flash Player plugin version 10
ii flashplugin-installer 10.0.22.87ubuntu2 Adobe Flash Player plugin installer
cat /var/lib/dpkg/info/adobe-flashplugin* | grep '^[^#]'
/.
/usr
/usr/lib
/usr/lib/xulrunner
/usr/lib/xulrunner/plugins
/usr/lib/xulrunner-addons
/usr/lib/xulrunner-addons/plugins
/usr/lib/mozilla
/usr/lib/mozilla/plugins
/usr/lib/iceape
/usr/lib/iceape/plugins
/usr/lib/iceweasel
/usr/lib/iceweasel/plugins
/usr/lib/firefox
/usr/lib/firefox/plugins
/usr/lib/midbrowser
/usr/lib/midbrowser/plugins
/usr/lib/adobe-flashplugin
/usr/lib/adobe-flashplugin/libflashplayer.so
/usr/share
/usr/share/doc
/usr/share/doc/adobe-flashplugin
/usr/share/doc/adobe-flashplugin/copyright
/usr/share/doc/adobe-flashplugin/changelog.Debian.gz
4b1aaefe13be420876f73a4879b01c16 usr/lib/adobe-flashplugin/libflashplayer.so
2273dee00697c4d28e1b30bef26aaf18 usr/share/doc/adobe-flashplugin/copyright
0044f244cc63967cd871c46537a13215 usr/share/doc/adobe-flashplugin/changelog.Debian.gz
set -e
VARIANTS="iceape iceweasel mozilla firefox xulrunner midbrowser xulrunner-addons"
case "$1" in
configure)
for p in $VARIANTS; do
update-alternatives --install "/usr/lib/$p/plugins/flashplugin-alternative.so" "$p-flashplugin" /usr/lib/adobe-flashplugin/libflashplayer.so 50; done
;;
abort-upgrade|abort-remove|abort-deconfigure)
echo "postinst called with argument \`$1'" >&2
exit 1
;;
*)
echo "postinst called with unknown argument \`$1'" >&2
exit 1
;;
esac
exit 0
set -e
VARIANTS="iceape iceweasel mozilla firefox xulrunner midbrowser xulrunner-addons"
case "$1" in
remove)
for p in $VARIANTS; do
update-alternatives --remove "$p-flashplugin" /usr/lib/adobe-flashplugin/libflashplayer.so;
done
for p in $VARIANTS; do
[ `update-alternatives --list "$p-flashplugin" | wc -l` = 0 ] && \
update-alternatives --remove-all "$p-flashplugin"
done
;;
upgrade|deconfigure)
for p in $VARIANTS; do
update-alternatives --remove "$p-flashplugin" /usr/lib/adobe-flashplugin/libflashplayer.so;
done
for p in $VARIANTS; do
[ `update-alternatives --list "$p-flashplugin" | wc -l` = 0 ] && \
update-alternatives --remove-all "$p-flashplugin"
done
;;
failed-upgrade)
for p in $VARIANTS; do
update-alternatives --remove "$p-flashplugin" /usr/lib/adobe-flashplugin/libflashplayer.so;
done
for p in $VARIANTS; do
[ `update-alternatives --list "$p-flashplugin" | wc -l` = 0 ] && \
update-alternatives --remove-all "$p-flashplugin"
done
;;
*)
echo "prerm called with unknown argument \`$1'" >&2
exit 1
;;
esac
exit 0
-
OK. Zkus tedy
dpkg --remove --force-remove-reinstreq adobe-flashplugin
-
myslim, ze nieco podobne som skusal aj predtym, len som tu nechcel vypisovat vsetky tie prikazy :)
sudo dpkg --remove --force-remove-reinstreq adobe-flashplugin
dpkg: warning: overriding problem because --force enabled:
Package is in a very bad inconsistent state - you should
reinstall it before attempting a removal.
(Reading database ... 187725 files and directories currently installed.)
Removing adobe-flashplugin ...
update-alternatives: error: no alternatives for iceape-flashplugin.
update-alternatives: error: no alternatives for iceape-flashplugin.
dpkg: error processing adobe-flashplugin (--remove):
subprocess installed pre-removal script returned error exit status 2
postinst called with argument `abort-remove'
dpkg: error while cleaning up:
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
adobe-flashplugin
skusal som aj sudo dpkg --force all -r adobe-flashplugin a nic ... inak, neide ani (re)instalacia, ktoru tie niektore hlasky navrhuju
sudo dpkg -i install_flash_player_10_linux.deb
Selecting previously deselected package adobe-flashplugin.
(Reading database ... 187726 files and directories currently installed.)
Preparing to replace adobe-flashplugin 10.0.22.87-1 (using install_flash_player_10_linux.deb) ...
update-alternatives: error: no alternatives for iceape-flashplugin.
update-alternatives: error: no alternatives for iceape-flashplugin.
dpkg: warning: old pre-removal script returned error exit status 2
dpkg - trying script from the new package instead ...
update-alternatives: error: no alternatives for iceape-flashplugin.
update-alternatives: error: no alternatives for iceape-flashplugin.
dpkg: error processing install_flash_player_10_linux.deb (--install):
subprocess new pre-removal script returned error exit status 2
postinst called with argument `abort-upgrade'
dpkg: error while cleaning up:
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
install_flash_player_10_linux.deb
-
myslim, ze nieco podobne som skusal aj predtym, len som tu nechcel vypisovat vsetky tie prikazy :)
To je od Tebe hezké, ať si je vypisují ostatní... ;)
skusal som aj sudo dpkg --force all -r adobe-flashplugin a nic ... inak, neide ani (re)instalacia, ktoru tie niektore hlasky navrhuju
Neboj se, teď teprve začne ta správná špinavá práce, takže:
vem Terminál a sprostě mu smaž prerm soubor! sudo rm /var/lib/dpkg/info/adobe-flashplugin.prerm
A pak znova
sudo dpkg --remove --force-remove-reinstreq adobe-flashplugin
Co on na to?
-
tak toto ho uz konecne presvedcilo a podarilo sa mi ho odinstalovat ;)
este raz dakujem za pomoc.