No matter what i try to uninstall or remove or purge with apt-get, i get the same 10.2 deb download.
sudo apt-get purge postgresql
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
postgresql*
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
After this operation, 45.1kB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 151432 files and directories currently installed.)
Removing postgresql ...
Then:
sudo apt-get -f install postgresql
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
postgresql
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/10.2kB of archives.
After this operation, 45.1kB of additional disk space will be used.
Selecting previously deselected package postgresql.
(Reading database ... 151429 files and directories currently installed.)
Unpacking postgresql (from .../postgresql_8.4.2-0ubuntu9.10_all.deb) ...
Setting up postgresql (8.4.2-0ubuntu9.10) ...
And then...
sudo apt-get check postgresql
Reading package lists... Done
Building dependency tree
Reading state information... Done
it is apt-get bug!
No matter what i try to uninstall or remove or purge with apt-get, i get the same 10.2 deb download.
sudo apt-get purge postgresql
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
postgresql*
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
After this operation, 45.1kB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 151432 files and directories currently installed.)
Removing postgresql ...
Then: 8.4.2-0ubuntu9. 10_all. deb) ...
sudo apt-get -f install postgresql
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
postgresql
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/10.2kB of archives.
After this operation, 45.1kB of additional disk space will be used.
Selecting previously deselected package postgresql.
(Reading database ... 151429 files and directories currently installed.)
Unpacking postgresql (from .../postgresql_
Setting up postgresql (8.4.2-0ubuntu9.10) ...
And then...
sudo apt-get check postgresql
Reading package lists... Done
Building dependency tree
Reading state information... Done
I deleted all files manually: d/postgresql- 8.4 d/postgresql- common doc/postgresql- common doc/postgresql- client- 8.4 postgresql postgresql- common -common man/man7/ postgresql- common. 7.gz pg_lsclusters pg_createcluste r pg_dropcluster pg_ctlcluster pg_upgradeclust er pg_updatedicts
sudo rm /etc/init.
sudo rm /etc/logrotate.
sudo rm -R /usr/share/
sudo rm -R /usr/lib/postgresql
sudo rm -R /var/lib/postgresql
sudo rm -R /usr/share/
sudo rm -R /usr/share/
sudo rm -R /usr/share/
sudo rm -R /etc/postgresql
sudo rm /usr/share/
sudo rm /usr/bin/vacuumlo
sudo rm /usr/bin/vacuumdb
sudo rm /usr/bin/reindexdb
sudo rm /usr/bin/psql
sudo rm /usr/bin/pg_restore
sudo rm /usr/bin/pg_dumpall
sudo rm /usr/bin/pg_dump
sudo rm /usr/bin/dropuser
sudo rm /usr/bin/droplang
sudo rm /usr/bin/dropdb
sudo rm /usr/bin/createuser
sudo rm /usr/bin/createlang
sudo rm /usr/bin/createdb
sudo rm /usr/bin/clusterdb
sudo rm /usr/bin/
sudo rm /usr/bin/
sudo rm /usr/bin/
sudo rm /usr/bin/
sudo rm /usr/bin/
sudo rm /usr/sbin/
How can i force apt-get to download and install the packages again?
Is any way to clean the cache?
regards
alex