LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 05-21-2009, 12:42 PM   #1
MaxIBoy
LQ Newbie
 
Registered: May 2009
Posts: 13

Rep: Reputation: 0
[sid] adobe-flasplugin is reinstall-required but apt can't find archive for it


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.

Last edited by MaxIBoy; 05-28-2009 at 11:19 AM.
 
Old 05-21-2009, 02:26 PM   #2
j1alu
Member
 
Registered: Apr 2009
Distribution: debian gnu/linux
Posts: 798

Rep: Reputation: Disabled
as silly it might sound, but have you tried flashplayer-mozilla too?
 
Old 05-21-2009, 02:44 PM   #3
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid
Posts: 4,734
Blog Entries: 12

Rep: Reputation: 462Reputation: 462Reputation: 462Reputation: 462Reputation: 462
apt-get install flashplugin-nonfree or apt-get install flashplayer-mozilla

Why mess with downloading and trying to install from Adobe when there is a package in the debian repos.

$ apt-cache policy flashplayer-mozilla
flashplayer-mozilla:
Installed: 1:10.0.22.87-0.0
Candidate: 1:10.0.22.87-0.0
Version table:
*** 1:10.0.22.87-0.0 0
990 http://www.debian-multimedia.org unstable/main Packages
100 /var/lib/dpkg/status
 
Old 05-21-2009, 03:25 PM   #4
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,241
Blog Entries: 5

Rep: Reputation: 190Reputation: 190
and why are you mixing lenny/stable and sid/unstable in your sources list..
 
Old 05-21-2009, 04:46 PM   #5
MaxIBoy
LQ Newbie
 
Registered: May 2009
Posts: 13

Original Poster
Rep: Reputation: 0
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.)

Last edited by MaxIBoy; 05-21-2009 at 04:48 PM.
 
Old 05-21-2009, 07:31 PM   #6
MaxIBoy
LQ Newbie
 
Registered: May 2009
Posts: 13

Original Poster
Rep: Reputation: 0
HAH! Fixed it!

I had a look at the errors, namely this line:
Code:
postinst called with argument `abort-upgrade'
This looked intriguing to me. So I ran the command
Code:
~$ locate adobe-flashplugin | grep postinst
/var/lib/dpkg/info/adobe-flashplugin.postinst
~$
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.
 
Old 05-26-2009, 05:09 AM   #7
parus
LQ Newbie
 
Registered: May 2009
Posts: 5

Rep: Reputation: 1
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.

Last edited by parus; 05-26-2009 at 05:13 AM.
 
Old 05-26-2009, 09:27 AM   #8
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,241
Blog Entries: 5

Rep: Reputation: 190Reputation: 190
I don't see any packages named adobe-flashplugin

Code:
it-lenny:~$ lsb_release -cr
Release:	5.0.1
Codename:	lenny
Code:
it-lenny:~$ aptitude search flash
p   flashplayer-mozilla         - Macromedia Flash Player                                                       
i   flashplugin-nonfree         - Adobe Flash Player - browser plugin
maybe you could remove that package and install a proper one ?

aptitude purge adobe-flashplugin
aptitude install flashplugin-nonfree



http://wiki.debian.org/FlashPlayer
 
Old 05-27-2009, 04:09 AM   #9
parus
LQ Newbie
 
Registered: May 2009
Posts: 5

Rep: Reputation: 1
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
 
Old 05-27-2009, 06:42 AM   #10
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid
Posts: 4,734
Blog Entries: 12

Rep: Reputation: 462Reputation: 462Reputation: 462Reputation: 462Reputation: 462
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.
 
Old 05-27-2009, 08:21 AM   #11
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,241
Blog Entries: 5

Rep: Reputation: 190Reputation: 190
or out of drive space on root or boot partition ? ..
 
Old 05-28-2009, 03:50 AM   #12
parus
LQ Newbie
 
Registered: May 2009
Posts: 5

Rep: Reputation: 1
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

deb http://ftp.debian.org/debian/ stable main contrib non-free
deb http://ftp.debian.org/debian/ testing main contrib non-free
deb http://ftp.debian.org/debian/ unstable main contrib non-free
deb http://ftp.debian.org/debian/ sid main contrib non-free
deb http://ftp.debian.org/debian/ lenny main contrib non-free
deb http://ftp.debian.org/debian/ squeeze main contrib non-free

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.
Quote:
$ apt-get update
Hit http://ftp.debian.org stable Release.gpg
Hit http://ftp.debian.org stable Release
Ign http://ftp.debian.org stable/main Packages/DiffIndex
Ign http://ftp.debian.org stable/contrib Packages/DiffIndex
Ign http://ftp.debian.org stable/non-free Packages/DiffIndex
Hit http://ftp.debian.org stable/main Packages
Hit http://ftp.debian.org stable/contrib Packages
Hit http://ftp.debian.org stable/non-free Packages
Reading package lists... Done

$ 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.
 
Old 05-28-2009, 04:07 AM   #13
parus
LQ Newbie
 
Registered: May 2009
Posts: 5

Rep: Reputation: 1
Hurray, finally. Problem solved. Thanks craigevil for a tip.

After, reducing a list of sources in /etc/apt/source.list to stable relise, I had no problem in installing again install_flash_player_10_linux.deb
 
Old 05-28-2009, 05:04 AM   #14
parus
LQ Newbie
 
Registered: May 2009
Posts: 5

Rep: Reputation: 1
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.
 
Old 05-28-2009, 09:44 AM   #15
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,241
Blog Entries: 5

Rep: Reputation: 190Reputation: 190
adobe-flashplugin looks like an Ubuntu package from the dpkg --status output you posted..
Quote:
Maintainer: Ubuntu Core Developers <ubuntu-devel-discuss@lists.ubuntu.com>
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..
 
  


Reply

Tags
adobe, apt, archive, cant, debian, dpkg, find, flash, flash-plugin, reinstall, required


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Custom apt-repository for sid apt-get upgrades Cyberman Debian 1 02-20-2009 01:21 PM
LXer: How to Install Adobe Flash in Debian Etch/Lenny/Sid LXer Syndicated Linux News 1 01-06-2009 08:30 AM
Cant reinstall Gnome on Sid Zaskar Debian 7 10-07-2007 04:18 PM
reinstall required after RAID? Rickead2000 Linux - Hardware 2 01-22-2007 06:43 PM
Adobe Reader 7.0 and Slackware 10.1, problem opening a file that required a plugin houler Linux - Software 0 05-29-2005 04:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 09:40 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration