Announcement

Collapse
No announcement yet.

I can no longer install anything...

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

    I can no longer install anything...

    I've been running HH for a while without any problems, but I recently accidentally removed some packages that I shouldn't have, and now I'm having trouble getting back. I have kde3 and kde4 installed.

    When I run apt-get it always returns
    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:
    kdebase: Depends: konqueror (>= 4:3.5.9-0ubuntu7) but it is not going to be installed
    konqueror-nsplugins: Depends: konqueror but it is not going to be installed
    E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
    So I try to run apt-get -f install and I get...

    Unpacking konqueror (from .../konqueror_4%3a3.5.9-0ubuntu7_amd64.deb) ...
    dpkg: error processing /var/cache/apt/archives/konqueror_4%3a3.5.9-0ubuntu7_amd64.deb (--unpack):
    trying to overwrite `/usr/share/apps/konqueror/servicemenus/media_safelyremove.desktop', which is also in package kio-umountwrapper
    dpkg-deb: subprocess paste killed by signal (Broken pipe)
    Errors were encountered while processing:
    /var/cache/apt/archives/konqueror_4%3a3.5.9-0ubuntu7_amd64.deb
    E: Sub-process /usr/bin/dpkg returned an error code (1)

    I'm officiallly stuck. I've seen other problems like this on the net, but no real solution. Any help??

    #2
    Re: I can no longer install anything...

    make sure your own data is safe, just in case we end up screwing up the whole os

    now, then...
    it seems the "apt-get install --fix-broken" command get stuck because of
    this "/usr/share/apps/konqueror/servicemenus/media_safelyremove.desktop" file

    this file is actually contained in 2 packages:
    1) konqueror (which is obviously not installed)
    2) kio-umountwrapper

    first, let's make sure you're in sync with your repos:
    Code:
    sudo apt-get update
    then...

    let's try and remove kio-umountwrapper and then fix again
    Code:
    sudo apt-get remove kio-umountwrapper
    sudo apt-get install --fix-broken
    if this doesn't fix things...
    try and remove the problematic file by hand and then fix
    Code:
    sudo rm /usr/share/apps/konqueror/servicemenus/media_safelyremove.desktop
    sudo apt-get install --fix-broken
    unfortunately i gotta go now.
    won't be able to see how things are going...
    but will check back asap.

    hth
    gnu/linux is not windoze

    Comment


      #3
      Re: I can no longer install anything...

      Tried it,

      the update didn't return any errors

      the remove kio-umountwrapper returned the same errors that I had gotten before...

      and the fix-broken returned the same errors as before as well... here is the output with a little more info. I cut the stuff that didn't seem relevant before, but maybe it will help.

      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:
      krita-data update-notifier-common libmtp7 kpresenter-data kword-data
      liblua50-dev libaudiofile-dev libart-2.0-dev kivio-data libgpod3-nogtk
      libartsc0-dev libgpod-common python-reportlab libvorbis-dev libpoppler-qt2
      libflac++6 xscreensaver-data libsgutils1 gdebi-core libexiv2-2
      libavahi-client-dev libogg-dev libpqxx-2.6.9ldbl tidy lua50 cvs libidn11-dev
      gnupg-agent libesd0-dev kdeartwork-theme-icon kdeartwork-misc dmz-cursor-theme
      liblualib50-dev kdesdk-scripts libstrigihtmlgui0 kdewallpapers
      kdeartwork-emoticons libwv2-1c2 libsearchclient0 gpgsm gettext-kde
      libtidy-0.99-0 quanta-data scim-modules-socket
      Use 'apt-get autoremove' to remove them.
      The following extra packages will be installed:
      konqueror
      Suggested packages:
      konq-plugins ksvg libgcj7-awt libjessie-java
      The following NEW packages will be installed:
      konqueror
      0 upgraded, 1 newly installed, 0 to remove and 3 not upgraded.
      34 not fully installed or removed.
      Need to get 0B/2072kB of archives.
      After this operation, 6083kB of additional disk space will be used.
      Do you want to continue [Y/n]? Y
      (Reading database ... 164154 files and directories currently installed.)
      Unpacking konqueror (from .../konqueror_4%3a3.5.9-0ubuntu7_amd64.deb) ...
      dpkg: error processing /var/cache/apt/archives/konqueror_4%3a3.5.9-0ubuntu7_amd64.d
      eb (--unpack):
      trying to overwrite `/usr/share/apps/konqueror/servicemenus/media_safelyremove.des
      ktop', which is also in package kio-umountwrapper
      dpkg-deb: subprocess paste killed by signal (Broken pipe)
      Errors were encountered while processing:
      /var/cache/apt/archives/konqueror_4%3a3.5.9-0ubuntu7_amd64.deb
      E: Sub-process /usr/bin/dpkg returned an error code (1)

      I manually removed the media_safely_remove.desktop but i ended up with the same errors... which it truly confusing because that file is no longer on my computer, I checked.


      Comment


        #4
        Re: I can no longer install anything...



        i'd like to double check that you have enough disk space.
        could you please run (from the command line):
        Code:
        df -h
        and also that your repositories file be alright.
        could you please post back here the output of:
        Code:
        cat /etc/apt/sources.list
        ps:
        i have no experience with having kde3 and kde4 installed together.
        could it simply be that the two conflict with one another?
        gnu/linux is not windoze

        Comment


          #5
          Re: I can no longer install anything...

          just found this bug report.
          see if the workaround suggested works for you as well.
          fingers crossed!
          gnu/linux is not windoze

          Comment


            #6
            Re: I can no longer install anything...

            Lots of space...
            Filesystem Size Used Avail Use% Mounted on
            /dev/sdc6 20G 6.7G 13G 36% /
            varrun 1008M 152K 1008M 1% /var/run
            varlock 1008M 0 1008M 0% /var/lock
            udev 1008M 104K 1008M 1% /dev
            devshm 1008M 0 1008M 0% /dev/shm
            /dev/sdc1 5.8G 194M 5.3G 4% /boot
            /dev/sdc7 121G 31G 84G 27% /home
            /dev/sdb1 75G 62G 14G 82% /media/sdb1
            /dev/sda2 75G 7.7G 67G 11% /home/webster/data

            Here are my repositories. I noticed that the last entry is for kde4 from gutsy, but it's commented out so...

            # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
            # newer versions of the distribution.

            deb http://us.archive.ubuntu.com/ubuntu/ hardy main restricted
            deb-src http://us.archive.ubuntu.com/ubuntu/ hardy main restricted

            ## Major bug fix updates produced after the final release of the
            ## distribution.
            deb http://us.archive.ubuntu.com/ubuntu/ hardy-updates main restricted universe
            deb-src http://us.archive.ubuntu.com/ubuntu/ hardy-updates main restricted

            ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
            ## team, and may not be under a free licence. Please satisfy yourself as to
            ## your rights to use the software. Also, please note that software in
            ## universe WILL NOT receive any review or updates from the Ubuntu security
            ## team.
            deb http://us.archive.ubuntu.com/ubuntu/ hardy universe
            deb-src http://us.archive.ubuntu.com/ubuntu/ hardy universe

            ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
            ## team, and may not be under a free licence. Please satisfy yourself as to
            ## your rights to use the software. Also, please note that software in
            ## multiverse WILL NOT receive any review or updates from the Ubuntu
            ## security team.
            deb http://us.archive.ubuntu.com/ubuntu/ hardy multiverse
            deb-src http://us.archive.ubuntu.com/ubuntu/ hardy multiverse

            ## Uncomment the following two lines to add software from the 'backports'
            ## repository.
            ## N.B. software from this repository may not have been tested as
            ## extensively as that contained in the main release, although it includes
            ## newer versions of some applications which may provide useful features.
            ## Also, please note that software in backports WILL NOT receive any review
            ## or updates from the Ubuntu security team.
            # deb-src http://us.archive.ubuntu.com/ubuntu/ feisty-backports main restricted universe multiverse

            deb http://security.ubuntu.com/ubuntu hardy-security main restricted
            deb-src http://security.ubuntu.com/ubuntu hardy-security main restricted
            deb http://security.ubuntu.com/ubuntu hardy-security universe
            deb-src http://security.ubuntu.com/ubuntu hardy-security universe
            deb http://security.ubuntu.com/ubuntu hardy-security multiverse
            deb http://archive.ubuntu.com/ubuntu/ hardy-updates restricted main multiverse universe
            deb http://archive.ubuntu.com/ubuntu/ hardy-backports restricted main multiverse universe
            deb-src http://security.ubuntu.com/ubuntu hardy-security multiverse
            # deb http://packages.medibuntu.org/ feisty free non-free

            #for kde4
            # deb http://ppa.launchpad.net/kubuntu-members-kde4/ubuntu gutsy main

            I'm sure it's a conflict with my kdes. I actually want to remove kde4 since I don't use it much. But I can't add/remove anything at the moment. At least not through apt-get

            Comment


              #7
              Re: I can no longer install anything...

              alright.
              yeah...lots of space.
              that's good.

              while we're at it...
              5.8GB for /boot is waaay too much.
              mine is 256MB and i only use 29MB with 2 sets of kernel stuff.

              your sources.list has some redundancies.
              they shouldn't be a problem, though.

              however, if you installed something from that gutsy kde4 repository,
              that is now commented out...that could cause problems.

              if your kde4 stuff is off that repository, you will have to enable it again.
              remove the kde4 stuff.
              remove that repository.
              then fix the kde3 dependencies.
              gnu/linux is not windoze

              Comment


                #8
                Re: I can no longer install anything...

                the boot thing was autoconfigured by kubuntu, I just didn't bother with it. I know its way more than I need, but disk space is cheap.

                i'll try that with the kde4, what do I have to lose. It was there from when I was using Kubuntu 7 and added kde4 when it was released. When I distribution upgraded, it must have been commented out. I didn't do it by hand anyway.

                The reason all of this started is I was uninstalling qt3 development libraries (I program in qt4 and qt3 kept conflicting). I must have clicked one too many items to uninstall because kde3 ended up being removed. "no big deal" I thought, "I'll just load kde3 back". I did apt-get install kde-core or something, dont remember exactly. Now I have about 2/3 of kde3 going. No adept, no konqueror, no dolphin, no lots of things, but the basic kde3 is up and running.

                Also, I can no longer boot to kde4.

                I have a 8.04 cd sitting here and my data is safe, so I might just do a reinstall. But I would rather figure out what's going on here.

                thanks

                Comment


                  #9
                  Re: I can no longer install anything...

                  ok, i tried enabling the kde4, updated the repositories, and it didn't help. Same problems.

                  Ugg

                  Comment


                    #10
                    Re: I can no longer install anything...

                    you'll have to run
                    Code:
                    sudo apt-get update
                    after re-enabling the repository.
                    before trying again.

                    if even the following, doesn't work
                    Code:
                    sudo dpkg -i --force-all /var/cache/apt/archives/konqueror_4%3a3.5.9-0ubuntu7_amd64.deb
                    then i honesty have run out of suggestions...

                    EDIT:
                    and i reckon we can declare: dependency hell.
                    gnu/linux is not windoze

                    Comment


                      #11
                      Re: I can no longer install anything...

                      you'll have to run
                      Code:

                      sudo apt-get update

                      after re-enabling the repository.
                      before trying again.
                      I did... this ain't my first rodeo

                      Ok, the dpkg thing worked, I now have some kde4 stuff working that wasnt before...As well as konqueror etc...

                      It did return the message


                      Processing triggers for libc6 ...
                      ldconfig deferred processing now taking place
                      Errors were encountered while processing:
                      libqt3-mt
                      libqt3-mt
                      libqt3-mt
                      libqt3-mt
                      libkonq4
                      libqt3-mt
                      libqt3-mt
                      libarts1c2a
                      libkonq4
                      libarts1c2a
                      libavahi-qt3-1
                      kdelibs4c2a
                      libarts1c2a
                      libavahi-qt3-1
                      kdelibs4c2a
                      kdebase-bin-kde3
                      kdebase-bin
                      kdesktop
                      Now, however, apt-get -f install works, so coool... things are looking up! I can install things now...woo hoo.

                      I agree about the dependency hell thing though. I have a feeling even if I get things working, this setup will always be flaky. I see a big probability for a fresh install in my near future.

                      I've gotta do real world things now, but thanks for your help, it looks like it's gonna be ok.

                      Have a great day jankushka.

                      Comment


                        #12
                        Re: I can no longer install anything...

                        cheers, mate!
                        gnu/linux is not windoze

                        Comment

                        Working...
                        X