Announcement

Collapse
No announcement yet.

Upgrade Test

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

    Upgrade Test

    The official/recommended way to do upgrade:

    HardyUpgrades/Kubuntu
    https://help.ubuntu.com/community/HardyUpgrades/Kubuntu


    Testing, what will happen if i try to upgrade. This was tested with Kubuntu Gutsy Gibbon (7.10).


    #1 Backup /etc/apt/sources.list

    #2 Remove lock/pin files
    - if you have /etc/apt/preferences and don't need those (note #2)

    #3 Edit sources.list

    kdesudo kate /etc/apt/sources.list

    - disable third party repositories
    - note that, medibuntu uses /etc/apt/sources.list.d/medibuntu.list (note #3).
    - disable developer repositories (ppa /1/)
    - replace (Ctrl+R) gutsy -> hardy

    # 4 Update package lists

    Code:
    logsave update.txt sudo apt-get update
    - check that there are no errors

    logsave - save the output of a command in a logfile
    # 5 Simulate upgrade

    Code:
    logsave upgrade.txt sudo apt-get -s -u dist-upgrade
    man apt-get
    dist-upgrade
    dist-upgrade in addition to performing the function of upgrade,
    also intelligently handles changing dependencies with new versions
    of packages; apt-get has a "smart" conflict resolution system, and
    it will attempt to upgrade the most important packages at the
    expense of less important ones if necessary. The
    /etc/apt/sources.list file contains a list of locations from which
    to retrieve desired package files.

    -s, --simulate, --just-print, --dry-run, --recon, --no-act
    No action; perform a simulation of events that would occur but do
    not actually change the system.

    -u, --show-upgraded
    Show upgraded packages; Print out a list of all packages that are
    to be upgraded.

    Here upgrade.txt tells that

    These packages will be REMOVED:
    appres editres fftw3 fstobdf gimp-helpbrowser gimp-print iceauth ksquirrel
    ksquirrel-libs libclucene0 libexiv2-0...

    These NEW packages will be installed:
    acl avidemux-common bluez-audio check consolekit cpp-4.2 cupsddk
    cupsddk-drivers friendly-recovery g++-4.2 gcc-4.2 hal-cups-utils...

    These packages are left to wait:
    firefox

    These packages will be upgraded:
    acpi-support adduser adept adept-batch adept-common adept-installer
    adept-manager adept-notifier adept-updater akregator alien alsa-base
    alsa-utils amarok...

    1211 updated, 122 new installation, 72 removed and 1 unupdated.

    Note #1
    Some of those packages that will be removed are from Debian Etch (ksquirrel).

    Note #2
    That unupdated (firefox) package => I have pinned (repo version) firefox to the 2.0.11 .

    /etc/apt/preferences has:

    Package: firefox
    Pin: version 2.0.11*
    Pin-Priority: 1001
    Pin version:

    Pinning version
    http://kubuntuforums.net/forums/inde...9271#msg109271
    and
    Topic: how to block the upgrade of a package
    http://kubuntuforums.net/forums/inde...opic=3091451.0


    => So it seems that i have upgradable Kubuntu. <=


    And REMEMBER

    # 6 Change repositories back to the gutsy
    You should have backup of sources.list !

    # 7 Update package list back to the gutsy
    Code:
    sudo apt-get update

    Note #3
    man sources.list(5) tells:
    SOURCES.LIST.D

    The /etc/apt/sources.list.d directory provides a way to add sources.list entries in seperate files that end with .list. The format is the same as for the regular sources.list file.

    /1/ Canonical Announces Launch of Launchpad 'Personal Package Archive' Service For Developers
    http://www.ubuntu.com/news/launchpad-ppa


    More links:

    Topic: Hardy Release Schedule and Plans
    http://kubuntuforums.net/forums/inde...opic=3089283.0

    UpgradeNotes
    https://help.ubuntu.com/community/UpgradeNotes

    Topic: Can update to 8.04 from the command line?
    http://kubuntuforums.net/forums/inde...opic=3092037.0

    APT HOWTO
    http://www.debian.org/doc/manuals/ap.../index.en.html

    => 3.5 Upgrading to a new release
    http://www.debian.org/doc/manuals/ap...s-dist-upgrade
    Before you edit, BACKUP !

    Why there are dead links ?
    1. Thread: Please explain how to access old kubuntu forum posts
    2. Thread: Lost Information
Working...
X