/var/log/dist-upgrade is empty.
Before I got this bug I was downgrading ff from 7 to 3.6. I followed an 
instruction for 11.04. I think it is because I mixed up versions of Ubuntu. The 
instruction is:
 
Step 1: Edit your software sources to add Maverick
Open your sources.list file:
sudo gedit /etc/apt/sources.list

Add the folowing three lines:
# Maverick, used for firefox and firefox-branding 
deb http://ftp.iinet.net.au/pub/ubuntu/ maverick main 
deb http://ftp.iinet.net.au/pub/ubuntu/ maverick-updates main

Save and close the file

Step 2: Pin the packages firefox and firefox-branding
Create the pin file for firefox:
sudo gedit /etc/apt/preferences.d/firefox

Add the following:
Package: firefox
Pin: release n=natty
Pin-Priority: -10

Package: firefox
Pin: release n=maverick
Pin-Priority: 900

Save and close the file.

Create the pin file for firefox-branding:
sudo gedit /etc/apt/preferences.d/firefox-branding

Add the following:
Package: firefox-branding
Pin: release n=natty
Pin-Priority: -10

Package: firefox-branding
Pin: release n=maverick
Pin-Priority: 900

Save and close the file.

Step 3: Check your apt policy to make sure it worked
Update your apt cache:
sudo apt-get update

Show the apt policy for firefox:
sudo apt-cache policy firefox

Sample output:
sudo apt-cache policy firefox
firefox:
  Installed: 5.0+build1+nobinonly-0ubuntu0.11.04.2
  Candidate: 3.6.18+build2+nobinonly-0ubuntu0.10.10.1
  Package pin: 3.6.18+build2+nobinonly-0ubuntu0.10.10.1
  Version table:
 *** 5.0+build1+nobinonly-0ubuntu0.11.04.2 900
        500 http://ftp.iinet.net.au/pub/ubuntu/ natty-updates/main i386 Packages
        500 http://ftp.iinet.net.au/pub/ubuntu/ natty-security/main i386 
Packages
        100 /var/lib/dpkg/status
     4.0+nobinonly-0ubuntu3 900
        500 http://ftp.iinet.net.au/pub/ubuntu/ natty/main i386 Packages
     3.6.18+build2+nobinonly-0ubuntu0.10.10.1 900
        500 http://ftp.iinet.net.au/pub/ubuntu/ maverick-updates/main i386 
Packages
     3.6.10+build1+nobinonly-0ubuntu3 900
        500 http://ftp.iinet.net.au/pub/ubuntu/ maverick/main i386 Packages

The line you are most interested in is "Candidate".
This indicates the package that apt ranks as the installation candidate.

Repeat this check for firefox-branding
sudo apt-cache policy firefox-branding

Step 4: Install firefox 3.6
Remove firefox 5.x:
sudo apt-get remove firefox

Install firefox 3.6:
sudo apt-get install firefox

And you're done. Enjoy your outdated version of Firefox!

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/884553

Title:
  Could not calculate the upgrade

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/884553/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to