Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Debian QA
jenkins.debian.net
Commits
67fb58ea
Verified
Commit
67fb58ea
authored
Jun 22, 2018
by
Mattia Rizzolo
Browse files
Use APT pinning instead of using `apt-get install -t`.
Signed-off-by:
Mattia Rizzolo
<
mattia@debian.org
>
parent
6f915a55
Changes
2
Hide whitespace changes
Inline
Side-by-side
hosts/common-arm64/etc/apt/preferences.d/pbuilder
0 → 100644
View file @
67fb58ea
Package: pbuilder
Pin: release o=Debian Backports
Pin-Priority: 990
Package: *
Pin: release o=Debian Backports
Pin-Priority: -1
update_jdn.sh
View file @
67fb58ea
...
@@ -455,12 +455,7 @@ if [ -f /etc/debian_version ] ; then
...
@@ -455,12 +455,7 @@ if [ -f /etc/debian_version ] ; then
$UP2DATE
||
sudo
apt-get
install
$DEBS
$MASTERDEBS
$UP2DATE
||
sudo
apt-get
install
$DEBS
$MASTERDEBS
# don't (re-)install pbuilder if it's on hold
# don't (re-)install pbuilder if it's on hold
if
[
"
$(
dpkg-query
-W
-f
=
'${db:Status-Abbrev}\n'
pbuilder
)
"
!=
"hi "
]
;
then
if
[
"
$(
dpkg-query
-W
-f
=
'${db:Status-Abbrev}\n'
pbuilder
)
"
!=
"hi "
]
;
then
case
$HOSTNAME
in
$UP2DATE
||
sudo
apt-get
install
pbuilder
codethink
*
)
$UP2DATE
||
sudo
apt-get
install
-t
jessie-backports pbuilder
;;
*
)
$UP2DATE
||
sudo
apt-get
install
pbuilder
;;
esac
fi
fi
# remove unattended-upgrades if it's installed
# remove unattended-upgrades if it's installed
if
[
"
$(
dpkg-query
-W
-f
=
'${db:Status-Abbrev}\n'
unattended-upgrades 2>/dev/null
||
true
)
"
=
"ii "
]
;
then
if
[
"
$(
dpkg-query
-W
-f
=
'${db:Status-Abbrev}\n'
unattended-upgrades 2>/dev/null
||
true
)
"
=
"ii "
]
;
then
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment