Uploaded image for project: 'openATTIC'
  1. openATTIC
  2. OP-1906

DEBs: backend directories can't be removed by uninstalling oA

    XMLWordPrintable

    Details

      Description

      By uninstalling oA, backend directories can't be removed because of existing .pyc files.

      The following output shows the upgrade of oA. This is similar to the situation when oA is uninstalled, because the packages here are going to be removed and installed again:

      root@test-oa-deb871-1:~# apt-get upgrade
      Reading package lists... Done
      Building dependency tree 
      Reading state information... Done
      Calculating upgrade... Done
      The following packages will be upgraded:
      openattic openattic-base openattic-gui openattic-module-btrfs openattic-module-cron openattic-module-http openattic-module-lio openattic-module-lvm openattic-module-mailaliases openattic-module-nagios openattic-module-nfs
      openattic-module-samba openattic-pgsql
      13 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
      Need to get 4.059 kB of archives.
      After this operation, 22,5 kB of additional disk space will be used.
      Do you want to continue? [Y/n] Y
      Get:1 http://download.opensuse.org/repositories/home:/tdehler:/branches:/filesystems:/openATTIC/Debian_8.0/ ./ openattic-pgsql 2.0.18~201702081313-1 [22,4 kB]
      Get:2 http://download.opensuse.org/repositories/home:/tdehler:/branches:/filesystems:/openATTIC/Debian_8.0/ ./ openattic-base 2.0.18~201702081313-1 [119 kB]
      Get:3 http://download.opensuse.org/repositories/home:/tdehler:/branches:/filesystems:/openATTIC/Debian_8.0/ ./ openattic-module-nfs 2.0.18~201702081313-1 [26,1 kB]
      Get:4 http://download.opensuse.org/repositories/home:/tdehler:/branches:/filesystems:/openATTIC/Debian_8.0/ ./ openattic-module-http 2.0.18~201702081313-1 [25,6 kB]
      Get:5 http://download.opensuse.org/repositories/home:/tdehler:/branches:/filesystems:/openATTIC/Debian_8.0/ ./ openattic-module-lio 2.0.18~201702081313-1 [32,8 kB]
      Get:6 http://download.opensuse.org/repositories/home:/tdehler:/branches:/filesystems:/openATTIC/Debian_8.0/ ./ openattic-module-samba 2.0.18~201702081313-1 [26,9 kB]
      Get:7 http://download.opensuse.org/repositories/home:/tdehler:/branches:/filesystems:/openATTIC/Debian_8.0/ ./ openattic-module-nagios 2.0.18~201702081313-1 [52,3 kB]
      Get:8 http://download.opensuse.org/repositories/home:/tdehler:/branches:/filesystems:/openATTIC/Debian_8.0/ ./ openattic-module-cron 2.0.18~201702081313-1 [24,4 kB]
      Get:9 http://download.opensuse.org/repositories/home:/tdehler:/branches:/filesystems:/openATTIC/Debian_8.0/ ./ openattic-module-mailaliases 2.0.18~201702081313-1 [23,0 kB]
      Get:10 http://download.opensuse.org/repositories/home:/tdehler:/branches:/filesystems:/openATTIC/Debian_8.0/ ./ openattic 2.0.18~201702081313-1 [22,0 kB]
      Get:11 http://download.opensuse.org/repositories/home:/tdehler:/branches:/filesystems:/openATTIC/Debian_8.0/ ./ openattic-gui 2.0.18~201702081313-1 [3.617 kB]
      Get:12 http://download.opensuse.org/repositories/home:/tdehler:/branches:/filesystems:/openATTIC/Debian_8.0/ ./ openattic-module-btrfs 2.0.18~201702081313-1 [25,1 kB]
      Get:13 http://download.opensuse.org/repositories/home:/tdehler:/branches:/filesystems:/openATTIC/Debian_8.0/ ./ openattic-module-lvm 2.0.18~201702081313-1 [42,9 kB]
      Fetched 4.059 kB in 3s (1.075 kB/s) 
      Reading changelogs... Done
      Preconfiguring packages ...
      (Reading database ... 56013 files and directories currently installed.)
      Preparing to unpack .../openattic-pgsql_2.0.18~201702081313-1_all.deb ...
      Unpacking openattic-pgsql (2.0.18~201702081313-1) over (2.0.17-1) ...
      Preparing to unpack .../openattic-base_2.0.18~201702081313-1_all.deb ...
      Unpacking openattic-base (2.0.18~201702081313-1) over (2.0.17-1) ...
      dpkg: warning: unable to delete old directory '/usr/share/openattic/peering': Directory not empty
      dpkg: warning: unable to delete old directory '/usr/share/openattic/rpcd/management/commands': Directory not empty
      dpkg: warning: unable to delete old directory '/usr/share/openattic/rpcd/management': Directory not empty
      dpkg: warning: unable to delete old directory '/usr/share/openattic/rpcd': Directory not empty
      Preparing to unpack .../openattic-module-nfs_2.0.18~201702081313-1_all.deb ...
      Unpacking openattic-module-nfs (2.0.18~201702081313-1) over (2.0.17-1) ...
      Preparing to unpack .../openattic-module-http_2.0.18~201702081313-1_all.deb ...
      Unpacking openattic-module-http (2.0.18~201702081313-1) over (2.0.17-1) ...
      Preparing to unpack .../openattic-module-lio_2.0.18~201702081313-1_all.deb ...
      Unpacking openattic-module-lio (2.0.18~201702081313-1) over (2.0.17-1) ...
      Preparing to unpack .../openattic-module-samba_2.0.18~201702081313-1_all.deb ...
      Unpacking openattic-module-samba (2.0.18~201702081313-1) over (2.0.17-1) ...
      Preparing to unpack .../openattic-module-nagios_2.0.18~201702081313-1_all.deb ...
      Unpacking openattic-module-nagios (2.0.18~201702081313-1) over (2.0.17-1) ...
      Preparing to unpack .../openattic-module-cron_2.0.18~201702081313-1_all.deb ...
      Unpacking openattic-module-cron (2.0.18~201702081313-1) over (2.0.17-1) ...
      Preparing to unpack .../openattic-module-mailaliases_2.0.18~201702081313-1_all.deb ...
      Unpacking openattic-module-mailaliases (2.0.18~201702081313-1) over (2.0.17-1) ...
      Preparing to unpack .../openattic_2.0.18~201702081313-1_all.deb ...
      Unpacking openattic (2.0.18~201702081313-1) over (2.0.17-1) ...
      Preparing to unpack .../openattic-gui_2.0.18~201702081313-1_all.deb ...
      Unpacking openattic-gui (2.0.18~201702081313-1) over (2.0.17-1) ...
      Preparing to unpack .../openattic-module-btrfs_2.0.18~201702081313-1_all.deb ...
      Unpacking openattic-module-btrfs (2.0.18~201702081313-1) over (2.0.17-1) ...
      Preparing to unpack .../openattic-module-lvm_2.0.18~201702081313-1_all.deb ...
      Unpacking openattic-module-lvm (2.0.18~201702081313-1) over (2.0.17-1) ...
      Processing triggers for dbus (1.8.22-0+deb8u1) ...
      Processing triggers for systemd (215-17+deb8u6) ...
      Processing triggers for man-db (2.7.0.2-5) ...
      Setting up openattic-base (2.0.18~201702081313-1) ...
      Installing new version of config file /etc/default/openattic ...
      Installing new version of config file /etc/logrotate.d/openattic ...
      Installing new version of config file /etc/openattic/settings.py ...
      /bin/systemctl
      apache2_invoke openattic: already enabled
      Setting up openattic-module-nfs (2.0.18~201702081313-1) ...
      Setting up openattic-module-http (2.0.18~201702081313-1) ...
      apache2_invoke openattic-volumes: already enabled
      Setting up openattic-module-lio (2.0.18~201702081313-1) ...
      Setting up openattic-module-samba (2.0.18~201702081313-1) ...
      Setting up openattic-module-nagios (2.0.18~201702081313-1) ...
      Installing new version of config file /etc/nagios-plugins/config/openattic.cfg ...
      Installing new version of config file /etc/nagios3/conf.d/openattic_static.cfg ...
      Setting up openattic-module-cron (2.0.18~201702081313-1) ...
      Setting up openattic-module-mailaliases (2.0.18~201702081313-1) ...
      Setting up openattic (2.0.18~201702081313-1) ...
      Setting up openattic-gui (2.0.18~201702081313-1) ...
      Setting up openattic-module-btrfs (2.0.18~201702081313-1) ...
      Setting up openattic-module-lvm (2.0.18~201702081313-1) ...
      Setting up openattic-pgsql (2.0.18~201702081313-1) ...
      dbconfig-common: writing config to /etc/dbconfig-common/openattic.conf
      dbconfig-common: flushing administrative password
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              tdehler Dehler, Tatjana
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: