I gave my APT repository the highest priority, why aren't the latest packages being installed from it?
Clash Royale CLAN TAG#URR8PPP
up vote
0
down vote
favorite
Using apt-pinning I gave my openSUSE Build Service (OBS) repository the highest priority of 1003 (where 1000 is given to the official stretch repositories) and specified the packages I want from it, yet for some reason Debian 9 is using an older version of my Vim-related packages (namely 8.0.1520 vs the latest I've packaged at the time of writing, 8.0.1587). If you want to see the APT configs in /etc/apt that I have not just left as the defaults here they are. Here is the output of apt show -a vim
.
EDIT:
apt show -a vim-common | grep 587
reveals that vim-common 8.0.1587 doesn't seem to be available. But https://download.opensuse.org/repositories/home:/fusion809/Debian_9.0/all/ does have a vim-common package for version 8.0.1587, so I think this is an OBS issue.
EDIT2:
apt-cache policy
returns: https://pastebin.com/5yusCSG1.
apt-cache policy vim-common
returns:
vim-common:
Installed: 2:8.0.1520-1
Candidate: 2:8.0.1520-1
Version table:
2:8.0.1587-1 500
500 http://download.opensuse.org/repositories/home:/fusion809/Debian_9.0 Packages
*** 2:8.0.1520-1 1003
100 /var/lib/dpkg/status
2:8.0.1453-1 1003
2 http://debian.mirror.digitalpacific.com.au/debian sid/main amd64 Packages
2 http://debian.mirror.digitalpacific.com.au/debian testing/main amd64 Packages
2:8.0.0197-4+deb9u1 1003
1000 http://deb.debian.org/debian stretch/main amd64 Packages
2:7.4.488-7+deb8u3 1003
2 http://debian.mirror.digitalpacific.com.au/debian oldstable/main amd64 Packages
debian apt
 |Â
show 3 more comments
up vote
0
down vote
favorite
Using apt-pinning I gave my openSUSE Build Service (OBS) repository the highest priority of 1003 (where 1000 is given to the official stretch repositories) and specified the packages I want from it, yet for some reason Debian 9 is using an older version of my Vim-related packages (namely 8.0.1520 vs the latest I've packaged at the time of writing, 8.0.1587). If you want to see the APT configs in /etc/apt that I have not just left as the defaults here they are. Here is the output of apt show -a vim
.
EDIT:
apt show -a vim-common | grep 587
reveals that vim-common 8.0.1587 doesn't seem to be available. But https://download.opensuse.org/repositories/home:/fusion809/Debian_9.0/all/ does have a vim-common package for version 8.0.1587, so I think this is an OBS issue.
EDIT2:
apt-cache policy
returns: https://pastebin.com/5yusCSG1.
apt-cache policy vim-common
returns:
vim-common:
Installed: 2:8.0.1520-1
Candidate: 2:8.0.1520-1
Version table:
2:8.0.1587-1 500
500 http://download.opensuse.org/repositories/home:/fusion809/Debian_9.0 Packages
*** 2:8.0.1520-1 1003
100 /var/lib/dpkg/status
2:8.0.1453-1 1003
2 http://debian.mirror.digitalpacific.com.au/debian sid/main amd64 Packages
2 http://debian.mirror.digitalpacific.com.au/debian testing/main amd64 Packages
2:8.0.0197-4+deb9u1 1003
1000 http://deb.debian.org/debian stretch/main amd64 Packages
2:7.4.488-7+deb8u3 1003
2 http://debian.mirror.digitalpacific.com.au/debian oldstable/main amd64 Packages
debian apt
Add the output ofapt-cache policy
andapt-cache policy vim-common
, please
â muru
Mar 7 at 6:11
Done. I have also asked for help at the #opensuse-buildservice IRC channel on freenode.
â BH2017
Mar 7 at 6:16
Looking at the output, it's clear that whatever pinning you used, it was not on the repo. And I don't see any mention of the openSUSE repo in yourpreferences
either. What exactly do you mean by the first line of your question, then?
â muru
Mar 7 at 6:20
It was, thea=/
in the preferences file (line 14) that refers to this repository. After all look at how the OBS repo is mentioned in sources.list.d/fusion809.list. It's labelled/
.
â BH2017
Mar 7 at 7:01
Check the output ofapt-cache policy
. See theo=obs://build.opensuse.org/home:fusion809/Debian_9.0,n=Debian_9.0,l=home:fusion809,c=
? That's how that repo should have been identified inpreferences
.
â muru
Mar 7 at 7:02
 |Â
show 3 more comments
up vote
0
down vote
favorite
up vote
0
down vote
favorite
Using apt-pinning I gave my openSUSE Build Service (OBS) repository the highest priority of 1003 (where 1000 is given to the official stretch repositories) and specified the packages I want from it, yet for some reason Debian 9 is using an older version of my Vim-related packages (namely 8.0.1520 vs the latest I've packaged at the time of writing, 8.0.1587). If you want to see the APT configs in /etc/apt that I have not just left as the defaults here they are. Here is the output of apt show -a vim
.
EDIT:
apt show -a vim-common | grep 587
reveals that vim-common 8.0.1587 doesn't seem to be available. But https://download.opensuse.org/repositories/home:/fusion809/Debian_9.0/all/ does have a vim-common package for version 8.0.1587, so I think this is an OBS issue.
EDIT2:
apt-cache policy
returns: https://pastebin.com/5yusCSG1.
apt-cache policy vim-common
returns:
vim-common:
Installed: 2:8.0.1520-1
Candidate: 2:8.0.1520-1
Version table:
2:8.0.1587-1 500
500 http://download.opensuse.org/repositories/home:/fusion809/Debian_9.0 Packages
*** 2:8.0.1520-1 1003
100 /var/lib/dpkg/status
2:8.0.1453-1 1003
2 http://debian.mirror.digitalpacific.com.au/debian sid/main amd64 Packages
2 http://debian.mirror.digitalpacific.com.au/debian testing/main amd64 Packages
2:8.0.0197-4+deb9u1 1003
1000 http://deb.debian.org/debian stretch/main amd64 Packages
2:7.4.488-7+deb8u3 1003
2 http://debian.mirror.digitalpacific.com.au/debian oldstable/main amd64 Packages
debian apt
Using apt-pinning I gave my openSUSE Build Service (OBS) repository the highest priority of 1003 (where 1000 is given to the official stretch repositories) and specified the packages I want from it, yet for some reason Debian 9 is using an older version of my Vim-related packages (namely 8.0.1520 vs the latest I've packaged at the time of writing, 8.0.1587). If you want to see the APT configs in /etc/apt that I have not just left as the defaults here they are. Here is the output of apt show -a vim
.
EDIT:
apt show -a vim-common | grep 587
reveals that vim-common 8.0.1587 doesn't seem to be available. But https://download.opensuse.org/repositories/home:/fusion809/Debian_9.0/all/ does have a vim-common package for version 8.0.1587, so I think this is an OBS issue.
EDIT2:
apt-cache policy
returns: https://pastebin.com/5yusCSG1.
apt-cache policy vim-common
returns:
vim-common:
Installed: 2:8.0.1520-1
Candidate: 2:8.0.1520-1
Version table:
2:8.0.1587-1 500
500 http://download.opensuse.org/repositories/home:/fusion809/Debian_9.0 Packages
*** 2:8.0.1520-1 1003
100 /var/lib/dpkg/status
2:8.0.1453-1 1003
2 http://debian.mirror.digitalpacific.com.au/debian sid/main amd64 Packages
2 http://debian.mirror.digitalpacific.com.au/debian testing/main amd64 Packages
2:8.0.0197-4+deb9u1 1003
1000 http://deb.debian.org/debian stretch/main amd64 Packages
2:7.4.488-7+deb8u3 1003
2 http://debian.mirror.digitalpacific.com.au/debian oldstable/main amd64 Packages
debian apt
edited Mar 7 at 6:16
asked Mar 7 at 5:46
BH2017
1,32231942
1,32231942
Add the output ofapt-cache policy
andapt-cache policy vim-common
, please
â muru
Mar 7 at 6:11
Done. I have also asked for help at the #opensuse-buildservice IRC channel on freenode.
â BH2017
Mar 7 at 6:16
Looking at the output, it's clear that whatever pinning you used, it was not on the repo. And I don't see any mention of the openSUSE repo in yourpreferences
either. What exactly do you mean by the first line of your question, then?
â muru
Mar 7 at 6:20
It was, thea=/
in the preferences file (line 14) that refers to this repository. After all look at how the OBS repo is mentioned in sources.list.d/fusion809.list. It's labelled/
.
â BH2017
Mar 7 at 7:01
Check the output ofapt-cache policy
. See theo=obs://build.opensuse.org/home:fusion809/Debian_9.0,n=Debian_9.0,l=home:fusion809,c=
? That's how that repo should have been identified inpreferences
.
â muru
Mar 7 at 7:02
 |Â
show 3 more comments
Add the output ofapt-cache policy
andapt-cache policy vim-common
, please
â muru
Mar 7 at 6:11
Done. I have also asked for help at the #opensuse-buildservice IRC channel on freenode.
â BH2017
Mar 7 at 6:16
Looking at the output, it's clear that whatever pinning you used, it was not on the repo. And I don't see any mention of the openSUSE repo in yourpreferences
either. What exactly do you mean by the first line of your question, then?
â muru
Mar 7 at 6:20
It was, thea=/
in the preferences file (line 14) that refers to this repository. After all look at how the OBS repo is mentioned in sources.list.d/fusion809.list. It's labelled/
.
â BH2017
Mar 7 at 7:01
Check the output ofapt-cache policy
. See theo=obs://build.opensuse.org/home:fusion809/Debian_9.0,n=Debian_9.0,l=home:fusion809,c=
? That's how that repo should have been identified inpreferences
.
â muru
Mar 7 at 7:02
Add the output of
apt-cache policy
and apt-cache policy vim-common
, pleaseâ muru
Mar 7 at 6:11
Add the output of
apt-cache policy
and apt-cache policy vim-common
, pleaseâ muru
Mar 7 at 6:11
Done. I have also asked for help at the #opensuse-buildservice IRC channel on freenode.
â BH2017
Mar 7 at 6:16
Done. I have also asked for help at the #opensuse-buildservice IRC channel on freenode.
â BH2017
Mar 7 at 6:16
Looking at the output, it's clear that whatever pinning you used, it was not on the repo. And I don't see any mention of the openSUSE repo in your
preferences
either. What exactly do you mean by the first line of your question, then?â muru
Mar 7 at 6:20
Looking at the output, it's clear that whatever pinning you used, it was not on the repo. And I don't see any mention of the openSUSE repo in your
preferences
either. What exactly do you mean by the first line of your question, then?â muru
Mar 7 at 6:20
It was, the
a=/
in the preferences file (line 14) that refers to this repository. After all look at how the OBS repo is mentioned in sources.list.d/fusion809.list. It's labelled /
.â BH2017
Mar 7 at 7:01
It was, the
a=/
in the preferences file (line 14) that refers to this repository. After all look at how the OBS repo is mentioned in sources.list.d/fusion809.list. It's labelled /
.â BH2017
Mar 7 at 7:01
Check the output of
apt-cache policy
. See the o=obs://build.opensuse.org/home:fusion809/Debian_9.0,n=Debian_9.0,l=home:fusion809,c=
? That's how that repo should have been identified in preferences
.â muru
Mar 7 at 7:02
Check the output of
apt-cache policy
. See the o=obs://build.opensuse.org/home:fusion809/Debian_9.0,n=Debian_9.0,l=home:fusion809,c=
? That's how that repo should have been identified in preferences
.â muru
Mar 7 at 7:02
 |Â
show 3 more comments
1 Answer
1
active
oldest
votes
up vote
0
down vote
accepted
To identify a repository in the preferences
file, use the output of apt-cache policy
, or the information from its Release
file:
~ apt-cache policy
Package files:
100 /var/lib/dpkg/status
release a=now
500 http://ppa.launchpad.net/gophers/archive/ubuntu xenial/main amd64 Packages
release v=16.04,o=LP-PPA-gophers-archive,a=xenial,n=xenial,l=Go 1.X packages,c=main,b=amd64
origin ppa.launchpad.net
500 https://dl.google.com/linux/chrome/deb stable/main amd64 Packages
release v=1.0,o=Google, Inc.,a=stable,n=stable,l=Google,c=main,b=amd64
origin dl.google.com
500 ftp://ftp.iitb.ac.in//os/ubuntu/archives/ubuntu xenial-updates/multiverse i386 Packages
release v=16.04,o=Ubuntu,a=xenial-updates,n=xenial,l=Ubuntu,c=multiverse,b=i386
origin ftp.iitb.ac.in
Use a combination of o
,a
, etc. values that identify the repo to sufficient uniqueness. The same information can be obtained from the Release
or InRelease
files of the repository channels and components. For example, the main
component of the stable
channel of Google's repo (https://dl.google.com/linux/chrome/deb/dists/stable/main/binary-amd64/Release
) has:
Archive: stable
Version: 1.0
Component: main
Origin: Google, Inc.
Label: Google
Architecture: amd64
Description: Google chrome-linux repository.
Note that a=/
wouldn't work in your case, since your repo sets a different value for Archive
:
Archive: Debian_9.0
Codename: Debian_9.0
Origin: obs://build.opensuse.org/home:fusion809/Debian_9.0
Label: home:fusion809
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
accepted
To identify a repository in the preferences
file, use the output of apt-cache policy
, or the information from its Release
file:
~ apt-cache policy
Package files:
100 /var/lib/dpkg/status
release a=now
500 http://ppa.launchpad.net/gophers/archive/ubuntu xenial/main amd64 Packages
release v=16.04,o=LP-PPA-gophers-archive,a=xenial,n=xenial,l=Go 1.X packages,c=main,b=amd64
origin ppa.launchpad.net
500 https://dl.google.com/linux/chrome/deb stable/main amd64 Packages
release v=1.0,o=Google, Inc.,a=stable,n=stable,l=Google,c=main,b=amd64
origin dl.google.com
500 ftp://ftp.iitb.ac.in//os/ubuntu/archives/ubuntu xenial-updates/multiverse i386 Packages
release v=16.04,o=Ubuntu,a=xenial-updates,n=xenial,l=Ubuntu,c=multiverse,b=i386
origin ftp.iitb.ac.in
Use a combination of o
,a
, etc. values that identify the repo to sufficient uniqueness. The same information can be obtained from the Release
or InRelease
files of the repository channels and components. For example, the main
component of the stable
channel of Google's repo (https://dl.google.com/linux/chrome/deb/dists/stable/main/binary-amd64/Release
) has:
Archive: stable
Version: 1.0
Component: main
Origin: Google, Inc.
Label: Google
Architecture: amd64
Description: Google chrome-linux repository.
Note that a=/
wouldn't work in your case, since your repo sets a different value for Archive
:
Archive: Debian_9.0
Codename: Debian_9.0
Origin: obs://build.opensuse.org/home:fusion809/Debian_9.0
Label: home:fusion809
add a comment |Â
up vote
0
down vote
accepted
To identify a repository in the preferences
file, use the output of apt-cache policy
, or the information from its Release
file:
~ apt-cache policy
Package files:
100 /var/lib/dpkg/status
release a=now
500 http://ppa.launchpad.net/gophers/archive/ubuntu xenial/main amd64 Packages
release v=16.04,o=LP-PPA-gophers-archive,a=xenial,n=xenial,l=Go 1.X packages,c=main,b=amd64
origin ppa.launchpad.net
500 https://dl.google.com/linux/chrome/deb stable/main amd64 Packages
release v=1.0,o=Google, Inc.,a=stable,n=stable,l=Google,c=main,b=amd64
origin dl.google.com
500 ftp://ftp.iitb.ac.in//os/ubuntu/archives/ubuntu xenial-updates/multiverse i386 Packages
release v=16.04,o=Ubuntu,a=xenial-updates,n=xenial,l=Ubuntu,c=multiverse,b=i386
origin ftp.iitb.ac.in
Use a combination of o
,a
, etc. values that identify the repo to sufficient uniqueness. The same information can be obtained from the Release
or InRelease
files of the repository channels and components. For example, the main
component of the stable
channel of Google's repo (https://dl.google.com/linux/chrome/deb/dists/stable/main/binary-amd64/Release
) has:
Archive: stable
Version: 1.0
Component: main
Origin: Google, Inc.
Label: Google
Architecture: amd64
Description: Google chrome-linux repository.
Note that a=/
wouldn't work in your case, since your repo sets a different value for Archive
:
Archive: Debian_9.0
Codename: Debian_9.0
Origin: obs://build.opensuse.org/home:fusion809/Debian_9.0
Label: home:fusion809
add a comment |Â
up vote
0
down vote
accepted
up vote
0
down vote
accepted
To identify a repository in the preferences
file, use the output of apt-cache policy
, or the information from its Release
file:
~ apt-cache policy
Package files:
100 /var/lib/dpkg/status
release a=now
500 http://ppa.launchpad.net/gophers/archive/ubuntu xenial/main amd64 Packages
release v=16.04,o=LP-PPA-gophers-archive,a=xenial,n=xenial,l=Go 1.X packages,c=main,b=amd64
origin ppa.launchpad.net
500 https://dl.google.com/linux/chrome/deb stable/main amd64 Packages
release v=1.0,o=Google, Inc.,a=stable,n=stable,l=Google,c=main,b=amd64
origin dl.google.com
500 ftp://ftp.iitb.ac.in//os/ubuntu/archives/ubuntu xenial-updates/multiverse i386 Packages
release v=16.04,o=Ubuntu,a=xenial-updates,n=xenial,l=Ubuntu,c=multiverse,b=i386
origin ftp.iitb.ac.in
Use a combination of o
,a
, etc. values that identify the repo to sufficient uniqueness. The same information can be obtained from the Release
or InRelease
files of the repository channels and components. For example, the main
component of the stable
channel of Google's repo (https://dl.google.com/linux/chrome/deb/dists/stable/main/binary-amd64/Release
) has:
Archive: stable
Version: 1.0
Component: main
Origin: Google, Inc.
Label: Google
Architecture: amd64
Description: Google chrome-linux repository.
Note that a=/
wouldn't work in your case, since your repo sets a different value for Archive
:
Archive: Debian_9.0
Codename: Debian_9.0
Origin: obs://build.opensuse.org/home:fusion809/Debian_9.0
Label: home:fusion809
To identify a repository in the preferences
file, use the output of apt-cache policy
, or the information from its Release
file:
~ apt-cache policy
Package files:
100 /var/lib/dpkg/status
release a=now
500 http://ppa.launchpad.net/gophers/archive/ubuntu xenial/main amd64 Packages
release v=16.04,o=LP-PPA-gophers-archive,a=xenial,n=xenial,l=Go 1.X packages,c=main,b=amd64
origin ppa.launchpad.net
500 https://dl.google.com/linux/chrome/deb stable/main amd64 Packages
release v=1.0,o=Google, Inc.,a=stable,n=stable,l=Google,c=main,b=amd64
origin dl.google.com
500 ftp://ftp.iitb.ac.in//os/ubuntu/archives/ubuntu xenial-updates/multiverse i386 Packages
release v=16.04,o=Ubuntu,a=xenial-updates,n=xenial,l=Ubuntu,c=multiverse,b=i386
origin ftp.iitb.ac.in
Use a combination of o
,a
, etc. values that identify the repo to sufficient uniqueness. The same information can be obtained from the Release
or InRelease
files of the repository channels and components. For example, the main
component of the stable
channel of Google's repo (https://dl.google.com/linux/chrome/deb/dists/stable/main/binary-amd64/Release
) has:
Archive: stable
Version: 1.0
Component: main
Origin: Google, Inc.
Label: Google
Architecture: amd64
Description: Google chrome-linux repository.
Note that a=/
wouldn't work in your case, since your repo sets a different value for Archive
:
Archive: Debian_9.0
Codename: Debian_9.0
Origin: obs://build.opensuse.org/home:fusion809/Debian_9.0
Label: home:fusion809
answered Mar 7 at 8:15
muru
33.4k577141
33.4k577141
add a comment |Â
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f428673%2fi-gave-my-apt-repository-the-highest-priority-why-arent-the-latest-packages-be%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Add the output of
apt-cache policy
andapt-cache policy vim-common
, pleaseâ muru
Mar 7 at 6:11
Done. I have also asked for help at the #opensuse-buildservice IRC channel on freenode.
â BH2017
Mar 7 at 6:16
Looking at the output, it's clear that whatever pinning you used, it was not on the repo. And I don't see any mention of the openSUSE repo in your
preferences
either. What exactly do you mean by the first line of your question, then?â muru
Mar 7 at 6:20
It was, the
a=/
in the preferences file (line 14) that refers to this repository. After all look at how the OBS repo is mentioned in sources.list.d/fusion809.list. It's labelled/
.â BH2017
Mar 7 at 7:01
Check the output of
apt-cache policy
. See theo=obs://build.opensuse.org/home:fusion809/Debian_9.0,n=Debian_9.0,l=home:fusion809,c=
? That's how that repo should have been identified inpreferences
.â muru
Mar 7 at 7:02