Update manager will not open.
Here is the problem at the end of sudo apt-get update:
Ign http://
Reading package lists... Error!
E: Read error - read (5: Input/output error)
E: The package lists or status file could not be parsed or opened.
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 12.04.2 LTS
Release: 12.04
Codename: precise
Linux davidp71 3.2.0-40-generic #64-Ubuntu SMP Mon Mar 25 21:22:10 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
davidp71@
Regards
David.
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- actionparsnip
- Solved:
- Last query:
- Last reply:
Revision history for this message
|
#1 |
What is the output of:
grep -R natty /etc/apt/*
Thanks
Revision history for this message
|
#2 |
https:/
Please post full Terminal output here:
Revision history for this message
|
#3 |
The Ouput for
- grep -R natty /etc/apt/*
/etc/apt/
/etc/apt/
/etc/apt/
/etc/apt/
hope this helps!
Revision history for this message
|
#4 |
Please remove the 2 configuration lines containing 'natty' in both the /etc/apt/
Then execute these instructions:
https:/
Please post full Terminal output here:
https:/
Please do not ignore my instructions....
Revision history for this message
|
#5 |
sudo rm /etc/apt/
grep -v natty /etc/apt/
sudo mv ~/sources.list /etc/apt/
sudo apt-get update
Should be smooth
Revision history for this message
|
#6 |
Hii Andrew,
It mostly worked.
This was the last few lines of script in terminal after using you solution.
Fetched 3,311 kB in 27s (119 kB/s)
Reading package lists... Error!
E: Read error - read (5: Input/output error)
E: The package lists or status file could not be parsed or opened.
Regards
David.
Revision history for this message
|
#7 |
When I tried to an update check this was the error window message.
E:Read error - read (5: Input/output error), E:The package lists or status file could not be parsed or opened.
I was going to do a restart, but somehow I don´t think that will fix this...?
David.
Revision history for this message
|
#8 |
The solution is in post #2 and post #4
Your issue could have been solved 4 days ago.
Revision history for this message
|
#9 |
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Ign http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Ign http://
Hit http://
Hit http://
Hit http://
Hit http://
Ign http://
Hit http://
Hit http://
Hit http://
Ign http://
Hit http://
Hit http://
Ign http://
Hit http://
Hit http://
Hit http://
Ign http://
Hit http://
Hit http://
Hit http://
Hit http://
Ign http://
Hit http://
Hit http://
Hit http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
accountsservice apport apport-gtk aptdaemon aptdaemon-data aptitude curl deja-dup dnsmasq-base gir1.2-
icedtea-6-plugin icedtea-7-jre-jamvm icedtea-netx icedtea-netx-common language-
libaccountsse
libdrm-nouveau1a libdrm-nouveau2 libdrm-radeon1 libdrm2 libkms1 libmysqlclient18 libmysqlclient1
linux-firmware multiarch-support mysql-client-5.5 mysql-client-
mysql-
python-
ssh-askpass-gnome unity-scope-
62 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 137 MB of archives.
After this operation, 281 kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://
Get:2 http://
Get:3 http://
Get:4 http://
Get:5 http://
Get:6 http://
Get:7 http://
Get:8 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://
Get:17 http://
Get:18 http://
Get:19 http://
Get:20 http://
Get:21 http://
Get:22 http://
Get:23 http://
Get:24 http://
Get:25 http://
Get:26 http://
Get:27 http://
Get:28 http://
Get:29 http://
Get:30 http://
Get:31 http://
Get:32 http://
Get:33 http://
Get:34 http://
Get:35 http://
Get:36 http://
Get:37 http://
Get:38 http://
Get:39 http://
Get:40 http://
Get:41 http://
Get:42 http://
Get:43 http://
Get:44 http://
Get:45 http://
Get:46 http://
Get:47 http://
Get:48 http://
Get:49 http://
Get:50 http://
Get:51 http://
Get:52 http://
Get:53 http://
Get:54 http://
Get:55 http://
Get:56 http://
Get:57 http://
Get:58 http://
Get:59 http://
Get:60 http://
Get:61 http://
Get:62 http://
Fetched 137 MB in 14min 29s (157 kB/s)
Extracting templates from packages: 100%
Preconfiguring packages ...
(Reading database ... 294761 files and directories currently installed.)
Preparing to replace libc-bin 2.15-0ubuntu10.3 (using .../libc-
Unpacking replacement libc-bin ...
Processing triggers for man-db ...
Setting up libc-bin (2.15-0ubuntu10.4) ...
(Reading database ... 294761 files and directories currently installed.)
Preparing to replace libc-dev-bin 2.15-0ubuntu10.3 (using .../libc-
Unpacking replacement libc-dev-bin ...
Preparing to replace libc6-dev 2.15-0ubuntu10.3 (using .../libc6-
Unpacking replacement libc6-dev ...
Preparing to replace libc6 2.15-0ubuntu10.3 (using .../libc6_
De-configuring libc6:i386 ...
Unpacking replacement libc6 ...
Preparing to replace libc6:i386 2.15-0ubuntu10.3 (using .../libc6_
Unpacking replacement libc6:i386 ...
Processing triggers for man-db ...
Setting up libc6 (2.15-0ubuntu10.4) ...
Setting up libc6:i386 (2.15-0ubuntu10.4) ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
(Reading database ... 294760 files and directories currently installed.)
Preparing to replace libdrm-dev 2.4.39-0ubuntu0.1 (using .../libdrm-
Unpacking replacement libdrm-dev ...
Preparing to replace libdrm2 2.4.39-0ubuntu0.1 (using .../libdrm2_
Unpacking replacement libdrm2 ...
Preparing to replace libdrm-radeon1 2.4.39-0ubuntu0.1 (using .../libdrm-
Unpacking replacement libdrm-radeon1 ...
Preparing to replace libdrm-nouveau1a 2.4.39-0ubuntu0.1 (using .../libdrm-
Unpacking replacement libdrm-nouveau1a ...
Preparing to replace libdrm-nouveau2 2.4.39-0ubuntu0.1 (using .../libdrm-
Unpacking replacement libdrm-nouveau2 ...
Preparing to replace libkms1 2.4.39-0ubuntu0.1 (using .../libkms1_
Unpacking replacement libkms1 ...
Preparing to replace libdrm-intel1 2.4.39-0ubuntu0.1 (using .../libdrm-
Unpacking replacement libdrm-intel1 ...
Preparing to replace aptdaemon-data 0.43+bzr805-
Unpacking replacement aptdaemon-data ...
Preparing to replace python-
Unpacking replacement python-
Preparing to replace python-
Unpacking replacement python-
Preparing to replace aptdaemon 0.43+bzr805-
Unpacking replacement aptdaemon ...
Preparing to replace python-aptdaemon 0.43+bzr805-
Unpacking replacement python-aptdaemon ...
Preparing to replace language-
Unpacking replacement language-
Preparing to replace accountsservice 0.6.15-2ubuntu9.5 (using .../accountsser
Unpacking replacement accountsservice ...
Preparing to replace libaccountsservice0 0.6.15-2ubuntu9.5 (using .../libaccounts
Unpacking replacement libaccountsservice0 ...
Preparing to replace language-
Unpacking replacement language-
Preparing to replace libcurl3-gnutls 7.22.0-3ubuntu4 (using .../libcurl3-
Unpacking replacement libcurl3-gnutls ...
Preparing to replace libcurl3 7.22.0-3ubuntu4 (using .../libcurl3_
Unpacking replacement libcurl3 ...
Preparing to replace libcurl3-nss 7.22.0-3ubuntu4 (using .../libcurl3-
Unpacking replacement libcurl3-nss ...
Preparing to replace mysql-common 5.5.29-
Unpacking replacement mysql-common ...
Preparing to replace libmysqlclient1
De-configuring libmysqlclient18 ...
Unpacking replacement libmysqlclient1
Preparing to replace libmysqlclient18 5.5.29-
Unpacking replacement libmysqlclient18 ...
Processing triggers for hicolor-icon-theme ...
Processing triggers for man-db ...
Processing triggers for bamfdaemon ...
Rebuilding /usr/share/
Processing triggers for desktop-file-utils ...
Processing triggers for gnome-menus ...
Setting up mysql-common (5.5.31-
Setting up libmysqlclient1
Setting up libmysqlclient18 (5.5.31-
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
(Reading database ... 294760 files and directories currently installed.)
Preparing to replace libwbclient0 2:3.6.3-2ubuntu2.4 (using .../libwbclient
Unpacking replacement libwbclient0 ...
Preparing to replace mysql-server 5.5.29-
Unpacking replacement mysql-server ...
Preparing to replace mysql-server-5.5 5.5.29-
mysql stop/waiting
Unpacking replacement mysql-server-5.5 ...
Preparing to replace mysql-client-
Unpacking replacement mysql-client-
Preparing to replace mysql-client-5.5 5.5.29-
Unpacking replacement mysql-client-5.5 ...
Preparing to replace mysql-server-
Unpacking replacement mysql-server-
Preparing to replace openjdk-7-jre 7u15-2.
Unpacking replacement openjdk-7-jre ...
Preparing to replace icedtea-7-jre-jamvm 7u15-2.
Unpacking replacement icedtea-7-jre-jamvm ...
Preparing to replace openjdk-
Unpacking replacement openjdk-
Preparing to replace openjdk-7-jre-lib 7u15-2.
Unpacking replacement openjdk-7-jre-lib ...
Preparing to replace libsmbclient 2:3.6.3-2ubuntu2.4 (using .../libsmbclien
Unpacking replacement libsmbclient ...
Preparing to replace multiarch-support 2.15-0ubuntu10.3 (using .../multiarch-
Unpacking replacement multiarch-support ...
Processing triggers for ureadahead ...
ureadahead will be reprofiled on next reboot
Processing triggers for man-db ...
Processing triggers for hicolor-icon-theme ...
Processing triggers for bamfdaemon ...
Rebuilding /usr/share/
Processing triggers for desktop-file-utils ...
Processing triggers for gnome-menus ...
Setting up multiarch-support (2.15-0ubuntu10.4) ...
(Reading database ... 294760 files and directories currently installed.)
Preparing to replace openssh-client 1:5.9p1-5ubuntu1 (using .../openssh-
Unpacking replacement openssh-client ...
Preparing to replace python-
Unpacking replacement python-
Preparing to replace python-apport 2.0.1-0ubuntu17.1 (using .../python-
Unpacking replacement python-apport ...
Preparing to replace apport 2.0.1-0ubuntu17.1 (using .../apport_
apport stop/waiting
Unpacking replacement apport ...
Preparing to replace apport-gtk 2.0.1-0ubuntu17.1 (using .../apport-
Unpacking replacement apport-gtk ...
Preparing to replace aptitude 0.6.6-1ubuntu1.1 (using .../aptitude_
Unpacking replacement aptitude ...
Preparing to replace curl 7.22.0-3ubuntu4 (using .../curl_
Unpacking replacement curl ...
Preparing to replace deja-dup 22.0-0ubuntu3 (using .../deja-
Unpacking replacement deja-dup ...
Preparing to replace dnsmasq-base 2.59-4 (using .../dnsmasq-
Unpacking replacement dnsmasq-base ...
Preparing to replace gir1.2-
Unpacking replacement gir1.2-
Preparing to replace linux-firmware 1.79.1 (using .../linux-
Unpacking replacement linux-firmware ...
Preparing to replace python-mysqldb 1.2.3-1build1 (using .../python-
Unpacking replacement python-mysqldb ...
Preparing to replace smbclient 2:3.6.3-2ubuntu2.4 (using .../smbclient_
Unpacking replacement smbclient ...
Preparing to replace samba-common 2:3.6.3-2ubuntu2.4 (using .../samba-
Unpacking replacement samba-common ...
Preparing to replace samba-common-bin 2:3.6.3-2ubuntu2.4 (using .../samba-
Unpacking replacement samba-common-bin ...
Preparing to replace ssh-askpass-gnome 1:5.9p1-5ubuntu1 (using .../ssh-
Unpacking replacement ssh-askpass-gnome ...
Preparing to replace unity-scope-
Unpacking replacement unity-scope-
Preparing to replace xserver-common 2:1.11.
Unpacking replacement xserver-common ...
Preparing to replace xserver-xorg-core 2:1.11.
Unpacking replacement xserver-xorg-core ...
Preparing to replace xserver-
Unpacking replacement xserver-
Preparing to replace icedtea-netx-common 1.2-2ubuntu1.3 (using .../icedtea-
Unpacking replacement icedtea-netx-common ...
Preparing to replace icedtea-6-plugin 1.2-2ubuntu1.3 (using .../icedtea-
Unpacking replacement icedtea-6-plugin ...
Preparing to replace icedtea-netx 1.2-2ubuntu1.3 (using .../icedtea-
Unpacking replacement icedtea-netx ...
Processing triggers for man-db ...
Processing triggers for shared-mime-info ...
Unknown media type in type 'all/all'
Unknown media type in type 'all/allfiles'
Unknown media type in type 'uri/mms'
Unknown media type in type 'uri/mmst'
Unknown media type in type 'uri/mmsu'
Unknown media type in type 'uri/pnm'
Unknown media type in type 'uri/rtspt'
Unknown media type in type 'uri/rtspu'
Processing triggers for hicolor-icon-theme ...
Processing triggers for ureadahead ...
Processing triggers for bamfdaemon ...
Rebuilding /usr/share/
Processing triggers for desktop-file-utils ...
Processing triggers for gnome-menus ...
Processing triggers for libglib2.0-0:i386 ...
Processing triggers for libglib2.0-0 ...
Processing triggers for gconf2 ...
Setting up libc-dev-bin (2.15-0ubuntu10.4) ...
Setting up libc6-dev (2.15-0ubuntu10.4) ...
Setting up libdrm2 (2.4.39-0ubuntu0.2) ...
Setting up libdrm-intel1 (2.4.39-0ubuntu0.2) ...
Setting up libdrm-radeon1 (2.4.39-0ubuntu0.2) ...
Setting up libdrm-nouveau1a (2.4.39-0ubuntu0.2) ...
Setting up libdrm-nouveau2 (2.4.39-0ubuntu0.2) ...
Setting up libkms1 (2.4.39-0ubuntu0.2) ...
Setting up libdrm-dev (2.4.39-0ubuntu0.2) ...
Setting up aptdaemon-data (0.43+bzr805-
Setting up python-aptdaemon (0.43+bzr805-
Setting up python-
Setting up python-
Setting up aptdaemon (0.43+bzr805-
Setting up libaccountsservice0 (0.6.15-2ubuntu9.6) ...
Setting up accountsservice (0.6.15-2ubuntu9.6) ...
Setting up language-
Setting up language-
Setting up libcurl3-gnutls (7.22.0-3ubuntu4.1) ...
Setting up libcurl3 (7.22.0-3ubuntu4.1) ...
Setting up libcurl3-nss (7.22.0-3ubuntu4.1) ...
Setting up libwbclient0 (2:3.6.
Setting up mysql-client-
Setting up mysql-client-5.5 (5.5.31-
Setting up mysql-server-
Setting up mysql-server-5.5 (5.5.31-
mysql start/running, process 18227
Setting up mysql-server (5.5.31-
Setting up libsmbclient (2:3.6.
Setting up openssh-client (1:5.9p1-
Setting up python-
Setting up python-apport (2.0.1-0ubuntu17.2) ...
Setting up apport (2.0.1-0ubuntu17.2) ...
apport start/running
Setting up apport-gtk (2.0.1-0ubuntu17.2) ...
Setting up aptitude (0.6.6-1ubuntu1.2) ...
Setting up curl (7.22.0-3ubuntu4.1) ...
Setting up deja-dup (22.0-0ubuntu4) ...
Setting up dnsmasq-base (2.59-4ubuntu0.1) ...
Setting up gir1.2-
Setting up linux-firmware (1.79.4) ...
Setting up python-mysqldb (1.2.3-1ubuntu0.1) ...
Setting up samba-common (2:3.6.
Setting up smbclient (2:3.6.
Setting up samba-common-bin (2:3.6.
Setting up ssh-askpass-gnome (1:5.9p1-
Setting up unity-scope-
Setting up xserver-common (2:1.11.
Setting up xserver-xorg-core (2:1.11.
Setting up xserver-
Setting up icedtea-netx-common (1.2.3-
Setting up icedtea-netx (1.2.3-
Setting up icedtea-6-plugin (1.2.3-
Setting up openjdk-
Configuration file `/etc/java-
==> Modified (by you or by a script) since installation.
==> Package distributor has shipped an updated version.
What would you like to do about it ? Your options are:
Y or I : install the package maintainer's version
N or O : keep your currently-installed version
D : show the differences between the versions
Z : start a shell to examine the situation
The default action is to keep your current version.
*** java.security (Y/I/N/O/D/Z) [default=N] ? y
Installing new version of config file /etc/java-
Setting up openjdk-7-jre-lib (7u21-2.
Setting up openjdk-7-jre (7u21-2.
Setting up icedtea-7-jre-jamvm (7u21-2.
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
davidp71@
/etc/apt/
1 #
2
3 # deb cdrom:[Ubuntu 12.04.1 LTS _Precise Pangolin_ - Release amd64 (20120822.4)]/ dists/precise/
4 # deb cdrom:[Ubuntu 12.04.1 LTS _Precise Pangolin_ - Release amd64 (20120822.4)]/ dists/precise/
5 # deb cdrom:[Ubuntu 12.04.1 LTS _Precise Pangolin_ - Release amd64 (20120822.4)]/ precise main restricted
6 deb-src http://
7
8 # deb cdrom:[Ubuntu 12.04.1 LTS _Precise Pangolin_ - Release amd64 (20120822.4)]/ dists/precise/
9 # deb cdrom:[Ubuntu 12.04.1 LTS _Precise Pangolin_ - Release amd64 (20120822.4)]/ dists/precise/
10 # deb cdrom:[Ubuntu 12.04.1 LTS _Precise Pangolin_ - Release amd64 (20120822.4)]/ precise main restricted
11
12 # See http://
13 # newer versions of the distribution.
14 deb http://
15 deb-src http://
16
17 ## Major bug fix updates produced after the final release of the
18 ## distribution.
19 deb http://
20 deb-src http://
21
22 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
23 ## team. Also, please note that software in universe WILL NOT receive any
24 ## review or updates from the Ubuntu security team.
25 deb http://
26 deb http://
27
28 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
29 ## team, and may not be under a free licence. Please satisfy yourself as to
30 ## your rights to use the software. Also, please note that software in
31 ## multiverse WILL NOT receive any review or updates from the Ubuntu
32 ## security team.
33 deb http://
34 deb http://
35
36 ## N.B. software from this repository may not have been tested as
37 ## extensively as that contained in the main release, although it includes
38 ## newer versions of some applications which may provide useful features.
39 ## Also, please note that software in backports WILL NOT receive any review
40 ## or updates from the Ubuntu security team.
41 deb http://
42 deb-src http://
43
44 deb http://
45 deb-src http://
46 deb http://
47 deb http://
48
49 ## Uncomment the following two lines to add software from Canonical's
50 ## 'partner' repository.
51 ## This software is not part of Ubuntu, but is offered by Canonical and the
52 ## respective vendors as a service to Ubuntu users.
53 deb http://
54 deb-src http://
55
56 ## This software is not part of Ubuntu, but is offered by third-party
57 ## developers who want to ship their latest software.
58 deb http://
59 deb http://
60 deb-src http://
61 deb-src http://
/etc/apt/
/etc/apt/
1 deb http://
2 deb-src http://
/etc/apt/
1 deb http://
2 deb-src http://
/etc/apt/
1 deb http://
2 deb-src http://
/etc/apt/
1 deb http://
2 deb-src http://
/etc/apt/
1 deb http://
2 deb-src http://
/etc/apt/
davidp71@
Revision history for this message
|
#10 |
Looks good to me. Solved?
Revision history for this message
|
#11 |
Thanks very much for your help guys!!
Ubuntu/Linux does 2 great things for me..
1. It gives me intelligent software I don´t have to shell out and arm and leg for..
2. It means I will never have to deal with the idiots and software that is Microsoft..Grrrrr..
I´m not a noob, but what is great is that this difficult problem I couldn´t find a work around for online was able to be fixed with the help of this site.
Love your work!
Cheers
David.
Revision history for this message
|
#12 |
You will learn with time :-)