Yes 2> is stderr correct?

|
R. V. 2022-07-12 20:20:42
try
pacman [blah] >> file 2>&1
Linux Enjoyer 2022-07-12 20:21:14
this one’s in the AUE
Linux Enjoyer 2022-07-12 20:21:16
AUR
wardenunit 2022-07-12 20:22:19
Linux Enjoyer 2022-07-12 20:21:14
this one’s in the AUE

@Night_H4nter aue

Linux Enjoyer 2022-07-12 20:22:52
R. V. 2022-07-12 20:20:42
try
pacman [blah] >> file 2>&1

no luck

Night_H4nter 2022-07-12 20:23:37
wardenunit 2022-07-12 20:22:19
@Night_H4nter aue

osuzhdayu

wardenunit 2022-07-12 20:23:44
Night_H4nter 2022-07-12 20:23:37
osuzhdayu
Linux Enjoyer 2022-07-12 20:27:30
i have no clue why it’s not just going into the file
Linux Enjoyer 2022-07-12 20:27:44
i’ve tried 2>
Linux Enjoyer 2022-07-12 20:27:48
i’ve tried everything
ChrisCromer 2022-07-12 20:30:27
Linux Enjoyer 2022-07-12 20:14:04
did it get fixed?

Nope, that machine was so fucked up he just reinstalled.

Linux Enjoyer 2022-07-12 20:30:52
I’m confused why >> isn’t making the output for grep warnings
Linux Enjoyer 2022-07-12 20:30:54
go into a file
Linux Enjoyer 2022-07-12 20:30:58
is there a way to do that
aldum11 2022-07-12 20:32:36
truth
aldum11 2022-07-12 20:33:26
with sufficient skill and time, anything is fixable
of course, that doesn’t mean it’s worth it, and you’re not better off with redoing from scratch
Linux Enjoyer 2022-07-12 20:34:12
I’m kinda invested in this
Linux Enjoyer 2022-07-12 20:34:15
so i’m gonna keep at it
R. V. 2022-07-12 20:34:20
ChrisCromer 2022-07-12 20:30:27
Nope, that machine was so fucked up he just reinstalled.

I think that scenario was fixable with pacman’s –root flag

aldum11 2022-07-12 20:34:34
Linux Enjoyer 2022-07-12 20:30:52
I’m confused why >> isn’t making the output for grep warnings

because warnings go to stderr, not stdout

Linux Enjoyer 2022-07-12 20:34:50
aldum11 2022-07-12 20:34:34
because warnings go to stderr, not stdout

yes 2> is stderr correct?

aldum11 2022-07-12 20:34:58
2> is redirecting the stderr
aldum11 2022-07-12 20:35:07
fd 2 is stderr, yes
aldum11 2022-07-12 20:35:37
anyway, do the chown with 0:0 and follow-symlinks
aldum11 2022-07-12 20:35:53
–dereference
Linux Enjoyer 2022-07-12 20:36:23
oh rn i’m trying to get the output of my pacman error log
Linux Enjoyer 2022-07-12 20:36:38
but using 2> out.txt isn’t working
ChrisCromer 2022-07-12 20:36:51
aldum11 2022-07-12 20:33:26
with sufficient skill and time, anything is fixable
of course, that doesn’t mean it’s worth it, and you’re not better off with redoing from scratch

At some point you spend more time trying to fix it than just reinstalling it. 😆

aldum11 2022-07-12 20:37:08
exactly
aldum11 2022-07-12 20:37:34
I’m doing a similar thing with an android phone currently
aldum11 2022-07-12 20:37:39
I fucked up the baseband
aldum11 2022-07-12 20:38:03
and the time I spent trying to fix it is starting to top the cost of just buying another one
Linux Enjoyer 2022-07-12 20:38:07
reinstalling would be faster for me
ChrisCromer 2022-07-12 20:38:20
R. V. 2022-07-12 20:34:20
I think that scenario was fixable with pacman’s –root flag

Nope, it had mismatched versions of hundreds of libs and packages. Because of the partial upgrade, that isn’t a viable solution.

Linux Enjoyer 2022-07-12 20:38:59
pacman -Qkk | grep warnings 2> out.txt
|