LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-24-2021, 03:35 PM   #1
Kjellstrom1234
LQ Newbie
 
Registered: Nov 2021
Posts: 2

Rep: Reputation: Disabled
Unhappy Problem with installing python-gi-cairo on Linux


When I'm trying to install python-gi-cairo with Bash on Linux, I get the following message:

"Some packages could not be installed. This may mean that you have requested an impossible situation, or if you are using an unstable distribution that some required packages have not yet been created or been moved out of Incomming.
The following information may help to solve the situation:
The following packages have unmet dependencies:
python-gi-cairo : Depends: python-gi (= 3.36.0-3) but it is not going to be installed
E: Unable to correct problems, you have held broken packages."

My programs and specs
Computer: Raspberry pi3
Shell: Bash

What I have done before:
Downloaded and installed missing keys for APT.
Updated APT successfully

Grateful for help/Felix
 
Old 11-25-2021, 01:05 AM   #2
JohnHendry
Member
 
Registered: Apr 2020
Location: Sydney, Australia
Distribution: Crux Linux, LFS, Artix, source packages (64-bit PC)
Posts: 39

Rep: Reputation: Disabled
And did you try and install python-gi?
 
Old 11-25-2021, 04:26 AM   #3
Kjellstrom1234
LQ Newbie
 
Registered: Nov 2021
Posts: 2

Original Poster
Rep: Reputation: Disabled
Yes, I updated packages and tryed to install python-gi

Quote:
Originally Posted by JohnHendry View Post
And did you try and install python-gi?
Yes, I updated packages and tryed to install python-gi

I ran the following commands.

1.

Command: sudo apt-get update -y

Message:

"Hit:1 http://security.debian.org jessie/updates InRelease
Get:2 http://ftp.se.debian.org/debian sid InRelease [165 kB]
Ign:3 http://httpredir.debian.org/debian jessie InRelease
Hit:4 http://httpredir.debian.org/debian jessie-updates InRelease
Get:5 http://archive.raspberrypi.org/debian buster InRelease [32.6 kB]
Hit:6 http://httpredir.debian.org/debian jessie Release
Get:7 http://ftp.se.debian.org/debian sid/main armhf Packages [8,578 kB]
Get:8 http://ftp.se.debian.org/debian sid/main Translation-en [6,648 kB]
Get:9 http://archive.raspberrypi.org/debian buster/main armhf Packages [393 kB]
Fetched 15.8 MB in 16s (1,004 kB/s)
Reading package lists... Done"

2.

Command: sudo apt-get install -y python-gi

Message:

"Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
libglib2.0-0 : Breaks: libgirepository-1.0-1 (< 1.62.0-4~) but 1.58.3-2 is to be installed
python-gi : Depends: libgirepository-1.0-1 (>= 1.62.0-4~) but 1.58.3-2 is to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages."
 
Old 11-26-2021, 12:21 AM   #4
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by Kjellstrom1234 View Post
When I'm trying to install python-gi-cairo with Bash on Linux, I get the following message:

"Some packages could not be installed. This may mean that you have requested an impossible situation, or if you are using an unstable distribution that some required packages have not yet been created or been moved out of Incomming.
The following information may help to solve the situation:
The following packages have unmet dependencies:
python-gi-cairo : Depends: python-gi (= 3.36.0-3) but it is not going to be installed
E: Unable to correct problems, you have held broken packages."

My programs and specs
Computer: Raspberry pi3
Shell: Bash

What I have done before:
Downloaded and installed missing keys for APT.
Updated APT successfully

Grateful for help/Felix
Please show us the full output of
Code:
apt update
and
Code:
apt-cache policy python-gi-cairo python-gi
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Cairo build fails at cairo-analysis-surface.lo CME2 Linux - Newbie 2 12-15-2017 08:10 PM
I got error while installing python-tk python-psycopg2 python-twisted saili kadam Linux - Newbie 1 09-05-2015 03:03 AM
dpkg: error processing python-cairo (--configure) ronaldv Ubuntu 3 10-13-2009 12:06 PM
LXer: Python Python Python (aka Python 3) LXer Syndicated Linux News 0 08-05-2009 08:30 PM
pckage "cairo" required by cairo" not found barunparichha Linux - Software 4 06-25-2008 08:29 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:15 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration