Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- root@localhost:/etc/apt# nano sources.list
- root@localhost:/etc/apt# apt-update
- apt-update: command not found
- root@localhost:/etc/apt# apt update
- Hit:1 http://archive.canonical.com/ubuntu focal InRelease
- Ign:2 http://archive.ubuntu.com/ubuntu-archive focal InRelease
- Ign:3 http://archive.ubuntu.com/ubuntu-archive focal-updates InRelease
- Ign:4 http://archive.ubuntu.com/ubuntu-archive focal-backarchive InRelease
- Ign:5 http://archive.ubuntu.com/ubuntu-archive focal-security InRelease
- Err:6 http://archive.ubuntu.com/ubuntu-archive focal Release
- 404 Not Found [IP: 91.189.88.152 80]
- Err:7 http://archive.ubuntu.com/ubuntu-archive focal-updates Release
- 404 Not Found [IP: 91.189.88.152 80]
- Err:8 http://archive.ubuntu.com/ubuntu-archive focal-backarchive Release
- 404 Not Found [IP: 91.189.88.152 80]
- Err:9 http://archive.ubuntu.com/ubuntu-archive focal-security Release
- 404 Not Found [IP: 91.189.88.152 80]
- Reading package lists... Done
- E: The repository 'http://archive.ubuntu.com/ubuntu-archive focal Release' does not have a Release file.
- N: Updating from such a repository can't be done securely, and is therefore disabled by default.
- N: See apt-secure(8) manpage for repository creation and user configuration details.
- E: The repository 'http://archive.ubuntu.com/ubuntu-archive focal-updates Release' does not have a Release file.
- N: Updating from such a repository can't be done securely, and is therefore disabled by default.
- N: See apt-secure(8) manpage for repository creation and user configuration details.
- E: The repository 'http://archive.ubuntu.com/ubuntu-archive focal-backarchive Release' does not have a Release file.
- N: Updating from such a repository can't be done securely, and is therefore disabled by default.
- N: See apt-secure(8) manpage for repository creation and user configuration details.
- E: The repository 'http://archive.ubuntu.com/ubuntu-archive focal-security Release' does not have a Release file.
- N: Updating from such a repository can't be done securely, and is therefore disabled by default.
- N: See apt-secure(8) manpage for repository creation and user configuration details.
- root@localhost:/etc/apt# apt 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.
- root@localhost:/etc/apt# apt-cache search lubuntu-desktop
- root@localhost:/etc/apt# nano sources.list
- root@localhost:/etc/apt# nano sources.list.bak
- root@localhost:/etc/apt# nano sources.list
- root@localhost:/etc/apt# apt update
- Hit:1 http://archive.ubuntu.com/ubuntu focal InRelease
- Hit:2 http://archive.canonical.com/ubuntu focal InRelease
- Get:3 http://archive.ubuntu.com/ubuntu focal-updates InRelease [114 kB]
- Get:4 http://archive.ubuntu.com/ubuntu focal-security InRelease [114 kB]
- Get:5 http://archive.ubuntu.com/ubuntu focal-backports InRelease [108 kB]
- Get:6 http://archive.ubuntu.com/ubuntu focal/restricted Sources [6472 B]
- Get:7 http://archive.ubuntu.com/ubuntu focal/universe Sources [9707 kB]
- Get:8 http://archive.ubuntu.com/ubuntu focal/multiverse Sources [174 kB]
- Get:9 http://archive.ubuntu.com/ubuntu focal/main amd64 Packages [970 kB]
- Get:10 http://archive.ubuntu.com/ubuntu focal/main Translation-en [506 kB]
- Get:11 http://archive.ubuntu.com/ubuntu focal/main amd64 c-n-f Metadata [29.5 kB]
- Get:12 http://archive.ubuntu.com/ubuntu focal/restricted amd64 Packages [22.0 kB]
- Get:13 http://archive.ubuntu.com/ubuntu focal/restricted Translation-en [6212 B]
- Get:14 http://archive.ubuntu.com/ubuntu focal/restricted amd64 c-n-f Metadata [392 B]
- Get:15 http://archive.ubuntu.com/ubuntu focal/universe amd64 Packages [8628 kB]
- Get:16 http://archive.ubuntu.com/ubuntu focal/universe Translation-en [5124 kB]
- Get:17 http://archive.ubuntu.com/ubuntu focal/universe amd64 c-n-f Metadata [265 kB]
- Get:18 http://archive.ubuntu.com/ubuntu focal/multiverse amd64 Packages [144 kB]
- Get:19 http://archive.ubuntu.com/ubuntu focal/multiverse Translation-en [104 kB]
- Get:20 http://archive.ubuntu.com/ubuntu focal/multiverse amd64 c-n-f Metadata [9136 B]
- Get:21 http://archive.ubuntu.com/ubuntu focal-updates/main Sources [460 kB]
- Get:22 http://archive.ubuntu.com/ubuntu focal-updates/universe Sources [217 kB]
- Get:23 http://archive.ubuntu.com/ubuntu focal-updates/restricted Sources [32.1 kB]
- Get:24 http://archive.ubuntu.com/ubuntu focal-updates/multiverse Sources [19.0 kB]
- Get:25 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages [1510 kB]
- Get:26 http://archive.ubuntu.com/ubuntu focal-updates/main Translation-en [296 kB]
- Get:27 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 c-n-f Metadata [14.7 kB]
- Get:28 http://archive.ubuntu.com/ubuntu focal-updates/restricted amd64 Packages [736 kB]
- Get:29 http://archive.ubuntu.com/ubuntu focal-updates/restricted Translation-en [105 kB]
- Get:30 http://archive.ubuntu.com/ubuntu focal-updates/restricted amd64 c-n-f Metadata [532 B]
- Get:31 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 Packages [894 kB]
- Get:32 http://archive.ubuntu.com/ubuntu focal-updates/universe Translation-en [196 kB]
- Get:33 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 c-n-f Metadata [20.0 kB]
- Get:34 http://archive.ubuntu.com/ubuntu focal-updates/multiverse amd64 Packages [24.8 kB]
- Get:35 http://archive.ubuntu.com/ubuntu focal-updates/multiverse Translation-en [6928 B]
- Get:36 http://archive.ubuntu.com/ubuntu focal-updates/multiverse amd64 c-n-f Metadata [620 B]
- Get:37 http://archive.ubuntu.com/ubuntu focal-security/universe Sources [83.7 kB]
- Get:38 http://archive.ubuntu.com/ubuntu focal-security/main Sources [198 kB]
- Get:39 http://archive.ubuntu.com/ubuntu focal-security/multiverse Sources [7812 B]
- Get:40 http://archive.ubuntu.com/ubuntu focal-security/restricted Sources [32.1 kB]
- Get:41 http://archive.ubuntu.com/ubuntu focal-security/main amd64 Packages [1178 kB]
- Get:42 http://archive.ubuntu.com/ubuntu focal-security/main Translation-en [210 kB]
- Get:43 http://archive.ubuntu.com/ubuntu focal-security/main amd64 c-n-f Metadata [9132 B]
- Get:44 http://archive.ubuntu.com/ubuntu focal-security/restricted amd64 Packages [686 kB]
- Get:45 http://archive.ubuntu.com/ubuntu focal-security/restricted Translation-en [97.9 kB]
- Get:46 http://archive.ubuntu.com/ubuntu focal-security/restricted amd64 c-n-f Metadata [536 B]
- Get:47 http://archive.ubuntu.com/ubuntu focal-security/universe amd64 Packages [677 kB]
- Get:48 http://archive.ubuntu.com/ubuntu focal-security/universe Translation-en [115 kB]
- Get:49 http://archive.ubuntu.com/ubuntu focal-security/universe amd64 c-n-f Metadata [13.0 kB]
- Get:50 http://archive.ubuntu.com/ubuntu focal-security/multiverse amd64 Packages [21.8 kB]
- Get:51 http://archive.ubuntu.com/ubuntu focal-security/multiverse Translation-en [4948 B]
- Get:52 http://archive.ubuntu.com/ubuntu focal-security/multiverse amd64 c-n-f Metadata [536 B]
- Get:53 http://archive.ubuntu.com/ubuntu focal-backports/universe Sources [5968 B]
- Get:54 http://archive.ubuntu.com/ubuntu focal-backports/main Sources [6584 B]
- Get:55 http://archive.ubuntu.com/ubuntu focal-backports/main amd64 Packages [42.0 kB]
- Get:56 http://archive.ubuntu.com/ubuntu focal-backports/main Translation-en [10.0 kB]
- Get:57 http://archive.ubuntu.com/ubuntu focal-backports/main amd64 c-n-f Metadata [864 B]
- Get:58 http://archive.ubuntu.com/ubuntu focal-backports/restricted amd64 c-n-f Metadata [116 B]
- Get:59 http://archive.ubuntu.com/ubuntu focal-backports/universe amd64 Packages [19.5 kB]
- Get:60 http://archive.ubuntu.com/ubuntu focal-backports/universe Translation-en [13.4 kB]
- Get:61 http://archive.ubuntu.com/ubuntu focal-backports/universe amd64 c-n-f Metadata [672 B]
- Get:62 http://archive.ubuntu.com/ubuntu focal-backports/multiverse amd64 c-n-f Metadata [116 B]
- Fetched 34.0 MB in 10s (3387 kB/s)
- Reading package lists... Done
- Building dependency tree
- Reading state information... Done
- 104 packages can be upgraded. Run 'apt list --upgradable' to see them.
- root@localhost:/etc/apt# apt upgrade
- Reading package lists... Done
- Building dependency tree
- Reading state information... Done
- Calculating upgrade... Done
- The following NEW packages will be installed:
- dctrl-tools distro-info
- The following packages will be upgraded:
- apparmor apt apt-utils base-files bash bsdutils build-essential command-not-found dirmngr dkms fdisk friendly-recovery gir1.2-glib-2.0 gnupg gnupg-l10n gnupg-utils gpg gpg-agent gpg-wks-client gpg-wks-server gpgconf gpgsm gpgv
- grub-common grub-pc grub-pc-bin grub2-common initramfs-tools initramfs-tools-bin initramfs-tools-core language-selector-common less libapparmor1 libapt-pkg6.0 libblkid1 libc-bin libc-dev-bin libc6 libc6-dev libcryptsetup12
- libdns-export1109 libdrm-common libdrm2 libefiboot1 libefivar1 libfdisk1 libgirepository-1.0-1 libglib2.0-0 libglib2.0-data libisc-export1105 libldap-2.4-2 libldap-common liblzma5 libmount1 libnetplan0 libpam-modules
- libpam-modules-bin libpam-runtime libpam0g libparted2 libpci3 libplymouth5 libprocps8 libsmartcols1 libssl1.1 libuuid1 linux-base locales login lshw lsof mount netplan.io networkd-dispatcher openssh-client openssh-server
- openssh-sftp-server openssl parted passwd pciutils plymouth plymouth-theme-ubuntu-text procps python-apt-common python3-apt python3-commandnotfound python3-distupgrade python3-update-manager rsync rsyslog strace ubuntu-advantage-tools
- ubuntu-keyring ubuntu-minimal ubuntu-release-upgrader-core ubuntu-standard ufw update-manager-core util-linux uuid-runtime wget xz-utils zlib1g
- 104 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
- Need to get 34.0 MB of archives.
- After this operation, 3985 kB of additional disk space will be used.
- Do you want to continue? [Y/n]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement