Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have Ubuntu 13.10 on my desktop.I wanted to install the "D-Link DWR-730" 3G modem drivers, but the default autoplay software for Ubuntu says "kernel not supported" for this.

I ran the dpkg -i command to install the .dep files manually, but after this every apt-get command returns an error and tells me to run apt-get -f install to correct this.

I ran apt-get -f install, but it still returns an error, and I can't install anything from apt-get. The apt-get error is as follows:

Errors were encountered while processing: flashplugin-installer E: Sub-process /usr/bin/dpkg returned an error code (1)

I ran apt-get remove flashplugin-installer, but that also returns an error.

sudo apt-get -f install gives the following output:

Reading package lists... Done Building dependency tree
Reading state information... Done 
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded. 1 not fully installed or removed.
Need to get 0 B/7,008 B of archives. After this operation, 0 B of additional disk space will be used. 
dpkg: error processing flashplugin-installer (--configure): Package is in a very bad
inconsistent state - you should reinstall it before attempting configuration.
Errors were encountered while processing: flashplugin-installer
E: Sub-process /usr/bin/dpkg returned an error code (1)
share|improve this question
    
post the whole output of sudo apt-get install -f in your question. –  Avinash Raj Feb 18 at 17:24
    
i forget to say i run all commands with root user. –  Hossein Feb 18 at 17:25
    
it's not the problem.Please post the whole output of sudo apt-get install -f in your question. –  Avinash Raj Feb 18 at 17:26
    
up post edited. –  Hossein Feb 18 at 17:31

1 Answer 1

up vote 0 down vote accepted

remove flash plugin completely and restart your work

sudo dpkg --remove --force-remove-reinstreq  flashplugin-installer

Then you could try to install it again:

sudo apt-get install flashplugin-installer
share|improve this answer
    
it won't work my friend. –  Avinash Raj Feb 18 at 17:33
    
yes, don't work and still say : –  Hossein Feb 18 at 17:33
    
flashplugin-installer E: Sub-process /usr/bin/dpkg returned an error code (1) –  Hossein Feb 18 at 17:34
    
@Hossein have you tried the answer after edit? –  kamil Feb 18 at 17:35
1  
@Hossein accept kamil's answer. –  Avinash Raj Feb 18 at 17:48

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.