Removing iscan-plugin-gt-s600 ... --> failed with error: /var/lib/dpkg/info/iscan-plugin-gt-s600.prerm: 6: iscan-registry: not found
whenever i try to run synaptic or click the update icon i get this :
E: The package iscan-plugin-
E: Internal error opening cache (1). Please report.
I tried running : $ sudo apt-get remove iscan-plugin-
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: The package iscan-plugin-
Thank's for your help
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Ubuntu synaptic Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- dewiq
- Solved:
- Last query:
- Last reply:
Revision history for this message
|
#1 |
Hi,
First please make sure to close all open programs, including all package managers like Synaptic, Add/remove programs, etc ...
Then please try this procedure:
Step 1: Open Terminal from "Applications-
Terminal"
Step 2: Please COPY-PASTE each line below into the Terminal then hit <enter> after each line)
sudo cp -arf /var/lib/dpkg /var/lib/
sudo cp /var/lib/
sudo cp /var/lib/
sudo rm -rf /var/lib/
sudo rm -rf /var/lib/apt/lists
sudo mkdir /var/lib/apt/lists
sudo mkdir /var/lib/
sudo aptitude clean
sudo aptitude autoclean
sudo apt-get update
sudo dpkg --clear-avail
sudo dpkg --configure -a
sudo dpkg --remove --force-
sudo apt-get update
sudo apt-get --fix-broken upgrade
sudo aptitude install -f
sudo aptitude update
sudo aptitude dist-upgrade
Step 3: Please post results (copy/paste terminal output from each command) on this thread
Hope it helps,
Regards,
Mark
Revision history for this message
|
#2 |
I've followed your instructions and this result :
dewiq@dewiq:~$ sudo cp -arf /var/lib/dpkg /var/lib/
[sudo] password for dewiq:
dewiq@dewiq:~$ sudo cp /var/lib/
dewiq@dewiq:~$ sudo cp /var/lib/
dewiq@dewiq:~$ sudo rm -rf /var/lib/
dewiq@dewiq:~$ sudo rm -rf /var/lib/apt/lists
dewiq@dewiq:~$ sudo mkdir /var/lib/apt/lists
dewiq@dewiq:~$ sudo mkdir /var/lib/
dewiq@dewiq:~$ sudo aptitude clean
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
dewiq@dewiq:~$ sudo aptitude autoclean
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Freed 0B of disk space
dewiq@dewiq:~$ sudo apt-get update
Get:1 http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Get:2 http://
Get:3 http://
Get:4 http://
Ign http://
Get:5 http://
Get:6 http://
Get:7 http://
Ign http://
Ign http://
Ign http://
Get:8 http://
Ign http://
Get:9 http://
Get:10 http://
Get:11 http://
Get:12 http://
Get:13 http://
Get:14 http://
Get:15 http://
Get:16 http://
Ign http://
Get:17 http://
Get:18 http://
Ign http://
Get:19 http://
Get:20 http://
80% [20 Sources gzip 0] [Waiting for headers] 905B/s 45min 43s
gzip: stdin: not in gzip format
Err http://
Sub-process gzip returned an error code (1)
Ign http://
Err http://
404 Not Found
Fetched 9542kB in 57min 3s (2787B/s)
W: Failed to fetch http://
W: Failed to fetch http://
E: Some index files failed to download, they have been ignored, or old ones used instead.
dewiq@dewiq:~$ sudo dpkg --clear-avail
[sudo] password for dewiq:
dewiq@dewiq:~$ sudo dpkg --configure -a
dpkg: dependency problems prevent configuration of libltdl7-dev:
libltdl7-dev depends on libltdl7 (= 2.2.4-0ubuntu4); however:
Version of libltdl7 on system is 2.2.6a-1ubuntu1.
dpkg: error processing libltdl7-dev (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
libltdl7-dev
dewiq@dewiq:~$ sudo dpkg --remove --force-
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 ... 137585 files and directories currently installed.)
Removing iscan-plugin-
/var/lib/
dpkg: error processing iscan-plugin-
subprocess pre-removal script returned error exit status 127
/var/lib/
dpkg: error while cleaning up:
subprocess post-installation script returned error exit status 127
Errors were encountered while processing:
iscan-
dewiq@dewiq:~$ sudo apt-get update
Get:1 http://
Ign http://
Get:2 http://
99% [2 Translation-en_US bzip2 0] [Waiting for headers]bzip2: (stdin) is not a bzip2 file.
Ign http://
Ign http://
Ign http://
Hit http://
Get:3 http://
Get:4 http://
Get:5 http://
Get:6 http://
Get:7 http://
Get:8 http://
Hit http://
Hit http://
Fetched 9220kB in 1min 1s (149kB/s)
Reading package lists... Done
dewiq@dewiq:~$ sudo apt-get --fix-broken upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: The package iscan-plugin-
dewiq@dewiq:~$ sudo aptitude install -f
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
The following NEW packages will be installed:
libsane-extras
The following packages will be REMOVED:
libconvert-
libemail-
libio-
libmime-
The following packages will be upgraded:
libltdl7-dev
The following partially installed packages will be configured:
iscan-
1 packages upgraded, 1 newly installed, 11 to remove and 0 not upgraded.
Need to get 189kB of archives. After unpacking 2871kB will be freed.
Do you want to continue? [Y/n/?] y
E: I wasn't able to locate file for the iscan-plugin-
E: I wasn't able to locate file for the iscan-plugin-
E: Internal error: couldn't generate list of packages to download
dewiq@dewiq:~$ sudo aptitude update
Get:1 http://
Ign http://
Get:2 http://
99% [2 Translation-en_US bzip2 0] [Waiting for headers]bzip2: (stdin) is not a bzip2 file.
Ign http://
Ign http://
Ign http://
Hit http://
Get:3 http://
Get:4 http://
Get:5 http://
Get:6 http://
Get:7 http://
Get:8 http://
Hit http://
Hit http://
Fetched 9220kB in 53s (172kB/s)
Reading package lists... Done
dewiq@dewiq:~$ sudo aptitude dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
The following packages will be REMOVED:
libconvert-
libemail-
libio-
libmime-
The following packages will be upgraded:
libltdl7-dev
The following partially installed packages will be configured:
iscan-
1 packages upgraded, 0 newly installed, 11 to remove and 0 not upgraded.
Need to get 189kB of archives. After unpacking 3531kB will be freed.
Do you want to continue? [Y/n/?] y
E: I wasn't able to locate file for the iscan-plugin-
Writing extended state information... Done
E: I wasn't able to locate file for the iscan-plugin-
E: Internal error: couldn't generate list of packages to download
dewiq@dewiq:~$
What should i do ???
Revision history for this message
|
#3 |
Try running the following command:
gksudo gedit /var/lib/
Then, in that file, ONLY remove the lines that contain the word iscan-registry and save the change to the file /var/lib/
Then run the following command:
gksudo gedit /var/lib/
Then, in that file, ONLY remove the lines that contain the word iscan-registry and save the change to the file /var/lib/
Then run the following commands once more:
sudo dpkg --remove --force-
sudo aptitude update
sudo aptitude dist-upgrade
Then send us the output from those 3 commands.
Revision history for this message
|
#4 |
Thank you very much ... after I did your instructions now my computer is back to normal, no problem anymore ....can add / remove, update again etc. Thank's a lot Mr. Mark Rijckenberg
dewiq@dewiq:~$ sudo dpkg --remove --force-
dpkg - warning: ignoring request to remove iscan-plugin-
files of which are on the system. Use --purge to remove them too.
dewiq@dewiq:~$ sudo aptitude update
Get:1 http://
Ign http://
Get:2 http://
99% [2 Translation-en_US bzip2 0] [Waiting for headers]bzip2: (stdin) is not a bzip2 file.
Ign http://
Ign http://
Ign http://
Hit http://
Get:3 http://
Get:4 http://
Get:5 http://
Get:6 http://
Get:7 http://
Get:8 http://
Get:9 http://
Hit http://
Fetched 9327kB in 11s (847kB/s)
Reading package lists... Done
dewiq@dewiq:~$ sudo aptitude dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
The following packages will be REMOVED:
libconvert-
libemail-
libio-
libmime-
0 packages upgraded, 0 newly installed, 11 to remove and 0 not upgraded.
Need to get 0B of archives. After unpacking 3539kB will be freed.
Do you want to continue? [Y/n/?] y
(Reading database ... 137575 files and directories currently installed.)
Removing libmime-tools-perl ...
Removing libconvert-
Removing libcrypt-
Removing libmime-lite-perl ...
Removing libemail-
Removing libfcgi-perl ...
Removing libio-socket-
Removing libio-stringy-perl ...
Removing libjcode-pm-perl ...
Removing libnet-ssleay-perl ...
Removing nullmailer ...
* Stopping mail-transfer-
Processing triggers for man-db ...
Processing triggers for doc-base ...
Processing 1 removed doc-base file(s)...
Registering documents with scrollkeeper...
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Writing extended state information... Done