LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Ubuntu (https://www.linuxquestions.org/questions/ubuntu-63/)
-   -   update manager issue (https://www.linuxquestions.org/questions/ubuntu-63/update-manager-issue-4175456494/)

knobby67 04-02-2013 06:46 AM

update manager issue
 
Hi All,
last week I suddenly started getting issues with Ububtu update manager, basically it tries to update but stops with an error

"(Reading database ... 30%%
(Reading database ... 35%%
(Reading database ... 40%%
(Reading database ... 45%%
(Reading database ... 50%%dpkg: unrecoverable fatal error, aborting:
reading files list for package 'oxygen-icon-theme': Input/output error"


It stops all package updates not just the one it's trying to install. So the list is getting longer and longer.

Can anyone advise. Thanks.

TobiSGD 04-02-2013 07:24 AM

Please open a terminal and run the commands
Code:

sudo apt-get update
sudo apt-get upgrade

Post the output here.

knobby67 04-02-2013 08:16 AM

Hi,
posted end of update first then full amount after. so end with error comes at top

End of output with error
Get:1 http://security.ubuntu.com/ubuntu/ precise-security/main libpoppler19 i386 0.18.4-1ubuntu3.1 [752 kB]
Get:2 http://security.ubuntu.com/ubuntu/ precise-security/main libpoppler-glib8 i386 0.18.4-1ubuntu3.1 [89.8 kB]
Get:3 http://security.ubuntu.com/ubuntu/ precise-security/main libxslt1.1 i386 1.1.26-8ubuntu1.3 [165 kB]
Get:4 http://security.ubuntu.com/ubuntu/ precise-security/main poppler-utils i386 0.18.4-1ubuntu3.1 [136 kB]
Get:5 http://security.ubuntu.com/ubuntu/ precise-security/main xsltproc i386 1.1.26-8ubuntu1.3 [14.4 kB]
Fetched 1,157 kB in 6s (174 kB/s)
Extract templates from packages: 100%
Preconfiguring packages ...
(Reading database ... 50%dpkg: unrecoverable fatal error, aborting:
reading files list for package 'oxygen-icon-theme': Input/output error
E: Sub-process /usr/bin/dpkg returned an error code (2)


Full output

Hit http://gb.archive.ubuntu.com precise Release.gpg
Get:1 http://gb.archive.ubuntu.com precise-updates Release.gpg [198 B]
Hit http://extras.ubuntu.com precise Release.gpg
Hit http://archive.canonical.com precise Release.gpg
Hit http://gb.archive.ubuntu.com precise Release
Hit http://archive.canonical.com precise Release
Hit http://extras.ubuntu.com precise Release
Get:2 http://gb.archive.ubuntu.com precise-updates Release [49.6 kB]
Hit http://archive.canonical.com precise/partner Sources
Hit http://extras.ubuntu.com precise/main Sources
Hit http://archive.canonical.com precise/partner i386 Packages
Ign http://archive.canonical.com precise/partner TranslationIndex
Get:3 http://security.ubuntu.com precise-security Release.gpg [198 B]
Hit http://extras.ubuntu.com precise/main i386 Packages
Ign http://extras.ubuntu.com precise/main TranslationIndex
Hit http://gb.archive.ubuntu.com precise/main Sources
Hit http://gb.archive.ubuntu.com precise/restricted Sources
Hit http://gb.archive.ubuntu.com precise/universe Sources
Hit http://gb.archive.ubuntu.com precise/multiverse Sources
Hit http://gb.archive.ubuntu.com precise/main i386 Packages
Hit http://gb.archive.ubuntu.com precise/restricted i386 Packages
Hit http://gb.archive.ubuntu.com precise/universe i386 Packages
Hit http://gb.archive.ubuntu.com precise/multiverse i386 Packages
Hit http://gb.archive.ubuntu.com precise/main TranslationIndex
Get:4 http://security.ubuntu.com precise-security Release [49.6 kB]
Hit http://gb.archive.ubuntu.com precise/multiverse TranslationIndex
Hit http://gb.archive.ubuntu.com precise/restricted TranslationIndex
Hit http://gb.archive.ubuntu.com precise/universe TranslationIndex
Get:5 http://gb.archive.ubuntu.com precise-updates/main Sources [374 kB]
Ign http://archive.canonical.com precise/partner Translation-en_GB
Ign http://extras.ubuntu.com precise/main Translation-en_GB
Ign http://archive.canonical.com precise/partner Translation-en
Ign http://extras.ubuntu.com precise/main Translation-en
Get:6 http://gb.archive.ubuntu.com precise-updates/restricted Sources [5,494 B]
Get:7 http://gb.archive.ubuntu.com precise-updates/universe Sources [83.4 kB]
Get:8 http://gb.archive.ubuntu.com precise-updates/multiverse Sources [4,746 B]
Get:9 http://gb.archive.ubuntu.com precise-updates/main i386 Packages [603 kB]
Get:10 http://security.ubuntu.com precise-security/main Sources [65.0 kB]
Get:11 http://gb.archive.ubuntu.com precise-updates/restricted i386 Packages [10.1 kB]
Get:12 http://gb.archive.ubuntu.com precise-updates/universe i386 Packages [194 kB]
Get:13 http://security.ubuntu.com precise-security/restricted Sources [1,950 B]
Get:14 http://security.ubuntu.com precise-security/universe Sources [24.0 kB]
Get:15 http://gb.archive.ubuntu.com precise-updates/multiverse i386 Packages [10.4 kB]
Hit http://gb.archive.ubuntu.com precise-updates/main TranslationIndex
Hit http://gb.archive.ubuntu.com precise-updates/multiverse TranslationIndex
Hit http://gb.archive.ubuntu.com precise-updates/restricted TranslationIndex
Hit http://gb.archive.ubuntu.com precise-updates/universe TranslationIndex
Hit http://gb.archive.ubuntu.com precise/main Translation-en_GB
Hit http://gb.archive.ubuntu.com precise/main Translation-en
Hit http://gb.archive.ubuntu.com precise/multiverse Translation-en_GB
Hit http://gb.archive.ubuntu.com precise/multiverse Translation-en
Hit http://gb.archive.ubuntu.com precise/restricted Translation-en_GB
Get:16 http://security.ubuntu.com precise-security/multiverse Sources [1,380 B]
Get:17 http://security.ubuntu.com precise-security/main i386 Packages [245 kB]
Hit http://gb.archive.ubuntu.com precise/restricted Translation-en
Hit http://gb.archive.ubuntu.com precise/universe Translation-en_GB
Hit http://gb.archive.ubuntu.com precise/universe Translation-en
Hit http://gb.archive.ubuntu.com precise-updates/main Translation-en_GB
Hit http://gb.archive.ubuntu.com precise-updates/main Translation-en
Hit http://gb.archive.ubuntu.com precise-updates/multiverse Translation-en_GB
Hit http://gb.archive.ubuntu.com precise-updates/multiverse Translation-en
Hit http://gb.archive.ubuntu.com precise-updates/restricted Translation-en_GB
Hit http://gb.archive.ubuntu.com precise-updates/restricted Translation-en
Hit http://gb.archive.ubuntu.com precise-updates/universe Translation-en_GB
Hit http://gb.archive.ubuntu.com precise-updates/universe Translation-en
Get:18 http://security.ubuntu.com precise-security/restricted i386 Packages [3,968 B]
Get:19 http://security.ubuntu.com precise-security/universe i386 Packages [72.9 kB]
Get:20 http://security.ubuntu.com precise-security/multiverse i386 Packages [2,369 B]
Get:21 http://security.ubuntu.com precise-security/main TranslationIndex [74 B]
Get:22 http://security.ubuntu.com precise-security/multiverse TranslationIndex [71 B]
Get:23 http://security.ubuntu.com precise-security/restricted TranslationIndex [71 B]
Get:24 http://security.ubuntu.com precise-security/universe TranslationIndex [73 B]
Get:25 http://security.ubuntu.com precise-security/main Translation-en [114 kB]
Hit http://security.ubuntu.com precise-security/multiverse Translation-en
Hit http://security.ubuntu.com precise-security/restricted Translation-en
Hit http://security.ubuntu.com precise-security/universe Translation-en
Fetched 1,915 kB in 4s (392 kB/s)
Reading package lists... Done



Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be upgraded:
accountsservice bind9-host bind9utils dmsetup dnsutils geoclue-ubuntu-geoip
gir1.2-gudev-1.0 gnome-control-center gnome-control-center-data
gnome-online-accounts gnome-screenshot gwibber gwibber-service
gwibber-service-facebook gwibber-service-identica gwibber-service-twitter
iptables language-selector-common language-selector-gnome
libaccountsservice0 libbind9-80 libdevmapper-event1.02.1 libdevmapper1.02.1
libdns81 libgnome-control-center1 libgoa-1.0-0 libgoa-1.0-common
libgudev-1.0-0 libgwibber-gtk2 libgwibber2 libisc83 libisccc80 libisccfg82
liblightdm-gobject-1-0 liblvm2app2.2 liblwres80 libneon27-gnutls
libopenjpeg2 libpoppler-glib8 libpoppler19 libruby1.8 libssl-dev libssl-doc
libssl1.0.0 libudev0 libxml2 libxml2-dev libxml2-utils libxrandr-dev
libxrandr2 libxslt1.1 lightdm openssl poppler-utils python-libxml2 rsyslog
udev xsltproc
58 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 1,157 kB/14.6 MB of archives.
After this operation, 98.3 kB disk space will be freed.
Do you want to continue [Y/n]? y
Get:1 http://security.ubuntu.com/ubuntu/ precise-security/main libpoppler19 i386 0.18.4-1ubuntu3.1 [752 kB]
Get:2 http://security.ubuntu.com/ubuntu/ precise-security/main libpoppler-glib8 i386 0.18.4-1ubuntu3.1 [89.8 kB]
Get:3 http://security.ubuntu.com/ubuntu/ precise-security/main libxslt1.1 i386 1.1.26-8ubuntu1.3 [165 kB]
Get:4 http://security.ubuntu.com/ubuntu/ precise-security/main poppler-utils i386 0.18.4-1ubuntu3.1 [136 kB]
Get:5 http://security.ubuntu.com/ubuntu/ precise-security/main xsltproc i386 1.1.26-8ubuntu1.3 [14.4 kB]
Fetched 1,157 kB in 6s (174 kB/s)
Extract templates from packages: 100%
Preconfiguring packages ...
(Reading database ... 50%dpkg: unrecoverable fatal error, aborting:
reading files list for package 'oxygen-icon-theme': Input/output error
E: Sub-process /usr/bin/dpkg returned an error code (2)



knobby67 04-03-2013 03:17 AM

Hi All,
I solved this, I had to open the stutus file ( as sudo ) from /var/lib/dpkg. Search for the package then remove the reference to it. I's a few lines long starting with the name package and ending with the maintainer.

Package: oxygen-icon-theme
...
...
Original-Maintainer: ...........

delete all beween these. Then apt-get -f install.

So

1. Open /var/lib/dpkg/status
2. comment out lines about package
3. apt-get -f install
4. start up update manager, all appears to work now.

TobiSGD 04-03-2013 07:44 AM

Thanks for posting back your solution. Please mark this thread as solved using the thread tools at the top of the thread.


All times are GMT -5. The time now is 02:47 AM.