[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 install >follow some
Images are sometimes not shown due to bandwidth/network limitations. Refreshing the page usually helps.

You are currently reading a thread in /g/ - Technology

Thread replies: 16
Thread images: 4
File: 2.png (185 KB, 564x404) Image search: [Google]
2.png
185 KB, 564x404
>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 (833 KB, 200x150) Image search: [Google]
1388748647715.gif
833 KB, 200x150
>>53342519
>>
File: 1457009158355.jpg (44 KB, 639x628) Image search: [Google]
1457009158355.jpg
44 KB, 639x628
>>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 (2 MB, 334x357) Image search: [Google]
1381667612758.gif
2 MB, 334x357
>>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

banner
banner
[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.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com, send takedown notices to them.
This is a 4chan archive - all of the content originated from them. If you need IP information for a Poster - you need to contact them. This website shows only archived content.