Results 1 to 3 of 3

Thread: Live USB Install now has broken apt-get - howto fix?

  1. #1
    Join Date
    Nov 2006
    Location
    Ogden, UT
    Beans
    8
    Distro
    Xubuntu 9.04 Jaunty Jackalope

    Live USB Install now has broken apt-get - howto fix?

    I get this error on my liveusb system:

    ubuntu@ubuntu:~$ sudo dpkg --configure -a
    dpkg: unrecoverable fatal error, aborting:
    unable to create `/var/lib/dpkg/updates/tmp.i': Input/output error
    ubuntu@ubuntu:~$ sudo apt-get upgrade –fix-broken
    Reading package lists... Error!
    E: Could not open file /var/cache/apt/pkgcache.bin - open (5: Input/output error)
    E: Failed to truncate file - ftruncate (9: Bad file descriptor)
    E: The package lists or status file could not be parsed or opened.
    ubuntu@ubuntu:~$


    It's been working but during the install of openoffice it froze completely and so I hit reset. Now it is doing that. How can I repair the filesystem other than a resinstall when it comes to live usb? Perhaps I could edit the boot up options to enable recovery mode so I'll google that next but had to throw this out there. It's Xubuntu from pendrivelinux.com and it has persistence. Thanks!

  2. #2
    Join Date
    Nov 2007
    Beans
    31

    Re: Live USB Install now has broken apt-get - howto fix?

    i'm having the same problem with ubuntu. anyone find a solution yet?

  3. #3
    Join Date
    May 2008
    Beans
    10

    Re: Live USB Install now has broken apt-get - howto fix?

    Quote Originally Posted by unxzst View Post
    i'm having the same problem with ubuntu. anyone find a solution yet?
    Am on HP 165w 8Gb pen drive with Lucid Lynx 10.04.3. I get this error:

    E:Could not open file /var/cache/apt/pkgcache.bin - open (5: Input/output error), E:Failed to truncate file - ftruncate (9: Bad file descriptor), E:The package lists or status file could not be parsed or opened.

    Any guidelines. Should I reformat and reinstall in the drive?

Tags for this Thread

Bookmarks

Posting Permissions

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