The officially official Devuan Forum!

You are not logged in.

#1 2020-11-03 20:36:03

Altoid
Member
Registered: 2017-05-07
Posts: 1,415  

Sources.list ascii-backports question

Hello:

I run Devuan ascii latest:

groucho@devuan:~$ uname -a
Linux devuan 4.9.0-14-amd64 #1 SMP Debian 4.9.240-2 (2020-10-30) x86_64 GNU/Linux
groucho@devuan:~$ 

This is my sources.list file:

groucho@devuan:~$ more /etc/apt/sources.list
## package repositories

deb http://deb.devuan.org/merged/ ascii main contrib non-free
deb http://deb.devuan.org/merged/ ascii-security main contrib non-free
deb http://deb.devuan.org/merged/ ascii-updates main contrib non-free
deb http://deb.devuan.org/merged/ ascii-backports main contrib non-free 

groucho@devuan:~$ 

I see there is a backport of wine in the ascii repository ...

29 results for "wine" in ascii (in 10.138602ms)

    [ascii-backports] fonts-wine-4.0-2~bpo9+1
    [ascii-backports] libwine-4.0-2~bpo9+1
    [ascii-backports] libwine-dev-4.0-2~bpo9+1
    [ascii-backports] q4wine-1.3.11-1~bpo9+1
    [ascii-backports] wine-4.0-2~bpo9+1
    [ascii-backports] wine64-4.0-2~bpo9+1
    [ascii-backports] wine64-preloader-4.0-2~bpo9+1
    [ascii-backports] wine64-tools-4.0-2~bpo9+1
    [ascii-backports] wine-binfmt-4.0-2~bpo9+1
--- snip ---

... but it is not installed in my system:

groucho@devuan:~$ apt policy wine
wine:
  Installed: 1.8.7-2
  Candidate: 1.8.7-2
  Version table:
     4.0-2~bpo9+1 100
        100 http://deb.devuan.org/merged ascii-backports/main amd64 Packages
        100 http://deb.devuan.org/merged ascii-backports/main i386 Packages
 *** 1.8.7-2 500
        500 http://deb.devuan.org/merged ascii/main amd64 Packages
        500 http://deb.devuan.org/merged ascii/main i386 Packages
        100 /var/lib/dpkg/status
groucho@devuan:~$ 

Does it have to be purposely installed?

Thanks in advance.

A.

Offline

#2 2020-11-03 20:45:28

rolfie
Member
Registered: 2017-11-25
Posts: 1,045  

Re: Sources.list ascii-backports question

Yes, backports is pinned down. If you want packages from backports, you need to enter:

apt -t ascii-backports install wine

or (as example)

apt install wine-4.0-2~bpo9+1

rolfie

Last edited by rolfie (2020-11-03 20:47:28)

Offline

#3 2020-11-03 20:58:54

ralph.ronnquist
Administrator
From: Clifton Hill, Victoria, AUS
Registered: 2016-11-30
Posts: 1,106  

Re: Sources.list ascii-backports question

Yes.

As you see wth apt policy wine, the backports version(s) have priority 100 which is less than the 500 of the version(s) currently installed. That 100 is the default priority for backports on the basis that they should not be installed unless explicitly asked for or being an update of what is currently installed. As is, the 500 of the currently installed version(s) win.

You as @rolfie says probably want to leave the priorities like that, and just install manually, with

apt-get install --no-install-recommends -t ascii-backports wine

The -t ascii-backports part tells apt-get to for sure install the nominated package and its dependencies from ascii-backports as if it had priority 1000 (or something above 500).

If later ascii-backports gets another, newer version, the installed version will be an unsupported version at priority 100, and therefore a plain upgrade will result in it being upgraded.

Offline

#4 2020-11-03 21:59:12

Altoid
Member
Registered: 2017-05-07
Posts: 1,415  

Re: Sources.list ascii-backports question

rolfie wrote:

... backports is pinned down.
If you want packages from backports, you need to enter:

apt -t ascii-backports install wine

Thanks for the heads up.
I'm still trying to learn how to use command line instead of synaptic.

ralph.ronnquist wrote:

... apt policy wine, the backports version(s) have priority 100 which is less than the 500 of the version(s) currently installed.
... 100 is the default priority for backports on the basis that they should not be installed unless explicitly asked ...

I see.
I'll get on to that and see how it goes.

Thanks for your input.

Cheers,

A.

Offline

Board footer