LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices



Reply
 
Search this Thread
Old 04-02-2013, 07:46 AM   #1
knobby67
Member
 
Registered: Mar 2006
Posts: 546

Rep: Reputation: 42
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.
 
Old 04-02-2013, 08:24 AM   #2
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Main: Gentoo Others: What fits the task
Posts: 15,650
Blog Entries: 2

Rep: Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095
Please open a terminal and run the commands
Code:
sudo apt-get update
sudo apt-get upgrade
Post the output here.
 
Old 04-02-2013, 09:16 AM   #3
knobby67
Member
 
Registered: Mar 2006
Posts: 546

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


 
Old 04-03-2013, 04:17 AM   #4
knobby67
Member
 
Registered: Mar 2006
Posts: 546

Original Poster
Rep: Reputation: 42
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.
 
1 members found this post helpful.
Old 04-03-2013, 08:44 AM   #5
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Main: Gentoo Others: What fits the task
Posts: 15,650
Blog Entries: 2

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


Reply


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
Update Manager issue rmckeanjr Linux - Newbie 3 12-18-2011 06:55 AM
Update Manager -132 Days Since Update ...Fresh Install jv2112 Linux - Newbie 3 10-25-2010 05:02 AM
ESX3.5i to vSphere Upgrade using Update Manager... issue ThunderCat Linux - Virtualization and Cloud 1 08-03-2010 05:39 PM
[SOLVED] Difference Between Synaptic Package Manager and Update Manager nasser019 Linux - Software 1 07-20-2010 08:12 AM
Unable to upgrade to ubuntu 7.10, update manager fails to update.... jonbvgood Linux - Software 2 02-05-2008 04:58 PM


All times are GMT -5. The time now is 01:08 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration