[SOLVED] [sid] adobe-flasplugin is reinstall-required but apt can't find archive for it
DebianThis forum is for the discussion of Debian Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
EDIT: I'd like to make it absolutely clear that the issue is totally solved, see post number six for a solution.
=========={original post}============
It's preventing anything besides apt-cache from working. Even --force-all isn't fixing it.
Code:
~$ sudo dpkg -i --force-all '/tmp/install_flash_player_10_linux.deb'
(Reading database ... 149886 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 /tmp/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:
/tmp/install_flash_player_10_linux.deb
~$ sudo apt-get install --reinstall adobe-flashplugin
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.
~$
Sources.list:
Code:
#
# deb cdrom:[Debian GNU/Linux 5.0.0 _Lenny_ - Official i386 NETINST Binary-1 20090214-16:03]/ lenny main
# deb cdrom:[Debian GNU/Linux 5.0.0 _Lenny_ - Official i386 NETINST Binary-1 20090214-16:03]/ lenny main
deb http://ftp.us.debian.org/debian/ lenny main non-free contrib
deb http://security.debian.org/ lenny/updates main non-free contrib
deb http://volatile.debian.org/debian-volatile lenny/volatile main
deb http://ftp.us.debian.org/debian/ lenny-proposed-updates non-free contrib main
# deb-src http://volatile.debian.org/debian-volatile lenny/volatile main
#experimental
deb ftp://ftp.debian.org/debian experimental main
#unstable
deb http://ftp.us.debian.org/debian unstable main non-free contrib
#wine
deb http://www.lamaresh.net/apt sid main
#debian multimedia
deb http://www.debian-multimedia.org sid main
# deb-src http://www.debian-multimedia.org sid main
I'll provide any other configuration files you might need.
Farslayer: Target distro is sid, no Lenny packages are installed unless they don't exist at all in sid.
CraigEvil: It was before, I only downloaded it from adobe when the installed version was messed up.
Everyone else: Apt is really choking hard on this. It's not working at all, even for unrelated packages. Look at this:
Code:
~$ sudo apt-get install abiword
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.
~$
~$ sudo apt-get purge cinepaint
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.
~$
Since the problem is with apt, I don't think I can fix it by compiling replacement software from source (in my experience, that only ever makes things worse.)
Just for the heck of it, I removed that file (backed it up in my home directory.) After I did that, I was able to use apt normally again, and flash was auto-magically reinstalled when I tested apt by installing abiword.
I have the same problem. I have tried a fix proposed by MaxIBoy
> Just for the heck of it, I removed that file (backed it up in my home directory.)
> After I did that, I was able to use apt normally...
but for me does not work? Do you have any idea, what I can try?
When I try to use apt, I'm getting
~$ 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.
The adobe-flashplugin package comes from http://get.adobe.com/flashplayer/
I have done stupid move and I have installed install_flash_player_10_linux.deb which was dedicated for Ubutu :-(
After it I can not remove it as well reinstall it. I can not do anything with apt. SO, I have some other problems with new kernel for example linux-image-2.6.29-2-686 :-(
Quote:
$ lsb_release -cr
Release: 5.0.1
Codename: lenny
Quote:
$ aptitude search flash
C adobe-flashplugin - Adobe Flash Player plugin version 10
p flashplayer-mozilla - Macromedia Flash Player
p flashplugin-nonfree - Adobe Flash Player - browser plugin
i flashplugin-nonfree-extrasound - Adobe Flash Player platform support library for Esound and OSS
p flashrom - Identify, read, write, erasing, and verify BIOS/ROM/flash chips
p flashybrid - automates use of a flash disk as the root filesystem
i libflash-mozplugin - GPL Flash (SWF) Library - Mozilla-compatible plugin
i libflash-swfplayer - GPL Flash (SWF) Library - stand-alone player
i A libflash0c2 - GPL Flash (SWF) Library - shared library
p libroxen-flash2 - Flash2 module for the Roxen Challenger web server
p m16c-flash - Flash programmer for Renesas M16C and R8C microcontrollers
p vrflash
aptitude purge adobe-flashplugin
Quote:
$ aptitude purge adobe-flashplugin
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Writing extended state information... Done
The following packages will be REMOVED:
adobe-flashplugin{p}
The following partially installed packages will be configured:
linux-image-2.6-686 linux-image-2.6.29-2-686 linux-image-686
0 packages upgraded, 0 newly installed, 1 to remove and 274 not upgraded.
Need to get 0B of archives. After unpacking 10.2MB will be freed.
Do you want to continue? [Y/n/?]
Writing extended state information... Done
dpkg: error processing adobe-flashplugin (--purge):
Package is in a very bad inconsistent state - you should
reinstall it before attempting a removal.
Errors were encountered while processing:
adobe-flashplugin
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
Setting up linux-image-2.6.29-2-686 (2.6.29-5) ...
Running depmod.
Running update-initramfs.
update-initramfs: Generating /boot/initrd.img-2.6.29-2-686
cpio: ./etc/udev/rules.d/libmtp.rules: Cannot stat: No such file or directory
update-initramfs: failed for /boot/initrd.img-2.6.29-2-686
update-initramfs failed to create initrd image.
Failed to create initrd image.
dpkg: error processing linux-image-2.6.29-2-686 (--configure):
subprocess installed post-installation script returned error exit status 2
dpkg: dependency problems prevent configuration of linux-image-686:
linux-image-686 depends on linux-image-2.6.29-2-686; however:
Package linux-image-2.6.29-2-686 is not configured yet.
dpkg: error processing linux-image-686 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-image-2.6-686:
linux-image-2.6-686 depends on linux-image-2.6.29-2-686; however:
Package linux-image-2.6.29-2-686 is not configured yet.
dpkg: error processing linux-image-2.6-686 (--configure):
dependency problems - leaving unconfigured
Setting up libgcj-common (1:4.4.0-4) ...
pycentral: pycentral pkginstall: not overwriting local files:
/usr/lib/python2.5/site-packages/aotcompile.py
/usr/lib/python2.5/site-packages/classfile.py
pycentral pkginstall: not overwriting local files:
/usr/lib/python2.5/site-packages/aotcompile.py
/usr/lib/python2.5/site-packages/classfile.py
dpkg: error processing libgcj-common (--configure):
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of libgcj-bc:
libgcj-bc depends on libgcj-common (>= 1:4.4.0-4); however:
Package libgcj-common is not configured yet.
dpkg: error processing libgcj-bc (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of java-gcj-compat-headless:
java-gcj-compat-headless depends on libgcj-bc (>= 4.3); however:
Package libgcj-bc is not configured yet.
java-gcj-compat-headless depends on libgcj-common (>= 1:4.4.0-2); however:
Package libgcj-common is not configured yet.
dpkg: error processing java-gcj-compat-headless (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of gcj-jdk:
gcj-jdk depends on libgcj-common (>= 1:4.4.0-4); however:
Package libgcj-common is not configured yet.
dpkg: error processing gcj-jdk (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of gcj-jre:
gcj-jre depends on libgcj-common (>= 1:4.4.0-4); however:
Package libgcj-common is not configured yet.
dpkg: error processing gcj-jre (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of gcj-jre-headless:
gcj-jre-headless depends on libgcj-common (>= 1:4.4.0-4); however:
Package libgcj-common is not configured yet.
gcj-jre-headless depends on java-gcj-compat-headless (>= 1.0.80); however:
Package java-gcj-compat-headless is not configured yet.
dpkg: error processing gcj-jre-headless (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of java-gcj-compat:
java-gcj-compat depends on java-gcj-compat-headless (= 1.0.80-2); however:
Package java-gcj-compat-headless is not configured yet.
dpkg: error processing java-gcj-compat (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of gcj:
gcj depends on gcj-jdk (>= 4:4.3.3-6); however:
Package gcj-jdk is not configured yet.
dpkg: error processing gcj (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of gij:
gij depends on libgcj-bc (>= 4.3.3-6); however:
Package libgcj-bc is not configured yet.
gij depends on gcj-jre-headless (>= 4:4.3.3-6); however:
Package gcj-jre-headless is not configured yet.
dpkg: error processing gij (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of java-gcj-compat-dev:
java-gcj-compat-dev depends on java-gcj-compat (= 1.0.80-2); however:
Package java-gcj-compat is not configured yet.
dpkg: error processing java-gcj-compat-dev (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
linux-image-2.6.29-2-686
linux-image-686
linux-image-2.6-686
libgcj-common
libgcj-bc
java-gcj-compat-headless
gcj-jdk
gcj-jre
gcj-jre-headless
java-gcj-compat
gcj
gij
java-gcj-compat-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Writing extended state information... Done
Are you mixing releases? If your running stable you shouldn't be getting all of the depends errors. Heck even running sid I rarely see depends errors. Where did you get the kernel you are trying to install?
You might trying using dpkg to remove the broken adobe-flashplugin package.
My main problem now is how to handle adobe-flashplugin. I have more then 20 GB on root directory / . I would love to use dpkg but without success. Here my tries:
First status:
Quote:
$ dpkg --status adobe-flashplugin
Package: adobe-flashplugin Status: purge reinstreq half-configured
Priority: optional
Section: web
Installed-Size: 9976
Maintainer: Ubuntu Core Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Architecture: i386
Version: 10.0.22.87-1
Config-Version: 10.0.22.87-1
Replaces: flashplugin (<< 6)
Provides: flashplugin-nonfree
Depends: debconf | debconf-2.0, fontconfig, libatk1.0-0 (>= 1.20.0), libc6 (>= 2.4), libcairo2 (>= 1.6.0), libcurl3, libfontconfig1 (>= 2.4.0), libfreetype6 (>= 2.3.5), libgcc1 (>= 1:4.1.1-21), libglib2.0-0 (>= 2.12.0), libgtk2.0-0 (>= 2.12.0), libnspr4-0d, libnss3-1d, libpango1.0-0 (>= 1.20.5), libstdc++6 (>= 4.1.1-21), libx11-6, libxext6, libxt6, wget
Suggests: firefox, konqueror-nsplugins, msttcorefonts, ttf-bitstream-vera | ttf-dejavu, ttf-xfree86-nonfree, x-ttcidfont-conf, xfs (>= 1:1.0.1-5)
Conflicts: flashplayer-mozilla, flashplugin (<< 6), xfs (<< 1:1.0.1-5)
Description: Adobe Flash Player plugin version 10
This package will download the Flash Player from Adobe. It is a
Netscape/Mozilla type plugin. Any browser based on Netscape or Mozilla can use
the Flash plugin. This package officially supports the following browsers:
.
Firefox 2.x, Firefox 3.x, SeaMonkey 1.11
Original-Maintainer: DL-Flash Player Ubuntu <FlashPlayerUbuntu@adobe.com>
Then configure fails :-(
Quote:
$dpkg --configure adobe-flashplugin
dpkg: error processing adobe-flashplugin (--configure):
Package is in a very bad inconsistent state - you should
reinstall it before attempting configuration.
Errors were encountered while processing:
adobe-flashplugin
... and remove/purge fails too
Quote:
$dpkg --purge adobe-flashplugin
dpkg: error processing adobe-flashplugin (--purge):
Package is in a very bad inconsistent state - you should
reinstall it before attempting a removal.
Errors were encountered while processing:
adobe-flashplugin
So, I'm out of ideas :-(
Yes, I'm mixing releases. I'm using unstable. Here is my source.list
Do yu think it can be a problem? Before installing adobe-flashplugin. I have tried to install stable linux-image-2.6-686 package. But the affect was the same.
I have tried to leave only stable version in source.list but problem is the same.
$ apt-get -f dist-upgrade
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.
Ahhh, My happiness was too early. I have managed only to reinstall install_flash_player_10_linux.deb . But when I wanted to remove adobe-flashplugin. I had another problem.
Quote:
$dpkg --purge adobe-flashplugin
(Reading database ... 584686 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 (--purge):
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
But it is simple to fix it. I have edit file /var/lib/dpkg/info/adobe-flashplugin.prerm and removed all lines after set -e. This solved the problem.
which could be why it's causing so many problems trying to install it on a Debian system, and also why I couldn't find it anywhere in the Debain repositories.
Ubuntu != Debian
you really shouldn't mix packages between the two distros..
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
Advertisement
Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Click Here to receive a complimentary subscription courtesy of LQ.