AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • Início
  • system&network
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • Início
  • system&network
    • Recentes
    • Highest score
    • tags
  • Ubuntu
    • Recentes
    • Highest score
    • tags
  • Unix
    • Recentes
    • tags
  • DBA
    • Recentes
    • tags
  • Computer
    • Recentes
    • tags
  • Coding
    • Recentes
    • tags
Início / user-264366

MicroTransactionsMatterToo's questions

Martin Hope
MicroTransactionsMatterToo
Asked: 2017-12-05 23:03:36 +0800 CST

Atualmente, o Fedora está sem a versão mais recente do git

  • 5

Portanto, atualmente estou executando o Fedora 27, embora esse problema esteja presente desde o F26. O problema é que não consigo atualizar o git por meio de repositórios normais. Estou confuso sobre o motivo, pois não consigo encontrar mais nada na internet sobre isso.

Minha versão atual do Git é 2.14.3, e deve ser2.15.1

O conteúdo de /etc/yum.repos.dé o seguinte

total 60
-rw-r--r--. 1 root root  342 Oct  8 15:25 _copr_davidva-deadbeef.repo
-rw-r--r--. 1 root root  322 Sep 27 18:56 _copr_numix-numix.repo
-rw-r--r--. 1 root root  707 Oct 25 06:41 fedora-cisco-openh264.repo
-rw-r--r--. 1 root root 1331 Oct 25 06:41 fedora.repo
-rw-r--r--. 1 root root 1345 Oct 25 06:41 fedora-updates.repo
-rw-r--r--. 1 root root 1403 Oct 25 06:41 fedora-updates-testing.repo
-rw-r--r--. 1 root root  258 Nov 16 20:24 hardware:razer.repo
-rw-r--r--. 1 root root 1248 Nov 14 07:17 rpmfusion-free.repo
-rw-r--r--. 1 root root 1245 Nov 14 07:17 rpmfusion-free-updates.repo
-rw-r--r--. 1 root root 1305 Nov 14 07:17 rpmfusion-free-updates-testing.repo
-rw-r--r--. 1 root root 1293 Nov 14 07:21 rpmfusion-nonfree.repo
-rw-r--r--. 1 root root 1290 Nov 14 07:21 rpmfusion-nonfree-updates.repo
-rw-r--r--. 1 root root 1350 Nov 14 07:21 rpmfusion-nonfree-updates-testing.repo
-rw-r--r--. 1 root root  148 Nov 27 12:38 skype-stable.repo
-rw-r--r--. 1 root root  207 Oct  9 03:14 slack.repo

Aqui estão todas as informações relevantes que pensei que poderiam ser úteis.

sudo dnf info git

Failed to synchronize cache for repo 'davidva-deadbeef', disabling.
Failed to synchronize cache for repo 'numix-numix', disabling.
Last metadata expiration check: 2:49:40 ago on Tue 05 Dec 2017 18:46:43 NZDT.
Installed Packages
Name         : git
Version      : 2.14.3
Release      : 2.fc27
Arch         : x86_64
Size         : 2.5 M
Source       : git-2.14.3-2.fc27.src.rpm
Repo         : @System
From repo    : updates
Summary      : Fast Version Control System
URL          : https://git-scm.com/
License      : GPLv2
Description  : Git is a fast, scalable, distributed revision control system with an
             : unusually rich command set that provides both high-level operations
             : and full access to internals.
             : 
             : The git rpm installs common set of tools which are usually using with
             : small amount of dependencies. To install all git packages, including
             : tools for integrating with other SCMs, install the git-all meta-package.

sudo dnf install git(com o git já instalado)

Failed to synchronize cache for repo 'davidva-deadbeef', disabling.
Failed to synchronize cache for repo 'numix-numix', disabling.
Last metadata expiration check: 2:53:42 ago on Tue 05 Dec 2017 18:46:43 NZDT.
Package git-2.14.3-2.fc27.x86_64 is already installed, skipping.
Dependencies resolved.
Nothing to do.
Complete!

sudo dnf install git(depois de desinstalar o git)

Failed to synchronize cache for repo 'davidva-deadbeef', disabling.
Failed to synchronize cache for repo 'numix-numix', disabling.
Last metadata expiration check: 2:55:24 ago on Tue 05 Dec 2017 18:46:43 NZDT.
Dependencies resolved.
===========================================================
 Package       Arch    Version              Repository
                                                      Size
===========================================================
Installing:
 git           x86_64  2.14.3-2.fc27        updates  1.1 M
Installing dependencies:
 git-core-doc  x86_64  2.14.3-2.fc27        updates  2.3 M
 perl-Error    noarch  1:0.17025-1.fc27     fedora    44 k
 perl-Git      noarch  2.14.3-2.fc27        updates   68 k

Transaction Summary
===========================================================
Install  4 Packages

Total download size: 3.5 M
Installed size: 14 M
Is this ok [y/N]: y
Downloading Packages:
(1/4): perl-Git-2.14.3-2.f 512 kB/s |  68 kB     00:00    
(2/4): perl-Error-0.17025- 692 kB/s |  44 kB     00:00    
(3/4): git-2.14.3-2.fc27.x 2.6 MB/s | 1.1 MB     00:00    
(4/4): git-core-doc-2.14.3 3.2 MB/s | 2.3 MB     00:00    
-----------------------------------------------------------
Total                      1.1 MB/s | 3.5 MB     00:03     
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                   1/1 
  Installing       : perl-Error-1:0.17025-1.fc27.noa   1/4 
  Installing       : git-core-doc-2.14.3-2.fc27.x86_   2/4 
  Installing       : perl-Git-2.14.3-2.fc27.noarch     3/4 
  Installing       : git-2.14.3-2.fc27.x86_64          4/4 
  Running scriptlet: git-2.14.3-2.fc27.x86_64          4/4 
  Verifying        : git-2.14.3-2.fc27.x86_64          1/4 
  Verifying        : git-core-doc-2.14.3-2.fc27.x86_   2/4 
  Verifying        : perl-Git-2.14.3-2.fc27.noarch     3/4 
  Verifying        : perl-Error-1:0.17025-1.fc27.noa   4/4 

Installed:
  git.x86_64 2.14.3-2.fc27                                 
  git-core-doc.x86_64 2.14.3-2.fc27                        
  perl-Error.noarch 1:0.17025-1.fc27                       
  perl-Git.noarch 2.14.3-2.fc27                            

Complete!

Deve-se observar que os repositórios COPR não funcionam desde F27, mas estavam funcionando quando o problema ocorreu pela primeira vez.

Qualquer ajuda seria muito apreciada :)

fedora software-installation
  • 1 respostas
  • 938 Views

Sidebar

Stats

  • Perguntas 205573
  • respostas 270741
  • best respostas 135370
  • utilizador 68524
  • Highest score
  • respostas
  • Marko Smith

    Possível firmware ausente /lib/firmware/i915/* para o módulo i915

    • 3 respostas
  • Marko Smith

    Falha ao buscar o repositório de backports jessie

    • 4 respostas
  • Marko Smith

    Como exportar uma chave privada GPG e uma chave pública para um arquivo

    • 4 respostas
  • Marko Smith

    Como podemos executar um comando armazenado em uma variável?

    • 5 respostas
  • Marko Smith

    Como configurar o systemd-resolved e o systemd-networkd para usar o servidor DNS local para resolver domínios locais e o servidor DNS remoto para domínios remotos?

    • 3 respostas
  • Marko Smith

    apt-get update error no Kali Linux após a atualização do dist [duplicado]

    • 2 respostas
  • Marko Smith

    Como ver as últimas linhas x do log de serviço systemctl

    • 5 respostas
  • Marko Smith

    Nano - pule para o final do arquivo

    • 8 respostas
  • Marko Smith

    erro grub: você precisa carregar o kernel primeiro

    • 4 respostas
  • Marko Smith

    Como baixar o pacote não instalá-lo com o comando apt-get?

    • 7 respostas
  • Martin Hope
    user12345 Falha ao buscar o repositório de backports jessie 2019-03-27 04:39:28 +0800 CST
  • Martin Hope
    Carl Por que a maioria dos exemplos do systemd contém WantedBy=multi-user.target? 2019-03-15 11:49:25 +0800 CST
  • Martin Hope
    rocky Como exportar uma chave privada GPG e uma chave pública para um arquivo 2018-11-16 05:36:15 +0800 CST
  • Martin Hope
    Evan Carroll status systemctl mostra: "Estado: degradado" 2018-06-03 18:48:17 +0800 CST
  • Martin Hope
    Tim Como podemos executar um comando armazenado em uma variável? 2018-05-21 04:46:29 +0800 CST
  • Martin Hope
    Ankur S Por que /dev/null é um arquivo? Por que sua função não é implementada como um programa simples? 2018-04-17 07:28:04 +0800 CST
  • Martin Hope
    user3191334 Como ver as últimas linhas x do log de serviço systemctl 2018-02-07 00:14:16 +0800 CST
  • Martin Hope
    Marko Pacak Nano - pule para o final do arquivo 2018-02-01 01:53:03 +0800 CST
  • Martin Hope
    Kidburla Por que verdadeiro e falso são tão grandes? 2018-01-26 12:14:47 +0800 CST
  • Martin Hope
    Christos Baziotis Substitua a string em um arquivo de texto enorme (70 GB), uma linha 2017-12-30 06:58:33 +0800 CST

Hot tag

linux bash debian shell-script text-processing ubuntu centos shell awk ssh

Explore

  • Início
  • Perguntas
    • Recentes
    • Highest score
  • tag
  • help

Footer

AskOverflow.Dev

About Us

  • About Us
  • Contact Us

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve