Linux.com

gstreamer

Link to this post 09 Jun 09

hi all. i v got linux ubuntu 9.04 on my laptop and every time i try to uninstall something or install it wont let. it wont even let me to install updates. on update list i v got gstreamer0.10-plugins-bad but i cant put tick on it and it also says that its a distribution update. so every time i try to install updates or install some software or uninstall something this comes up in terminal:

(reading database ... dpkg: unrecoverable fatal error, aborting:
unable to open files list file for package 'linux-restricted-modules-2.6.17-11-generic' : stale NFS file handle
E: Sub-process /usr/bin/dpkg returned an error code (2)
A package failed to install. Trying to recover:


can you help me please. thanks a lot.

Link to this post 09 Jun 09

david93 wrote:

hi all. i v got linux ubuntu 9.04 on my laptop and every time i try to uninstall something or install it wont let. it wont even let me to install updates. on update list i v got gstreamer0.10-plugins-bad but i cant put tick on it and it also says that its a distribution update. so every time i try to install updates or install some software or uninstall something this comes up in terminal:



(reading database ... dpkg: unrecoverable fatal error, aborting:
unable to open files list file for package 'linux-restricted-modules-2.6.17-11-generic' : stale NFS file handle
E: Sub-process /usr/bin/dpkg returned an error code (2)
A package failed to install. Trying to recover:


can you help me please. thanks a lot.

David,
Open a terminal and issue the following commands:

sudo apt-get clean
sudo apt-get autoclean
sudo apt-get purge

These will remove the incorrectly downloaded package and reset your apt database. Now issue the following command to update your database:

sudo apt-get update

Lastly issue this command to upgrade all your packages:

sudo apt-get upgrade

Hope that helps!
Cheers

Link to this post 09 Jun 09

thank you very much for trying to help but it didnt work. this come up as a result;


(Reading database ... dpkg: unrecoverable fatal error, aborting:
unable to open files list file for package `linux-restricted-modules-2.6.27-11-generic': Stale NFS file handle
E: Sub-process /usr/bin/dpkg returned an error code (2)

Link to this post 10 Jun 09

david93 wrote:

thank you very much for trying to help but it didnt work. this come up as a result;




(Reading database ... dpkg: unrecoverable fatal error, aborting:
unable to open files list file for package `linux-restricted-modules-2.6.27-11-generic': Stale NFS file handle
E: Sub-process /usr/bin/dpkg returned an error code (2)

Sounds like you're accessing the packages via an NFS share? Have you tried rebooting the client?

Link to this post 10 Jun 09

sorry but what do you mean by rebooting client?

Link to this post 10 Jun 09

david93 wrote:

sorry but what do you mean by rebooting client?

sorry - reboot your laptop. by client, i meant "NFS client" - assuming that your laptop is using an NFS server. I was just guessing at that, based upon the error you posted.

Who we are ?

The Linux Foundation is a non-profit consortium dedicated to the growth of Linux.

More About the foundation...

Frequent Questions

Join / Linux Training / Board