Я использую Ubuntu 20.04.3. LTS. Приложение Software & Update не работает в моей системе. Я мне все равно, так как я предпочитаю терминал для обновлений, но я не знаю, как удалить неиспользуемые репозитории (я добавил репозиторий FDM ранее и больше не использую FDM, но его репозиторий все еще присутствует)
. не беспокойте меня. Моя проблема связана с уведомлением об ошибке обновления. Я вставил сообщение ниже.
Произошла ошибка. Запустите диспетчер пакетов из контекстного меню или apt-get в терминале, чтобы узнать, что неправильный. Сообщение об ошибке было: «Ошибка: открытие кеша (E: невозможно открыть /var/lib/apt/lists/ppa.launchpad.net_alex-p_tesseract-ocr-devel_ubuntu_dists_focal_InRelease -fopen (13: Отказано в доступе), E: Список пакетов или означает, что ваши установленные пакеты имеют нелеченные зависимости Показать обновления Показать уведомления Настройки
Это уведомление, которое я получаю постоянно. У меня не возникает проблем при обновлении моей системы с помощью команды sudo apt-get upgrade.
Я просто хочу избавиться от этого уведомления и исправить проблему, из-за которой приложение «Программное обеспечение и обновления» не открывается.
Вот результат apt-get
amartya@amartya-Pavilion-15t-cs200:~$ apt-get
apt 2.0.6 (amd64)
Usage: apt-get [options] command
apt-get [options] install|remove pkg1 [pkg2 ...]
apt-get [options] source pkg1 [pkg2 ...]
apt-get is a command line interface for retrieval of packages
and information about them from authenticated sources and
for installation, upgrade and removal of packages together
with their dependencies.
Most used commands:
update - Retrieve new lists of packages
upgrade - Perform an upgrade
install - Install new packages (pkg is libc6 not libc6.deb)
reinstall - Reinstall packages (pkg is libc6 not libc6.deb)
remove - Remove packages
purge - Remove packages and config files
autoremove - Remove automatically all unused packages
dist-upgrade - Distribution upgrade, see apt-get(8)
dselect-upgrade - Follow dselect selections
build-dep - Configure build-dependencies for source packages
satisfy - Satisfy dependency strings
clean - Erase downloaded archive
autoclean - Erase old downloaded archive files
check - Verify that there are no broken dependencies
source - Download source archives
download - Download the binary package into the current directory
changelog - Download and display the changelog for the given package
See apt-get(8) for more information about the available commands.
Configuration options and syntax is detailed in apt.conf(5).
Information about how to configure sources can be found in sources.list(5).
Package and version choices can be expressed via apt_preferences(5).
Security details are available in apt-secure(8).
This APT has Super Cow Powers.
Вот вывод sudo apt update
amartya@amartya-Pavilion-15t-cs200:~$ sudo apt update
[sudo] password for amartya:
Hit:1 http://in.archive.ubuntu.com/ubuntu focal InRelease
Get:2 http://in.archive.ubuntu.com/ubuntu focal-updates InRelease [114 kB]
Hit:3 http://dl.google.com/linux/chrome/deb stable InRelease
Get:4 http://in.archive.ubuntu.com/ubuntu focal-backports InRelease [101 kB]
Hit:5 http://ppa.launchpad.net/alex-p/tesseract-ocr-devel/ubuntu focal InRelease
Get:6 http://in.archive.ubuntu.com/ubuntu focal-security InRelease [114 kB]
Get:7 http://in.archive.ubuntu.com/ubuntu focal-updates/main i386 Packages [536 kB]
Hit:8 http://ppa.launchpad.net/daniruiz/flat-remix/ubuntu focal InRelease
Get:9 http://in.archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages [1,214 kB]
Hit:10 https://debrepo.freedownloadmanager.org bionic InRelease
Get:11 https://repo.protonvpn.com/debian stable InRelease [2,519 B]
Hit:12 http://ppa.launchpad.net/deadsnakes/ppa/ubuntu focal InRelease
Get:13 http://in.archive.ubuntu.com/ubuntu focal-updates/main amd64 DEP-11 Metadata [282 kB]
Get:14 http://in.archive.ubuntu.com/ubuntu focal-updates/universe amd64 Packages [855 kB]
Get:15 http://in.archive.ubuntu.com/ubuntu focal-updates/universe amd64 DEP-11 Metadata [352 kB]
Hit:16 http://ppa.launchpad.net/flexiondotorg/cpu-x/ubuntu focal InRelease
Get:17 http://in.archive.ubuntu.com/ubuntu focal-updates/multiverse amd64 DEP-11 Metadata [944 B]
Get:18 http://in.archive.ubuntu.com/ubuntu focal-backports/universe amd64 DEP-11 Metadata [10.4 kB]
Get:19 http://in.archive.ubuntu.com/ubuntu focal-security/main amd64 DEP-11 Metadata [27.6 kB]
Get:20 http://in.archive.ubuntu.com/ubuntu focal-security/universe amd64 DEP-11 Metadata [61.3 kB]
Get:21 http://in.archive.ubuntu.com/ubuntu focal-security/multiverse amd64 DEP-11 Metadata [2,464 B]
Hit:22 http://ppa.launchpad.net/gns3/ppa/ubuntu focal InRelease
Hit:23 http://ppa.launchpad.net/micahflee/ppa/ubuntu focal InRelease
Fetched 3,673 kB in 3s (1,137 kB/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
All packages are up to date.
Вот права доступа к файлу
amartya@amartya-Pavilion-15t-cs200:~$ sudo ls -l /var/lib/apt/lists/ppa.launchpad.net_alex-p_tesseract-ocr-devel_ubuntu_dists_focal_InRelease
-rw-r--r-- 1 root root 17583 Aug 25 02:10 /var/lib/apt/lists/ppa.launchpad.net_alex-p_tesseract-ocr-devel_ubuntu_dists_focal_InRelease
Вот вывод history |grep add-apt
amartya@amartya-Pavilion-15t-cs200:~$ history |grep add-apt
1281 sudo add-apt-repository ppa:flexiondotorg/cpu-x
1305 sudo add-apt-repository ppa:gns3/ppa
1318 sudo add-apt-repository ppa:micahflee/ppa
1827 sudo add-apt-repository ppa:alex-p/tesseract-ocr-devel
1997 history |grep add-apt
2003 history |grep add-apt