cat /etc/apt/sources.list
Nothing
$ for file_name in /etc/apt/sources.list.d/* ; do echo "$file_name" && cat "$file_name" ; done
/etc/apt/sources.list.d/debian.list
Copyright (C) 2012 - 2018 ENCRYPTED SUPPORT LP adrelanos@riseup.net
See the file COPYING for copying conditions.
This is a default sources.list for Anonymity Linux Distributions,
which are derivatives of Debian.
If you want to see the example, which came with the upstream
distribution, see: /usr/share/doc/apt/examples/sources.list
Instead of directly editing this file,
the user is advised to create the file /etc/apt/sources.list.d/user.list.
This is because when this package gets updated,
/etc/apt/sources.list.d/debian.list will be overwritten and may receive new
new default values and comments. The entire folder /etc/apt/sources.list.d/
gets scanned for additional sources.list files by apt-get.
The user may keep their settings even after updating this package.
Without graphical user interface, you can use for example:
sudoedit /etc/apt/sources.list.d/user.list
With graphical user interface (XFCE), you can use for example:
gsudoedit /etc/apt/sources.list.d/user.list
#deb tor+h##p://sgvtcaew4bxjd7ln.onion buster/updates main contrib non-free
deb tor+h##ps://deb.debian.org/debian-security/ buster/updates main contrib non-free
#deb tor+h##p://vwakviie2ienjx6t.onion/debian buster main contrib non-free
deb tor+h##ps://deb.debian.org/debian buster main contrib non-free
#deb-src tor+h##p://sgvtcaew4bxjd7ln.onion buster/updates main contrib non-free
#deb-src tor+h##ps://deb.debian.org/debian-security/ buster/updates main contrib non-free
#deb-src tor+h##p://vwakviie2ienjx6t.onion/debian buster main contrib non-free
#deb-src tor+h##ps://deb.debian.org/debian buster main contrib non-free
meta start
project Whonix and Kicksecure
category networking and apt
description
Debian APT repository sources.list
Configured to use tor+https
.
Technical notes:
- Why is buster-updates disabled by default?
See: h##ps://wiki.debian.org/StableUpdates
- Why are sources (deb-src) disabled by default?
Because those are not required by most users, to save time while
running sudo apt update
.
- See also: h##ps://www.debian.org/security/
- See also: /etc/apt/sources.list.d/
meta end
/etc/apt/sources.list.d/debian.list.dpkg-old
Copyright (C) 2012 - 2018 ENCRYPTED SUPPORT LP adrelanos@riseup.net
See the file COPYING for copying conditions.
This is a default sources.list for Anonymity Linux Distributions,
which are derivatives of Debian.
If you want to see the example, which came with the upstream
distribution, see: /usr/share/doc/apt/examples/sources.list
Instead of directly editing this file,
the user is advised to create the file /etc/apt/sources.list.d/user.list.
This is because when this package gets updated,
/etc/apt/sources.list.d/debian.list will be overwritten and may receive new
new default values and comments. The entire folder /etc/apt/sources.list.d/
gets scanned for additional sources.list files by apt-get.
The user may keep their settings even after updating this package.
Without graphical user interface, you can use for example:
sudo editor /etc/apt/sources.list.d/user.list
With graphical user interface (KDE), you can use for example:
kdesudo xdg-open /etc/apt/sources.list.d/user.list
#deb tor+h##p://sgvtcaew4bxjd7ln.onion buster/updates main contrib non-free
deb h##ps://deb.debian.org/debian-security/ buster/updates main contrib non-free
#deb tor+h##p://vwakviie2ienjx6t.onion/debian buster main contrib non-free
deb h##ps://deb.debian.org/debian buster main contrib non-free
#deb-src tor+h##p://sgvtcaew4bxjd7ln.onion buster/updates main contrib non-free
#deb-src h##ps://deb.debian.org/debian-security/ buster/updates main contrib non-free
#deb-src tor+h##p://vwakviie2ienjx6t.onion/debian buster main contrib non-free
#deb-src h##ps://deb.debian.org/debian buster main contrib non-free
Technical notes:
- Why is buster-updates disabled by default?
See: h##ps://wiki.debian.org/StableUpdates
- Why are sources (deb-src) disabled by default?
Because those are not required by most users, to save time while
running “sudo apt-get update”.
- See also: h##ps://www.debian.org/security/
- See also: /etc/apt/sources.list.d/
/etc/apt/sources.list.d/whonix.list
Copyright (C) 2012 - 2018 ENCRYPTED SUPPORT LP adrelanos@riseup.net
See the file COPYING for copying conditions.
Whonix /etc/apt/sources.list.d/whonix.list
This file has been automatically created by /usr/bin/whonix_repository.
If you make manual changes to it, your changes get lost next time you run
the whonix_repository tool.
You can conveniently manage this file, using the whonix_repository tool.
For any modifications (delete this file, use stable version, use testers
version or use developers version), please use the whonix_repository tool.
Run:
sudo whonix_repository
#deb tor+h##p://deb.dds6qkxpwdeubwucdiaord2xgbbeyds25rbsgr73tbfpqpt4a6vjwsyd.onion buster main contrib non-free
#deb-src tor+h##p://deb.dds6qkxpwdeubwucdiaord2xgbbeyds25rbsgr73tbfpqpt4a6vjwsyd.onion buster main contrib non-free
deb tor+h##ps://deb.whonix.org buster main contrib non-free
#deb-src tor+h##ps://deb.whonix.org buster main contrib non-free
Leaving source line disabled by default to safe some time, it’s not useful
anyway, since it’s better to get the source code from the git repository.
End of /etc/apt/sources.list.d/whonix.list
sudo dpkg --configure -a
Setting up linux-image-4.19.0-9-amd64 (4.19.118-2) …
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-4.19.0-9-amd64
cryptsetup: WARNING: The initramfs image may not contain cryptsetup binaries
nor crypto modules. If that’s on purpose, you may want to uninstall the
‘cryptsetup-initramfs’ package in order to disable the cryptsetup initramfs
integration and avoid this warning.
live-boot: core filesystems devices utils udev blockdev dns.
/etc/kernel/postinst.d/zz-update-grub:
dpkg-query: no packages found matching linux-image-amd64
run-parts: /etc/kernel/postinst.d/zz-update-grub exited with return code 1
dpkg: error processing package linux-image-4.19.0-9-amd64 (–configure):
installed linux-image-4.19.0-9-amd64 package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
linux-image-4.19.0-9-amd64
sudo apt update
Hit:1 tor+h##ps://deb.debian.org/debian-security buster/updates InRelease
Hit:2 tor+h##ps://deb.debian.org/debian buster InRelease
Hit:3 tor+h##ps://deb.whonix.org buster InRelease
Reading package lists… Done
Building dependency tree
Reading state information… Done
All packages are up to date.
sudo apt dist-upgrade
Reading package lists… Done
Building dependency tree
Reading state information… Done
Calculating upgrade… Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n]
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = “en_US:en”,
LC_ALL = (unset),
LANG = “en_US.UTF-8”
are supported and installed on your system.
perl: warning: Falling back to the standard locale (“C”).
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
Setting up linux-image-4.19.0-9-amd64 (4.19.118-2) …
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-4.19.0-9-amd64
cryptsetup: WARNING: The initramfs image may not contain cryptsetup binaries
nor crypto modules. If that’s on purpose, you may want to uninstall the
‘cryptsetup-initramfs’ package in order to disable the cryptsetup initramfs
integration and avoid this warning.
live-boot: core filesystems devices utils udev blockdev dns.
/etc/kernel/postinst.d/zz-update-grub:
dpkg-query: no packages found matching linux-image-amd64
run-parts: /etc/kernel/postinst.d/zz-update-grub exited with return code 1
dpkg: error processing package linux-image-4.19.0-9-amd64 (–configure):
installed linux-image-4.19.0-9-amd64 package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
linux-image-4.19.0-9-amd64
E: Sub-process /usr/bin/dpkg returned an error code (1)
sudo apt-get install non-qubes-whonix-gateway-xfce
Reading package lists… Done
Building dependency tree
Reading state information… Done
non-qubes-whonix-gateway-xfce is already the newest version (3:16.7-1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n]
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = “en_US:en”,
LC_ALL = (unset),
LANG = “en_US.UTF-8”
are supported and installed on your system.
perl: warning: Falling back to the standard locale (“C”).
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
Setting up linux-image-4.19.0-9-amd64 (4.19.118-2) …
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-4.19.0-9-amd64
cryptsetup: WARNING: The initramfs image may not contain cryptsetup binaries
nor crypto modules. If that’s on purpose, you may want to uninstall the
‘cryptsetup-initramfs’ package in order to disable the cryptsetup initramfs
integration and avoid this warning.
live-boot: core filesystems devices utils udev blockdev dns.
/etc/kernel/postinst.d/zz-update-grub:
dpkg-query: no packages found matching linux-image-amd64
run-parts: /etc/kernel/postinst.d/zz-update-grub exited with return code 1
dpkg: error processing package linux-image-4.19.0-9-amd64 (–configure):
installed linux-image-4.19.0-9-amd64 package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
linux-image-4.19.0-9-amd64
E: Sub-process /usr/bin/dpkg returned an error code (1)
sudo apt-get install linux-image-amd64 linux-headers-amd64
Reading package lists… Done
Building dependency tree
Reading state information… Done
linux-headers-amd64 is already the newest version (4.19+105+deb10u4).
linux-headers-amd64 set to manually installed.
The following NEW packages will be installed:
linux-image-amd64
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 0 B/8140 B of archives.
After this operation, 17.4 kB of additional disk space will be used.
Do you want to continue? [Y/n]
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = “en_US:en”,
LC_ALL = (unset),
LANG = “en_US.UTF-8”
are supported and installed on your system.
perl: warning: Falling back to the standard locale (“C”).
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
Selecting previously unselected package linux-image-amd64.
(Reading database … 110746 files and directories currently installed.)
Preparing to unpack …/linux-image-amd64_4.19+105+deb10u4_amd64.deb …
Unpacking linux-image-amd64 (4.19+105+deb10u4) …
Setting up linux-image-4.19.0-9-amd64 (4.19.118-2) …
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-4.19.0-9-amd64
cryptsetup: WARNING: The initramfs image may not contain cryptsetup binaries
nor crypto modules. If that’s on purpose, you may want to uninstall the
‘cryptsetup-initramfs’ package in order to disable the cryptsetup initramfs
integration and avoid this warning.
live-boot: core filesystems devices utils udev blockdev dns.
/etc/kernel/postinst.d/zz-update-grub:
Generating grub configuration file …
Found linux image: /boot/vmlinuz-4.19.0-9-amd64
Found initrd image: /boot/initrd.img-4.19.0-9-amd64
Found linux image: /boot/vmlinuz-4.19.0-8-amd64
Found initrd image: /boot/initrd.img-4.19.0-8-amd64
Found linux image: /boot/vmlinuz-4.19.0-9-amd64
Found initrd image: /boot/initrd.img-4.19.0-9-amd64
Found linux image: /boot/vmlinuz-4.19.0-8-amd64
Found initrd image: /boot/initrd.img-4.19.0-8-amd64
done
Setting up linux-image-amd64 (4.19+105+deb10u4) …
After rebooting kernel 4.19.0-9 finally showed up but now its freezing on when I try to boot into it. Error:
Freeing ununsed kernel image memory: 1588K