dpkg --configure -a

1. dpkg --configure -a

Ericson Hamissés Nunes Souza Thaines
hthaines

(usa Outra)

Enviado em 29/03/2017 - 15:01h

Boa tarde,

quando executo o code: sudo dpkg --configure -a
aparece essa mensagem:
dpkg: error processing package libsmbclient:amd64 (--configure):
dependency problems - leaving unconfigured
Processing triggers for libc-bin (2.23-0ubuntu7) ...
Errors were encountered while processing:
console-setup
less
libpam-systemd:amd64
libssl1.0.0:amd64
libcurl3:amd64
tzdata
cups
apparmor
xserver-xorg-core
whoopsie
network-manager
snapd
kbd
lightdm
openssl
unattended-upgrades
snap-confine
console-setup-linux
openssh-client
locales
libpython2.7-stdlib:amd64
libpython3.5-minimal:amd64
python3-cryptography
pulseaudio
linux-headers-4.4.0-70-generic
xserver-xorg-video-intel
libdns162:amd64
network-manager-gnome
libpython3.5-stdlib:amd64
libisccfg140:amd64
python2.7
pulseaudio-module-x11
dnsutils
python3.5-minimal
pulseaudio-module-bluetooth
libpython2.7:amd64
libbind9-140:amd64
bind9-host
python3.5
samba-libs:amd64
libpython3.5:amd64
libsmbclient:amd64

tentei utilizar o code: sudo apt-get -f install
aparece essa mensagem:
Errors were encountered while processing:
grub-pc
E: Sub-process /usr/bin/dpkg returned an error code (1)

Desde já agradeço...



  


2. Re: dpkg --configure -a

Perfil removido
removido

(usa Nenhuma)

Enviado em 29/03/2017 - 16:17h

Pacote quebrado no sistema. Use o Synaptic para consertar.


3. Re: dpkg --configure -a

4. Re: dpkg --configure -a

5. Re: dpkg --configure -a

Ericson Hamissés Nunes Souza Thaines
hthaines

(usa Outra)

Enviado em 29/03/2017 - 17:04h

Eu tento instalar Synaptic ou qualquer outro programa e não consigo..


6. Re: dpkg --configure -a

Patrick
Freud_Tux

(usa Outra)

Enviado em 29/03/2017 - 19:41h

Perguntas...

1º O que você fez para um bom pedaço do sistema querer sair da sua máquina?
2º O comando que você tentou rodar, vai tentar configurar todos os pacotes, e o que ele não consegue, ele tenta desinstalar.
3º Rode um apt-get update e depois um apt-get upgrade e veja se tem algum erro na saída dos dois comandos. Se der posta aqui.

T+


7. Re: dpkg --configure -a

Ericson Hamissés Nunes Souza Thaines
hthaines

(usa Outra)

Enviado em 29/03/2017 - 21:13h

bom...

1º Fui instalar o wine, o que não deu certo, logo após fui instalar o gfortran pelo sudo apt-get install build-essential fftw3-dev gfortran.

Quando mando roda: sudo apt-get update aparece:
Reading package lists... Done



8. Re: dpkg --configure -a

Ericson Hamissés Nunes Souza Thaines
hthaines

(usa Outra)

Enviado em 29/03/2017 - 21:30h

hthaines escreveu:

bom...

1º Fui instalar o wine, o que não deu certo, logo após fui instalar o gfortran pelo sudo apt-get install build-essential fftw3-dev gfortran.

Quando mando roda: sudo apt-get update aparece:
Reading package lists... Done


Quando mando roda: sudo apt-get upgrade aparece:
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these.
The following packages have unmet dependencies:
grub-pc : Depends: grub-gfxpayload-lists but it is not installable
E: Unmet dependencies. Try using -f.

Depois sudo apt-get install -f aparece:

Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages will be REMOVED:
grub-pc
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
44 not fully installed or removed.
After this operation, 557 kB disk space will be freed.
Do you want to continue? [Y/n] y
debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable
(Reading database ... 201110 files and directories currently installed.)
Removing grub-pc (2.02~beta2-36ubuntu3.8) ...
debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable
dpkg: error processing package grub-pc (--remove):
subprocess installed pre-removal script returned error exit status 1
Errors were encountered while processing:
grub-pc
E: Sub-process /usr/bin/dpkg returned an error code (1)




9. Re: dpkg --configure -a

Perfil removido
removido

(usa Nenhuma)

Enviado em 30/03/2017 - 00:14h



Qual a saída do comando?

cat /etc/apt/sources.list




10. Re: dpkg --configure -a

Ericson Hamissés Nunes Souza Thaines
hthaines

(usa Outra)

Enviado em 30/03/2017 - 00:26h

meianoite escreveu:



Qual a saída do comando?

cat /etc/apt/sources.list



quando mando cat /etc/apt/sources.list aparece:

#deb cdrom:[Ubuntu 16.04.2 LTS _Xenial Xerus_ - Release amd64 (20170215.2)]/ xenial 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/ xenial main restricted
# deb-src http://br.archive.ubuntu.com/ubuntu/ xenial main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://br.archive.ubuntu.com/ubuntu/ xenial-updates main restricted
# deb-src http://br.archive.ubuntu.com/ubuntu/ xenial-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/ xenial universe
# deb-src http://br.archive.ubuntu.com/ubuntu/ xenial universe
deb http://br.archive.ubuntu.com/ubuntu/ xenial-updates universe
# deb-src http://br.archive.ubuntu.com/ubuntu/ xenial-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/ xenial multiverse
# deb-src http://br.archive.ubuntu.com/ubuntu/ xenial multiverse
deb http://br.archive.ubuntu.com/ubuntu/ xenial-updates multiverse
# deb-src http://br.archive.ubuntu.com/ubuntu/ xenial-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/ xenial-backports main restricted universe multiverse
# deb-src http://br.archive.ubuntu.com/ubuntu/ xenial-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 xenial partner
# deb-src http://archive.canonical.com/ubuntu xenial partner

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



11. Re: dpkg --configure -a

Ericson Hamissés Nunes Souza Thaines
hthaines

(usa Outra)

Enviado em 30/03/2017 - 00:49h

hthaines escreveu:

meianoite escreveu:



Qual a saída do comando?

cat /etc/apt/sources.list



quando mando cat /etc/apt/sources.list aparece:

#deb cdrom:[Ubuntu 16.04.2 LTS _Xenial Xerus_ - Release amd64 (20170215.2)]/ xenial 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/ xenial main restricted
# deb-src http://br.archive.ubuntu.com/ubuntu/ xenial main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://br.archive.ubuntu.com/ubuntu/ xenial-updates main restricted
# deb-src http://br.archive.ubuntu.com/ubuntu/ xenial-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/ xenial universe
# deb-src http://br.archive.ubuntu.com/ubuntu/ xenial universe
deb http://br.archive.ubuntu.com/ubuntu/ xenial-updates universe
# deb-src http://br.archive.ubuntu.com/ubuntu/ xenial-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/ xenial multiverse
# deb-src http://br.archive.ubuntu.com/ubuntu/ xenial multiverse
deb http://br.archive.ubuntu.com/ubuntu/ xenial-updates multiverse
# deb-src http://br.archive.ubuntu.com/ubuntu/ xenial-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/ xenial-backports main restricted universe multiverse
# deb-src http://br.archive.ubuntu.com/ubuntu/ xenial-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 xenial partner
# deb-src http://archive.canonical.com/ubuntu xenial partner

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


Desculpa, mas quando eu mando o comando cat /etc/apt/sources.list nao apareceu nenhuma mensagem. O resultado a cima e de outra maquina.


12. Re: dpkg --configure -a

Perfil removido
removido

(usa Nenhuma)

Enviado em 30/03/2017 - 08:46h

que tal tentar:

sudo apt-get install -f?



01 02



Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts