Score:1

Trouble installing packages in a fresh chroot

cn flag

I created a chroot using the instructions here, substituting focal for lucid. Now I'd like to start installing packages, starting with Python, but I'm not sure what kind of setup I need to perform before doing so.

Currently when I try to install software-properties-common (via apt-get), I get the following errors:

The following packages have unmet dependencies:
software-properties-common : Depends: gir1.2-packagekitglib-1.0 (>= 1.1.0-2) but it 
is not installable
                             Depends: packagekit but it is not installable
E: Unable to correct problems, you have held broken packages.

Googling tells me that dpkg --get-selections | grep hold might turn something up, but it does not.

I thought it might be an issue with /etc/apt/sources.list, so I copied that in from the outer installation and refreshed but it didn't change anything.

Edit:

Running sudo apt update gives the following output:

Hit:1 http://us.archive.ubuntu.com/ubuntu focal InRelease
Get:2 http://us.archive.ubuntu.com/ubuntu focal-updates InRelease [114 kB]
Get:3 http://us.archive.ubuntu.com/ubuntu focal-backports InRelease [108 kB]
Get:4 http://security.ubuntu.com/ubuntu focal-security InRelease [114 kB]
Fetched 336 kB in 1s (440 kB/s)    
Reading package lists... Done
Building dependency tree       
Reading state information... Done
69 packages can be upgraded. Run 'apt list --upgradable' to see them.
user535733 avatar
cn flag
"*unmet dependencies*" usually means that your package sources are introducing a version conflict. "*it is not installable*" also strongly suggests that you have mucked up your sources. Please [edit your question](https://askubuntu.com/posts/1390184/edit) to include the complete output of `sudo apt update`
Someone avatar
my flag
Please [edit] to include `apt-cache policy gir1.2-packagekitglib-1.0` and `apt-cache policy packagekit` and `apt-cache policy software-properties-common`
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.