sudo apt-get update && sudo apt-get install firefox-3.5 = E: Broken Packages

Asked by benny

1. Open terminal run following command
    echo ‘deb http://ppa.launchpad.net/ubuntu-mozilla-daily/ppa/ubuntu jaunty main’ >> /etc/apt/sources.list
RETURN:
benny@b3nY:~$ echo ‘deb http://ppa.launchpad.net/ubuntu-mozilla-daily/ppa/ubuntu jaunty main’ >> /etc/apt/sources.list
bash: /etc/apt/sources.list: Permission denied

  echo ‘deb-src http://ppa.launchpad.net/ubuntu-mozilla-daily/ppa/ubuntu jaunty main’ >> /etc/apt/sources.list
RETURN:
benny@b3nY:~$ echo ‘deb-src http://ppa.launchpad.net/ubuntu-mozilla-daily/ppa/ubuntu jaunty main’ >> /etc/apt/sources.list
bash: /etc/apt/sources.list: Permission denied

2. Add the Launchpad PPA GPG key:
sudo apt-key adv –keyserver keyserver.ubuntu.com –recv-keys 247510BE
RETURN:
benny@b3nY:~$ sudo apt-key adv –keyserver keyserver.ubuntu.com –recv-keys 247510BE
Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --secret-keyring /etc/apt/secring.gpg --trustdb-name /etc/apt/trustdb.gpg --keyring /etc/apt/trusted.gpg –keyserver keyserver.ubuntu.com –recv-keys 247510BE
usage: gpg [options] [filename]

3. Install firefox-3.5
sudo apt-get update && sudo apt-get install firefox-3.5
RETURN:
benny@b3nY:~$ sudo apt-get update && sudo apt-get install firefox-3.5
Get:1 http://ppa.launchpad.net jaunty Release.gpg [307B]
Ign http://ppa.launchpad.net jaunty/main Translation-en_US
Ign http://deb.playonlinux.com hardy Release.gpg
Ign http://deb.playonlinux.com hardy/main Translation-en_US
Hit http://archive.ubuntu.com hardy Release.gpg
Ign http://archive.ubuntu.com hardy/main Translation-en_US
Get:2 http://deb.playonlinux.com hardy Release [1721B]
Get:3 http://ppa.launchpad.net jaunty Release [74.7kB]
Ign http://archive.ubuntu.com hardy/multiverse Translation-en_US
Ign http://archive.ubuntu.com hardy/universe Translation-en_US
Hit http://archive.ubuntu.com hardy Release
Ign http://deb.playonlinux.com hardy/main Packages
Hit http://archive.ubuntu.com hardy/main Packages
Hit http://deb.playonlinux.com hardy/main Packages
Hit http://archive.ubuntu.com hardy/multiverse Packages
Hit http://archive.ubuntu.com hardy/universe Packages
Get:4 http://ppa.launchpad.net jaunty/main Packages [7655B]
Get:5 http://ppa.launchpad.net jaunty/main Sources [2272B]
Fetched 84.9kB in 11s (7243B/s)
Reading package lists... Done
W: Duplicate sources.list entry http://ppa.launchpad.net jaunty/main Packages (/var/lib/apt/lists/ppa.launchpad.net_ubuntu-mozilla-daily_ppa_ubuntu_dists_jaunty_main_binary-i386_Packages)
W: You may want to run apt-get update to correct these problems
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.

Since you only requested a single operation it is extremely likely that
the package is simply not installable and a bug report against
that package should be filed.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
  firefox-3.5: Depends: xulrunner-1.9.1 (>= 1.9.1) but it is not going to be installed
               Depends: libasound2 (> 1.0.18) but 1.0.15-3ubuntu4 is to be installed
               Depends: libgtk2.0-0 (>= 2.16.0) but 2.12.9-3ubuntu5 is to be installed
               Depends: libnspr4-0d (>= 4.7.3-0ubuntu1~) but 4.7.1+1.9-0ubuntu0.8.04.5 is to be installed
E: Broken packages

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu firefox-3.5 Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

You need to add sudo to the echo commands you ran. You need to read the messages the system gives rather than blindly pasting the next command.

sudo echo ‘deb http://ppa.launchpad.net/ubuntu-mozilla-daily/ppa/ubuntu jaunty main’ >> /etc/apt/sources.list

for example

every command in that list needs sudo

ust an FYI. The OFFICIAL release for firefox will be in the repos really soon. This is some random person's PPA and is not official repo at all.
I recommend you just hang fire about 4 days more and firefox 3.5 will most likely be available as an official update from the official repos.

Revision history for this message
Steve (stupendoussteve-deactivatedaccount) said :
#2

The package for Firefox 3.5 in the repos is firefox-3.5 which in the
normal repo is in Beta 4, but should be getting a security update to
the released version (since anyone using the firefox-3.5 beta version
would be subject to any security bugs). The released version is
currently in the security-testing PPA so I would expect the updated
version relatively soon, but again if you do not install the
firefox-3.5 package then this will do nothing for you.

Firefox 3.5 will probably not be standard for the firefox meta-package
until Karmic unless 3.0 develops security bugs and Mozilla doesn't
update anymore, even then it would probably be a stretch to update
without breaking things.

Revision history for this message
benny (b3ny) said :
#3

No!.. I do test with sudo also was... and denied:
benny@b3nY:~$ sudo echo ‘deb http://ppa.launchpad.net/ubuntu-mozilla-daily/ppa/ubuntu jaunty main’ >> /etc/apt/sources.list
bash: /etc/apt/sources.list: Permission denied

I do agree fyi about sense:
ust an FYI. The OFFICIAL release for firefox will be in the repos really soon. This is some random person's PPA and is not official repo at all.
I recommend you just hang fire about 4 days more and firefox 3.5 will most likely be available as an official update from the official repos.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#4

you can always run:

gksudo gedit /etc/apt/sources.list

and simply paste the lines (match the format of what already exists.

Save the new file, close gedit and run:

sudo apt-get update

you can now run the rest of the instructions.

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#5

The easy way is to use what actionparship has already tell you simply add the requested rows to your /etc/apt/sources.list, but if you want to redirect an echo command to add rows to the file, then please try...

echo 'deb http://ppa.launchpad.net/ubuntu-mozilla-daily/ppa/ubuntu jaunty main' | sudo tee -a /etc/apt/sources.list

Hope this helps

Revision history for this message
benny (b3ny) said :
#6

benny@b3nY:~$ sudo echo 'deb http://ppa.launchpad.net/ubuntu-mozilla-daily/ppa/ubuntu' $(lsb_release -cs)' main' | sudo tee -a /etc/apt/sources.list
deb http://ppa.launchpad.net/ubuntu-mozilla-daily/ppa/ubuntu hardy main
benny@b3nY:~$
benny@b3nY:~$ sudo echo 'deb-src http://ppa.launchpad.net/ubuntu-mozilla-daily/ppa/ubuntu' $(lsb_release -cs)' main' | sudo tee -a /etc/apt/sources.list
deb-src http://ppa.launchpad.net/ubuntu-mozilla-daily/ppa/ubuntu hardy main
benny@b3nY:~$ sudo apt-get update
Ign http://deb.playonlinux.com hardy Release.gpg
Ign http://deb.playonlinux.com hardy/main Translation-en_US
Get:1 http://ppa.launchpad.net jaunty Release.gpg [307B]
Ign http://ppa.launchpad.net jaunty/main Translation-en_US
Get:2 http://wine.budgetdedicated.com hardy Release.gpg [191B]
Ign http://wine.budgetdedicated.com hardy/main Translation-en_US
Hit http://archive.ubuntu.com hardy Release.gpg
Ign http://archive.ubuntu.com hardy/main Translation-en_US
Get:3 http://deb.playonlinux.com hardy Release [1721B]
Get:4 http://ppa.launchpad.net hardy Release.gpg [307B]
Ign http://ppa.launchpad.net hardy/main Translation-en_US
Get:5 http://wine.budgetdedicated.com hardy Release [1016B]
Ign http://archive.ubuntu.com hardy/multiverse Translation-en_US
Ign http://archive.ubuntu.com hardy/universe Translation-en_US
Hit http://archive.ubuntu.com hardy Release
Get:6 http://ppa.launchpad.net jaunty Release [74.7kB]
Ign http://deb.playonlinux.com hardy/main Packages
Hit http://deb.playonlinux.com hardy/main Packages
Ign http://wine.budgetdedicated.com hardy/main Packages
Hit http://archive.ubuntu.com hardy/main Packages
Get:7 http://wine.budgetdedicated.com hardy/main Packages [1266B]
Hit http://archive.ubuntu.com hardy/multiverse Packages
Hit http://archive.ubuntu.com hardy/universe Packages
Get:8 http://ppa.launchpad.net hardy Release [65.9kB]
Get:9 http://ppa.launchpad.net jaunty/main Packages [7651B]
Get:10 http://ppa.launchpad.net jaunty/main Sources [2280B]
Get:11 http://ppa.launchpad.net hardy/main Sources [2260B]
Get:12 http://ppa.launchpad.net hardy/main Packages [7583B]
Fetched 163kB in 5s (28.3kB/s)
Reading package lists... Done
W: Duplicate sources.list entry http://ppa.launchpad.net jaunty/main Packages (/var/lib/apt/lists/ppa.launchpad.net_ubuntu-mozilla-daily_ppa_ubuntu_dists_jaunty_main_binary-i386_Packages)
W: Duplicate sources.list entry http://ppa.launchpad.net hardy/main Packages (/var/lib/apt/lists/ppa.launchpad.net_ubuntu-mozilla-daily_ppa_ubuntu_dists_hardy_main_binary-i386_Packages)
W: Duplicate sources.list entry http://ppa.launchpad.net hardy/main Packages (/var/lib/apt/lists/ppa.launchpad.net_ubuntu-mozilla-daily_ppa_ubuntu_dists_hardy_main_binary-i386_Packages)
W: You may want to run apt-get update to correct these problems
benny@b3nY:~$ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages have been kept back:
  rhythmbox
The following packages will be upgraded:
  wine wine-dev
2 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
Need to get 9666kB of archives.
After this operation, 12.5MB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://wine.budgetdedicated.com hardy/main wine-dev 1.1.24~winehq0~ubuntu~8.04-0ubuntu1 [1395kB]
Get:2 http://wine.budgetdedicated.com hardy/main wine 1.1.24~winehq0~ubuntu~8.04-0ubuntu1 [8270kB]
Fetched 9666kB in 2min55s (55.2kB/s)
(Reading database ... 161245 files and directories currently installed.)
Preparing to replace wine-dev 1.0.0-1ubuntu4~hardy1 (using .../wine-dev_1.1.24~winehq0~ubuntu~8.04-0ubuntu1_i386.deb) ...
Unpacking replacement wine-dev ...
Preparing to replace wine 1.0.0-1ubuntu4~hardy1 (using .../wine_1.1.24~winehq0~ubuntu~8.04-0ubuntu1_i386.deb) ...
Unpacking replacement wine ...
Setting up wine (1.1.24~winehq0~ubuntu~8.04-0ubuntu1) ...

Setting up wine-dev (1.1.24~winehq0~ubuntu~8.04-0ubuntu1) ...
Processing triggers for libc6 ...
ldconfig deferred processing now taking place
benny@b3nY:~$ sudo apt-get install firefox-3.5
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.

Since you only requested a single operation it is extremely likely that
the package is simply not installable and a bug report against
that package should be filed.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
  firefox-3.5: Depends: xulrunner-1.9.1 (>= 1.9.1) but it is not going to be installed
               Depends: libasound2 (> 1.0.18) but 1.0.15-3ubuntu4 is to be installed
               Depends: libgtk2.0-0 (>= 2.16.0) but 2.12.9-3ubuntu5 is to be installed
               Depends: libnspr4-0d (>= 4.7.3-0ubuntu1~) but 4.7.1+1.9-0ubuntu0.8.04.5 is to be installed
E: Broken packages

Revision history for this message
benny (b3ny) said :
#7

benny@b3nY:~$ sudo echo 'deb http://ppa.launchpad.net/ubuntu-mozilla-daily/ppa/ubuntu jaunty main' | sudo tee -a /etc/apt/sources.list
deb http://ppa.launchpad.net/ubuntu-mozilla-daily/ppa/ubuntu jaunty main
benny@b3nY:~$ sudo apt-get update
Ign http://deb.playonlinux.com hardy Release.gpg
Ign http://deb.playonlinux.com hardy/main Translation-en_US
Get:1 http://deb.playonlinux.com hardy Release [1721B]
Hit http://ppa.launchpad.net jaunty Release.gpg
Ign http://ppa.launchpad.net jaunty/main Translation-en_US
Hit http://archive.ubuntu.com hardy Release.gpg
Ign http://archive.ubuntu.com hardy/main Translation-en_US
Ign http://deb.playonlinux.com hardy/main Packages
Hit http://ppa.launchpad.net hardy Release.gpg
Ign http://ppa.launchpad.net hardy/main Translation-en_US
Hit http://ppa.launchpad.net jaunty Release
Ign http://archive.ubuntu.com hardy/multiverse Translation-en_US
Ign http://archive.ubuntu.com hardy/universe Translation-en_US
Hit http://archive.ubuntu.com hardy Release
Hit http://deb.playonlinux.com hardy/main Packages
Hit http://ppa.launchpad.net hardy Release
Hit http://wine.budgetdedicated.com hardy Release.gpg
Ign http://wine.budgetdedicated.com hardy/main Translation-en_US
Hit http://archive.ubuntu.com hardy/main Packages
Hit http://ppa.launchpad.net jaunty/main Packages
Hit http://ppa.launchpad.net jaunty/main Sources
Hit http://wine.budgetdedicated.com hardy Release
Hit http://archive.ubuntu.com hardy/multiverse Packages
Hit http://archive.ubuntu.com hardy/universe Packages
Hit http://ppa.launchpad.net hardy/main Sources
Hit http://ppa.launchpad.net hardy/main Packages
Ign http://wine.budgetdedicated.com hardy/main Packages
Hit http://wine.budgetdedicated.com hardy/main Packages
Fetched 1B in 3s (0B/s)
Reading package lists... Done
benny@b3nY:~$ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages have been kept back:
  rhythmbox
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
benny@b3nY:~$ sudo apt-get install firefox-3.5
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.

Since you only requested a single operation it is extremely likely that
the package is simply not installable and a bug report against
that package should be filed.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
  firefox-3.5: Depends: xulrunner-1.9.1 (>= 1.9.1) but it is not going to be installed
               Depends: libasound2 (> 1.0.18) but 1.0.15-3ubuntu4 is to be installed
               Depends: libgtk2.0-0 (>= 2.16.0) but 2.12.9-3ubuntu5 is to be installed
               Depends: libnspr4-0d (>= 4.7.3-0ubuntu1~) but 4.7.1+1.9-0ubuntu0.8.04.5 is to be installed
E: Broken packages

Revision history for this message
Philip Muškovac (yofel) said :
#8

From your last post:
benny@b3nY:~$ sudo echo 'deb http://ppa.launchpad.net/ubuntu-mozilla-daily/ppa/ubuntu jaunty main' | sudo tee -a /etc/apt/sources.list

you added the lines for the wrong release to your sources.list (note that it says jaunty, not hardy). You need the correct ones, since now apt wants the newer dependencies from jaunty which aren't available for hardy.

Edit your sources list and change the lines from jaunty to hardy so that it says

deb http://ppa.launchpad.net/ubuntu-mozilla-daily/ppa/ubuntu hardy main
deb-src http://ppa.launchpad.net/ubuntu-mozilla-daily/ppa/ubuntu hardy main

Can you help with this problem?

Provide an answer of your own, or ask benny for more information if necessary.

To post a message you must log in.