LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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.

Notices

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

Rep: Reputation: 0
Corrupted files in my linux?


hi,
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:

Code:
/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:

Code:
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:

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

Code:
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.

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

Rep: Reputation: 118Reputation: 118
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.
 
  


Reply

Tags
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


All times are GMT -5. The time now is 03:51 PM.

Main Menu
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