The officially official Devuan Forum!

You are not logged in.

#1 2021-04-11 23:20:02

SolarPoweredMoonMan
Member
Registered: 2021-02-27
Posts: 11  

[SOLVED] How do I add "Experimental" to my repo for Mesa 21?

I searched this forum before asking and I didn't want to mess anything up, as this is now the longest I have kept any one distro on my computer. I am currently on Chimaera and have had very minimal problems, however, I have a new GPU coming in and Phoronix recommends Mesa 21.x so I am planning on using it one way or another and Sid is still on 20.x and requires "Experimental" be added so I am hoping some light can be shed on this for me.

Thank you all for your time and assistance in this matter.

Offline

#2 2021-04-12 00:09:32

fsmithred
Administrator
Registered: 2016-11-25
Posts: 1,857  

Re: [SOLVED] How do I add "Experimental" to my repo for Mesa 21?

The lines for devuan experimental won't work. It's not a merged repo, so it only contains devuan packages. Here they are for reference.

deb     http://deb.devuan.org/devuan experimental main
deb-src http://deb.devuan.org/devuan experimental main

You would need to add a line for debian experimental in your sources. Be careful with that. You're not going through the filter that keeps out banned backages (the ones that pull in systemd) so it's kinda like having unprotected sex with someone you know, but not very well.

Ordinarily, I'd say you should be on ceres to do this, but right now there's not much difference between chimaera and ceres. You could add a line for ceres and pin it to a lower priority. Then you would have access in case something newer showed up and you needed it.

After you edit your sources.list

apt update
apt -t experimental install <package>

You might want to add --simulate to the install command to see what it will do first.

Offline

#3 2021-04-13 15:03:34

SolarPoweredMoonMan
Member
Registered: 2021-02-27
Posts: 11  

Re: [SOLVED] How do I add "Experimental" to my repo for Mesa 21?

I have tried this and it still shows mesa 20.x(installed), do I need to be on ceres for this to work?

Last edited by SolarPoweredMoonMan (2021-04-13 15:10:28)

Offline

#4 2021-04-13 15:26:56

Head_on_a_Stick
Member
From: London
Registered: 2019-03-24
Posts: 1,597  
Website

Re: [SOLVED] How do I add "Experimental" to my repo for Mesa 21?

What was the actual command you used? There are several packages that provide Mesa.


Black Lives Matter

Offline

#5 2021-04-13 15:30:32

fsmithred
Administrator
Registered: 2016-11-25
Posts: 1,857  

Re: [SOLVED] How do I add "Experimental" to my repo for Mesa 21?

HoaS beat me to it: How are you looking?

I'm not sure which package you need, but this one has a version 21.

apt policy mesa-common-dev 
mesa-common-dev:
  Installed: (none)
  Candidate: 18.3.6-2+deb10u1
  Version table:
     21.0.2-1 1
          1 http://debian.csail.mit.edu/debian experimental/main amd64 Packages
     20.3.5-1 50
         50 http://sledjhamr.org/devuan/merged ceres/main amd64 Packages
         10 http://debian.csail.mit.edu/debian sid/main amd64 Packages
     20.3.4-1 50
         50 http://sledjhamr.org/devuan/merged chimaera/main amd64 Packages

Offline

#6 2021-04-13 18:03:16

SolarPoweredMoonMan
Member
Registered: 2021-02-27
Posts: 11  

Re: [SOLVED] How do I add "Experimental" to my repo for Mesa 21?

It appears that I have done something wrong, I commented out my regular repos and only used the two that were posted above. . . Then attempted to search like I always have (probably wrong) " apt search mesa" and I just assumed that with the experimental stuff being there it would have shown a newer version. Can you please give me the command for searching "experimental" ? Thank you.

This is what returns when I type the above:

mesa-common-dev:
  Installed: (none)
  Candidate: 20.3.4-1
  Version table:
     20.3.4-1 500
        500 http://deb.devuan.org/merged chimaera/main amd64 Packages

(I"m sorry, I misread the first post about adding DEBIAN experimental to my sources.list.... )

I've sorted the mess out. Thank you for the help. . .

I've never fully understood the apt pinning, can you provide a comprehensive tutorial link?

Last edited by SolarPoweredMoonMan (2021-04-13 18:19:29)

Offline

#7 2021-04-13 19:25:23

Head_on_a_Stick
Member
From: London
Registered: 2019-03-24
Posts: 1,597  
Website

Re: [SOLVED] How do I add "Experimental" to my repo for Mesa 21?

At the risk of treading on fsmithred's toes (sorry):

SolarPoweredMoonMan wrote:

I commented out my regular repos and only used the two that were posted above

You should probably post the actual content of the file(s) rather than a vague description.

SolarPoweredMoonMan wrote:

Can you please give me the command for searching "experimental" ?

aptitude search '?narrow(?archive(experimental), mesa)'
SolarPoweredMoonMan wrote:

I've never fully understood the apt pinning, can you provide a comprehensive tutorial link?

You don't need to pin experimental packages (unless you want them to be updated from that repository) because experimental has a default pin value of 1 (one).

For a guide see https://www.debian.org/doc/manuals/debi … al_literal and read apt_preferences(5).


Black Lives Matter

Offline

#8 2021-04-13 19:49:45

SolarPoweredMoonMan
Member
Registered: 2021-02-27
Posts: 11  

Re: [SOLVED] How do I add "Experimental" to my repo for Mesa 21?

Updating them from the experimental repo was the idea, until mesa 21.x gets pushed into testing where I can update it like the rest of my system. I have installed the updated vulkan/mesa objects to version 21.x and I will just "reinstall" them until I finish reading the link you gave me on pinning when I can add that for ease of use. Thank you all for the links and your time.

Last edited by SolarPoweredMoonMan (2021-04-13 19:50:57)

Offline

#9 2021-04-13 21:38:56

fsmithred
Administrator
Registered: 2016-11-25
Posts: 1,857  

Re: [SOLVED] How do I add "Experimental" to my repo for Mesa 21?

Aha! I was afraid you might use those lines I posted. You know, the ones that I prefaced with "These lines won't work." 

You must add a debian source line. One like this:

deb http://debian.csail.mit.edu/debian experimental main

You can pick one closer to home if you're not near Boston. Check a *debian* website for more mirrors. tongue

Edit: Re-read the part in my first post about "Be careful!"

(No prob, HoaS. We bring different parts of the message.)

Offline

Board footer