« first day (2522 days earlier)      last day (2726 days later) » 

06:02
Folks, @Kusalananda wants this reopened so he can answer it. I've also edited the question to make it a bit clearer. Currently two reopen votes.
-2
Q: Need to print all lines between -------End---------- lines

user249421Consider a file which has contents as given below. I need to extract only the sections which are bookended (or surrounded, if you prefer) by the delimiter ----End----, into another file. one two three ---------End--------------- four five six ---------End-------------- three two --------End----...

06:18
It's cross-posted on StackOverflow, but editors have over time made the two questions slightly different. The SO question wants to retain the delimiter while the UL question want everything in-between the delimiters.
06:45
@Kusalananda If it was cross-posted, one of those should have been changed.
And why would the question want to retain the delimiter? In the output?
@FaheemMitha Well to me it's all the same; a bit of text-juggling.
 
6 hours later…
12:25
I wonder if this one should be closed. The poster no longer seems to be interested in the answer to his question.
0
Q: ./configure script unable to discover an already installed package

Nitin NainTrying to build Gimp 2.9.6 on a MacOS. Python2, Python3 and PyGtk are already installed on the system. I still keep getting this error. Any ideas why? Error: GIMP configuration failed. - PyGTK 2.10.4 or newer However PyGtk is installed: x@X:~/gimp-2.9.6 $ brew install pygtk Warning: pygtk 2...

@FaheemMitha "Problem went away"
@Kusalananda So you agree with a VTC, then?
 
5 hours later…
18:03
I'm pretty sure the sudoers config file is the wrong place to do what he wants to do: unix.stackexchange.com/questions/390273/…
 
2 hours later…
19:38
It would sometimes be handy to know how a particular package was installed - as in - what command was used to install it. Assuming a packaging system was used, of course. The only way I can think of is to grovel through possibly non-existent logs.
19:59
@FaheemMitha Do you mean as in apt-get or yum?
20:24
@Kusalananda Any packaging system. I use Debian, so I suppose I'm thinking more about apt.
20:36
@FaheemMitha So, the answer would be "apt".
Sorry, I don't understand the issue.
This question. It sounds like he's trying to solve the wrong problem. It's akin to "Why can't the compiler compile my code, which is correct? There is a bug in the compiler!"... unix.stackexchange.com/questions/390135/…
21:09
@Kusalananda Packages aren't necessarily installed directly. Sometimes they are pulled in by the installation of other packages.
@FaheemMitha aptitude why
@FaheemMitha Are you trying to differentiate between manually installed packages and packages installed as dependencies?
@Kusalananda Yes.
@Gilles That returns a dependency chain. aptitude doesn't know why that actual package was installed on that particular system, afaik.
@FaheemMitha then that's just apt-mark showauto
@Gilles Sure, but I want to know what actual command is responsible for a given package being installed.
21:13
(I don't know apt, I'll keep quiet)
@FaheemMitha if you want that, make sure you don't erase the logs in /var/log/apt and /var/log/dpkg.log
@Gilles I don't. But I assumed they expire like other Debian logs.
I haven't checked that, though.
@FaheemMitha it's configurable (logrotate or whatever the systemd replacement is)
@Gilles By default, I meant. I suppose I should make it non-expiring.
Yikes, systemdhas a replacement for logrotate? Horrors.
@FaheemMitha what doesn't systemd have a replacement for?
man
21:16
@Gilles It's an all-devouring monster.

« first day (2522 days earlier)      last day (2726 days later) »