Reputation: 179
I wanted to create a fresh install of the program owncloud again
$ sudo apt-get remove owncloud
$ sudo apt-get purge owncloud
$ sudo apt-get autoremove
$ sudo rm -rf /var/wwww/owncloud
After this, I wanted to install owncloud again
$ sudo apt-get install owncloud
The second installation of owncloud did not create /var/www/owncloud again, as the first did. So, what did I do wrong and is there a possibility to install it normally again?
Upvotes: 3
Views: 10161
Reputation: 627
First of all, you need to purge all dependencies then by using reinstall flag you should accomplish it as the following lines:
$ sudo apt-get purge owncloud-*
$ sudo apt-get install --reinstall owncloud
Upvotes: 1
Reputation: 179
So, I found the mistake that I made. I did not remove ownlcoud completely.
$ sudo apt-get purge owncloud
$ sudo apt-get purge owncloud-*
$ sudo apt-get autoremove
$ sudo apt-get install owncloud
After the procedure above, owncloud was freshly reinstalled
Upvotes: 2