Find the answer to your Linux question:
Results 1 to 3 of 3
I just tried to upgrade to Thunderbird 3.1.4, and when I uncompressed the file, it complained that the file was corrupted: bzip2: Compressed file ends unexpectedly; perhaps it is corrupted? ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jul 2010
    Location
    Michigan
    Posts
    47

    Upgrade to Thunderbird 3.1.4 -corrupt file-rm dir?


    I just tried to upgrade to Thunderbird 3.1.4, and when I uncompressed the file, it complained that the file was corrupted:
    bzip2: Compressed file ends unexpectedly;
    perhaps it is corrupted? *Possible* reason follows.
    bzip2: Inappropriate ioctl for device
    Input file = (stdin), output file = (stdout)

    It is possible that the compressed file(s) have become corrupted.
    You can use the -tvv option to test integrity of such files.

    You can use the `bzip2recover' program to attempt to recover
    data from undamaged sections of corrupted files.

    tar: Unexpected EOF in archive
    tar: Unexpected EOF in archive
    tar: Error is not recoverable: exiting now
    root@darkstar:/usr/lib/thunderbird-3.1.4#
    Since the contents are corrupted, I wanted to remove the dir and make a clean directory. I received the message that said:
    rmdir: invalid option -- 'r'
    Try `rmdir --help' for more information.
    root@darkstar:/usr/lib/thunderbird-3.1.4#
    I tried the option "--ignore-fail-on-non-empty because its a non-empty directory. That didn't work. The corrupted directory is still there.
    How do I get rid of this directory and it's corrupted contents so I can make a clean directory for another upgrade attempt?

  2. #2
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    Use rm with -rf option to delete all the contents of folder including subfolders.
    Make sure to type correct folder name. Wrong execution of rm -rf can hose your system.
    Code:
    rm -rf <folder>
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  3. #3
    Just Joined!
    Join Date
    Jul 2010
    Location
    Michigan
    Posts
    47

    remove directory

    devels casper,
    OK, I'll try that.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •