true install_keyrings
# popravi konfiguracije koje stvaraju probleme
true restore_configs
+pkg mrtg-cn pkgadd munin-cn
pkg mrtg-cn pkgrm mrtg mrtg-cn # zamjenjeno sa munin
# konacno, instalacija novih paketa
pkg amavisd-cn upgrade_amavis
-pkg openldap-aai upgrade_openldap
pkg apache-cn upgrade_apache
-pkg mrtg-cn pkgadd munin-cn
-pkg ntp-cn upgrade_ntp
+pkg openldap-aai upgrade_openldap
true upgrade first # neki paketi moraju rucno
true upgrade second # neke pakete zelimo ranije
pkg freeradius-cn lt 2:1.0.1-2 install_freeradius # neki su totalno poremeceni # fix 2.1.4
dpkg --configure -a # try postinst again
}
-# workaround ntp-cn dependencies
-upgrade_ntp () {
- pkgadd ntp ntpdate
- # pkgrm ntp-server
- pkgadd ntp-cn
-}
-
# instaliraj zadnji freeradius; uvjeti u queue fileovima
install_freeradius () {
pkgadd --force-yes freeradius-cn freeradius=1.0.5-0 freeradius-ldap=1.0.5-0