thrive@thrive-ubuntu:~/python_projects/thpii/ams-web/optimization$ sudo dpkg -r tzdata
dpkg: dependency problems prevent removal of tzdata:
ubuntu-minimal depends on tzdata.
util-linux depends on tzdata (>= 2006c-2).
postgresql-9.3 depends on tzdata.
python-dateutil depends on tzdata.
libtcl8.5:amd64 depends on tzdata.
libtcl8.6:amd64 depends on tzdata.
python3-dateutil depends on tzdata.
libical1 depends on tzdata.
python-tz depends on tzdata.
dpkg: error processing package tzdata (--remove):
dependency problems - not removing
Errors were encountered while processing:
tzdata
thrive@thrive-ubuntu:~/python_projects/thpii/ams-web/optimization$ sudo apt-get install --reinstall tzdata
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 45 not upgraded.
2 not fully installed or removed.
Need to get 0 B/172 kB of archives.
After this operation, 0 B of additional disk space will be used.
Preconfiguring packages ...
Selecting previously unselected package tzdata.
(Reading database ... 211092 files and directories currently installed.)
Preparing to unpack .../tzdata_2015b-0ubuntu0.14.04_all.deb ...
Unpacking tzdata (2015b-0ubuntu0.14.04) over (2015b-0ubuntu0.14.04) ...
dpkg: error processing archive /var/cache/apt/archives/tzdata_2015b-0ubuntu0.14.04_all.deb (--unpack):
unable to securely remove '/usr/share/zoneinfo/posix/America/Eirunepe.dpkg-tmp': No such file or directory
No apport report written because the error message indicates an issue on the local system
Errors were encountered while processing:
/var/cache/apt/archives/tzdata_2015b-0ubuntu0.14.04_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
thrive@thrive-ubuntu:~/python_projects/thpii/ams-web/optimization$ sudo apt-get install smartmontools pastebinit
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
heirloom-mailx
Suggested packages:
exim4 mail-transport-agent gsmartcontrol smart-notifier
Recommended packages:
mailx mailutils
The following NEW packages will be installed:
heirloom-mailx pastebinit smartmontools
0 upgraded, 3 newly installed, 0 to remove and 45 not upgraded.
2 not fully installed or removed.
Need to get 0 B/707 kB of archives.
After this operation, 2,336 kB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Setting up tzdata (2015b-0ubuntu0.14.04) ...
Current default time zone: 'America/Los_Angeles'
Local time is now: Mon Mar 23 12:05:53 PDT 2015.
Universal Time is now: Mon Mar 23 19:05:53 UTC 2015.
Run 'dpkg-reconfigure tzdata' if you wish to change it.
Selecting previously unselected package heirloom-mailx.
(Reading database ... 211091 files and directories currently installed.)
Preparing to unpack .../heirloom-mailx_12.5-2_amd64.deb ...
Unpacking heirloom-mailx (12.5-2) ...
Selecting previously unselected package pastebinit.
Preparing to unpack .../pastebinit_1.4-3_all.deb ...
Unpacking pastebinit (1.4-3) ...
Selecting previously unselected package smartmontools.
Preparing to unpack .../smartmontools_6.2+svn3841-1.2_amd64.deb ...
Unpacking smartmontools (6.2+svn3841-1.2) ...
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Processing triggers for ureadahead (0.100.0-16) ...
Setting up tzdata-java (2015b-0ubuntu0.14.04) ...
Setting up heirloom-mailx (12.5-2) ...
update-alternatives: using /usr/bin/heirloom-mailx to provide /usr/bin/mailx (mailx) in auto mode
Setting up pastebinit (1.4-3) ...
Setting up smartmontools (6.2+svn3841-1.2) ...
Processing triggers for ureadahead (0.100.0-16) ...
thrive@thrive-ubuntu:~/python_projects/thpii/ams-web/optimization$