D'oh (i.imgur.com)
submitted 1 year ago by to c/linuxmemes@lemmy.world
 

:-( brain didnt work.

you are viewing a single comment's thread
view the rest of the comments
[–] 20 points 1 year ago (12 children)
  • [–] 20 points 1 year ago (10 children)

    Best I can tell they were trying to remove all packages that depended on a specified package, but fucked up the syntax?

    Apk del --purge removes a package with its dependencies. Rather than specify the package directly, they've provided the output of one command piped through another. The first command is apk info -R which would in theory give the reverse dependencies of a package, if they'd given one. The second command is an awk statement that just grabs only the first column of each line that gets piped into it. I'm not sure why it would take 60 minutes to resolve though, since I'm pretty sure apk info -R with no package specified would produce no usable output. Also, ctrl-c exists.

  • source
  • parent
  • hideshow 10 child comments
  • load more comments (8 replies)
  • load more comments (9 replies)