Package operation failed

Asked by Didu on 2012-08-11

installArchives() failed: perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
 LANGUAGE = (unset),
 LC_ALL = (unset),
 LANG = "en_IN.ISO8859-1"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
 LANGUAGE = (unset),
 LC_ALL = (unset),
 LANG = "en_IN.ISO8859-1"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
 LANGUAGE = (unset),
 LC_ALL = (unset),
 LANG = "en_IN.ISO8859-1"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
 LANGUAGE = (unset),
 LC_ALL = (unset),
 LANG = "en_IN.ISO8859-1"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
(Reading database ...
(Reading database ... 5%%
(Reading database ... 10%%
(Reading database ... 15%%
(Reading database ... 20%%
(Reading database ... 25%%
(Reading database ... 30%%
(Reading database ... 35%%
(Reading database ... 40%%
(Reading database ... 45%%
(Reading database ... 50%%
(Reading database ... 55%%
(Reading database ... 60%%
(Reading database ... 65%%
(Reading database ... 70%%
(Reading database ... 75%%
(Reading database ... 80%%
(Reading database ... 85%%
(Reading database ... 90%%dpkg: unrecoverable fatal error, aborting:
 reading files list for package 'libgweather-common': Input/output error
Error in function:

pls help wid the issue!!!

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu dpkg Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:

sudo fuser -vvv /var/lib/dpkg/lock
sudo rm /var/lib/apt/lists/lock
sudo cp -arf /var/lib/dpkg /var/lib/dpkg.backup
sudo cp /var/lib/dpkg/status-old /var/lib/dpkg/status
sudo cp /var/lib/dpkg/available-old /var/lib/dpkg/available
sudo rm -rf /var/lib/dpkg/updates/*
sudo rm -rf /var/lib/apt/lists
sudo rm /var/cache/apt/*.bin
sudo mkdir /var/lib/apt/lists
sudo mkdir /var/lib/apt/lists/partial
LANG=C;sudo apt-get clean
LANG=C;sudo apt-get autoclean
LANG=C;sudo apt-get --purge autoremove
LANG=C;sudo apt-get update -o APT::Cache-Limit=25165824
sudo dpkg --clear-avail
sudo dpkg --configure -a
LANG=C;sudo apt-get -f install
LANG=C;sudo apt-get --fix-missing install
LANG=C;sudo apt-get update -o APT::Cache-Limit=25165824 && sudo apt-get dist-upgrade

Didu (abhayjunaghare) said : #2

didu@didu-Inspiron-N4010:~$ sudo fuser -vvv /var/lib/dpkg/lock
[sudo] password for didu:
didu@didu-Inspiron-N4010:~$ sudo rm /var/lib/apt/lists/lock
rm: cannot remove `/var/lib/apt/lists/lock': No such file or directory
didu@didu-Inspiron-N4010:~$ sudo cp -arf /var/lib/dpkg /var/lib/dpkg.backup
cp: reading `/var/lib/dpkg/info/liborc-0.4-0:i386.postinst': Input/output error
cp: failed to extend `/var/lib/dpkg.backup/dpkg/info/liborc-0.4-0:i386.postinst': Input/output error
sudo cp /var/lib/dpkg/status-old /var/lib/dpkg/status
cp: reading `/var/lib/dpkg/info/libimobiledevice2.postinst': Input/output error
cp: failed to extend `/var/lib/dpkg.backup/dpkg/info/libimobiledevice2.postinst': Input/output error
sudo cp /var/lib/dpkg/available-old /var/lib/dpkg/available
cp: reading `/var/lib/dpkg/info/libimobiledevice2.symbols': Input/output error
cp: failed to extend `/var/lib/dpkg.backup/dpkg/info/libimobiledevice2.symbols': Input/output error
sudo rm -rf /var/lib/dpkg/updates/*
cp: reading `/var/lib/dpkg/info/libimobiledevice2.list': Input/output error
cp: failed to extend `/var/lib/dpkg.backup/dpkg/info/libimobiledevice2.list': Input/output error
sudo rm -rf /var/lib/apt/lists
cp: reading `/var/lib/dpkg/info/libnl-3-200.md5sums': Input/output error
cp: failed to extend `/var/lib/dpkg.backup/dpkg/info/libnl-3-200.md5sums': Input/output error
sudo rm /var/cache/apt/*.bin
cp: reading `/var/lib/dpkg/info/libmhash2.postinst': Input/output error
cp: failed to extend `/var/lib/dpkg.backup/dpkg/info/libmhash2.postinst': Input/output error
sudo mkdir /var/lib/apt/lists
cp: reading `/var/lib/dpkg/info/libmetacity-private0.shlibs': Input/output error
cp: failed to extend `/var/lib/dpkg.backup/dpkg/info/libmetacity-private0.shlibs': Input/output error
sudo mkdir /var/lib/apt/lists/partial
cp: reading `/var/lib/dpkg/info/libgweather-common.list': Input/output error
cp: failed to extend `/var/lib/dpkg.backup/dpkg/info/libgweather-common.list': Input/output error
cp: reading `/var/lib/dpkg/info/liborc-0.4-0:i386.md5sums': Input/output error
cp: failed to extend `/var/lib/dpkg.backup/dpkg/info/liborc-0.4-0:i386.md5sums': Input/output error
cp: reading `/var/lib/dpkg/info/libimobiledevice2.md5sums': Input/output error
cp: failed to extend `/var/lib/dpkg.backup/dpkg/info/libimobiledevice2.md5sums': Input/output error
cp: reading `/var/lib/dpkg/info/libkrb5-26-heimdal:i386.shlibs': Input/output error
cp: failed to extend `/var/lib/dpkg.backup/dpkg/info/libkrb5-26-heimdal:i386.shlibs': Input/output error
cp: reading `/var/lib/dpkg/info/libmhash2.list': Input/output error
cp: failed to extend `/var/lib/dpkg.backup/dpkg/info/libmhash2.list': Input/output error
LANG=C;sudo apt-get clean
LANG=C;sudo apt-get autoclean
cp: reading `/var/lib/dpkg/info/libindicate-gtk3.list': Input/output error
cp: failed to extend `/var/lib/dpkg.backup/dpkg/info/libindicate-gtk3.list': Input/output error
LANG=C;sudo apt-get autoclean
cp: reading `/var/lib/dpkg/info/libgweather-3-0.shlibs': Input/output error
cp: failed to extend `/var/lib/dpkg.backup/dpkg/info/libgweather-3-0.shlibs': Input/output error
LANG=C;sudo apt-get --purge autoremove
cp: reading `/var/lib/dpkg/info/libnih-dbus1:i386.symbols': Input/output error
cp: failed to extend `/var/lib/dpkg.backup/dpkg/info/libnih-dbus1:i386.symbols': Input/output error
LANG=C;sudo apt-get update -o APT::Cache-Limit=25165824
cp: reading `/var/lib/dpkg/info/libindicate-gtk3.md5sums': Input/output error
cp: failed to extend `/var/lib/dpkg.backup/dpkg/info/libindicate-gtk3.md5sums': Input/output error
sudo dpkg --clear-avail
cp: reading `/var/lib/dpkg/info/libkrb5-26-heimdal:i386.symbols': Input/output error
cp: failed to extend `/var/lib/dpkg.backup/dpkg/info/libkrb5-26-heimdal:i386.symbols': Input/output error
sudo dpkg --configure -a
cp: reading `/var/lib/dpkg/info/libgweather-3-0.postrm': Input/output error
cp: failed to extend `/var/lib/dpkg.backup/dpkg/info/libgweather-3-0.postrm': Input/output error
LANG=C;sudo apt-get -f install
cp: reading `/var/lib/dpkg/info/libgweather-3-0.md5sums': Input/output error
cp: failed to extend `/var/lib/dpkg.backup/dpkg/info/libgweather-3-0.md5sums': Input/output error
LANG=C;sudo apt-get --fix-missing install
cp: reading `/var/lib/dpkg/info/libgweather-3-0.postinst': Input/output error
cp: failed to extend `/var/lib/dpkg.backup/dpkg/info/libgweather-3-0.postinst': Input/output error
LANG=C;sudo apt-get update -o APT::Cache-Limit=25165824 && sudo apt-get dist-upgrade

cp: reading `/var/lib/dpkg/info/libnl-genl-3-200.postrm': Input/output error
cp: failed to extend `/var/lib/dpkg.backup/dpkg/info/libnl-genl-3-200.postrm': Input/output error

dear andrew
tried as u suggested
got d above results

not getting thru..
i cant install updates due to dis error..
new 2 dis ubuntu discourse..
pls help..

If you boot to the Ubuntu liveCD you can fsck the partition, make sure it's healthy.

Didu (abhayjunaghare) said : #4

file:///home/didu/Desktop/Screenshot%20from%202012-08-12%2000:16:44.png

dont have partitions
m a real new fish
pls help..

You need to use imageshack or similar, the only person who can see that file are ones logged on to the local PC.

Can you help with this problem?

Provide an answer of your own, or ask Didu for more information if necessary.

To post a message you must log in.