Merge lp:~unit193/ubuntu-release-upgrader/core-upgrades into lp:ubuntu-release-upgrader

Proposed by Unit 193
Status: Merged
Merged at revision: 2870
Proposed branch: lp:~unit193/ubuntu-release-upgrader/core-upgrades
Merge into: lp:ubuntu-release-upgrader
Diff against target: 62 lines (+20/-3) (has conflicts)
2 files modified
data/DistUpgrade.cfg (+10/-3)
debian/changelog (+10/-0)
Text conflict in debian/changelog
To merge this branch: bzr merge lp:~unit193/ubuntu-release-upgrader/core-upgrades
Reviewer Review Type Date Requested Status
Brian Murray Needs Information
Julien Lavergne (community) Approve
Simon Steinbeiß (community) Approve
Pasi Lallinaho (community) community Approve
ԜаӀtеr Ⅼарсһуnѕkі (community) Approve
Review via email: mp+250224@code.launchpad.net

Description of the change

As it is now, if a user installs from the mini.iso and installs the xubuntu-core or lubuntu-core tasks, upon upgrade to the next release they end up getting the full *-desktop meta, this is not desired.

To post a comment you must log in.
Revision history for this message
ԜаӀtеr Ⅼарсһуnѕkі (wxl) wrote :

fwiw, this looks good to me. not the official lubuntu dev, but, i count for something. :)

review: Approve
Revision history for this message
Pasi Lallinaho (knome) wrote :

To confirm that this change is ACK'd community-wise by the Xubuntu Project Lead today on IRC.

review: Approve (community)
Revision history for this message
Simon Steinbeiß (ochosi) wrote :

I'll admit straight away that I don't know enough about the release-upgrader to be able to technically review this MR, I hope ubuntu-core-devs (or someone else more experienced with this) will take care of that part.
However, the change Unit193 describes above is what we want. Approving this as Xubuntu Project Lead.

review: Approve
Revision history for this message
Julien Lavergne (gilir) wrote :

Looks OK to me for the Lubuntu part. Thanks Unit193 :-)
(you just have to remove the >>>>>>> MERGE-SOURCE / <<<<<<< TREE if you want this to be merged :-))

review: Approve
Revision history for this message
Brian Murray (brian-murray) wrote :

Given that neither lubuntu-meta or xubuntu-meta includes ubuntu-release-upgrader-core (which would perform the upgrade and use DistUpgrade.cfg), this seems a bit strange to me.

Could you provide some more information as to what problem you are trying to solve? One way to test your changes would be to run do-release-upgrade then cancel the upgrade after the dist upgrader tarball is downloaded, switch to whatever directory it is in /tmp/ e.g. /tmp/dist-upgrader-XYZ and modify data/DistUpgrade.cfg then run the vivid symlink there as root.

Finally, having lubuntu-core as a key dependency of itself seems rather redundant.

review: Needs Information
Revision history for this message
Unit 193 (unit193) wrote :

Sure, they don't seed that exact package, but both install and use it by installing update-manager as you can see http://cdimage.ubuntu.com/lubuntu/daily-live/current/vivid-desktop-i386.manifest and http://cdimage.ubuntu.com/xubuntu/daily-live/current/vivid-desktop-i386.manifest.

Both seeds/metas have a package and task called $flavor-core, so a user can optionally install only the minimal DE and default config. Currently when you upgrade, as expected $flavor-desktop is pulled in but as the user only wanted the bare minimum of defaults, this is highly undesired.

Yes, you are right there, I added Lubuntu support later after working out with the Xubuntu team how best to do it. Perhaps lubuntu-artwork or lubuntu-default-session would be a better target for that core.

Also, sorry for messing up the merge, seems there's some conflicts.

Revision history for this message
Brian Murray (brian-murray) wrote :

I've installed the xubuntu-core system from a Xubuntu 14.10 mini iso and agree those changes make sense. Could you sort out what makes sense for lubuntu-core? Otherwise, I'll just merge the Xubuntu only changes.

Revision history for this message
Unit 193 (unit193) wrote :

Not hearing back from them, I'd just go with lubuntu-artwork for lubuntu-core's keydeps or just drop it. Want me to try and fix it all up?

Revision history for this message
Julien Lavergne (gilir) wrote :

Sorry for the delay. The keydeps for lubuntu-core could be :
KeyDependencies=lubuntu-artwork, lubuntu-default-settings, openbox
Thanks :-)

Revision history for this message
Brian Murray (brian-murray) wrote :

Okay, that sounds good to me now.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'data/DistUpgrade.cfg'
--- data/DistUpgrade.cfg 2014-11-10 13:12:53 +0000
+++ data/DistUpgrade.cfg 2015-02-18 22:06:22 +0000
@@ -10,9 +10,9 @@
10# Distro contains global information about the upgrade10# Distro contains global information about the upgrade
11[Distro]11[Distro]
12# the meta-pkgs we support12# the meta-pkgs we support
13MetaPkgs=ubuntu-desktop, kubuntu-desktop, xubuntu-desktop, 13MetaPkgs=ubuntu-desktop, kubuntu-desktop, xubuntu-core,
14 ubuntustudio-desktop, mythbuntu-desktop, kubuntu-netbook, 14 xubuntu-desktop, ubuntustudio-desktop, mythbuntu-desktop,
15 lubuntu-desktop, ubuntu-gnome-desktop15 kubuntu-netbook, lubuntu-core, lubuntu-desktop, ubuntu-gnome-desktop
16BaseMetaPkgs=ubuntu-minimal, ubuntu-standard16BaseMetaPkgs=ubuntu-minimal, ubuntu-standard
17Demotions=demoted.cfg17Demotions=demoted.cfg
18#RemoveEssentialOk=sysvinit, sysvutils, belocs-locales-bin18#RemoveEssentialOk=sysvinit, sysvutils, belocs-locales-bin
@@ -60,6 +60,10 @@
60[ubuntu-netbook]60[ubuntu-netbook]
61KeyDependencies=gdm, ubuntu-netbook-default-settings61KeyDependencies=gdm, ubuntu-netbook-default-settings
6262
63[xubuntu-core]
64KeyDependencies=xubuntu-artwork, xubuntu-default-settings, xfwm4
65PostUpgradeRemove=notification-daemon
66
63[xubuntu-desktop]67[xubuntu-desktop]
64KeyDependencies=xubuntu-artwork, xubuntu-default-settings, xfwm468KeyDependencies=xubuntu-artwork, xubuntu-default-settings, xfwm4
65PostUpgradeRemove=notification-daemon69PostUpgradeRemove=notification-daemon
@@ -73,6 +77,9 @@
73[mythbuntu-desktop]77[mythbuntu-desktop]
74KeyDependencies=mythbuntu-artwork, mythbuntu-default-settings78KeyDependencies=mythbuntu-artwork, mythbuntu-default-settings
7579
80[lubuntu-core]
81KeyDependencies=lubuntu-core, lubuntu-default-settings
82
76[lubuntu-desktop]83[lubuntu-desktop]
77KeyDependencies=lubuntu-core, lubuntu-default-settings84KeyDependencies=lubuntu-core, lubuntu-default-settings
7885
7986
=== modified file 'debian/changelog'
--- debian/changelog 2015-02-18 21:59:56 +0000
+++ debian/changelog 2015-02-18 22:06:22 +0000
@@ -1,3 +1,4 @@
1<<<<<<< TREE
1ubuntu-release-upgrader (1:15.04.7) UNRELEASED; urgency=medium2ubuntu-release-upgrader (1:15.04.7) UNRELEASED; urgency=medium
23
3 * Log more information when key packages are not available/downloadable.4 * Log more information when key packages are not available/downloadable.
@@ -6,6 +7,15 @@
67
7 -- Brian Murray <brian@ubuntu.com> Wed, 18 Feb 2015 12:49:07 -08008 -- Brian Murray <brian@ubuntu.com> Wed, 18 Feb 2015 12:49:07 -0800
89
10=======
11ubuntu-release-upgrader (1:15.04.7) UNRELEASED; urgency=medium
12
13 * Fix the upgrade case where the user only has
14 xubuntu-core or lubuntu-core installed.
15
16 -- Unit 193 <unit193@ubuntu.com> Wed, 18 Feb 2015 16:56:59 -0500
17
18>>>>>>> MERGE-SOURCE
9ubuntu-release-upgrader (1:15.04.6) vivid; urgency=medium19ubuntu-release-upgrader (1:15.04.6) vivid; urgency=medium
1020
11 * Port KDE GUIs to native Qt5 versions.21 * Port KDE GUIs to native Qt5 versions.

Subscribers

People subscribed via source and target branches