BreezyUpgradeNotes

Differences between revisions 2 and 30 (spanning 28 versions)
Revision 2 as of 2005-09-09 13:26:19
Size: 1786
Editor: dsl-202-52-55-156
Comment:
Revision 30 as of 2005-10-15 20:18:36
Size: 8929
Editor: spc1-bexl2-4-0-cust2
Comment: info added about _my_ x problem
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
{{{
Note: This is a work in progress and may break your system!!!
}}}
== Pre Upgrade ==
== Pre-Upgrade ==
 0. Resolve any conflicting packages. Conflicting packages could possibly stop the upgrade, even at a very inconvenient stage. For a common example, if you have the packages mozilla-firefox and firefox installed, you should perform the following:{{{sudo apt-get remove firefox mozilla-firefox
sudo apt-get install mozilla-firefox}}}
 0. It is recommended that you have the "ubuntu-desktop", "kubuntu-desktop", or "edubuntu-desktop" metapackage (depending on which distribution you're running exactly) in order to ensure that you have the full set of default packages. Note that without these metapackages it is '''much''' more likely that you will encounter problems during the upgrade. Ed/k/ubuntu relies on the respective package to perform the successful upgrade.{{{
sudo apt-get install ubuntu-base ubuntu-desktop}}}

== To Upgrade ==

=== With Breezy CD and Synaptic ===
 0. Open up Synaptic Package Manager
 0. Click on "Edit/Add CD-ROM"
 0. Click on "Mark All Upgrades"
 0. Click on "Apply"
 0. See the additional notes below
 0. Note that you need to add the cdrom again with Synaptic "Edit/Add CD-ROM" after the first reboot,this is needed because of new package authentication feature

=== Through Synaptic Package Manager ===

 0. Open up Synaptic Package Manager
 0. Change your repositories to look for Breezy
         From {{{
         URI: http://archive.ubuntu.com/ubuntu/
         Distribution: hoary
         Sections: main restricted}}}
         To {{{
         URI: http://archive.ubuntu.com/ubuntu/
         Distribution: breezy
         Sections: main restricted}}}
 0. Click on "Reload"
 0. Click on "Mark All Upgrades"
 0. Click on "Apply"
Line 24: Line 51:
deb http://archive.ubuntu.com/ubuntu breezy universe multiverse restricted
deb-src http://archive.ubuntu.com/ubuntu breezy universe multiverse restricted
deb http://archive.ubuntu.com/ubuntu breezy main universe multiverse restricted
deb-src http://archive.ubuntu.com/ubuntu breezy main universe multiverse restricted
Line 35: Line 62:
 
Note: if you're not going to compile Ubuntu packages yourself, you may comment out the lines beginning with deb-src. If you don't know what that means, this applies to you. :) Comment out a line by adding at least one # character at the beginning of the line, as in the example above. Typically, two #'s are used for a textual comment, and one # is used to disable a source.
Line 38: Line 66:
 0. It is recommended that you install the `ubuntu-base` and `ubuntu-desktop` metapackages in order to ensure that you have the full set of default packages. Note that without these metapackages it is '''much''' more likely that you will encounter problems during the upgrade.{{{
sudo apt-get install ubuntu-base ubuntu-desktop}}}
 0. If not running NFS as either client or server, remove portmap, as it's no longer needed: {{{
sudo apt-get --purge remove portmap}}}
 0. If you are without some localisations, you may find that it is necessary to install language-pack-xx, language-pack-xx-base and language-support-xx (where xx = your language code).
 0. Start "update-notifier" and save your gnome-session if you want update notification automatically

 0. Check your /etc/X11/xorg.conf settings
   If you have manually edited your /etc/X11/xorg.conf file, check for these lines:
   {{{
FontPath "/usr/lib/X11/fonts/misc"
   }}}
   The location of the fonts have changed, change all occurences of that into
   {{{
FontPath "/usr/share/X11/fonts/misc"
   }}}
   Do this for all the other lines as well, but be sure to keep the ending of the lines the same! so a line ending with 100dpi/:unscaled should still end with that, only change the 'lib' to 'share' in the configuration file
Line 41: Line 83:

== Mirror servers ==
The bandwidth of the main Ubuntu server is not infinite. If you have a very low transfer rate, it is advisable for you to use a mirror. You can find a list of mirrors at https://wiki.ubuntu.com/Archive (this list hasn't been reviewed for a long time and some of these servers may be down). It was made for warty, but notice that these servers are regularly synced with the main server, so you will find breezy packages there as well. Try to find a server which is located somewhere in your country or somewhere close to you.

You will probably ask how to use a mirror instead of the main Ubuntu repository. It's quite simple. First find a server suitable for you (e.g.choose one from here https://wiki.ubuntu.com/Archive). I will use a German mirror as an example - http://debian.charite.de/ubuntu/.

 0. Open up a terminal
 0. sudo gedit /etc/apt/sources.list
 0. and now modify the address of the server. if you used the default settings shown above you will see
{{{
deb http://archive.ubuntu.com/ubuntu breezy main universe multiverse restricted
deb-src http://archive.ubuntu.com/ubuntu breezy main universe multiverse restricted
}}}

 just change it to
{{{
deb http://debian.charite.de/ubuntu/ breezy main universe multiverse restricted
deb-src http://debian.charite.de/ubuntu/ breezy main universe multiverse restricted
}}}

 0. sudo apt-get update
 0. and you're ready to go
 
= Comments =
== Comments for this upgrade ==
 0. NDISWrapper would not load as a kernel module after my upgrade. I kept getting the error: ''FATAL: Error inserting ndiswrapper (/lib/modules/2.6.12-9-686-smp/kernel/drivers/net/ndiswrapper/ndiswrapper.ko): Operation not permitted''. To get NDISWrapper to work correctly, I had to do the following:{{{
 1. Uninstall the current driver. Use ''ndiswrapper -l'' to get the name of the loaded driver,
    then ''ndiswrapper -e NAME'' to remove the currently installed driver.
 2. Reinstall the driver with the comment ''ndiswrapper -i DRIVER.inf'' using your windows driver.
 3. You should now be able to ''modprobe ndiswrapper'' successfully.}}}

------


My upgrade has completely killed X, probably because of the nvidia drivers I had installed.

   ''Details, please.''

''adam mcgreggor, 20051015'' if it's anything like my borkenness (also with a Nvida gpu), gdm will Just Not Launch, even after
{{{dpkg-reconfigure xserver-xorg
}}}

In my case, X fails to load, throwing up a generic 'probably malconfigured' notice, and then hanging, leaving me to

{{{kill
}}}

the {g|x}dm process. Any hints welcomed... [if my lspci output & xorg.conf would be useful, that can be done]

------

If you're upgrading using Synaptic and your upgrade seems to have paused at the "Installing software" stage, click ">Terminal" to uncollapse the terminal subwindow and check it's not
stopped waiting for user input! Mine was asking if I wanted to restart services after an
nsswitch upgrade.

------

No information is given about how to find out what the list of conflicting packages is, or even what a conflicting package is.

----------

The upgrade is typically of the order of 500+ MB, with OpenOffice.org alone weighing in at ~150 MB. So, dial-up users may want to keep this in mind, possibly using the -d instruction to apt-get in order to spread the download over several dial-up sessions. {{{sudo apt-get -d dist-upgrade}}} will only download until it gets everything or is interrupted by the user, and will resume where it left of if run again later. Then you can start the actual upgrade when you have time to answer any questions (which will happen either at the beginning or the end, typically), using the same command without the -d, as mentioned earlier in the article.

http://slashdot.org/comments.pl?sid=165161&cid=13787416



== Comments copied from the HoaryUpgrade ==
 0. Only problem I ran into was I needed to reconfigure X which was solved with a {{{sudo dpkg-reconfigure xserver-xorg}}}
 0. If using the fglrx-driver package in Hoary, install xorg-driver-fglrx in Breezy
 0. Some systems may require extra action to create /dev/cdrom symlinks on boot if desired: {{{
cd /etc/udev/rules.d
sudo ln -s ../cd-aliases.rules
}}}
   See https://bugzilla.ubuntu.com/show_bug.cgi?id=7789#c3

 0. For all ATI video card users, make sure to get the xorg ATI driver before restart. You can obtain that by "sudo apt-get install xorg-driver-fglrx"

Pre-Upgrade

  1. Resolve any conflicting packages. Conflicting packages could possibly stop the upgrade, even at a very inconvenient stage. For a common example, if you have the packages mozilla-firefox and firefox installed, you should perform the following:{{{sudo apt-get remove firefox mozilla-firefox

sudo apt-get install mozilla-firefox}}}

  1. It is recommended that you have the "ubuntu-desktop", "kubuntu-desktop", or "edubuntu-desktop" metapackage (depending on which distribution you're running exactly) in order to ensure that you have the full set of default packages. Note that without these metapackages it is much more likely that you will encounter problems during the upgrade. Ed/k/ubuntu relies on the respective package to perform the successful upgrade.

    sudo apt-get install ubuntu-base ubuntu-desktop

To Upgrade

With Breezy CD and Synaptic

  1. Open up Synaptic Package Manager
  2. Click on "Edit/Add CD-ROM"
  3. Click on "Mark All Upgrades"
  4. Click on "Apply"
  5. See the additional notes below
  6. Note that you need to add the cdrom again with Synaptic "Edit/Add CD-ROM" after the first reboot,this is needed because of new package authentication feature

Through Synaptic Package Manager

  1. Open up Synaptic Package Manager
  2. Change your repositories to look for Breezy
    • From

               URI: http://archive.ubuntu.com/ubuntu/
               Distribution: hoary
               Sections: main restricted

      To

               URI: http://archive.ubuntu.com/ubuntu/
               Distribution: breezy
               Sections: main restricted
  3. Click on "Reload"
  4. Click on "Mark All Upgrades"
  5. Click on "Apply"

Apt-Get

  1. Open up a terminal
  2. sudo gedit /etc/apt/sources.list
  3. Replace with the following:

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

## Uncomment the following two lines to add software from the 'universe'
## repository.
## 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://archive.ubuntu.com/ubuntu breezy main universe multiverse restricted
deb-src http://archive.ubuntu.com/ubuntu breezy main universe multiverse restricted

deb http://security.ubuntu.com/ubuntu breezy-security main restricted
deb-src http://security.ubuntu.com/ubuntu breezy-security main restricted

deb http://security.ubuntu.com/ubuntu breezy-security universe
deb-src http://security.ubuntu.com/ubuntu breezy-security universe
  1. sudo apt-get update
  2. sudo apt-get dist-upgrade

Note: if you're not going to compile Ubuntu packages yourself, you may comment out the lines beginning with deb-src. If you don't know what that means, this applies to you. Smile :) Comment out a line by adding at least one # character at the beginning of the line, as in the example above. Typically, two #'s are used for a textual comment, and one # is used to disable a source.

Post-Upgrade

  1. If not running NFS as either client or server, remove portmap, as it's no longer needed:

    sudo apt-get --purge remove portmap
  2. If you are without some localisations, you may find that it is necessary to install language-pack-xx, language-pack-xx-base and language-support-xx (where xx = your language code).
  3. Start "update-notifier" and save your gnome-session if you want update notification automatically
  4. Check your /etc/X11/xorg.conf settings
    • If you have manually edited your /etc/X11/xorg.conf file, check for these lines:
      FontPath        "/usr/lib/X11/fonts/misc"
      The location of the fonts have changed, change all occurences of that into
      FontPath        "/usr/share/X11/fonts/misc"
      Do this for all the other lines as well, but be sure to keep the ending of the lines the same! so a line ending with 100dpi/:unscaled should still end with that, only change the 'lib' to 'share' in the configuration file
  5. Reboot in order to effect all changes (XFree86 to X.org, kernel upgrade, etc.)

Mirror servers

The bandwidth of the main Ubuntu server is not infinite. If you have a very low transfer rate, it is advisable for you to use a mirror. You can find a list of mirrors at https://wiki.ubuntu.com/Archive (this list hasn't been reviewed for a long time and some of these servers may be down). It was made for warty, but notice that these servers are regularly synced with the main server, so you will find breezy packages there as well. Try to find a server which is located somewhere in your country or somewhere close to you.

You will probably ask how to use a mirror instead of the main Ubuntu repository. It's quite simple. First find a server suitable for you (e.g.choose one from here https://wiki.ubuntu.com/Archive). I will use a German mirror as an example - http://debian.charite.de/ubuntu/.

  1. Open up a terminal
  2. sudo gedit /etc/apt/sources.list
  3. and now modify the address of the server. if you used the default settings shown above you will see

deb http://archive.ubuntu.com/ubuntu breezy main universe multiverse restricted
deb-src http://archive.ubuntu.com/ubuntu breezy main universe multiverse restricted
  • just change it to

deb http://debian.charite.de/ubuntu/ breezy main universe multiverse restricted
deb-src http://debian.charite.de/ubuntu/ breezy main universe multiverse restricted
  1. sudo apt-get update
  2. and you're ready to go

Comments

Comments for this upgrade

  1. NDISWrapper would not load as a kernel module after my upgrade. I kept getting the error: FATAL: Error inserting ndiswrapper (/lib/modules/2.6.12-9-686-smp/kernel/drivers/net/ndiswrapper/ndiswrapper.ko): Operation not permitted. To get NDISWrapper to work correctly, I had to do the following:

     1. Uninstall the current driver. Use ''ndiswrapper -l'' to get the name of the loaded driver,
        then ''ndiswrapper -e NAME'' to remove the currently installed driver.
     2. Reinstall the driver with the comment ''ndiswrapper -i DRIVER.inf'' using your windows driver.
     3. You should now be able to ''modprobe ndiswrapper'' successfully.


My upgrade has completely killed X, probably because of the nvidia drivers I had installed.

  • Details, please.

adam mcgreggor, 20051015 if it's anything like my borkenness (also with a Nvida gpu), gdm will Just Not Launch, even after {{{dpkg-reconfigure xserver-xorg }}}

In my case, X fails to load, throwing up a generic 'probably malconfigured' notice, and then hanging, leaving me to

BreezyUpgradeNotes (last edited 2008-08-06 17:00:49 by localhost)