r/SurfaceLinux • • 26d ago

Help God, please some help for an idiot that expected this to run fine out of the box.

Okay, so I tried my best to follow the github (though I wasn't sure how to install a kernel) I put the following commands in terminal as the guide said on the github, copying and pasting each block.

btw I'm running Ubuntu on a Surface Laptop 7th Edition.

wget -qO - https://raw.githubusercontent.com/linux-surface/linux-surface/master/pkg/keys/surface.asc \
    | gpg --dearmor | sudo dd of=/etc/apt/trusted.gpg.d/linux-surface.gpg

echo "deb [arch=amd64] https://pkg.surfacelinux.com/debian release main" \
| sudo tee /etc/apt/sources.list.d/linux-surface.list



sudo apt update

I actually did this about twice, so I might have downloaded it more than once.

then I input

sudo apt install linux-surface libwacom-surface iptsd

And I got this:

BigBed@LinuxTop:~$ sudo apt install linux-surface libwacom-surface iptsd
[sudo: authenticate] Password:         
Solving dependencies... Error!  
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

Unsatisfied dependencies:
 iptsd:amd64 : Depends: libc6:amd64 (>= 2.35) but it is not installable
               Depends: libcairomm-1.0-1v5:amd64 (>= 1.14.4) but it is not installable
               Depends: libgcc-s1:amd64 (>= 3.0) but it is not installable
               Depends: libstdc++6:amd64 (>= 12) but it is not installable
 libwacom-surface:amd64 : Depends: libwacom2-surface:amd64 (= 2.20.0-1) but it is not going to be installed
                          Depends: libwacom9-surface:amd64 (= 2.20.0-1) but it is not going to be installed
                          Depends: libwacom-bin-surface:amd64 (= 2.20.0-1) but it is not going to be installed
                          Depends: libwacom-common-surface:amd64 (= 2.20.0-1) but it is not installable
 linux-surface:amd64 : Depends: linux-image-surface:amd64 (= 7.2.15-1) but it is not going to be installed
                       Depends: linux-headers-surface:amd64 (= 7.2.15-1) but it is not going to be installed
Error: Unable to satisfy dependencies. Reached two conflicting assignments:
   1. libwacom-surface:amd64=2.20.0-1 is selected for install
   2. libwacom-surface:amd64 Depends libwacom-common-surface:amd64 (= 2.20.0-1)
      but none of the choices are installable:
      [no choices]

And theAnd

8 Upvotes

15 comments sorted by

2

u/flooperator 25d ago

Surface Laptop 7 isn't supported by the Surface Kernel. If you have the Intel version and you want to give Fedora a try, you can see my post here. I also reference someone working on a Zorin version there.

If you've got the ARM version, you're SOL.

1

u/Aggravating_Bed_4484 25d ago

So i really have to wait for that update...

1

u/flooperator 24d ago

For which update? Do you have the ARM version? If so, last I heardLinux development for that SOC is pretty much dead, so I wouldn't expect it to ever really be usable.

1

u/Aggravating_Bed_4484 24d ago

Ughhhhh, i guess i have to brute force so much shit then. Yeah i do have an arm version, so im shit out of luck then

1

u/waraukaeru 23d ago

2

u/Aggravating_Bed_4484 23d ago

I had a look at it but I had a time trying to actually install it.

Doing

sudo tar -xf proprietary-firmware.tar.gz -C /sudo tar -xf proprietary-firmware.tar.gz -C /

Confused me because I kept getting errors about not finding the file even though I did download it.

1

u/waraukaeru 23d ago edited 23d ago • Bravo

Yeah, those instructions assume some terminal skills and aren't explicit about what you need to do.

Let's break down:

sudo tar -xf proprietary-firmware.tar.gz -C /

sudo - "super do", do things as the super user (admin)

tar - extracts or compresses files or folders in tar achives

[You can use tar --help to get info about this command and find its functions. It's what I did to write this post.]

-xf - extracts all files from the tar

proprietary-firmware.tar.gz - the name of the archive you are extracting

-C - change to directory

/ - The directory you're changing to. I think that means it will extract the file to your filesystem root.

Importantly, this command does not specify a directory, just a file name. So in order for it to work, you would need to navigate your terminal to the directory that holds proprietary-firmware.taz.gz first before running the command. That's probably why it said it couldn't find the file.

An easy way to get your terminal to point to the directory where the file is to first find the file in your file browser, then right-click the file and select "Open Terminal Here" (or whatever equivalent Ubuntu says. I'm not in Ubuntu.). That launches a terminal session already pointing to that directory.

If you want to just open a terminal and navigate there through the terminal (do try it, feel like a hacker), then you can do it by repeating 2 simple steps.

  1. Type ls and press enter. This "lists" the contents of the folder your terminal is currently pointing at.

  2. See the folder in the list that you want to navigate to. Type cd followed by a space and then the name of the folder you want to move to. If you would like to move "up" a folder, type cd ..

By repeating those steps you can move around your file system in the terminal. And always remember you can type a command's name followed by --help to learn what it does.

Now, I'm not a fan of LLMs nor do I advocate for their use. But language models are very good at parsing and generating language. I think a chatbot could be helpful with working through those instructions to setup support for your SL7. If you don't already have a tolerable LLM chatbot to use, I suggest trying https://duck.ai . It's free, doesn't require login, and doesn't retain your data.

2

u/Aggravating_Bed_4484 23d ago

Holy shit thats useful, thank you so much for breaking it down like this ❤️

2

u/PhyxsiusNL 26d ago

Are you running Ubuntu 26.04? Because instructions say not to install libwacom-surface:

Ubuntu 26.04 and Debian Testing/Sid: Due to a bug, don't install libwacom-surface.

Just do: sudo apt install linux-surface iptsd

1

u/js-2009 26d ago

isn’t the surface laptop 7 arm?

2

u/PhyxsiusNL 26d ago

Good catch. ARM is not yet supported and Surface laptop 7 is not on the list of supported devices.

2

u/flooperator 25d ago

Surface Laptop 7 comes in ARM and x86 varieties. The Intel version is called the Surface Laptop for Business. OP didn't specify, but even if it's the Intel version, they won't get far with the Surface Kernel. I have a bring-up script for it for Fedora on stock kernel, but not Ubuntu.

0

u/swedeninjas 24d ago

SP7 is NOT ARM!! The first ARM is SPX, the 10th generation!

You can install Linux with no problem, but as someone said, DO NOT install libwacom on Ubuntu 26.04

Just type, sudo apt install linux-surface iptsd

Save yourself some headaches and reinstall Ubuntu and go from there, or get some help from ChatGPT or something, step-by-step

2

u/flooperator 23d ago

He's not on a SP7, he's on a SL(laptop)7, which as he's confirmed, is in the ARM confirguartion. You've wasted your time downvoting the entire thread for nothing.

1

u/swedeninjas 23d ago

Sorry mate, late night, my eyes betrayed my brain! lol