1
Parzi
5y

how does one tell apt to only use a specific repo for a package? Kali keeps pushing fucked kernels and GRUB versions and such but I need some of the stuff in their repos.

Comments
  • 1
    yes btw this happened again and now grub doesn't understand how UUIDs work anymore
  • 1
    If you're not doing pen testing, I would probably avoid Kali. For those and other reasons.
  • 3
    @SortOfTested they have updated versions of stuff I need, is the issue. Like WLAN diag stuff, since my card keeps losing its MAC and Debian's repos only have old-ass versions of macchanger. That sort of thing.
  • 1
    @Parzi
    Fair enough, would something like kismet suffice to potentially avoid the pain?
  • 0
    ok so GRUB isn't passing the root parameter to the initramfs even though it's declared, so it won't go past it. Manually declaring it and then manually loading everything doesn't fix it.

    initramfs mount refuses to mount anything with error "Invalid parameter."

    Fucking great, this isn't recoverable, is it?
  • 2
    I don't know if there's a way to tell it to use only a specific repo, but I'm pretty sure there's a way to tell it to NOT use a specific repo, by pinning the package for that repo with a lower priority than the default.

    I don't use Debian-based distros regularly so I don't know exactly how it works, but I'm fairly sure it's possible.
  • 0
    @EmberQuill That'd help immensely, but all I can find on apt pinning is how to hold a package.
  • 0
    thank fuck grub's fixed now
  • 1
    @Parzi I think you can pin a package for a specific repo and then it won't update from that repo but will still update from others.
  • 1
    @Parzi remove the repos
Add Comment