Announcement

Collapse
No announcement yet.

synaptic broken (SOLVED)

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    synaptic broken (SOLVED)

    I was downloading changes in synaptic when it quit working. I x'd out of it and restarted, and when it came up I got this message "E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.
    E: _cache->open() failed, please report." I opened terminal, pasted the command in, and got this message "skyjacker@Home-PC:~$ sudo dpkg --configure -a
    [sudo] password for skyjacker:
    dpkg: failed to write status record about `ntpdate' to `/var/lib/dpkg/status': No space left on device" Now what do I do?

    #2
    Re: synaptic broken

    ...No space left on device...

    Disk full ?


    Checking > FAQ: Free Disk Space

    =>

    What tells "df -h" at the konsole ?
    and
    how big (or small) is your root partition ? ( > FAQ: How to Partition)
    Code:
    sudo fdisk -l

    If your disk is full:

    Try:
    Code:
    sudo apt-get clean
    > APT HOWTO
    When you install a package APT retrieves the needed files from the hosts listed in /etc/apt/sources.list, stores them in a local repository (/var/cache/apt/archives/), and then proceeds with installation

    In time the local repository can grow and occupy a lot of disk space. Fortunately, APT provides tools for managing its local repository: apt-get's clean and autoclean methods.

    apt-get clean removes everything except lock files from /var/cache/apt/archives/ and /var/cache/apt/archives/partial/.

    Cleaning:

    > Cleaning up a Ubuntu GNU/Linux system
    > HOWTO: Cleaning local package archives
    > Privacy Cleanup 101
    > HOWTO : Cleaning old KDE thumbnails
    > HOWTO: Removing unnecessary entries from the grub menu list
    (a.k.a removing old kernel packages and rewriting new menu.lst)


    If your disk is not full

    Maybe > dpkg tell no free space but I have free space what's happened?



    Links:

    > dpkg: failed to write status record about `dcraw' to `/var/lib/dpkg/status': No space left on device
    > no spcae left on device
    > Top 20 Kubuntu FAQs & Answers
    > ...
    Before you edit, BACKUP !

    Why there are dead links ?
    1. Thread: Please explain how to access old kubuntu forum posts
    2. Thread: Lost Information

    Comment


      #3
      Re: synaptic broken

      ROG 131, here is what you asked for. thanks for the help so far. Now what?
      skyjacker@Home-PC:~$ df -h
      Filesystem Size Used Avail Use% Mounted on
      /dev/sdb6 3.0G 3.0G 0 100% /
      tmpfs 498M 0 498M 0% /lib/init/rw
      varrun 498M 100K 498M 1% /var/run
      varlock 498M 0 498M 0% /var/lock
      udev 498M 204K 498M 1% /dev
      tmpfs 498M 12K 498M 1% /dev/shm
      lrm 498M 2.4M 495M 1% /lib/modules/2.6.28-11-generic/volatile
      /dev/sdb8 27G 992M 24G 4% /home
      overflow 1.0M 36K 988K 4% /tmp

      skyjacker@Home-PC:~$ sudo fdisk -l
      [sudo] password for skyjacker:

      Disk /dev/sda: 160.0 GB, 160041885696 bytes
      255 heads, 63 sectors/track, 19457 cylinders
      Units = cylinders of 16065 * 512 = 8225280 bytes
      Disk identifier: 0x23213b72

      Device Boot Start End Blocks Id System
      /dev/sda1 * 902 15035 113531355 7 HPFS/NTFS
      /dev/sda2 1 19457 156288321 5 Extended
      /dev/sda5 1 713 5727109+ 83 Linux
      /dev/sda6 714
      763 401593+ 82 Linux swap / Solaris
      /dev/sda7 764 901 1108453+ 83 Linux
      /dev/sda8 15036 15385 2811343+ 83 Linux
      /dev/sda9 15386 19457 32708308+ 83 Linux

      Partition table entries are not in disk order

      Disk /dev/sdb: 320.0 GB, 320072933376 bytes
      255 heads, 63 sectors/track, 38913 cylinders
      Units = cylinders of 16065 * 512 = 8225280 bytes
      Disk identifier: 0x65ec38f3

      Device Boot Start End Blocks Id System
      /dev/sdb1 * 1 1 0 0 Empty
      Partition 1 does not end on cylinder boundary.
      /dev/sdb2 3 38913 312552607+ 5 Extended
      /dev/sdb5 3 32532 261297193+ 7 HPFS/NTFS
      /dev/sdb6 32533 35082 20482843+ 83 Linux
      /dev/sdb7 35083 35464 3068383+ 82 Linux swap / Solaris
      /dev/sdb8 35465 38913 27704061 83 Linux

      Comment


        #4
        Re: synaptic broken

        Originally posted by skyjacker

        Filesystem Size Used Avail Use% Mounted on
        /dev/sdb6 3.0G 3.0G 0 100% /
        There's your problem, just as Rog suspected. You didn't do yourself any favors making your Linux partition only 3.0G.

        There is no great "workaround" for your situation -- *buntu needs 5G for a comfortable installation (i.e. one in which you don't spend time like this ....).

        To get through today, you can issue
        Code:
        sudo apt-get autoclean
        and
        Code:
        sudo apt-get autoremove
        and then delete everything in /var/log/ (since you're probably headed to a reinstallation on a larger partition soon). Then search Ubuntu forums for "disk cleanup" and you can find things like this:

        http://ubuntuforums.org/showpost.php...63&postcount=3

        Comment


          #5
          Re: synaptic broken

          Originally posted by dibl
          Originally posted by skyjacker

          Filesystem Size Used Avail Use% Mounted on
          /dev/sdb6 3.0G 3.0G 0 100% /
          There's your problem, just as Rog suspected. You didn't do yourself any favors making your Linux partition only 3.0G.

          There is no great "workaround" for your situation -- *buntu needs 5G for a comfortable installation (i.e. one in which you don't spend time like this ....).

          To get through today, you can issue
          Code:
          sudo apt-get autoclean
          and
          Code:
          sudo apt-get autoremove
          and then delete everything in /var/log/ (since you're probably headed to a reinstallation on a larger partition soon). Then search Ubuntu forums for "disk cleanup" and you can find things like this:

          http://ubuntuforums.org/showpost.php...63&postcount=3

          I am wanting to re-install anyway and go to an ubuntu/kubuntu choice desktop. I did it about 2 years ago but can't remember how. Can anyone help on that? Thanks

          Comment

          Working...
          X