Page 1 of 2 12 LastLast
Results 1 to 10 of 15

Thread: problem installing updates

  1. #1
    Join Date
    Sep 2008
    Location
    Auckland, New Zealand
    Beans
    41
    Distro
    Ubuntu 8.04 Hardy Heron

    problem installing updates

    I appologize for double posting this but no one might see it in the "general help" section.


    update manager wants me to install:

    kdelibs5 and kdelibs5-data

    if I try I get this:

    "you have 1 broken package on your system"

    and: An error occurred:
    E: /var/cache/apt/archives/kdelibs5-data_4%
    3a4.0.5-0ubuntu1~hardy3_all.deb: failed in buffer_write(fd) (10, ret=-1)
    E: /var/cache/apt/archives/kdelibs5_4%3a4.0.5-0ubuntu1~hardy3_i386.deb: failed in buffer_write(fd) (10, ret=-1)

    I tried to fix the broken package in the Synaptic Package Manager with "Fix broken packages" but after applying I get the same error message as above. details of the failure are:

    /var/cache/apt/archives/kdelibs5-data_4%3a4.0.5-0ubuntu1~hardy3_all.deb
    /var/cache/apt/archives/kdelibs5_4%3a4.0.5-0ubuntu1~hardy3_i386.deb
    E: Sub-process /usr/bin/dpkg returned an error code (1)
    A package failed to install. Trying to recover:
    dpkg: dependency problems prevent configuration of kde4libs-bin:
    kde4libs-bin depends on kdelibs5 (= 4:4.0.5-0ubuntu1~hardy3); however:
    Package kdelibs5 is not installed.
    dpkg: error processing kde4libs-bin (--configure):
    dependency problems - leaving unconfigured
    Setting up network-manager (0.6.6-0ubuntu5.8.04.2) ...
    * Reloading system message bus config...
    ...done.
    * Restarting network connection manager NetworkManager
    /usr/sbin/NetworkManager: error while loading shared libraries: libdbus-1.so.2: cannot open shared object file: No such file or directory
    dpkg: error processing network-manager (--configure):
    subprocess post-installation script returned error exit status 127
    dpkg: dependency problems prevent configuration of network-manager-gnome:
    network-manager-gnome depends on network-manager (>= 0.6.5); however:
    Package network-manager is not configured yet.
    dpkg: error processing network-manager-gnome (--configure):
    dependency problems - leaving unconfigured


    anyone any idea how to fix this dependency problem?
    thanks

  2. #2
    Join Date
    Apr 2008
    Beans
    Hidden!
    Distro
    Kubuntu 11.10 Oneiric Ocelot

    Re: problem installing updates

    try this:
    Code:
    sudo updatedb
    sudo dpkg --configure -a

  3. #3
    Join Date
    Sep 2008
    Location
    Auckland, New Zealand
    Beans
    41
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: problem installing updates

    Quote Originally Posted by rreese6 View Post
    try this:
    Code:
    sudo updatedb
    sudo dpkg --configure -a
    thank you rreese6, unfortunately following your advice I get this:

    dpkg: dependency problems prevent configuration of kde4libs-bin:
    kde4libs-bin depends on kdelibs5 (= 4:4.0.5-0ubuntu1~hardy3); however:
    Package kdelibs5 is not installed.
    dpkg: error processing kde4libs-bin (--configure):
    dependency problems - leaving unconfigured
    Setting up network-manager (0.6.6-0ubuntu5.8.04.2) ...
    * Reloading system message bus config... [ OK ]
    * Restarting network connection manager NetworkManager /usr/sbin/NetworkManager: error while loading shared libraries: libdbus-1.so.2: cannot open shared object file: No such file or directory
    dpkg: error processing network-manager (--configure):
    subprocess post-installation script returned error exit status 127
    dpkg: dependency problems prevent configuration of network-manager-gnome:
    network-manager-gnome depends on network-manager (>= 0.6.5); however:
    Package network-manager is not configured yet.
    dpkg: error processing network-manager-gnome (--configure):
    dependency problems - leaving unconfigured
    Errors were encountered while processing:
    kde4libs-bin
    network-manager
    network-manager-gnome

  4. #4
    Join Date
    Apr 2008
    Beans
    Hidden!
    Distro
    Kubuntu 11.10 Oneiric Ocelot

    Re: problem installing updates

    How about this:
    Code:
    sudo apt-get install -f
    I have seen this before on my machine a couple years ago...just having memory issues

    We will get this fixed.

  5. #5
    Join Date
    Sep 2008
    Location
    Auckland, New Zealand
    Beans
    41
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: problem installing updates

    Quote Originally Posted by rreese6 View Post
    How about this:
    Code:
    sudo apt-get install -f
    I have seen this before on my machine a couple years ago...just having memory issues

    We will get this fixed.
    thanks again, but isn't this basically the command that checks for upgrades (similar opening my update manager) which is exactly when the problems start...meaning: after that I get the error message.

  6. #6
    Join Date
    Apr 2008
    Beans
    Hidden!
    Distro
    Kubuntu 11.10 Oneiric Ocelot

    Re: problem installing updates

    yes but it forces things to install.

  7. #7
    Join Date
    Sep 2008
    Location
    Auckland, New Zealand
    Beans
    41
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: problem installing updates

    I now tried:
    Code:
     sudo apt-get autoremove
    and get this:

    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    You might want to run `apt-get -f install' to correct these.
    The following packages have unmet dependencies:
    kde4libs-bin: Depends: kdelibs5 (= 4:4.0.5-0ubuntu1~hardy3) but it is not installed
    E: Unmet dependencies. Try using -f.
    then I try the
    Code:
    sudo apt-get -f install
    and get this:
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    Correcting dependencies... Done
    The following packages were automatically installed and are no longer required:
    libstrigiqtdbusclient0 libclucene0ldbl kdelibs5 glest-data kde-icons-oxygen
    libsoprano4 kdelibs5-data libstreamanalyzer0 libphonon4 libstreams0
    kdebase-runtime-data libxerces27 kde4libs-bin
    Use 'apt-get autoremove' to remove them.
    The following extra packages will be installed:
    kdelibs5 kdelibs5-data
    The following NEW packages will be installed:
    kdelibs5 kdelibs5-data
    0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
    3 not fully installed or removed.
    Need to get 0B/11.3MB of archives.
    After this operation, 43.4MB of additional disk space will be used.
    Do you want to continue [Y/n]?
    I confirm and get:
    (Reading database ... 285665 files and directories currently installed.)
    Unpacking kdelibs5-data (from .../kdelibs5-data_4%3a4.0.5-0ubuntu1~hardy3_all.deb) ...
    dpkg: error processing /var/cache/apt/archives/kdelibs5-data_4%3a4.0.5-0ubuntu1~hardy3_all.deb (--unpack):
    failed in buffer_write(fd) (10, ret=-1): backend dpkg-deb during `./usr/lib/kde4/share/kde4/apps/katepart/syntax/euphoria.xml': No space left on device
    dpkg-deb: subprocess paste killed by signal (Broken pipe)
    Unpacking kdelibs5 (from .../kdelibs5_4%3a4.0.5-0ubuntu1~hardy3_i386.deb) ...
    dpkg: error processing /var/cache/apt/archives/kdelibs5_4%3a4.0.5-0ubuntu1~hardy3_i386.deb (--unpack):
    failed in buffer_write(fd) (10, ret=-1): backend dpkg-deb during `./usr/lib/kde4/lib/kde4/katepart.so': No space left on device
    dpkg-deb: subprocess paste killed by signal (Broken pipe)
    Errors were encountered while processing:
    /var/cache/apt/archives/kdelibs5-data_4%3a4.0.5-0ubuntu1~hardy3_all.deb
    /var/cache/apt/archives/kdelibs5_4%3a4.0.5-0ubuntu1~hardy3_i386.deb
    E: Sub-process /usr/bin/dpkg returned an error code (1)

  8. #8
    Join Date
    Sep 2008
    Location
    Auckland, New Zealand
    Beans
    41
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: problem installing updates

    oh and yeah, I tried the
    Code:
     sudo apt-get install -f
    after which I get the initial error message.

    thanks again, I really appreciate that you waste your time on this!

  9. #9
    Join Date
    Apr 2008
    Beans
    Hidden!
    Distro
    Kubuntu 11.10 Oneiric Ocelot

    Re: problem installing updates

    Man I am tired.. I just saw that your error says
    "No space left on device" Is your hard drive full?

  10. #10
    Join Date
    Sep 2008
    Location
    Auckland, New Zealand
    Beans
    41
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: problem installing updates

    no worries the "no space left" just came after I ran autoremove. This is what my harddrive looks like:

    Filesystem Size Used Avail Use% Mounted on
    /dev/sda1 1.4G 962M 305M 76% /
    varrun 252M 128K 252M 1% /var/run
    varlock 252M 0 252M 0% /var/lock
    udev 252M 68K 252M 1% /dev
    devshm 252M 12K 252M 1% /dev/shm
    lrm 252M 40M 212M 16% /lib/modules/2.6.24-24-386/volatile
    /dev/sda8 60G 26G 31G 46% /home
    /dev/sda6 4.6G 4.6G 0 100% /usr
    /dev/sda7 2.8G 827M 1.9G 31% /var


    Is that the problem then? can I clean it up somehow?
    Last edited by boogey; September 24th, 2009 at 07:35 AM. Reason: kicking out spelling mistakes

Page 1 of 2 12 LastLast

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
  •