Live data from Hacker News

Apt-bundle: brew bundle for apt

github.com

11–20 of 34 posts

Re: Apt-bundle: brew bundle for apt

#11

man the things people come up with to avoid writing bash scripts

What shell scripts would help here? I love me some shell scripting but always reached for debfoster before falling in love with Pac-Man's `-Qe` and `-Qt` Edit: oh this aptfile doesn't do the one thing I actually use brew bundle for: cleaning up the mess of leftover packages

I've been loving the Alpine Package Keeper, especially easily maintaining desired packaging state in /etc/apk/world

https://wiki.alpinelinux.org/wiki/Alpine_Package_Keeper#Worl...

Re: Apt-bundle: brew bundle for apt

#12

man the things people come up with to avoid writing bash scripts

What shell scripts would help here? I love me some shell scripting but always reached for debfoster before falling in love with Pac-Man's `-Qe` and `-Qt` Edit: oh this aptfile doesn't do the one thing I actually use brew bundle for: cleaning up the mess of leftover packages

What is this tool solving that I can't do with apt+bash already?

Re: Apt-bundle: brew bundle for apt

#17
post #10

Brew got one thing right that no Linux package manager seems to emulate: it doesn't require root for normal operations and even goes so far as to error out if running as root ( https://docs.brew.sh/FAQ#why-does-homebrew-say-sudo-is-bad ).

It needs world-writtable /opt/homebrew, so I guess a Linux equivalent would be Nix (which IIUC requires writable /nix).

For something that only uses your home folder, I recommend checking out mise https://mise.jdx.dev/

Re: Apt-bundle: brew bundle for apt

#19
I hate the Aptfile format after looking at it.

The ppa directive hints that this is intended for Ubuntu because otherwise installing PPAs is a great way to break a non Ubuntu distro.

The deb directive uses the old and soon to be deprecated .list file extension. DEB822 format is the replacement.

The key directive adds the key as globally trusted for all repos instead of locking it to a specific repo as recommended by Debian. I think this is required under the new DEB822 repo format.

Re: Apt-bundle: brew bundle for apt

#20
post #10

Brew got one thing right that no Linux package manager seems to emulate: it doesn't require root for normal operations and even goes so far as to error out if running as root ( https://docs.brew.sh/FAQ#why-does-homebrew-say-sudo-is-bad ).

"let's allow any user process to modify my binaries" is not something to be proud of...
Post reply on HN