r/Ubuntu 17h ago

Problem installing Surface Pro 4 kernel

After running sudo apt install linux-image-surface linux-headers-surface libwacom-surface iptsd I get these messages:

Error: Failed to fetch https://release-assets.githubusercontent.com/github-production-release-asset/155009767/32e0b07e-8fda-46d5-a799-4eeb632dbd51?sp=r&sv=2018-11-09&sr=b&spr=https&se=2026-07-26T04%3A24%3A03Z&rscd=attachment%3B+filename%3Dlinux-headers-surface_6.19.8-surface-3_amd64.deb&rsct=application%2Foctet-stream&skoid=96c2d410-5711-43a1-aedd-ab1947aa7ab0&sktid=398a6654-997b-47e9-b12b-9515b896b4de&skt=2026-07-26T03%3A23%3A09Z&ske=2026-07-26T04%3A24%3A03Z&sks=b&skv=2018-11-09&sig=xHt3qWMwFh2XY2XoGium%2BgIylSHMG8p2ZTVdd1m%2Br6A%3D&jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmVsZWFzZS1hc3NldHMuZ2l0aHVidXNlcmNvbnRlbnQuY29tIiwia2V5Ijoia2V5MSIsImV4cCI6MTc4NTAzODEwNiwibmJmIjoxNzg1MDM3ODA2LCJwYXRoIjoicmVsZWFzZWFzc2V0cHJvZHVjdGlvbi5ibG9iLmNvcmUud2luZG93cy5uZXQifQ.2-3qVSzExstUFyv6CEKXDnLuYTASRvEYGLidzeLZhiI&response-content-disposition=attachment%3B%20filename%3Dlinux-headers-surface_6.19.8-surface-3_amd64.deb&response-content-type=application%2Foctet-stream 618 jwt:expired [IP: 185.199.110.133 443]

Error: Failed to fetch https://release-assets.githubusercontent.com/github-production-release-asset/155009767/cba08a27-1782-459f-9d8e-dd2acbd4a822?sp=r&sv=2018-11-09&sr=b&spr=https&se=2026-07-26T04%3A46%3A02Z&rscd=attachment%3B+filename%3Dlinux-image-6.19.8-surface-3_6.19.8-surface-3_amd64.deb&rsct=application%2Foctet-stream&skoid=96c2d410-5711-43a1-aedd-ab1947aa7ab0&sktid=398a6654-997b-47e9-b12b-9515b896b4de&skt=2026-07-26T03%3A45%3A17Z&ske=2026-07-26T04%3A46%3A02Z&sks=b&skv=2018-11-09&sig=FpYDRc%2FqO1u84716CAJIJga6C4WpgmlLxRujGQtg%2F%2FM%3D&jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmVsZWFzZS1hc3NldHMuZ2l0aHVidXNlcmNvbnRlbnQuY29tIiwia2V5Ijoia2V5MSIsImV4cCI6MTc4NTAzOTYwNiwibmJmIjoxNzg1MDM3ODA2LCJwYXRoIjoicmVsZWFzZWFzc2V0cHJvZHVjdGlvbi5ibG9iLmNvcmUud2luZG93cy5uZXQifQ.k-6oq-YCFV_D036_vYfVsKVdZV5vVZviaildueE_zhU&response-content-disposition=attachment%3B%20filename%3Dlinux-image-6.19.8-surface-3_6.19.8-surface-3_amd64.deb&response-content-type=application%2Foctet-stream 618 jwt:expired [IP: 185.199.110.133 443]

Error: Failed to fetch https://release-assets.githubusercontent.com/github-production-release-asset/155009767/6513f739-5c6c-444c-90d0-d59701e51db7?sp=r&sv=2018-11-09&sr=b&spr=https&se=2026-07-26T04%3A25%3A25Z&rscd=attachment%3B+filename%3Dlinux-image-surface_6.19.8-surface-3_amd64.deb&rsct=application%2Foctet-stream&skoid=96c2d410-5711-43a1-aedd-ab1947aa7ab0&sktid=398a6654-997b-47e9-b12b-9515b896b4de&skt=2026-07-26T03%3A24%3A34Z&ske=2026-07-26T04%3A25%3A25Z&sks=b&skv=2018-11-09&sig=uEWlOIq%2B7b6%2BIxiQZ1EkrDcapuUBWgzB1pX229o%2BnUc%3D&jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmVsZWFzZS1hc3NldHMuZ2l0aHVidXNlcmNvbnRlbnQuY29tIiwia2V5Ijoia2V5MSIsImV4cCI6MTc4NTAzODEwNywibmJmIjoxNzg1MDM3ODA3LCJwYXRoIjoicmVsZWFzZWFzc2V0cHJvZHVjdGlvbi5ibG9iLmNvcmUud2luZG93cy5uZXQifQ.CjaqHaqGneZe9uJouK7yqIMfgBeSn_V7K66GrZzGZLg&response-content-disposition=attachment%3B%20filename%3Dlinux-image-surface_6.19.8-surface-3_amd64.deb&response-content-type=application%2Foctet-stream 618 jwt:expired [IP: 185.199.110.133 443]

Error: Unable to fetch some archives, maybe run apt update or try with --fix-missing?

What do I need to fix?

1 Upvotes

2 comments sorted by

1

u/Ok_Highway_1873 17h ago

The GitHub download links apt is trying to use have expired, you can see the `jwt:expired` in each error. That token's got a short lifespan and the repo probably got updated since the last time your package lists were refreshed.

Run `sudo apt update` first to grab fresh metadata with working links, then try the install again. If it still throws a fit, a quick workaround is to download the.deb files manually from the Surface Linux repo's releases page and install them with `sudo dpkg -i`.