Skip to content

Commit dc4bedd

Browse files
(PA-7651) Replace apt with apt-cache when using with grep
Move to archive.debian.org for backports since it has been moved to archive.
1 parent 73fc966 commit dc4bedd

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

data/os/Debian/11.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
apt::backports:
2+
location: http://archive.debian.org/debian
3+
repos: main contrib non-free

spec/acceptance/apt_backports_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
end
1818

1919
it 'provides backports apt sources' do
20-
run_shell('apt policy | grep --quiet backports')
20+
run_shell('apt-cache policy | grep --quiet backports')
2121
end
2222
end
2323
end

0 commit comments

Comments
 (0)