[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y / ] [Home]
4chanarchives logo

trying to remove broken postgresql installfollow some instructions onlineinstructions


Thread replies: 16
Thread images: 4

File: 2.png (185KB, 564x404px) Image search: [Google] [Yandex] [Bing]
2.png
185KB, 564x404px
>trying to remove broken postgresql install
>follow some instructions online
>instructions say use 'sudo rm -r /var/lib/postgresql'
>accidentally hit enter after i hit tab at /lib/
>what have I done
>ctrl + c 1ns after I hit enter
>only plexmediaserver survived this awful purge
>sudo did not survive

fresh install it is
>>
why in the fuck would you not use your distributions package manager for that
>>
>>53342519
>using linux
>>
File: 1388748647715.gif (833KB, 200x150px) Image search: [Google] [Yandex] [Bing]
1388748647715.gif
833KB, 200x150px
>>53342519
>>
File: 1457009158355.jpg (44KB, 639x628px) Image search: [Google] [Yandex] [Bing]
1457009158355.jpg
44KB, 639x628px
>>53342519
>>trying to remove broken postgresql install
>>follow some instructions online
>>instructions say use 'sudo rm -r /var/lib/postgresql'
>>accidentally hit enter after i hit tab at /lib/
>>what have I done
>>ctrl + c 1ns after I hit enter
>>only plexmediaserver survived this awful purge
>>sudo did not survive
>>
>>53342528
its faster

>>53342536
wow /thread well done
>>
File: 1381667612758.gif (2MB, 334x357px) Image search: [Google] [Yandex] [Bing]
1381667612758.gif
2MB, 334x357px
>>53342519
>>
>>53342519
>being this retarded

You had enough time to see your mistake when sudo asked for your password.

How the fuck did you missed that?
>>
>>53342710
have you never done 2 or more sudo'ed commands in a row? you're not prompted for the password each time, its once per terminal session
>>
>>53342749
*once every 3 minutes after the last auth'd sudo command

Ftfy
>>
Being this dumb.

Maybe you also fell for the remove system32 meme
?
>>
>>53342910
No?
>>
>>53342528
Maybe he used Plebian so the packages are worthless.
>>
>>53342519
That's why you never use rm -r like that unless you're VERY careful. The safe way to do it is to cd into the directory you want to nuke and do it from there. Should've done something like
cd /var/lib/postgresql
sudo rm -r *
cd ..
sudo rmdir postgresql


Also, you should've just removed this shit with a package manager. Only go in manually if you have no choice.
>>
>>53343795
Thats a good advice I wish I had thought of that

Anyway, Im reinstalling mint, I ran into a new problem every minute after the deletion all the way down to jdk not working even after I reinstalled it
>>
>>53344558
>mint
Thread replies: 16
Thread images: 4
[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y / ] [Home]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
If a post contains personal/copyrighted/illegal content you can contact me at [email protected] with that post and thread number and it will be removed as soon as possible.
If a post contains illegal content, please click on its [Report] button and follow the instructions.
This is a 4chan archive - all of the content originated from them. If you need information for a Poster - you need to contact them.
This website shows only archived content and is not affiliated with 4chan in any way.
If you like this website please support us by donating with Bitcoin at 1XVgDnu36zCj97gLdeSwHMdiJaBkqhtMK