Skip to content

u/JustMakeShitUp

In this archive from Apr 2011 to Mar 2016

1
posts
8
comments
0
media
15
score

Top posts

Pacman, SyncFirst and Keyrings rant

Rant incoming... I just hopped into a lesser-used system today to update it after a few months of inactivity. Of course pacman had a new version out. But even after manually updating pacman first, updates still failed due to keyring changes. Since some keys were missing, I attempted to download them...

2 points5 comments
Open on Reddit

Top comments

Why are you using the grub2-bios package? That's intended for systems with a BIOS. Your computer uses EFI. I guess if you're loading it through the BIOS emulator, but that just slows down the booting...

Anyway, I've dual-booted an x86_64 computer with OSX and Linux using GRUB2 before. GRUB2 is definitely the way to go, since original grub can't handle GPT at all.

Check the modules you have compiled into your GRUB2 executable. The GPT module may not be included. Or it might be expecting an EFI partition. You'll have to set all this up with gdisk, since, while gparted can read GPT disks, it seems to be more difficult to use when setting up a dual-boot system. I suggest you do a bit of reading on the subject.

EDIT: link fix. Also even more links.

4 points

It's a bit hard to find all the information for this in one place and updated.

From what I can tell, the FirePro M4000 is like a Radeon HD 7770M. These are part of the Cape Verde chipset, which is GCN 1.0. AMDGPU is for GCN 1.2 and has experimental support for GCN 1.1. The 7790 is when they switched to GCN 1.1. There's sometimes a bit of confusion when comparing desktop and mobile numbers, especially when the FirePro line is involved. But everything I see online references the M4000 as being Cape Verde, which is definitely GCN 1.0. So no current AMDGPU support for your laptop. But supposedly it's not completely off the table for the future.

For now, you'll either be stuck on an old Ubuntu version, or you'll have to switch to the FOSS Radeon driver family (Wiki entry). I'm not sure what the performance comparison is for your model, but if you're not chasing gaming FPS you should be fine.

2 points

Two common issues with terminal wrapping:

  1. Make sure you're properly escaping the non-printable characters. Doesn't seem to be the entire issue here, since you don't have a lot of escape sequences, but it's an issue with some PS1s found online (and the one included in early editions of Archbang). tenmilestereo has more details on it.
  2. Sometimes the column/row values of the terminal aren't properly set when you resize. It depends on the terminal. Try using stty to reset the columns.
2 points

Since some keys were missing, I attempted to download them via pacman, which failed. What failed? Did you just do pacman -S archlinux-keyring?

Pacman includes the ability to add keys in a standard pacman -S. It will actually prompt you for it. However it won't work without the right archlinux-keyring version.

What it doesn't have is a versioned dependency.

I stand technically corrected. I still think a versioned dependency is a "real dependency chain" as stated. Keys are commonly added and revoked in any key-based authentication system, and that's required to authenticate packages. If you don't update all packages or explicitly update both pacman and archlinux-keyring, you won't be able to install new packages. And you'll persist in that state with unhelpful error messages until you update the unversioned dependency. Which isn't technically hard, unless if in a given update both pacman and archlinux are updated along with enough packages to obscure the new packages.

Edit: Also, this is why people recommend upgrading regularly.

Agreed, and, despite the inherent race condition in the idea, it's my usual process. I've dug into low-level issues with Grub and mkinitcpio changes from delayed updates before. I'm not afraid of doing the work. What bothers me about this is it's not a hard issue from a technical standpoint. Version the dependency and each pacman version will have what it needs on upgrade. Key addition and revocation is something that the package manager should be able to handle even without daily/weekly updates.

Many people will update immediately and still get hit with it. Also happened in 2014. Knowing that an outdated archlinux-keyring package can break updates is a good reason to version the dependency.

I love Arch and appreciate the work the maintainers do. But it still makes me want to flip tables sometimes.

1 points

Subreddits

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.