Score:0

Cannot install packages from focal repository

mx flag

I think i broke my repositories somehow (looks like it happened after install postgress).

For example when i try to install python3-dialog (and many other standard packages) that present in focal universe repository I faced problem:

sudo apt-get install -y python3-dialog
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package python3-dialog 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

E: Package 'python3-dialog' has no installation candidate

The strange thing that when i try to apt update i see conflict:

sudo apt update
Get:1 file:/var/opt/amdgpu-pro-local ./ InRelease
Ign:1 file:/var/opt/amdgpu-pro-local ./ InRelease
Get:2 file:/var/opt/amdgpu-pro-local ./ Release [816 B]
Get:2 file:/var/opt/amdgpu-pro-local ./ Release [816 B]
Get:3 file:/var/opt/amdgpu-pro-local ./ Release.gpg              
Ign:3 file:/var/opt/amdgpu-pro-local ./ Release.gpg         
Get:4 http://ru.archive.ubuntu.com/ubuntu focal InRelease [265 kB]
Ign:5 http://dl.google.com/linux/chrome-remote-desktop/deb stable InRelease                                                                                                                                 
Hit:6 http://ppa.launchpad.net/team-xbmc/ppa/ubuntu focal InRelease                                                                                                                                         
Hit:7 http://dl.google.com/linux/chrome/deb stable InRelease                                                                                                                                                
Hit:8 http://ru.archive.ubuntu.com/ubuntu focal-updates InRelease                                                                                                                                           
Hit:9 http://dl.google.com/linux/chrome-remote-desktop/deb stable Release                                                                                                                                   
Hit:10 http://ru.archive.ubuntu.com/ubuntu focal-backports InRelease                                                                                                                                        
Hit:11 http://security.ubuntu.com/ubuntu focal-security InRelease                                                                                                                                           
Hit:12 https://packages.microsoft.com/ubuntu/20.10/prod groovy InRelease                                                                                                                                    
Hit:13 https://packages.microsoft.com/repos/ms-teams stable InRelease                                                                                                          
Hit:15 https://repo.protonvpn.com/debian stable InRelease                                                                                                                                                   
Hit:16 https://download.mono-project.com/repo/ubuntu vs-focal InRelease                                                                                                                        
Get:17 https://pkgs.tailscale.com/stable/ubuntu focal InRelease                                                                                                                          
Hit:18 https://repo.steampowered.com/steam stable InRelease                                       
Hit:19 https://download.docker.com/linux/ubuntu focal InRelease             
Fetched 270 kB in 4s (65,1 kB/s)      
Reading package lists... Done
Building dependency tree       
Reading state information... Done
22 packages can be upgraded. Run 'apt list --upgradable' to see them.
W: Conflicting distribution: http://ru.archive.ubuntu.com/ubuntu focal InRelease (expected focal but got focal-pgdg)

I didn't understand where did the focal-pgdg came from. And another thing that worries me is that a lot of standard packages in apt looks so:

sudo apt list --installed | grep pgdg
.....
gparted-common/focal-pgdg,now 1.0.0-0.1build1 all [installed,automatic]
gparted/focal-pgdg,now 1.0.0-0.1build1 amd64 [installed]
grep/focal-pgdg,now 3.4-1 amd64 [installed]
grilo-plugins-0.3-base/focal-pgdg,now 0.3.11-1ubuntu1 amd64 [installed,automatic]
groff-base/focal-pgdg,now 1.22.4-4build1 amd64 [installed,automatic]
grub-gfxpayload-lists/focal-pgdg,now 0.7 amd64 [installed]
.....
printer-driver-splix/focal-pgdg,now 2.0.0+svn315-7fakesync1build1 amd64 [installed,automatic]
psmisc/focal-pgdg,now 23.3-1 amd64 [installed,automatic]
publicsuffix/focal-pgdg,now 20200303.0012-1 all [installed,automatic]
python3-alembic/focal-pgdg,now 1.1.0-1ubuntu1 all [installed,automatic]
.....

It's not an all packages with focal-pgdg in name, there is 1153 entries.

N0rbert avatar
zw flag
See https://packages.ubuntu.com/search?suite=all&searchon=names&keywords=python3-dialog
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.