Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
aims-desktop
aims-desktop-metapackages
Commits
d49fc5d4
Commit
d49fc5d4
authored
Jul 12, 2019
by
Jan Groenewald
Browse files
in aims-release-upgrade disable sources containing ubuntu codenames
parent
394a8fe2
Changes
2
Show whitespace changes
Inline
Side-by-side
2018.1/aims-desktop-2017/bin/aims-release-upgrade
View file @
d49fc5d4
...
...
@@ -32,9 +32,12 @@ echo " * Remove packages that are no longer needed... "
apt-get
-y
autoremove
# Update to buster
echo
"Commencing upgrade from Debian 9 Stretch to Debian 10 Buster."
echo
"Updating sources..."
[
-f
/etc/apt/sources.list.d
]
&&
mv
-f
/etc/apt/sources.list.d/jessie.list /etc/apt/sources.list.d/jessie.list.disabled
echo
" * Commencing upgrade from Debian 9 Stretch to Debian 10 Buster."
echo
" * Updating sources..."
[
-f
/etc/apt/sources.list.d/jessie.list
]
&&
mv
-f
/etc/apt/sources.list.d/jessie.list /etc/apt/sources.list.d/jessie.list.disabled
for
i
in
/etc/apt/sources.list.d/
*
.list
;
do
egrep
'trusty|xenial|bionic|artful|cosmic|disco'
$i
&&
mv
-f
$i
$i
.disabled
;
done
sed
--in-place
"s/stretch/buster/g"
/etc/apt/sources.list /etc/apt/sources.list.d/
*
2> /dev/null
echo
" * Updating package list..."
...
...
@@ -52,7 +55,7 @@ apt-get $DPKG_OPTIONS --yes --quiet install aims-desktop
echo
" * Remove packages that are no longer needed... "
apt-get
$DPKG_OPTIONS
--yes
--quiet
autoremove
# R packages must be compiled against current version of R
# R packages must be
re-
compiled against current version of R
# including the IRkernel we installed for stretch
rm
-rf
/usr/local/lib/R/site-library/
*
aims-install-rstudio
...
...
2018.1/aims-desktop-2017/debian/changelog
View file @
d49fc5d4
aims-desktop (1:2019.07.12) stretch; urgency=medium
* In aims-release-upgrade disable sources containing ubuntu codenames
-- Jan Groenewald <jan@aims.ac.za> Fri, 12 Jul 2019 08:26:33 +0000
aims-desktop (1:2019.07.11) stretch; urgency=medium
* Expand aims-release-upgrade to first update stretch and afterwards remove
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment