[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
I did this: apt-get remove libreoffice* apt-get autoremove
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: 66
Thread images: 12
File: debian-square_400x400.png (54 KB, 400x400) Image search: [Google]
debian-square_400x400.png
54 KB, 400x400
I did this:

apt-get remove libreoffice*
apt-get autoremove

AND IT REMOVED MY ENTIRE FUCKING SYSTEM. Everything.
>>
>>51590395
you can fix it with the following command
sudo apt-get install gentoo
>>
>>51590395
>apt-get autoremove
Let me try this command.
>>
>>51590395
>not reading the affected packages before confirming apt to act
>>
>>51590395
Not before showing you what was going to happen and you choosing Y.
>>
Yes, this is the typical apt experience.
>>
>>51590415 Why the fuck are they affected in the first place?
>>
>>51590418
So you have to memorize every needed package? wtf is the point of a package manager then? apt-get is retarded
>>
File: 1448653619949.jpg (48 KB, 627x626) Image search: [Google]
1448653619949.jpg
48 KB, 627x626
>why would someone remove libreoffice from their machine?
>why would someone use a command with root privileges when you don't know what the command do?
>>
>>51590395
Shouldn't have done anything without "sudo" in front of it.

1/10. I responded.
>>
>not using aptitude
Just use Synaptic if you're too retarded for the command line apt.
>>
File: 1363332909707.jpg (105 KB, 660x509) Image search: [Google]
1363332909707.jpg
105 KB, 660x509
>>51590395
>not using aptitude
>>
File: NI2RbPe.png (386 KB, 1440x900) Image search: [Google]
NI2RbPe.png
386 KB, 1440x900
>why would someone remove libreoffice from their machine?

Why would you want your system filled with office crapware?
>>
Oh the amount of elementary users I've seen wipe half of their system.
>>
My guess is that libreoffice is a dependency of some dummy package for the system. During installation, only the dummy package was explicitly installed, and the rest of the packages came along for the ride as dependencies. When you remove libreoffice, you remove the dummy package too, which makes everything else into fair game for autoremove.

If you're running commands as root without knowing exactly what they do, you should expect it to break shit like this.
>>
File: Archlinux-icon-crystal-64.svg.png (60 KB, 1024x1024) Image search: [Google]
Archlinux-icon-crystal-64.svg.png
60 KB, 1024x1024
I'll just leave this here.
>>
>>51590555
Is that a fat man holding a triangle on his shoulders?
>>
With *Nix, the system assumes the User knows what he's doing and is not an Idiot.

Clearly, Linux is not for you then.
>>
File: 1058834519.jpg (218 KB, 1024x1024) Image search: [Google]
1058834519.jpg
218 KB, 1024x1024
>>51590591
http://steve-parker.org/articles/others/stephenson/holehawg.shtml
>>
I remember a thread on debian forum where debian maintainers defended their decision to set touchpad not to react to taps by default. They said it would "confuse new users". It's just an example. They are fucking nuts. Total lunatics.
>>
>>51590689
Debian maintainers do not defend decisions on any forum.
>>
>>51590432
That is actually how it's supposed to work.
>>
>>51590689
They're right though.
>>
>>51590591 You do know Android is *nix too, right?
>>
Package manaturds in a nutshell.
>>
File: 1407477662926.jpg (16 KB, 383x400) Image search: [Google]
1407477662926.jpg
16 KB, 383x400
>>51590582

yes
>>
>>51590552
This is the total fucking opposite of how this shit is supposed to work. That dummy package thing is retarded and risky as fuck.
>>
File: 1448720921695.png (270 KB, 373x503) Image search: [Google]
1448720921695.png
270 KB, 373x503
>>51590395
Daily reminder, Windows does not have this problem. When you uninstall software from control panel, it does not try to buttsex your OS and coerce into deleting system32.
>>
>>51590499
some of us do actual work on our computers
>>
Why don't you linuxtards drop all this dependency hell for good and start making portable apps instead? This entire "distro" concept is fucking bullshit. I have a 20 years old native Windows app and it still runs perfectly in Win7.
>>
apt-get, topkek!

use a proper distro, or at least aptitude. alternatively, read what it wants to uninstall.
>>
>>51591016 If your work involves libreWord (or what was its name) instead of plain text or LaTeX, it means your work is retarded and most probably useless or even harmful to humanity.
>>
File: Nethack_screenshot.png (4 KB, 585x252) Image search: [Google]
Nethack_screenshot.png
4 KB, 585x252
>>51591024
And we can run programs that are 30 or more years old. Your point?
>>
>>51590552
First relevant post, if that's true it's another ridiculous thing debian should have evolved past in the years it's been around
>>
>>51591050
>I am NEET
>>
File: unix.jpg (17 KB, 500x357) Image search: [Google]
unix.jpg
17 KB, 500x357
>>51590669
>>51590591
>>51590552
Yes, OP fucked up by not scrutinizing the list of packages before hitting Y.

But can we all agree making the OS dependent on the office suite is dumb?
>>
I did this:

rm -rf /

AND IT REMOVED MY ENTIRE FUCKING SYSTEM. Everything. Fucking Debian man.
>>
>>51591054

No you can't. That's not the original 30yr old binary.
>>
>>51590395
rpm-based distros do not have this issue
>>
>>51591050
This to be quite honest with you family.
>>
>>51591072
No. The problem is that OP doesn't really understand how APT works, plus he used apt-get which is pretty rudimentary (should've used aptitude which doesn't do this or maybe Synaptic). The base desktop install is a metapackage that installs libreoffice (and the DE, browser, etc). He removed libreoffice. And then, he ran autoremove, which found that one of the desktop metapackage packages was gone, so the system removed the desktop metapackage, pulling the rest of desktop packages too. Apt-get informs you of this of course and asks for confirmation.

Trying to use apt-get without being familiar with how APT works is like trying to use vim without reading a manual first. Remember this is an OS used for servers and enterprise systems, this is not your babby Arch where you can remove packages with no regards to any other package depending on it.

>>51591087
But running binaries has nothing to do with dependencies. You can use an old binary if it ships with its libraries like portable apps in Linux too.
>>
>>51591072
the os isn't dependant, its the de metapackage which is. it's done this way so that plebs can install a single package which contains the de and a bunch of shit which you might want to use.
don't want the bloat? install the de by itself.
>>
A P T
P
T

i have no idea why people put up with this garbage in fucking 2016 2bh familia
>>
>>51591209
>He removed libreoffice. And then, he ran autoremove, which found that one of the desktop metapackage packages was gone, so the system removed the desktop metapackage, pulling the rest of desktop packages too

That's a serious design flaw.
>>
>>51591284
It's a deliberate design choice because it makes it easier installing and removing whole groups of packages.
>>
>2015
>using Debian
>using apt

TOP lel
>>
>>51591311
Yeah. But it's very rarely what the user intends to do. Users would usually want to remove libreOffice and all packages and metapackages that are now obsolete because they were only there for LibreOffice, not everything in every metapackage that LibreOffice happened to be in.
>>
>>51591147
>rpm
because they leave orphan packages in the system.
>>
I removed libreoffice and it didn't remove everything (it does autoremove a ton of packages tho...) but it did fuck up all of my system fonts. I fixed that somehow after the fact, but it was still annoying.

LibreOffice: not even once
>>
>>51591332
Again, users shouldn't use apt-get to remove packages if they're not familiar with how APT works under the hood. There's a reason Synaptic (and aptitude) gets installed by default.
>>
Is there a distro that has a working lightweight DE out of the box but does NOT install tons of crap like office, players etc?
>>
>>51591332
Users who care about customizing everything should not install the meta packages in the first place.
Or use aptitude and go and mark up the stuff you wanna keep as manually installed and then autoremove wont remove them anymore.
>>
>>51591372 ...and fucking firefox. Linux should come with Lynx by default.
>>
>>51591366
I see.
They should make that more obvious, though. Like, with a warning for the first time, like on sudo.
>>
>>51591372
Yes, Debian, and pretty much every distro. Just don't use install the base desktop packages and install just your choice of DE manually later.
>>
>>51590437
>>>/mlp/
>>
>>51590591
kek typical freetard sniffing his own farts
>>
>not using Slackware
you did this to yourself
>>
>>51591389
The problem is that there's is a lot of documentation out there recommending the use of apt-get. And apt-get is fine for trivial package installs, but not for removing packages, because it's dumb and tends to just remove everything it founds. Ubuntu for example doesn't ship with aptitude by default for example, only with its "Software Center" and apt-* tools and pretty much every tutorial or guide out there recommends using apt-get. So when Ubuntu people move to Debian they keep using apt-get.
>>
I hope this is a joke, a sick one.

The first time I used Linux was Debian in 2007. I removed openoffice via cli after finding out how and did autoremove (I assumed this was safe since it was meant to remove only unneeded things) and not knowing what was happening it removed entire desktop.

Shit didn't work so I reboot to a blank TTY with no fucking idea what to do.
>>
>>51591024
We have that, its called static linking.
>>
Apt is shit OP

If you want stable system install CentOS.
If you want latest packages install Fedora.
>>
>>51590395
DE metapackages are cancer. You removed libreoffice and since a DE metapackage depends on libreoffice it removed it too. Because only the DE metapackage was marked as manually installed then all its dependencies was marked for removal for autoremove.

It's not rocket science, that's why autoremove is a manual step and you should read the list of removed packages.
>>
>>51590395
>he fell for the non-gentoo meme!
>>
I don't even run into shit like this on the dependency hell that is Sid. How did you fucking manage that?
>>
Debian has an unholy amount of retarded shit known as "metapackages." You can just tell it to install the list of shit "to be removed" and then weed out what you want gone. There, no more stupid meta shit.
>>51590437
yeah I post without reading the global rules, too, I'm so special, I probably get an exception for being le epike trole
Thread replies: 66
Thread images: 12

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.