Author Topic: (Solved) Problem Updating LXDE  (Read 639 times)

Offline LKJ

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 1952
(Solved) Problem Updating LXDE
« on: January 20, 2012, 06:57:20 AM »
just tried to update LXDE 32bit and got oodles of errors. Including a link to the text file since it's kind of large to paste.
Link To Error Text File

perhaps someone can tell me how to fix this?

danke in advance... ;D

edit: LXDE now just drops into the TTL. ugh
« Last Edit: January 20, 2012, 07:42:07 AM by LKJ »
Good things come in small packages. From small minds, not so much.

All walls by LKJ unless noted.
iMac 2.8 GHz Quad Core i7 12GB

Offline AS

  • Hero Member
  • *****
  • Posts: 4111
  • Have a nice ... night!
Re: Problem Updating LXDE
« Reply #1 on: January 20, 2012, 07:16:05 AM »
just tried to update LXDE 32bit and got oodles of errors. Including a link to the text file since it's kind of large to paste.
Link To Error Text File

perhaps someone can tell me how to fix this?

danke in advance... ;D


Quote
While installing package source-highlight-3.1.3-1pclos2010:

rpmdb: fsync: Input/output error
error: db3 error(5) from db->sync: Input/output error
rpmdb: ftruncate: 131072: Read-only file system
error: db3 error(30) from dbcursor->c_put: Read-only file system
error: error(30) storing record  into Provideversion
rpmdb: Provideversion page 14 is on free list with type 7
rpmdb: PANIC: Invalid argument
error: db3 error(-30974) from dbcursor->c_put: DB_RUNRECOVERY: Fatal error, run database recovery
error: error(-30974) storing record  into Provideversion
rpmdb: PANIC: fatal region error detected; run recovery
error: db3 error(-30974) from dbcursor->c_get: DB_RUNRECOVERY: Fatal error, run database recovery
error: error(-30974) getting "3.1.3-1pclos2010" records from Provideversion index
rpmdb: PANIC: fatal region error detected; run recovery
...


As I read the above... it seems that the rpm database lives on a read-only mounted filesystem ...
The next question is ... why the filesystem is mounted read-only ? possible answers:

- unclean filesystem
- wrong settings in /etc/fstab
- other reasons ...

As first thing, I would try to start from a LiveCD and perform a filesystem check:
fsck -f /dev/sdxN (substitute xN depending on disk/partition: /dev/sda1, /dev/sda2, /dev/sdb1 ...)
then reboot into the installed system and try again.

AS


Offline LKJ

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 1952
Re: Problem Updating LXDE
« Reply #2 on: January 20, 2012, 07:19:28 AM »
there was something amiss with the file system. I managed to get things to reboot after running "fdsk" or whatever it's called manually. but now I'm getting a message in synaptic that I have multiple copies of a few files. how do I get rid of the duplicates?

thanks
Good things come in small packages. From small minds, not so much.

All walls by LKJ unless noted.
iMac 2.8 GHz Quad Core i7 12GB

Offline AS

  • Hero Member
  • *****
  • Posts: 4111
  • Have a nice ... night!
Re: Problem Updating LXDE
« Reply #3 on: January 20, 2012, 07:28:53 AM »
there was something amiss with the file system. I managed to get things to reboot after running "fdsk" or whatever it's called manually. but now I'm getting a message in synaptic that I have multiple copies of a few files. how do I get rid of the duplicates?

thanks


Try synaptic -> Edit -> Fix broken packages ... if it doesn't solve ... open a terminal, su to root, and run the followings:
Quote
rpm --rebuilddb
dupeclean
apt-get clean
apt-get autoclean

ref.:
http://www.pclinuxos.com/forum/index.php/topic,80839.msg669175.html#msg669175
(note that the files /var/lib/rpm/__* doesn't exists anymore)

Offline LKJ

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 1952
Re: Problem Updating LXDE
« Reply #4 on: January 20, 2012, 07:34:29 AM »
thanks as. since there were only a few dup packages I removed them manually with synaptic. all seems okay again unless you think I should autoclean just to be sure? I'm no longer getting errors however.
Good things come in small packages. From small minds, not so much.

All walls by LKJ unless noted.
iMac 2.8 GHz Quad Core i7 12GB

Offline AS

  • Hero Member
  • *****
  • Posts: 4111
  • Have a nice ... night!
Re: Problem Updating LXDE
« Reply #5 on: January 20, 2012, 07:40:52 AM »
thanks as. since there were only a few dup packages I removed them manually with synaptic. all seems okay again unless you think I should autoclean just to be sure? I'm no longer getting errors however.

I think your system is already OK.  If other errors will arise in the near future ... you will run the rebuild commands ;)

Offline LKJ

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 1952
Re: Problem Updating LXDE
« Reply #6 on: January 20, 2012, 07:41:42 AM »
thanks as. since there were only a few dup packages I removed them manually with synaptic. all seems okay again unless you think I should autoclean just to be sure? I'm no longer getting errors however.

I think your system is already OK.  If other errors will arise in the near future ... you will run the rebuild commands ;)

danke :D. It does seem fine now.
Good things come in small packages. From small minds, not so much.

All walls by LKJ unless noted.
iMac 2.8 GHz Quad Core i7 12GB