Ubuntu Installation :: Cannot Delete The (corrupted) File
May 18, 2011
Problem: Cannot delete file
System: Ubuntu 11.04 with KDE desktop
Symptoms: When I try to start Synaptic, I get
E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.
E: _cache->open() failed, please report.
Running the requested command in terminal, I get
ubuntu@ubuntu:/var/lib/dpkg/updates$ sudo dpkg --configure -a
dpkg: error: failed to open package info file `/var/lib/dpkg/updates/0001' for reading: No such file or directory
ubuntu@ubuntu:/var/lib/dpkg/updates$ ls -l
[code]...
Also tried to move, copy and rename the file and also to delete the updates folder with rmdir. Also tried rm -i * but it seems there is only the one file in the folder. The only strange result is the "total 4" when I run the ls -l command:
I'm COMPLETELY new to linux. I"m running Ubuntu 9.10 and TRYING to install Devede. I have tried the Terminal, Synaptic Manger, and the Add/Remove and still keep getting this same error. I'm running a regular 32 bit Pentium 3 process to test if I like Linux or not. this is what it says: E: /var/cache/apt/archives/libavcodec-extra-52_4%3a0.5+svn20090706-2ubuntu3_i386.deb: corrupted filesystem tarfile - corrupted package archive this is not a DUAL boot computer either.
Why is there no Delete when I right click like there is with Windows in ubuntu? Pretty much everything else is there like new folder and so on Is there some way to add it? Also why when i delete something does it not ask me if I am sure that i want to delete that file?
Uninstalled wubi (though I enjoyed Ubuntu I want to do a clean install instead of the wubi/windows piggy-back). However, I still get an option to choose ubuntu when rebooting. I know that there's something I need to delete in the boot.ini file, but all I read is "delete mentions of ubuntu" or "delete the ubuntu line".
I hope I'm understandably wary of just waltzing into the boot file and deleting something like this, so what exactly do I delete from the boot.ini file to complete the uninstallation?
This is what I have in the boot file:
Code:
So all I delete is the "C:wubildr" line? Or does all that do is remove the mention of ubuntu from the startup menu but I still need to choose XP as the OS I want to boot into during startup?
i just installed ubuntu yesterday (dual boot) and ive finally decided i wanted to wipe windows xp off my hard drive first of all i know how to delete partitions and such but then i went to g parted and saw all this crazy info (screenshot posted) im really confused and down wanna end up ruining my installation.
But what i want to do is remove my xp installation merge the empty partition with my linux partition and then rebuild the grub2 config file.
I have a virtual ubuntu machine (wubi) under windows 7. Recently, I have been unable to boot ubuntu because the file /ubuntu/winboot/wubildr.mbr appears to be corrupted. Windows 7 boots fine. How can I repair my ubuntu without loosing my files or how can I retrieve my user files before I install ubuntu again?
I downloaded a game and used wine to install/run it. It plays perfectly fine the first time, until I exit the game and want to run it again. When I try to run the game again, it says that the files are corrupted. how can i fix this?
I am using Ubuntu since release 8.10, but it is first time when i can`t solve problem
when i tried to create new NTFS partition on unallocated disk space with Paragon Partition Manager (damn, that was stupid). Process was aborted with error (later i finally made it with Gparted without problems)
After reboot mine Ubuntu say:
Code: Errors were found while checking the disk drive for /
Press F to attempt to fix errors, I to ignore, S to skip mounting or M for manual recovery. I pressed "F" but that had help only for a boot and doesn`t really fix error :`(
Later i booted from liveCD and had checked partition (/dev/sdb1; file system - ext3) with gparted (result - aborted fixing process with error) Now i can`t even boot from that partition and even mount it from other linux system.
Had a lot of computer trouble recently and had to have my hard drive wiped and Windows re-installed by a repair shop. They put in the Home Edition of XP.
Now I immediately want to install Linux again. However, when I try to load the Mint live cd I get the above information.
When I try to load the PclinuxOS live cd I get 'log in Local Host' and I don't know where to go from there.
When I try to load the Suse live cd I get nothing.
At the start of my troubles I got 'file kbdclass.sys is corrupted'. This hasn't returned.
Nautilus File Manager search in a directory seems to be corrupted. It's glued to a previous search and you cannot start a new one. Anybody know how to repair?Clicking the magnifying glass goes to this directory (it reads Search for ""under the Title Bar).
I got an iPhone 3GS and it seems to give me a weird error when trying to mount it. Here is a screenshot. Here are a few details on the system: * Fresh install (Debian 6.0) netinstall. * Added the ipw2200-bss.fw during install * Installed using eth0 (network cable) using the mirror.isoc.org.il mirror. (possible corrupted file?) * Machine is an IBM ThinkPad T43. The image is to big to fit here, so here is the link: [URL]
I think that my external hard drive was either "unsafely removed" or powered off at a critical moment because when I tried to connect it to any OS Mac, Windows Ubuntu etc. It could not be read. I forget the Windows error message but the Ubuntu one was "mount error 2".In any case I downloaded testdisk asked it to analyze my hd and about half way through it said that the number of heads per cylinder were 128 and it more than likely should be 255 (or the other way around I forget which but I know the numbers are right). So I went and changed the geometry of the external HD such that the number is what testdisk told me was and the result is that my computers can read it but it seems that all the files are missing.
I used photorec and I have recovered all the files (unnamed and disorganized of course)So this leads me to the following question: is there any way I can repair my file system or access the files so that I don't have to go through the 16,000+ files rename and reorganize them again?
I'm going to reformat my external drives to get rid of the crud that I've built up. (Crud being incremental backups, windows software, and similar things.)(I also want to get rid of the FAT32 file system that they use.) These are USB 1TB drives. The theory is that data is written to it once, but read back a number of times. (I also burn that data to DVD. If there was software that could organize 5TB of data on DVDs, I'd be using them.)
I"m trying to decide whether to use ReiserFS, Ext4, or another file system. Basically, I want something that:
* Won't get corrupted when the power fails; * Can handle files that are 4+GB in size; * Uses extends --- preferably without user intervention;
Recently I installed openSuSE 11.3 x64 on PC with Intel motherboard, 4GB RAM & two of 1TB WD RE3.Of course I set RAID1 during installation After some struggle with GRUB which pointed to wrong devices after installation I started to work. But suddenly I found that file system is corrupted after every reboot (It does not depend on what I use and what the way I use - reboot, shutdown -r now or even just poweroff - everything follow to:
Starting MD Raid mdadm: /dev/md2 has been started with two drives mdadm /dev/md3 has been started with 2 drives mdadm /dev/md4 has been started with 2 drives mdadm /dev/md5 has been started with 2 drives
The Ext 4 file system of the partition (dev/sdb1) is corrupted. When I seek to repair this using the boot repair tool it is unable to resolve this. I admit that I don't fully understand the problem - except that I'm unable to open and use programs.
The app in linux server(CentOS 5.3) uses files from a mount directory(Shared windows directory in read only mode). At the same time, the same file might be edited by user in windows env. We were assuming that as the windows folders are mounted in read-only mode in linux so any change done by user in windows environment would be fail safe i.e. can be safely committed to the file. But when the file concurrently used both by Linux and as well by windows, at some point linux does not release the file handles and the files get corrupted(deleted too). Earlier we were using win2k server and this step was hardly reproducible and win2k was releasing file handles quickly. But with centos, we really had touch time managing files.
Being an Ubuntu enthousiast (both professionally as well as at home), I upgraded my home server from 9.10 to 10.04 yesterday. It runs kvm with only 1 vm. Host and vm we're both ubuntu 9.10 64bit. I upgraded both to 10.04. So far so good. Also did reboots to load the new kernel image.
For data storage I have a large (6,35TB) XFS partition. This partition is exported to the vm as a block device (vdb). This morning I noticed the vm has crashed. The XFS partition (mounted as /home) was shut down. Is this just bad luck? Or is it 10.04?
Code: May 4 08:00:18 fileplanet kernel: [68558.681584] ffff8800241c8000: 58 41 47 46 00 00 00 01 00 00 00 02 0f ff ff ff XAGF............ May 4 08:00:18 fileplanet kernel: [68558.754806] Filesystem "vdb": XFS internal error xfs_btree_check_sblock at line 124 of file /build/buildd/linux-2.6.32/fs/xfs/xfs_btree.c. Caller 0xffffffffa009dcc4
[Code]....
I tried booting with an older (2.6.31) kernel, but didn't help. Can I safely run xfs_repair without causing any more damage?
All disks in this system are attached to an Areca hardware raid controller configured in Raid5 and has been operating for months now without any problem.
I'm trying to install a package (mythTV backend - but im sure the package is not at fault) and I keep getting this errorcorrupted filesystem tarfile - corrupted package archiveNew build - ubuntu lucid 32bitI think it might be a hardware fault memory/hardrive/motherboard or somthing to do with an error in /home/ partition filesystem.To be honest im not sure and its driving me mentalWould consider anyones input on possible causes of a Corrupted filesystem. Tried complete deleting (including cache) and reinstalling the package.force fskchk , restarted = nothing.Error checked the harddrive = nothingfrustrated as this is only the latest error in a series of problems ive been having with ubuntu on this build.
I've just tried installing drivers for my laptop (sis 671) and now my desktop gfx are corrupt. Any idea how I can recover? (eg delete xorg.conf).Recovery mode is corrupted, command prompt boot is really limited and I can't figure it out.
Yesterday all my troubles seemed so far away, because I've been using working system with Windows 7 & Ubuntu 10.10, but last night I decided to update to 11.04 from update manager. So, when upgrade was done, I rebooted and saw something like this:
"grub_env_export not found grub rescue > "
Do I have a problem with MBR? Will it help, if I load from Ubuntu live cd and try to reinstall grub?
The computer that I have Ubuntu/Karmic just recently installed on, has 2 hard drives. Primary is Ubuntu, secondary is win95b. After the Karmic installation (which went perfectly), I now find that when I boot to the secondary drive, the MBR for win95b is reporting it is corrupted. I can use win95b, BUT it runs in dos compatability mode, and there are no CD drives showing, despite the fact that BIOS reports 2 cd drives. Can GParted fix the corrupted MBR on the win95b hard drive?
I just ran an update of ubuntu 9.04 to 9.10 and now the "startup" splash and the login splash is gone. Instead I see the terminal during bootup and the login prompt is some strange sparse login screen looking like it was taken from some old CDE GUI. What has happened and how do I fix it?
I can also add that while upgrading I chose to let the menu.lst remain untouched which turned out to be a bad mistake. So I added the following lines manually to compensate for my mistake.
But that didn't resolve my problems. I also tried the following without success:
After loging myself out and pressning ALT+F1/ALT+F7...
I have been trying to get the live image of 10.4 to work on my machine, however I keep running into video corruption issues. When I try to run the live image, from a CD or USB stick, it shows the loading screen fine and the bars underneath the logo move and look fine. Then it seems as though it has loaded and goes to desktop, but it only shows a corrupted image of the loading screen. After a few seconds there seems to be some sort of intro sound playing, however it is very scratchy/corrupted. I'm not sure what the issue is and I have tried 32 and 64 bit versions.
I have also tried installing via Wubi and get the same results. I'm really at a loss of how to correct the problem. Not sure if it is a video driver issue, or some other issue. I also can't seem to find a safe graphics mode to try and work around the problem. My specs are DFI Lanparty Expert nvidia 7800 gt 2gb ram x-fi sound card
before i proceed,I'll like to say that I'm a complete newbie, but enjoying my time with Ubuntu.
Recently, due to hard disk failure, some of the System files got corrupted, I have no idea to which files, but booting Ubuntu from the latest kernel is not working, instead I have to select the previous version from the grub screen.
How to recover these files? Is there a way by which Ubuntu automatically scans and repairs the system files.
Recently I am trying to install the latest Ubuntu / Xubuntu but after the kernel messages the display becomes corrupted. The machine is a Clevo laptop with the dreaded SIS 671 / 672 chipset. The Ubuntu 8.04 is working flawlessly. Any other version I get several problems and depending on the mood of the system I get a vertical running display ( not readable ) or a left horizontal displaced screen (readable) ...
I tried more tan several CDs ranging from 9.01 to 10.10 both Ubuntu or Xubuntu. What is the plainest (simpler ) VGA mode in order to install it? I have tried vga=normal and even VGA =3 with no success. With the latest Ubuntu 10.10 I get another problem it simply does not recognize the HDD / SSD. I have traced the SSD problem with the sata_sis module in kernel 2.6.35 and up... Other distros have the same problem ...
Ubuntu 11.04 32bit TP-Link TL-WN821N which is listed HERE as supported using the ar9170usb driver.So I've done 4 fresh reinstalls and each time after a specific step following THIS guide my Wireless connection gets corrupted and does not want to work. The last time I did all the changes in small steps so I can catch the offending one and so after I've executed the code below and restarted my system the wifi went haywire:
Up until that point everything was working just fine and I was remotely managing my desktop using a Windows VNC Viewer and Ubuntu Remote Desktop. So could it be that this dkms (whatever that is) is causing the problems? Do I even need to install it for all the other software to work as it is not mentioned in any other bitcoin mining guides? I would like to stress out that my connection is configured properly and I am 100% certain of that - as I said it is working like a charm up until the point of executing the commands above and restarting.
Any suggestions as the last 3 days have been a nightmare trying to figure out what's wrong after each fresh installation. P.S - The guide says to execute sudo aptitude install dkms but I guess the aptitude package is not installed so I ran sudo apt-get install dkms instead. If that makes any difference?
Many folders within a subdirectory some of which have lots of data in and some of which have only one specific file called produkt.fil inside.I need a command to find and delete those folders that contain ONLY the file produkt.fil - if other files exist (doesnt matter what they are) then they should be left alone. Note: produkt.fil exists in all of the folders always.