Originally Posted by
dunivixs
The result is :
Code:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package python3-magic is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
That shouldn't happen. python3-magic is available from the main focal repository. On my system:
Code:
$ apt-cache policy python3-magic
python3-magic:
Installed: (none)
Candidate: 2:0.4.15-3
Version table:
2:0.4.15-3 500
500 http://nl.archive.ubuntu.com/ubuntu focal/main amd64 Packages
500 http://nl.archive.ubuntu.com/ubuntu focal/main i386 Packages
Check your /etc/apt/sources.list. It must mention focal main. Maybe refreshing software lists helps. sudo apt update should do that, but it can fail if some timestamps are wrong. First deleting the lists will force apt update to download them again. The lists are in /var/lib/apt/lists/.
Your output from sudo apt update shows the main focal repository on the first line as "Hit". This means that no changes were reported compared to the version cached on your system, so it didn't redownload.
The only other possibility I see is a server problem. In that case, switch to a different mirror.
Bookmarks