Problema com pacotes quebrados(Ubunto) [RESOLVIDO]

1. Problema com pacotes quebrados(Ubunto) [RESOLVIDO]

Rafael Elias Tavares Prates Niza
RafaElis

(usa Ubuntu)

Enviado em 01/10/2018 - 16:47h

Quado eu tento instalar o npm no meu Linux ele dá o seguinte erro:

rafael@rafael-270E5G-270E5U:~$ sudo apt-get install npm
Lendo listas de pacotes... Pronto
Construindo árvore de dependências
Lendo informação de estado... Pronto
Alguns pacotes não puderam ser instalados. Isto pode significar que
você solicitou uma situação impossível ou, se você está usando a
distribuição instável, que alguns pacotes requeridos não foram
criados ainda ou foram retirados da "Incoming".
A informação a seguir pode ajudar a resolver a situação:

Os pacotes a seguir têm dependências desencontradas:
npm : Depende: node-gyp (>= 0.10.9) mas não será instalado
Depende: node-underscore mas não será instalado
E: Impossível corrigir problemas, você manteve (hold) pacotes quebrados.




  


2. Re: Problema com pacotes quebrados(Ubunto) [RESOLVIDO]

Clodoaldo Santos
clodoaldops

(usa Linux Mint)

Enviado em 01/10/2018 - 17:08h

Tente comandos
sudo dpkg --configure -a
sudo apt-get -f install
sudo apt-get -f remove
sudo apt-get update
sudo apt-get upgrade




3. Re: Problema com pacotes quebrados(Ubunto) [RESOLVIDO]

Rafael Elias Tavares Prates Niza
RafaElis

(usa Ubuntu)

Enviado em 01/10/2018 - 17:40h

Eu tentei usar esses comandos mas o erro continua


4. Re: Problema com pacotes quebrados(Ubunto) [RESOLVIDO]

Arnold
Arnoold

(usa Solus)

Enviado em 01/10/2018 - 17:42h

RafaElis escreveu:

Eu tentei usar esses comandos mas o erro continua


Você tem como postar seu sources.list? Adicionou algum ppa?


5. Re: Problema com pacotes quebrados(Ubunto) [RESOLVIDO]

Clodoaldo Santos
clodoaldops

(usa Linux Mint)

Enviado em 01/10/2018 - 18:29h

-poste saída comando: lsb_release -a



6. Re: Problema com pacotes quebrados(Ubunto) [RESOLVIDO]

Rafael Elias Tavares Prates Niza
RafaElis

(usa Ubuntu)

Enviado em 01/10/2018 - 18:46h

No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04 LTS
Release: 18.04
Codename: bionic



7. Re: Problema com pacotes quebrados(Ubunto) [RESOLVIDO]

Rafael Elias Tavares Prates Niza
RafaElis

(usa Ubuntu)

Enviado em 01/10/2018 - 18:53h

Arnoold escreveu:

RafaElis escreveu:

Eu tentei usar esses comandos mas o erro continua


Você tem como postar seu sources.list? Adicionou algum ppa?


Cara eu sou novato no linux ainda como eu faço para ver o sources.list?


8. Re: Problema com pacotes quebrados(Ubunto) [RESOLVIDO]

Gabriel
rabbit

(usa Debian)

Enviado em 02/10/2018 - 10:55h

RafaElis escreveu:

Arnoold escreveu:

RafaElis escreveu:

Eu tentei usar esses comandos mas o erro continua


Você tem como postar seu sources.list? Adicionou algum ppa?


Cara eu sou novato no linux ainda como eu faço para ver o sources.list?


$cat /etc/apt/source.list

e veja se tem algum arquivo tmb na pasta /etc/apt/source.list.d/

se tiver, também de o comando cat neles.

---------------------------------------------
#!/bin/bash
echo "« Zh€lL »"


9. Re: Problema com pacotes quebrados(Ubunto) [RESOLVIDO]

Arnold
Arnoold

(usa Solus)

Enviado em 02/10/2018 - 15:50h

RafaElis escreveu:

Arnoold escreveu:

RafaElis escreveu:

Eu tentei usar esses comandos mas o erro continua


Você tem como postar seu sources.list? Adicionou algum ppa?


Cara eu sou novato no linux ainda como eu faço para ver o sources.list?


O zhell já disse


10. Re: Problema com pacotes quebrados(Ubunto) [RESOLVIDO]

Rafael Elias Tavares Prates Niza
RafaElis

(usa Ubuntu)

Enviado em 06/10/2018 - 10:49h

Arnoold escreveu:

RafaElis escreveu:

Eu tentei usar esses comandos mas o erro continua


Você tem como postar seu sources.list? Adicionou algum ppa?


a saída da sources.list:

# deb cdrom:[Ubuntu 18.04 LTS _Bionic Beaver_ - Release amd64 (20180426)]/ bionic main restricted
# deb cdrom:[Ubuntu 18.04 LTS _Bionic Beaver_ - Release amd64 (20180426)]/ bionic main restricted

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://br.archive.ubuntu.com/ubuntu/ bionic restricted
# deb-src http://br.archive.ubuntu.com/ubuntu/ bionic main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://br.archive.ubuntu.com/ubuntu/ bionic-updates restricted
# deb-src http://br.archive.ubuntu.com/ubuntu/ bionic-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://br.archive.ubuntu.com/ubuntu/ bionic universe
# deb-src http://br.archive.ubuntu.com/ubuntu/ bionic universe
deb http://br.archive.ubuntu.com/ubuntu/ bionic-updates universe
# deb-src http://br.archive.ubuntu.com/ubuntu/ bionic-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://br.archive.ubuntu.com/ubuntu/ bionic multiverse
# deb-src http://br.archive.ubuntu.com/ubuntu/ bionic multiverse
deb http://br.archive.ubuntu.com/ubuntu/ bionic-updates multiverse
# deb-src http://br.archive.ubuntu.com/ubuntu/ bionic-updates multiverse

## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://br.archive.ubuntu.com/ubuntu/ bionic-backports restricted universe multiverse
# deb-src http://br.archive.ubuntu.com/ubuntu/ bionic-backports main restricted universe multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
# deb http://archive.canonical.com/ubuntu bionic partner
# deb-src http://archive.canonical.com/ubuntu bionic partner

deb http://security.ubuntu.com/ubuntu bionic-security restricted
# deb-src http://security.ubuntu.com/ubuntu bionic-security main restricted
deb http://security.ubuntu.com/ubuntu bionic-security universe
# deb-src http://security.ubuntu.com/ubuntu bionic-security universe
deb http://security.ubuntu.com/ubuntu bionic-security multiverse
# deb-src http://security.ubuntu.com/ubuntu bionic-security multiverse

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
# deb-src http://br.archive.ubuntu.com/ubuntu/ bionic main restricted

## Major bug fix updates produced after the final release of the
## distribution.
# deb-src http://br.archive.ubuntu.com/ubuntu/ bionic-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
# deb-src http://br.archive.ubuntu.com/ubuntu/ bionic universe
# deb-src http://br.archive.ubuntu.com/ubuntu/ bionic-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
# deb-src http://br.archive.ubuntu.com/ubuntu/ bionic multiverse
# deb-src http://br.archive.ubuntu.com/ubuntu/ bionic-updates multiverse

## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
# deb-src http://br.archive.ubuntu.com/ubuntu/ bionic-backports main restricted universe multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
# deb http://archive.canonical.com/ubuntu bionic partner
# deb-src http://archive.canonical.com/ubuntu bionic partner

# deb-src http://security.ubuntu.com/ubuntu bionic-security main restricted
# deb-src http://security.ubuntu.com/ubuntu bionic-security universe
# deb-src http://security.ubuntu.com/ubuntu bionic-security multiverse



11. Re: Problema com pacotes quebrados(Ubunto) [RESOLVIDO]

Gabriel
rabbit

(usa Debian)

Enviado em 08/10/2018 - 15:34h

Tente o seguinte.

Na source.list original postada do git : https://gist.github.com/jackw1111/d31140946901fab417131ff4d9ae92e3
E comparando com a sua, faltam alguns argumentos em alguns endereços.

Sua source.list:

deb http://br.archive.ubuntu.com/ubuntu/ bionic restricted
deb http://br.archive.ubuntu.com/ubuntu/ bionic-updates restricted
deb http://br.archive.ubuntu.com/ubuntu/ bionic universe
deb http://br.archive.ubuntu.com/ubuntu/ bionic-updates universe
deb http://br.archive.ubuntu.com/ubuntu/ bionic multiverse
deb http://br.archive.ubuntu.com/ubuntu/ bionic-updates multiverse
deb http://br.archive.ubuntu.com/ubuntu/ bionic-backports restricted universe multiverse
deb http://security.ubuntu.com/ubuntu bionic-security restricted
deb http://security.ubuntu.com/ubuntu bionic-security universe
deb http://security.ubuntu.com/ubuntu bionic-security multiverse


Source.list original:

deb http://us.archive.ubuntu.com/ubuntu/ bionic main restricted
deb http://us.archive.ubuntu.com/ubuntu/ bionic-updates main restricted
deb http://us.archive.ubuntu.com/ubuntu/ bionic universe
deb http://us.archive.ubuntu.com/ubuntu/ bionic-updates universe
deb http://us.archive.ubuntu.com/ubuntu/ bionic multiverse
deb http://us.archive.ubuntu.com/ubuntu/ bionic-updates multiverse
deb http://us.archive.ubuntu.com/ubuntu/ bionic-backports main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu bionic-security main restricted
deb http://security.ubuntu.com/ubuntu bionic-security universe
deb http://security.ubuntu.com/ubuntu bionic-security multiverse


Adicione esses opções e teste novamente.
Você pode também copiar e colar do endereço do github que deixe acima na sua source.list, dá no mesmo.

Aguardo retorno
---------------------------------------------
#!/bin/bash
echo "« Zh€lL »"


12. Re: Problema com pacotes quebrados(Ubunto) [RESOLVIDO]

Rafael Elias Tavares Prates Niza
RafaElis

(usa Ubuntu)

Enviado em 16/10/2018 - 11:34h

rabbit escreveu:

Tente o seguinte.

Na source.list original postada do git : https://gist.github.com/jackw1111/d31140946901fab417131ff4d9ae92e3
E comparando com a sua, faltam alguns argumentos em alguns endereços.

Sua source.list:

deb http://br.archive.ubuntu.com/ubuntu/ bionic restricted
deb http://br.archive.ubuntu.com/ubuntu/ bionic-updates restricted
deb http://br.archive.ubuntu.com/ubuntu/ bionic universe
deb http://br.archive.ubuntu.com/ubuntu/ bionic-updates universe
deb http://br.archive.ubuntu.com/ubuntu/ bionic multiverse
deb http://br.archive.ubuntu.com/ubuntu/ bionic-updates multiverse
deb http://br.archive.ubuntu.com/ubuntu/ bionic-backports restricted universe multiverse
deb http://security.ubuntu.com/ubuntu bionic-security restricted
deb http://security.ubuntu.com/ubuntu bionic-security universe
deb http://security.ubuntu.com/ubuntu bionic-security multiverse


Source.list original:

deb http://us.archive.ubuntu.com/ubuntu/ bionic main restricted
deb http://us.archive.ubuntu.com/ubuntu/ bionic-updates main restricted
deb http://us.archive.ubuntu.com/ubuntu/ bionic universe
deb http://us.archive.ubuntu.com/ubuntu/ bionic-updates universe
deb http://us.archive.ubuntu.com/ubuntu/ bionic multiverse
deb http://us.archive.ubuntu.com/ubuntu/ bionic-updates multiverse
deb http://us.archive.ubuntu.com/ubuntu/ bionic-backports main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu bionic-security main restricted
deb http://security.ubuntu.com/ubuntu bionic-security universe
deb http://security.ubuntu.com/ubuntu bionic-security multiverse


Adicione esses opções e teste novamente.
Você pode também copiar e colar do endereço do github que deixe acima na sua source.list, dá no mesmo.

Aguardo retorno
---------------------------------------------
#!/bin/bash
echo "« Zh€lL »"


Deculpa a demora para responder, mais graças a sua dica eu conseguir responder







Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts