Announcement

Collapse
No announcement yet.

sudo apt-get -f install

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

    sudo apt-get -f install

    Hi,
    apt-get tells me i should do an "apt-get -f install" to fix some things that have gone wrong but I always get following:
    reg@NovaxPRG-TXXXX:~$ sudo apt-get -f install
    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:
    xaw3dg liblockfile1
    Use 'apt-get autoremove' to remove them.
    The following extra packages will be installed:
    kde4base kde4base-data
    The following NEW packages will be installed:
    kde4base kde4base-data
    0 upgraded, 2 newly installed, 0 to remove and 36 not upgraded.
    2 not fully installed or removed.
    Need to get 0B/101MB of archives.
    After unpacking, 202MB of additional disk space will be used.
    Do you want to continue [Y/n]?
    (Reading database ... 128868 files and directories currently installed.)
    Unpacking kde4base-data (from .../kde4base-data_3.94.0-0ubuntu1_all.deb) ...
    dpkg: error processing /var/cache/apt/archives/kde4base-data_3.94.0-0ubuntu1_all.deb (--unpack):
    trying to overwrite `/usr/lib/kde4/share/kde4/services/kuiserver.desktop', which is also in package kdebase-runtime-data
    dpkg-deb: subprocess paste killed by signal (Broken pipe)
    Unpacking kde4base (from .../kde4base_3.94.0-0ubuntu1_i386.deb) ...
    dpkg: error processing /var/cache/apt/archives/kde4base_3.94.0-0ubuntu1_i386.deb (--unpack):
    trying to overwrite `/usr/lib/kde4/lib/kde4/libexec/kioexec', which is also in package kdebase-runtime
    dpkg-deb: subprocess paste killed by signal (Broken pipe)
    Errors were encountered while processing:
    /var/cache/apt/archives/kde4base-data_3.94.0-0ubuntu1_all.deb
    /var/cache/apt/archives/kde4base_3.94.0-0ubuntu1_i386.deb
    E: Sub-process /usr/bin/dpkg returned an error code (1)
    reg@NovaxPRG-TXXXX:~$
    I don't know why, how can i fix this?

    Thank you!
    Ron
    I'm working on getting logged back into my KDE3 environment. Temporarily i'm using KDE4 but i have some other problems with it, so i'd love to get back into my KDE3 session.

    Thankss!1
    roN

    http://www.inetgate.biz

    #2
    Re: sudo apt-get -f install


    Code:
    sudo dpkg --configure -a
    Code:
    sudo apt-get update
    Code:
    sudo apt-get install
    should clear up any problems with your package manager. Sometime there can be delays in the migration of new packages out to the mirror servers, so you don't want to be too impatient when you see an update fail to complete due to missing packages. you may just need to wait a couple hours and try it again.

    On the KDE3 login, when you see the login GUI, click the white icon beside the password window, and click "Session" and then click "KDE" instead of "KDE4".

    Comment


      #3
      Re: sudo apt-get -f install

      Originally posted by dibl

      Code:
      sudo dpkg --configure -a
      Code:
      sudo apt-get update
      Code:
      sudo apt-get install
      should clear up any problems with your package manager. Sometime there can be delays in the migration of new packages out to the mirror servers, so you don't want to be too impatient when you see an update fail to complete due to missing packages. you may just need to wait a couple hours and try it again.

      On the KDE3 login, when you see the login GUI, click the white icon beside the password window, and click "Session" and then click "KDE" instead of "KDE4".
      reg@NovaxPRG-TXXXX:~$ sudo dpkg --configure -a
      dpkg: dependency problems prevent configuration of kde4artwork:
      kde4artwork depends on kde4base; however:
      Package kde4base is not installed.
      dpkg: error processing kde4artwork (--configure):
      dependency problems - leaving unconfigured
      Errors were encountered while processing:
      kde4artwork
      reg@NovaxPRG-TXXXX:~$

      update went fine

      reg@NovaxPRG-TXXXX:~$ sudo apt-get install
      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:
      kde4artwork: Depends: kde4base but it is not installed
      E: Unmet dependencies. Try using -f.

      reg@NovaxPRG-TXXXX:~$

      Thanks for further help!
      roN

      http://www.inetgate.biz

      Comment


        #4
        Re: sudo apt-get -f install

        hmmm. Well, KDE4 is still pretty new stuff, so we shouldn't be shocked at the occasional mishap. I personally haven't seen this error, but I'm running KDE4 on Hardy Heron which is itself Alpha software (i.e. I have other problems ....).

        So, I guess the obvious thing is to try
        Code:
        sudo apt-get install kde4base
        and let's look at the error output from that.

        Comment

        Working...
        X