Merge ~mikbuch/ubuntu/+source/ubuntu-release-upgrader:ubuntu/impish into ubuntu/+source/ubuntu-release-upgrader:ubuntu/impish

Proposed by Mikolaj Buchwald
Status: Needs review
Proposed branch: ~mikbuch/ubuntu/+source/ubuntu-release-upgrader:ubuntu/impish
Merge into: ubuntu/+source/ubuntu-release-upgrader:ubuntu/impish
Diff against target: 333 lines (+321/-0)
2 files modified
data/DistUpgrade.cfg.groovy (+131/-0)
data/demoted.cfg.groovy (+190/-0)
Reviewer Review Type Date Requested Status
Brian Murray (community) Disapprove
Review via email: mp+425341@code.launchpad.net

Commit message

Bug #1975533 support for upgrading from Groovy to Impish

Description of the change

As Brain Murray suggested, I added `DistUpgrade.cfg.groovy` and `demoted.cfg.groovy` (see https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1975533).

To post a comment you must log in.
Revision history for this message
Brian Murray (brian-murray) wrote :

Thanks for working on this, I'll get it merged and uploaded shortly.

Revision history for this message
Mikolaj Buchwald (mikbuch) wrote :

No problem, I'm glad I could help. Keep the good work with the upgrader going!

Revision history for this message
Brian Murray (brian-murray) wrote :
review: Disapprove
Revision history for this message
Mikolaj Buchwald (mikbuch) wrote :

My bad, wrong branch. Thank you for the commit to the proper branch.

Unmerged commits

c142cd1... by Mikolaj Buchwald

#1975533 Support for upgrading Ubuntu Groovy to Impish

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1diff --git a/data/DistUpgrade.cfg.groovy b/data/DistUpgrade.cfg.groovy
2new file mode 100644
3index 0000000..6e0c3b2
4--- /dev/null
5+++ b/data/DistUpgrade.cfg.groovy
6@@ -0,0 +1,131 @@
7+[View]
8+# the views will be tried in this order, if one fails to import, the next
9+# is tried
10+View=DistUpgradeViewGtk3,DistUpgradeViewKDE,DistUpgradeViewText
11+#View=DistUpgradeViewNonInteractive
12+#Depends= apt (>= 1.0.10.2ubuntu2)
13+# the views below support upgrades over ssh connection
14+SupportSSH=DistUpgradeViewText,DistUpgradeViewNonInteractive
15+
16+# Distro contains global information about the upgrade
17+[Distro]
18+# the meta-pkgs we support
19+MetaPkgs=ubuntu-desktop, kubuntu-desktop, xubuntu-core,
20+ xubuntu-desktop, ubuntustudio-desktop, mythbuntu-desktop,
21+ kubuntu-netbook, lubuntu-desktop, ubuntu-gnome-desktop,
22+ ubuntu-mate-core, ubuntu-mate-desktop,
23+ ubuntukylin-desktop, ubuntu-budgie-desktop
24+BaseMetaPkgs=ubuntu-minimal, ubuntu-standard
25+# minimal & standard, are handed via BaseMetaPkgs rule
26+# ubuntu-core is left-over task we forgot to remove
27+IgnoredTasks=minimal, standard, ubuntu-core
28+Demotions=demoted.cfg.focal
29+#RemoveEssentialOk=sysvinit, sysvutils, belocs-locales-bin
30+RemovalBlacklistFile=removal_blacklist.cfg
31+# if those packages were installed, make sure to keep them installed
32+KeepInstalledPkgs=xserver-xorg-video-all
33+KeepInstalledSection=translations
34+RemoveObsoletes=yes
35+PurgeObsoletes=yes
36+#ForcedObsoletes=ksplash-engine-moodin, powernowd, laptop-mode-tools
37+# hints for for stuff that should be done right after the cache calculated
38+# the dist-upgrade (not to be confused with the PostUpgrade hooks in the
39+# quirks handling)
40+#PostUpgradePurge=linux-restricted-modules-common
41+#PostUpgradeRemove=xsettings-kde
42+#PostUpgradeUpgrade=brasero,edubuntu-desktop
43+#PostUpgradeInstall=apt
44+PostInstallScripts=./xorg_fix_proprietary.py
45+EnableApport=yes
46+# this supported blacklisting certain versions to ensure we do not upgrade
47+# - blcr-dkms fails to build on kernel 2.6.35
48+#BadVersions=blcr-dkms_0.8.2-13
49+# ubiquity slideshow
50+#SlideshowUrl=http://people.canonical.com/~mvo/ubiquity-slideshow-upgrade/slides/
51+
52+# information about the individual meta-pkgs
53+[ubuntu-desktop]
54+KeyDependencies=lightdm, unity, ubuntu-artwork, ubuntu-sounds
55+# those pkgs will be marked remove right after the distUpgrade in the cache
56+PostUpgradeRemove=gnome-cups-manager, powermanagement-interface, deskbar-applet, nautilus-cd-burner
57+ForcedObsoletes=desktop-effects, gnome-app-install, policykit-gnome, gnome-mount
58+
59+[kubuntu-desktop]
60+KeyDependencies=plasma-desktop, kubuntu-settings-desktop
61+PostUpgradeRemove=powermanagement-interface, guidance-power-manager, kde-guidance-powermanager, kmix
62+# those packages are marked as obsolete right after the upgrade
63+ForcedObsoletes=ivman, gtk-qt-engine
64+# help the resolver a bit: LP: #1426132
65+PostUpgradeInstall=baloo-kf5
66+
67+[kubuntu-netbook]
68+KeyDependencies=plasma-netbook, kubuntu-settings-netbook
69+
70+[ubuntu-netbook]
71+KeyDependencies=gdm, ubuntu-netbook-default-settings
72+
73+[xubuntu-core]
74+KeyDependencies=xubuntu-artwork, xubuntu-default-settings, xfwm4
75+PostUpgradeRemove=notification-daemon
76+
77+[xubuntu-desktop]
78+KeyDependencies=xubuntu-artwork, xubuntu-default-settings, xfwm4
79+PostUpgradeRemove=notification-daemon
80+
81+[ubuntustudio-desktop]
82+KeyDependencies=ubuntustudio-default-settings, ubuntustudio-look
83+
84+[ichthux-desktop]
85+KeyDependencies=ichthux-artwork, ichthux-default-settings
86+
87+[mythbuntu-desktop]
88+KeyDependencies=mythbuntu-artwork, mythbuntu-default-settings
89+
90+[lubuntu-desktop]
91+KeyDependencies=lubuntu-artwork, lubuntu-default-settings
92+
93+[ubuntu-gnome-desktop]
94+KeyDependencies=ubuntu-gnome-default-settings, ubuntu-gnome-wallpapers
95+
96+[ubuntu-mate-core]
97+KeyDependencies=mate-desktop-environment-core, ubuntu-mate-default-settings, marco
98+PostUpgradeRemove=ibus,lightdm-gtk-greeter,lightdm-gtk-greeter-settings
99+
100+[ubuntu-mate-desktop]
101+KeyDependencies=ubuntu-mate-core, deja-dup-caja
102+PostUpgradeRemove=ibus,lightdm-gtk-greeter,lightdm-gtk-greeter-settings
103+
104+[ubuntukylin-desktop]
105+KeyDependencies=ubuntukylin-keyring, ubuntukylin-wallpapers, ubuntu-kylin-docs
106+
107+[ubuntu-budgie-desktop]
108+KeyDependencies=budgie-desktop-environment, budgie-welcome, ubuntu-budgie-themes
109+
110+[Files]
111+BackupExt=distUpgrade
112+LogDir=/var/log/dist-upgrade/
113+
114+[Sources]
115+From=groovy
116+To=impish
117+ValidOrigin=Ubuntu
118+ValidMirrors = mirrors.cfg
119+Components=main,restricted,universe,multiverse
120+Pockets=security,updates,proposed,backports
121+;AllowThirdParty=False
122+
123+;[PreRequists]
124+;Packages=release-upgrader-apt,release-upgrader-dpkg
125+;SourcesList=prerequists-sources.list
126+;SourcesList-ia64=prerequists-sources.ports.list
127+;SourcesList-hppa=prerequists-sources.ports.list
128+
129+[Network]
130+MaxRetries=3
131+
132+[NonInteractive]
133+ForceOverwrite=yes
134+RealReboot=no
135+DebugBrokenScripts=no
136+DpkgProgressLog=no
137+;TerminalTimeout=2400
138diff --git a/data/demoted.cfg.groovy b/data/demoted.cfg.groovy
139new file mode 100644
140index 0000000..db31d5b
141--- /dev/null
142+++ b/data/demoted.cfg.groovy
143@@ -0,0 +1,190 @@
144+# demoted packages from focal to impish
145+apparmor-notify
146+appstream-doc
147+appstream-glib-doc
148+apt-clone
149+at
150+cpp-9
151+cpp-9-aarch64-linux-gnu
152+cpp-9-arm-linux-gnueabihf
153+cpp-9-doc
154+cpp-9-powerpc64le-linux-gnu
155+cpp-9-s390x-linux-gnu
156+drac-dev
157+fonts-arabeyes
158+g++-9
159+g++-9-aarch64-linux-gnu
160+g++-9-arm-linux-gnueabihf
161+g++-9-multilib
162+g++-9-powerpc64le-linux-gnu
163+g++-9-s390x-linux-gnu
164+gcc-10-cross-base
165+gcc-9
166+gcc-9-aarch64-linux-gnu
167+gcc-9-aarch64-linux-gnu-base
168+gcc-9-arm-linux-gnueabihf
169+gcc-9-arm-linux-gnueabihf-base
170+gcc-9-base
171+gcc-9-cross-base
172+gcc-9-doc
173+gcc-9-multilib
174+gcc-9-powerpc64le-linux-gnu
175+gcc-9-powerpc64le-linux-gnu-base
176+gcc-9-s390x-linux-gnu
177+gcc-9-s390x-linux-gnu-base
178+gfortran-9
179+gfortran-9-doc
180+gfortran-9-multilib
181+gfxboot
182+gfxboot-dev
183+gir1.2-amtk-5
184+gir1.2-appindicator3-0.1
185+gir1.2-appstreamglib-1.0
186+gnome-software
187+gnome-software-common
188+gnome-software-dev
189+gnome-software-doc
190+gnome-software-plugin-snap
191+golang-1.13
192+golang-1.13-doc
193+golang-1.13-go
194+golang-1.13-race-detector-runtime
195+golang-1.13-src
196+golang-github-opencontainers-runc-dev
197+golang-github-snapcore-snapd-dev
198+golang-github-ubuntu-core-snappy-dev
199+golang-redhat-audit-dev
200+gutenprint-doc
201+initramfs-tools-devices
202+isolinux
203+jasper
204+lib32asan5
205+lib32gcc-9-dev
206+lib32gfortran-9-dev
207+lib32go-9-dev
208+lib32go14
209+lib32stdc++-9-dev
210+lib64asan5
211+lib64gcc-9-dev
212+lib64gfortran-9-dev
213+lib64go-9-dev
214+lib64go14
215+lib64stdc++-9-dev
216+libamtk-5-0
217+libamtk-5-common
218+libamtk-5-dev
219+libapparmor-perl
220+libappindicator-doc
221+libappindicator3-1
222+libappindicator3-dev
223+libappstream-glib-dev
224+libappstream-glib8
225+libasan5
226+libasan5-arm64-cross
227+libasan5-armhf-cross
228+libasan5-ppc64el-cross
229+libasan5-s390x-cross
230+libasync-mergepoint-perl
231+libboost-filesystem-dev
232+libboost-system-dev
233+libconfig-general-perl
234+libcppunit-subunit-dev
235+libcppunit-subunit0
236+libcuda1-340
237+libemail-valid-perl
238+libffi7
239+libfuture-perl
240+libgcc-9-dev
241+libgcc-9-dev-arm64-cross
242+libgcc-9-dev-armhf-cross
243+libgcc-9-dev-ppc64el-cross
244+libgcc-9-dev-s390x-cross
245+libgfortran-9-dev
246+libgo-9-dev
247+libgo14
248+libgutenprint-dev
249+libgutenprint-doc
250+libio-async-loop-epoll-perl
251+libio-async-perl
252+libjs-modernizr
253+liblinux-epoll-perl
254+libllvm9
255+liblua5.2-0
256+liblua5.2-0-dbg
257+liblua5.2-dev
258+libnss-extrausers
259+libnss-myhostname
260+libnvidia-extra-440
261+libopenobex2
262+libopenobex2-dev
263+libpfm4
264+libpfm4-dev
265+libsereal-perl
266+libsss-sudo
267+libstdc++-9-dev
268+libstdc++-9-dev-arm64-cross
269+libstdc++-9-dev-armhf-cross
270+libstdc++-9-dev-ppc64el-cross
271+libstdc++-9-dev-s390x-cross
272+libstdc++-9-doc
273+libstdc++-9-pic
274+libstruct-dumb-perl
275+libsubunit-dev
276+libsubunit0
277+libtest-fatal-perl
278+libtest-refcount-perl
279+libtext-levenshtein-perl
280+libvirt-daemon-driver-storage-rbd
281+libx32asan5
282+libx32gcc-9-dev
283+libx32gfortran-9-dev
284+libx32go-9-dev
285+libx32go14
286+libx32stdc++-9-dev
287+libxml-writer-perl
288+libxmlrpc-epi-dev
289+libxmlrpc-epi0
290+libxmlrpc-epi0-dbg
291+lilo
292+lilo-doc
293+lua5.2-doc
294+lz4
295+mutter
296+nvidia-opencl-icd-340
297+ocl-icd-dev
298+ocl-icd-libopencl1
299+ocl-icd-opencl-dev
300+oem-config-debconf
301+opencl-c-headers
302+openobex-apps
303+psf-unifont
304+python-genshi-doc
305+python-polib-doc
306+python3-astroid
307+python3-entrypoints
308+python3-feedparser
309+python3-genshi
310+python3-kazoo
311+python3-lazy-object-proxy
312+python3-logilab-common
313+python3-nine
314+python3-pep8
315+python3-polib
316+python3-pyxs
317+python3-requests-unixsocket
318+python3-scripttest
319+python3-subunit
320+python3-testrepository
321+python3-zake
322+qemu
323+seccomp
324+syslinux
325+tegaki-zinnia-japanese
326+tgt
327+ttf-unifont
328+ubuntu-core-snapd-units
329+ubuntu-fan
330+ubuntu-wallpapers-focal
331+unifont
332+vino
333+xfonts-unifont

Subscribers

People subscribed via source and target branches