installing git on linuxcnc
- Ondrej
- Offline
- Senior Member
Less
More
- Posts: 63
- Thank you received: 2
05 Nov 2022 12:23 - 05 Nov 2022 12:29 #256006
by Ondrej
installing git on linuxcnc was created by Ondrej
Hello,
Iam still learning about linuxcnc. I was trying following this guys steps: TIME 22:56
I want to install git on linuxcnc, it seems interesting for me.
But when I type sudo apt-get install git-core, or sudo apt-get install git nothing happens... I was searching for this for long time on the internet but havent found anything.
sudo apt-get install git-core gives me back :
ondracnc@localhost:~$ sudo apt-get install git-core
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'git' instead of 'git-core'
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:
git : Depends: liberror-perl but it is not installable
Recommends: patch but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
any thoughts?
Iam still learning about linuxcnc. I was trying following this guys steps: TIME 22:56
I want to install git on linuxcnc, it seems interesting for me.
But when I type sudo apt-get install git-core, or sudo apt-get install git nothing happens... I was searching for this for long time on the internet but havent found anything.
sudo apt-get install git-core gives me back :
ondracnc@localhost:~$ sudo apt-get install git-core
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'git' instead of 'git-core'
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:
git : Depends: liberror-perl but it is not installable
Recommends: patch but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
any thoughts?
Last edit: 05 Nov 2022 12:29 by Ondrej.
Please Log in or Create an account to join the conversation.
- tommylight
- Offline
- Moderator
Less
More
- Posts: 19468
- Thank you received: 6529
05 Nov 2022 16:55 #256021
by tommylight
Replied by tommylight on topic installing git on linuxcnc
No ideas!
Sudo apt install -f
Sudo apt update
Sudo apt install git
Sudo apt install -f
Sudo apt update
Sudo apt install git
Please Log in or Create an account to join the conversation.
- Ondrej
- Offline
- Senior Member
Less
More
- Posts: 63
- Thank you received: 2
05 Nov 2022 20:10 #256028
by Ondrej
Replied by Ondrej on topic installing git on linuxcnc
not working from last command :{
ondracnc@localhost:~$ sudo apt install git
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:
git : Depends: liberror-perl but it is not installable
Recommends: patch but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
ondracnc@localhost:~$ sudo apt install git
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:
git : Depends: liberror-perl but it is not installable
Recommends: patch but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
Please Log in or Create an account to join the conversation.
- tommylight
- Offline
- Moderator
Less
More
- Posts: 19468
- Thank you received: 6529
05 Nov 2022 22:29 #256031
by tommylight
Replied by tommylight on topic installing git on linuxcnc
What did this say
Sudo apt install -f
?
You can not say last did not work when the second also did not work.
You have broken packages, means you tried to install something despite a warning it is not OK to install.
Before fixing that, nothing will install.
Sudo apt install -f
?
You can not say last did not work when the second also did not work.
You have broken packages, means you tried to install something despite a warning it is not OK to install.
Before fixing that, nothing will install.
Please Log in or Create an account to join the conversation.
- rodw
- Away
- Platinum Member
Less
More
- Posts: 10788
- Thank you received: 3554
05 Nov 2022 22:30 #256032
by rodw
Replied by rodw on topic installing git on linuxcnc
It sounds like you have installed a different distro of Linux if git won't install
Following random tutorials can lead you off the beaten track as often they are obsolete.
sudo apt install git should work
The instructions to build linuxcnc are documented here
linuxcnc.org/docs/stable/html/code/building-linuxcnc.html
If it helps to watch another random tutorial, I did a video here
Following random tutorials can lead you off the beaten track as often they are obsolete.
sudo apt install git should work
The instructions to build linuxcnc are documented here
linuxcnc.org/docs/stable/html/code/building-linuxcnc.html
If it helps to watch another random tutorial, I did a video here
Please Log in or Create an account to join the conversation.
- Ondrej
- Offline
- Senior Member
Less
More
- Posts: 63
- Thank you received: 2
06 Nov 2022 20:51 #256095
by Ondrej
Replied by Ondrej on topic installing git on linuxcnc
ondracnc@localhost:~$ sudo apt install -f
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 178 not upgraded.
I installed linuxcnc from the linuxcnc website via bootable USB.
What does 178 not upgraded mean?
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 178 not upgraded.
I installed linuxcnc from the linuxcnc website via bootable USB.
What does 178 not upgraded mean?
Please Log in or Create an account to join the conversation.
- JT
- Away
- Administrator
Less
More
- Posts: 864
- Thank you received: 452
06 Nov 2022 23:13 #256100
by JT
Replied by JT on topic installing git on linuxcnc
Do the following
This will install git and git gui
JT
sudo apt update
sudo apt install git git-gui
This will install git and git gui
JT
Please Log in or Create an account to join the conversation.
- Ondrej
- Offline
- Senior Member
Less
More
- Posts: 63
- Thank you received: 2
07 Nov 2022 21:19 #256165
by Ondrej
Replied by Ondrej on topic installing git on linuxcnc
ondracnc@localhost:~$ sudo apt update
Hit:1 security.debian.org/debian-security buster/updates InRelease
Hit:2 www.linuxcnc.org buster InRelease
Reading package lists... Done
Building dependency tree
Reading state information... Done
179 packages can be upgraded. Run 'apt list --upgradable' to see them.
ondracnc@localhost:~$ sudo apt install git git-gui
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:
git : Depends: liberror-perl but it is not installable
Recommends: patch but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
before that I also tried sudo apt upgrade - it did something but actually nothing - typical sentence was like : Cannot initiate the connection to security.
Hit:1 security.debian.org/debian-security buster/updates InRelease
Hit:2 www.linuxcnc.org buster InRelease
Reading package lists... Done
Building dependency tree
Reading state information... Done
179 packages can be upgraded. Run 'apt list --upgradable' to see them.
ondracnc@localhost:~$ sudo apt install git git-gui
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:
git : Depends: liberror-perl but it is not installable
Recommends: patch but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
before that I also tried sudo apt upgrade - it did something but actually nothing - typical sentence was like : Cannot initiate the connection to security.
Please Log in or Create an account to join the conversation.
- tommylight
- Offline
- Moderator
Less
More
- Posts: 19468
- Thank you received: 6529
07 Nov 2022 22:57 #256170
by tommylight
Replied by tommylight on topic installing git on linuxcnc
This appears to be a randomly cropping issue on Linux, luckily i never bumped into this one, so here is one solution from the web:
www.reddit.com/r/linuxquestions/comments...sing_apt_with_linux/
-
Personally, i would not continue with trying to fix this, i would do a new install.
Inability to install basic packages leads me to believe there is a deeper issue, probably errors on the downloaded image.
www.reddit.com/r/linuxquestions/comments...sing_apt_with_linux/
-
Personally, i would not continue with trying to fix this, i would do a new install.
Inability to install basic packages leads me to believe there is a deeper issue, probably errors on the downloaded image.
Please Log in or Create an account to join the conversation.
Time to create page: 0.067 seconds