Announcement

Collapse
No announcement yet.

<SOLVED> Broken Dependencies...?

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

    <SOLVED> Broken Dependencies...?

    As this is my first experience with any distribution of Linux, I really am still learning it. But I do like it so much more than Windows, but my knowledge of fixing problems in that doesn't translate to Linux. I recently have been getting a "broken dependencies" error popping up from notification & jobs. I have narrowed it down to a sun java plugin that firefox tried to install, which failed (but the website that needed it worked fine).

    I have tried using $ sudo aptitude -f remove to get rid of the problem, but it basically says it cant find the file path.

    From Terminal:
    rusty@rusty-desktop:~$ sudo aptitude -f remove
    [sudo] password for rusty:
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    Reading extended state information
    Initializing package states... Done
    The following packages are BROKEN:
    sun-java6-plugin
    The following packages will be REMOVED:
    binutils-static{u}
    0 packages upgraded, 0 newly installed, 1 to remove and 16 not upgraded.
    Need to get 0B of archives. After unpacking 1,425kB will be freed.
    The following packages have unmet dependencies:
    sun-java6-plugin: Depends: sun-java6-bin (= 6-15-1) but it is not installable
    E: I wasn't able to locate a file for the sun-java6-jre package. This might mean you need to manually fix this package. (due to missing arch)
    The following actions will resolve these dependencies:

    Remove the following packages:
    sun-java6-plugin

    Score is 119

    Accept this solution? [Y/n/q/?] y
    The following packages will be REMOVED:
    binutils-static{u} sun-java6-plugin{a}
    0 packages upgraded, 0 newly installed, 2 to remove and 16 not upgraded.
    Need to get 0B of archives. After unpacking 1,479kB will be freed.
    Do you want to continue? [Y/n/?] y
    E: I wasn't able to locate a file for the sun-java6-jre package. This might mean you need to manually fix this package. (due to missing arch)
    Writing extended state information... Done
    E: I wasn't able to locate a file for the sun-java6-jre package. This might mean you need to manually fix this package. (due to missing arch)
    E: Internal error: couldn't generate list of packages to download


    So how do I fix this?


    #2
    Re: Broken Dependencies...?

    Personally, I prefer APT-GET.

    Try this from a Konsole:

    sudo apt-get -f install

    Then do

    sudo apt-get update
    sudo apt-get upgrade

    "A nation that is afraid to let its people judge the truth and falsehood in an open market is a nation that is afraid of its people.”
    – John F. Kennedy, February 26, 1962.

    Comment


      #3
      Re: Broken Dependencies...?

      Thanks for the suggestions, but I run into another issue when I use sudo apt-get -f install. It finds the sun java plugin and tries to install it.

      Then I get this: (see attachment)

      I can scroll through what look to be a license agreement. There is an 'ok' at the bottom, but I cant do anything. I tried pushing 'enter' and clicking the ok at the bottom and nothing happens. All I can do is scroll....

      How do I get past this screen?

      Also, sudo apt-get upgrade gets me to the same spot.
      Attached Files

      Comment


        #4
        Re: Broken Dependencies...?

        You can't get past this screen. To get to the 'ok' button, you must press your tab key to get to the button then press enter. Not intuitive, yes, I know. You have to acknowledge this screen or the java plugin won't be installed.
        Windows no longer obstructs my view.
        Using Kubuntu Linux since March 23, 2007.
        "It is a capital mistake to theorize before one has data." - Sherlock Holmes

        Comment


          #5
          Re: Broken Dependencies...?

          Thank you, I completely forgot to use tab. I do believe that fixed it, I've haven't had any error message pop up.

          Thanks for the help!

          Comment


            #6
            Re: Broken Dependencies...?

            You're welcome. Please return to your first post in this thread and click the modify button and add SOLVED to the subject.
            Windows no longer obstructs my view.
            Using Kubuntu Linux since March 23, 2007.
            "It is a capital mistake to theorize before one has data." - Sherlock Holmes

            Comment

            Working...
            X