Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 04-15-2007, 10:25 AM   #1
LQ Newbie
Registered: Feb 2005
Location: Italy
Distribution: Slackware
Posts: 4

Rep: Reputation: 0
Corrupted files in my linux?

I had strange problems lately with ubuntu feisty beta.
I didn't do anything funny, and I use official repositories.
Two days ago, I received a login error:

/etc/gdm/PreSession/Default: Registering your session with wtmp and utmp
/etc/gdm/PreSession/Default: running: /usr/X11R6/bin/sessreg -a -w /var/log/wtmp -u /var/run/utmp -x "/var/lib/gdm/:0.Xservers" -h "" -l ":0" "leo"
Impossible to write wtmp
I edited Default making it reads wtmp.1 (the backup). Gnome started, but I notice this:

ls -s /var/log/wtmp
?r-sr----x 8202 1952674405 1920299877 1651076128 2034-07-26 17:06 /var/log/wtmp
Then I tried to upgrade my system, and I got this:

dpkg: failed to open diversions file. No device or address
I checked diversion files, I got this:

leo@leo:/var/lib/dpkg$ ls -l div*
br-xr-xrwt 26996 537554017 538995060   97, 109 2029-03-26 03:14 diversions
?--xr-S-wx  8300 537555567 538992995 538970745 2021-08-21 05:01 diversions-old
Is it normal? How can I fix that?
Thank you.

Old 04-16-2007, 01:56 AM   #2
LQ Guru
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 124Reputation: 124
Those are very odd permissions and owners. What filesystem is it installed on? EXT3? I strong encourage you to run fsck on that drive... it's possible the data is corrupt.


corrupted, dpkg, ubuntu

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 On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Source files corrupted? Badut Linux From Scratch 7 05-12-2006 10:07 PM
package index files corrupted lil_becky Debian 1 02-16-2005 05:03 PM
Corrupted Files??? rm6990 Yoper 2 09-19-2004 02:29 AM
Corrupted Library Files Star Child Linux - General 1 04-07-2004 02:13 PM
HELP!!! Corrupted files!!! broxys Linux - General 7 08-18-2003 08:09 PM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 11:15 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration