Advertisement
Guest User

Untitled

a guest
Jan 22nd, 2022
37
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 9.84 KB | None | 0 0
  1. root@localhost:/etc/apt# nano sources.list
  2. root@localhost:/etc/apt# apt-update
  3. apt-update: command not found
  4. root@localhost:/etc/apt# apt update
  5. Hit:1 http://archive.canonical.com/ubuntu focal InRelease
  6. Ign:2 http://archive.ubuntu.com/ubuntu-archive focal InRelease
  7. Ign:3 http://archive.ubuntu.com/ubuntu-archive focal-updates InRelease
  8. Ign:4 http://archive.ubuntu.com/ubuntu-archive focal-backarchive InRelease
  9. Ign:5 http://archive.ubuntu.com/ubuntu-archive focal-security InRelease
  10. Err:6 http://archive.ubuntu.com/ubuntu-archive focal Release
  11.   404  Not Found [IP: 91.189.88.152 80]
  12. Err:7 http://archive.ubuntu.com/ubuntu-archive focal-updates Release
  13.   404  Not Found [IP: 91.189.88.152 80]
  14. Err:8 http://archive.ubuntu.com/ubuntu-archive focal-backarchive Release
  15.   404  Not Found [IP: 91.189.88.152 80]
  16. Err:9 http://archive.ubuntu.com/ubuntu-archive focal-security Release
  17.   404  Not Found [IP: 91.189.88.152 80]
  18. Reading package lists... Done
  19. E: The repository 'http://archive.ubuntu.com/ubuntu-archive focal Release' does not have a Release file.
  20. N: Updating from such a repository can't be done securely, and is therefore disabled by default.
  21. N: See apt-secure(8) manpage for repository creation and user configuration details.
  22. E: The repository 'http://archive.ubuntu.com/ubuntu-archive focal-updates Release' does not have a Release file.
  23. N: Updating from such a repository can't be done securely, and is therefore disabled by default.
  24. N: See apt-secure(8) manpage for repository creation and user configuration details.
  25. E: The repository 'http://archive.ubuntu.com/ubuntu-archive focal-backarchive Release' does not have a Release file.
  26. N: Updating from such a repository can't be done securely, and is therefore disabled by default.
  27. N: See apt-secure(8) manpage for repository creation and user configuration details.
  28. E: The repository 'http://archive.ubuntu.com/ubuntu-archive focal-security Release' does not have a Release file.
  29. N: Updating from such a repository can't be done securely, and is therefore disabled by default.
  30. N: See apt-secure(8) manpage for repository creation and user configuration details.
  31. root@localhost:/etc/apt# apt upgrade
  32. Reading package lists... Done
  33. Building dependency tree      
  34. Reading state information... Done
  35. Calculating upgrade... Done
  36. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
  37. root@localhost:/etc/apt# apt-cache search lubuntu-desktop
  38. root@localhost:/etc/apt# nano sources.list
  39. root@localhost:/etc/apt# nano sources.list.bak
  40. root@localhost:/etc/apt# nano sources.list    
  41. root@localhost:/etc/apt# apt update
  42. Hit:1 http://archive.ubuntu.com/ubuntu focal InRelease
  43. Hit:2 http://archive.canonical.com/ubuntu focal InRelease
  44. Get:3 http://archive.ubuntu.com/ubuntu focal-updates InRelease [114 kB]
  45. Get:4 http://archive.ubuntu.com/ubuntu focal-security InRelease [114 kB]
  46. Get:5 http://archive.ubuntu.com/ubuntu focal-backports InRelease [108 kB]
  47. Get:6 http://archive.ubuntu.com/ubuntu focal/restricted Sources [6472 B]
  48. Get:7 http://archive.ubuntu.com/ubuntu focal/universe Sources [9707 kB]
  49. Get:8 http://archive.ubuntu.com/ubuntu focal/multiverse Sources [174 kB]
  50. Get:9 http://archive.ubuntu.com/ubuntu focal/main amd64 Packages [970 kB]
  51. Get:10 http://archive.ubuntu.com/ubuntu focal/main Translation-en [506 kB]
  52. Get:11 http://archive.ubuntu.com/ubuntu focal/main amd64 c-n-f Metadata [29.5 kB]
  53. Get:12 http://archive.ubuntu.com/ubuntu focal/restricted amd64 Packages [22.0 kB]
  54. Get:13 http://archive.ubuntu.com/ubuntu focal/restricted Translation-en [6212 B]
  55. Get:14 http://archive.ubuntu.com/ubuntu focal/restricted amd64 c-n-f Metadata [392 B]
  56. Get:15 http://archive.ubuntu.com/ubuntu focal/universe amd64 Packages [8628 kB]
  57. Get:16 http://archive.ubuntu.com/ubuntu focal/universe Translation-en [5124 kB]
  58. Get:17 http://archive.ubuntu.com/ubuntu focal/universe amd64 c-n-f Metadata [265 kB]
  59. Get:18 http://archive.ubuntu.com/ubuntu focal/multiverse amd64 Packages [144 kB]
  60. Get:19 http://archive.ubuntu.com/ubuntu focal/multiverse Translation-en [104 kB]
  61. Get:20 http://archive.ubuntu.com/ubuntu focal/multiverse amd64 c-n-f Metadata [9136 B]
  62. Get:21 http://archive.ubuntu.com/ubuntu focal-updates/main Sources [460 kB]
  63. Get:22 http://archive.ubuntu.com/ubuntu focal-updates/universe Sources [217 kB]
  64. Get:23 http://archive.ubuntu.com/ubuntu focal-updates/restricted Sources [32.1 kB]
  65. Get:24 http://archive.ubuntu.com/ubuntu focal-updates/multiverse Sources [19.0 kB]
  66. Get:25 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages [1510 kB]
  67. Get:26 http://archive.ubuntu.com/ubuntu focal-updates/main Translation-en [296 kB]
  68. Get:27 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 c-n-f Metadata [14.7 kB]
  69. Get:28 http://archive.ubuntu.com/ubuntu focal-updates/restricted amd64 Packages [736 kB]
  70. Get:29 http://archive.ubuntu.com/ubuntu focal-updates/restricted Translation-en [105 kB]
  71. Get:30 http://archive.ubuntu.com/ubuntu focal-updates/restricted amd64 c-n-f Metadata [532 B]
  72. Get:31 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 Packages [894 kB]
  73. Get:32 http://archive.ubuntu.com/ubuntu focal-updates/universe Translation-en [196 kB]
  74. Get:33 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 c-n-f Metadata [20.0 kB]
  75. Get:34 http://archive.ubuntu.com/ubuntu focal-updates/multiverse amd64 Packages [24.8 kB]
  76. Get:35 http://archive.ubuntu.com/ubuntu focal-updates/multiverse Translation-en [6928 B]
  77. Get:36 http://archive.ubuntu.com/ubuntu focal-updates/multiverse amd64 c-n-f Metadata [620 B]
  78. Get:37 http://archive.ubuntu.com/ubuntu focal-security/universe Sources [83.7 kB]
  79. Get:38 http://archive.ubuntu.com/ubuntu focal-security/main Sources [198 kB]
  80. Get:39 http://archive.ubuntu.com/ubuntu focal-security/multiverse Sources [7812 B]
  81. Get:40 http://archive.ubuntu.com/ubuntu focal-security/restricted Sources [32.1 kB]
  82. Get:41 http://archive.ubuntu.com/ubuntu focal-security/main amd64 Packages [1178 kB]
  83. Get:42 http://archive.ubuntu.com/ubuntu focal-security/main Translation-en [210 kB]
  84. Get:43 http://archive.ubuntu.com/ubuntu focal-security/main amd64 c-n-f Metadata [9132 B]
  85. Get:44 http://archive.ubuntu.com/ubuntu focal-security/restricted amd64 Packages [686 kB]
  86. Get:45 http://archive.ubuntu.com/ubuntu focal-security/restricted Translation-en [97.9 kB]
  87. Get:46 http://archive.ubuntu.com/ubuntu focal-security/restricted amd64 c-n-f Metadata [536 B]
  88. Get:47 http://archive.ubuntu.com/ubuntu focal-security/universe amd64 Packages [677 kB]
  89. Get:48 http://archive.ubuntu.com/ubuntu focal-security/universe Translation-en [115 kB]
  90. Get:49 http://archive.ubuntu.com/ubuntu focal-security/universe amd64 c-n-f Metadata [13.0 kB]
  91. Get:50 http://archive.ubuntu.com/ubuntu focal-security/multiverse amd64 Packages [21.8 kB]
  92. Get:51 http://archive.ubuntu.com/ubuntu focal-security/multiverse Translation-en [4948 B]
  93. Get:52 http://archive.ubuntu.com/ubuntu focal-security/multiverse amd64 c-n-f Metadata [536 B]
  94. Get:53 http://archive.ubuntu.com/ubuntu focal-backports/universe Sources [5968 B]
  95. Get:54 http://archive.ubuntu.com/ubuntu focal-backports/main Sources [6584 B]
  96. Get:55 http://archive.ubuntu.com/ubuntu focal-backports/main amd64 Packages [42.0 kB]
  97. Get:56 http://archive.ubuntu.com/ubuntu focal-backports/main Translation-en [10.0 kB]
  98. Get:57 http://archive.ubuntu.com/ubuntu focal-backports/main amd64 c-n-f Metadata [864 B]
  99. Get:58 http://archive.ubuntu.com/ubuntu focal-backports/restricted amd64 c-n-f Metadata [116 B]
  100. Get:59 http://archive.ubuntu.com/ubuntu focal-backports/universe amd64 Packages [19.5 kB]
  101. Get:60 http://archive.ubuntu.com/ubuntu focal-backports/universe Translation-en [13.4 kB]
  102. Get:61 http://archive.ubuntu.com/ubuntu focal-backports/universe amd64 c-n-f Metadata [672 B]
  103. Get:62 http://archive.ubuntu.com/ubuntu focal-backports/multiverse amd64 c-n-f Metadata [116 B]
  104. Fetched 34.0 MB in 10s (3387 kB/s)                                                                                                                                                                                                          
  105. Reading package lists... Done
  106. Building dependency tree      
  107. Reading state information... Done
  108. 104 packages can be upgraded. Run 'apt list --upgradable' to see them.
  109. root@localhost:/etc/apt# apt upgrade
  110. Reading package lists... Done
  111. Building dependency tree      
  112. Reading state information... Done
  113. Calculating upgrade... Done
  114. The following NEW packages will be installed:
  115.   dctrl-tools distro-info
  116. The following packages will be upgraded:
  117.   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
  118.   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
  119.   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
  120.   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
  121.   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
  122.   ubuntu-keyring ubuntu-minimal ubuntu-release-upgrader-core ubuntu-standard ufw update-manager-core util-linux uuid-runtime wget xz-utils zlib1g
  123. 104 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
  124. Need to get 34.0 MB of archives.
  125. After this operation, 3985 kB of additional disk space will be used.
  126. Do you want to continue? [Y/n]
  127.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement