Page 3 of 4 FirstFirst 1234 LastLast
Results 21 to 30 of 38

Thread: Ubuntuzilla causing broken packages

  1. #21
    Join Date
    Jan 2006
    Location
    Philadelphia
    Beans
    4,065
    Distro
    Ubuntu 8.10 Intrepid Ibex

    Re: Ubuntuzilla causing broken packages

    Quote Originally Posted by blainep0 View Post
    Perhaps a stupid question, but would it be safe to assume my issue is my own fault? Like I mentioned earlier, the troubled machine has had the ubuntuzilla.py installer at one point but the fresher install has never had it.

    When I did the fresh install, I simply Googled Ubuntuzilla and found the new apt repo, and when I was finished there I went to the other machine and just removed the .py and added the repo.

    Until tonight I'd never seen the plainly wrote out instructions -- "Current users of ubuntuzilla should run "ubuntuzilla.py -a remove -p yourpackage" before installing these packages, to undo the local diversion of /usr/bin/(package) links."

    So in theory (had I not been an idiot and just decided to reformat and install a fresh 10.10 before reading a little deeper) could I have just reinstalled ubuntuzilla.py, then correctly remove it to fix the issue I was having, since it looks like there were some some dpk-divert errors in my log?
    yes, it your case, it seems that all you'd have had to do was to remove the local dpkg diversion for /usr/bin/firefox, and then you'd have been ok....

  2. #22
    Join Date
    Jan 2006
    Location
    Philadelphia
    Beans
    4,065
    Distro
    Ubuntu 8.10 Intrepid Ibex

    Re: Ubuntuzilla causing broken packages

    Quote Originally Posted by lovinglinux View Post
    I guess it was my suggestion. I have already removed the code, but I don't know why it didn't work, since the command was supposed to replace it with the diverted version.

    Perhaps the user should remove all info about firefox and firefox-mozilla-build from dpkg, then install again.
    hey, yea dunno what exactly happened there... but then again i also am not sure what exactly caused this user's problem, since he says he hasn't used the .py script... and to date, everyone with this problem has gotten them for failure to run ubuntizilla.py remove script as the instructions suggest...

  3. #23
    Join Date
    Apr 2008
    Beans
    76

    Re: Ubuntuzilla causing broken packages

    Quote Originally Posted by nanotube View Post
    ah, i guess one of the posts above has instructed you to remove it heh.
    well... two questions then... how about /usr/bin/firefox.ubuntu , can you ls -l that one?

    and also... recreate the /usr/bin/firefox linking to the mozilla build, with this command:
    Code:
    sudo ln -s /opt/firefox/firefox /usr/bin/firefox
    Hi everybody, sorry for the delay. Thanks for all the help by the way.

    I ran ls -l on /usr/bin/firefox.ubuntu and this is what I have:
    Code:
    $ ls -l /usr/bin/firefox.ubuntu
    lrwxrwxrwx 1 root root 32 2010-10-28 22:50 /usr/bin/firefox.ubuntu -> ../lib/firefox-3.6.12/firefox.sh
    I created the link and tried to run
    Code:
    sudo apt-get -f install
    but it failed again with this error:
    Code:
    dpkg: error processing firefox (--configure):
     subprocess installed post-installation script returned error exit status 2
    dpkg: dependency problems prevent configuration of firefox-gnome-support:
     firefox-gnome-support depends on firefox (= 3.6.12+build1+nobinonly-0ubuntu0.10.04.1); however:
      Package firefox is not configured yet.
    dpkg: error processing firefox-gnome-support (--configure):
     dependency problems - leaving unconfigured
    No apport report written because the error message indicates its a followup error from a previous failure.
                              Errors were encountered while processing:
     firefox
     firefox-gnome-support
    E: Sub-process /usr/bin/dpkg returned an error code (1)

  4. #24
    Join Date
    Jan 2006
    Location
    Philadelphia
    Beans
    4,065
    Distro
    Ubuntu 8.10 Intrepid Ibex

    Re: Ubuntuzilla causing broken packages

    first, just to make sure, i want to see if your link is looking right, try
    Code:
    ls -al /usr/bin/firefox
    second, the error seems to suggest that firefox (the ubuntu repos version) is not properly installed... so maybe try "sudo apt-get install firefox" ?

  5. #25
    Join Date
    Apr 2008
    Beans
    76

    Re: Ubuntuzilla causing broken packages

    Quote Originally Posted by nanotube View Post
    first, just to make sure, i want to see if your link is looking right, try
    Code:
    ls -al /usr/bin/firefox
    second, the error seems to suggest that firefox (the ubuntu repos version) is not properly installed... so maybe try "sudo apt-get install firefox" ?
    Sorry for the delay, I was out of town for about a week and a half.

    Here are the results of the ls command:
    Code:
    $ ls -al /usr/bin/firefox
    lrwxrwxrwx 1 root root 20 2010-10-31 22:03 /usr/bin/firefox -> /opt/firefox/firefox
    After running sudo apt-get install firefox I got this error:

    Code:
    Setting up firefox (3.6.12+build1+nobinonly-0ubuntu0.10.04.1) ...
    update-alternatives: error: alternative path /usr/bin/firefox doesn't exist.
    dpkg: error processing firefox (--configure):
     subprocess installed post-installation script returned error exit status 2
    dpkg: dependency problems prevent configuration of firefox-gnome-support:
     firefox-gnome-support depends on firefox (= 3.6.12+build1+nobinonly-0ubuntu0.10.04.1); however:
      Package firefox is not configured yet.
    dpkg: error processing firefox-gnome-support (--configure):
     dependency problems - leaving unconfigured
    No apport report written because the error message indicates its a followup error from a previous failure.
                              Errors were encountered while processing:
     firefox
     firefox-gnome-support
    E: Sub-process /usr/bin/dpkg returned an error code (1)
    So somehow I need to configure firefox?

  6. #26
    Join Date
    Apr 2008
    Beans
    76

    Re: Ubuntuzilla causing broken packages

    So is this a lost cause? How can I get back to no broken packages? Is there some nuclear option?

  7. #27
    Join Date
    Jan 2006
    Location
    Philadelphia
    Beans
    4,065
    Distro
    Ubuntu 8.10 Intrepid Ibex

    Re: Ubuntuzilla causing broken packages

    Quote Originally Posted by griztown View Post
    So is this a lost cause? How can I get back to no broken packages? Is there some nuclear option?
    let's undivert the /usr/bin/firefox symlink:
    Code:
    sudo dpkg-divert --package firefox-mozilla-build --remove --divert /usr/bin/firefox.ubuntu --rename /usr/bin/firefox
    now, check to see where /usr/bin/firefox points you:
    Code:
    ls -al /usr/bin/firefox
    you should see this:
    Code:
    lrwxrwxrwx 1 root root 32 2010-10-28 22:50 /usr/bin/firefox -> ../lib/firefox-3.6.12/firefox.sh
    If that is indeed the case, try running
    Code:
    sudo apt-get install firefox
    and hopefully that'll go through this time.

  8. #28
    Join Date
    Apr 2008
    Beans
    76

    Re: Ubuntuzilla causing broken packages

    Quote Originally Posted by nanotube View Post
    let's undivert the /usr/bin/firefox symlink:
    Code:
    sudo dpkg-divert --package firefox-mozilla-build --remove --divert /usr/bin/firefox.ubuntu --rename /usr/bin/firefox
    Arrrgggh! I can't perform the first command:

    Code:
    Removing `diversion of /usr/bin/firefox to /usr/bin/firefox.ubuntu by firefox-mozilla-build'
    dpkg-divert: rename involves overwriting `/usr/bin/firefox' with
      different file `/usr/bin/firefox.ubuntu', not allowed

  9. #29
    Join Date
    Jan 2006
    Location
    Philadelphia
    Beans
    4,065
    Distro
    Ubuntu 8.10 Intrepid Ibex

    Re: Ubuntuzilla causing broken packages

    ok, so before you do that, then, do
    Code:
    sudo rm -rf /usr/bin/firefox
    from there, follow the steps

  10. #30
    Join Date
    Apr 2008
    Beans
    76

    Re: Ubuntuzilla causing broken packages

    Quote Originally Posted by nanotube View Post
    ok, so before you do that, then, do
    Code:
    sudo rm -rf /usr/bin/firefox
    from there, follow the steps
    Alright! This worked. Now I can use firefox. But when I try and run my update manager, it fails on firefox with this error.

    Code:
    E: /var/cache/apt/archives/firefox-mozilla-build_3.6.12-0ubuntu1_i386.deb: trying to overwrite '/usr/bin/firefox', which is also in package firefox 0
    So do I need to uninstall this firefox package before running the upgrade? I'm wondering if I did something similar that got me into this mess in the first place.

    Thanks!

Page 3 of 4 FirstFirst 1234 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
  •