Skip to content

Instantly share code, notes, and snippets.

@ranguard
Last active April 21, 2018 12:54
Show Gist options
  • Save ranguard/da384c5fa1b3345823c0822dc0681283 to your computer and use it in GitHub Desktop.
Save ranguard/da384c5fa1b3345823c0822dc0681283 to your computer and use it in GitHub Desktop.

Wheezy

DELETE PUPPET FROM CRON

puppet agent --disable

checkout /etc/puppet to origin/oalders/stretch

sudo apt-get update && sudo apt-get upgrade

sed -i 's/wheezy/jessie/g' /etc/apt/sources.list

cd /etc/apt/sources.list.d

sed -i 's/wheezy/jessie/g' *

DELETE any sources we do not need now

sudo apt-get update && sudo apt-get upgrade

(some stuff gets kept back)

sudo apt-get dist-upgrade

When prompted:

 Current iptables - do NOT bother saving  (puppet will reset)

 accept certificate updates

 /etc/sysctl.conf - ours

 restart services - yes

 /etc/default/rsyslog - ours

Possible debconf database corruption
- /usr/share/debconf/fix_db.pl

reboot

lsb_release -a

No LSB modules are available.
Distributor ID: Debian
Description:    Debian GNU/Linux 8.10 (jessie)
Release:    8.10
Codename:   jessie

apt-get upgrade && sudo apt-get upgrade

apt-get autoremove

apt-get dist-upgrade

GET to

Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

sed -i 's/jessie/stretch/g' /etc/apt/sources.list

cd /etc/apt/sources.list.d/

sed -i 's/jessie/stretch/g' *

sudo apt-get update && sudo apt-get upgrade ** I had problems with puppet.. commented it out for now **

apt-get autoremove

apt-get dist-upgrade

/usr/share/debconf/fix_db.pl

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment