Browsing this Thread:   1 Anonymous Users



Bottom   Previous Topic   Next Topic  Register To Post

(1) 2 3 »


Francis #1 Problemas com atualização do Mint 18.1
Boa noite senhores, alguem mais esta tendo o seguinte problema com o Mint 18.1?

Aqui no meu no terminal ou no Gerenciador de Atualização esta aparecendo a seguinte mensagem.

Quando usa o update da a seguinte mensagem.

Citando:
Lendo listas de pacotes... Pronto
W: Problema ao remover o link do ficheiro * - Clean (21: É um diretório)

E quando usa o upgrade da a seguinte mensagem.

Citando:
E: Sub-process /usr/bin/dpkg returned an error code (1)


Todas as dicas que eu conheço e as demais encontrada no Google não ajudaram a resolver esse problema.

Já verifiquei esse caminho /usr/bin/dpkg returned e não existe esse arquivo dpkg returned.

Desde já obrigado.

Ate mais...

Posted on: 10/1 18:51

_MSC_CLICK_TO_OPEN_IMAGE
_MSC_CLICK_TO_OPEN_IMAGE


Creto #2 Re: Problemas com atualização do Mint 18.1
Apenas uma observação Francis, o caminho é:

/usr/bin/dpkg

O Dpkg esta informando e te retornando o codigo do erro (1)

[email protected]:/usr/bin$ ls dpkg* | grep dpkg*
dpkg-architecture:# dpkg-architecture
dpkg-architecture:textdomain('dpkg-dev');
dpkg-buildflags:# dpkg-buildflags
dpkg-buildflags:textdomain('dpkg-dev');
dpkg-buildflags: behaviour of dpkg-buildflags and the resulting flags
dpkg-buildflags: # Prefix everything with "dpkg-buildflags: status: " to allow easy
dpkg-buildpackage:# dpkg-buildpackage
dpkg-buildpackage:textdomain('dpkg-dev');
dpkg-buildpackage:'Options passed to dpkg-architecture:
dpkg-buildpackage:'Options passed to dpkg-genchanges:
dpkg-buildpackage: pass option <opt> to dpkg-genchanges.')
dpkg-buildpackage:'Options passed to dpkg-source:
dpkg-buildpackage: -s[sAkurKUR] see dpkg-source for explanation.
dpkg-buildpackage: pass option <opt> to dpkg-source.
dpkg-buildpackage: push @source_opts, $_; # passed to dpkg-source
dpkg-buildpackage:open my $arch_env, '-|', 'dpkg-architecture', "-a$targetarch",
dpkg-buildpackage: "-t$targetgnusystem", '-f' or subprocerr('dpkg-architecture');
dpkg-buildpackage:close $arch_env or subprocerr('dpkg-architecture');
dpkg-buildpackage: withecho('dpkg-source', @source_opts, '--before-build', $dir);
dpkg-buildpackage: system('dpkg-checkbuilddeps', @checkbuilddep_opts);
dpkg-buildpackage: subprocerr('dpkg-checkbuilddeps');
dpkg-buildpackage: withecho('dpkg-source', @source_opts, '-b', $dir);
dpkg-buildpackage:print { *STDERR } " dpkg-genchanges @changes_opts >$chg\n";
dpkg-buildpackage:open my $changes_fh, '-|', 'dpkg-genchanges', @changes_opts
dpkg-buildpackage: or subprocerr('dpkg-genchanges');
dpkg-buildpackage:close $changes_fh or subprocerr(_g('dpkg-genchanges'));
dpkg-buildpackage:withecho('dpkg-source', @source_opts, '--after-build', $dir);
dpkg-checkbuilddeps:# dpkg-checkbuilddeps
dpkg-checkbuilddeps:textdomain('dpkg-dev');
dpkg-checkbuilddeps:# in as the 4th parameter. If not set, dpkg will be queried for the build
Arquivo binário dpkg-deb coincide com o padrão
dpkg-distaddfile:# dpkg-distaddfile
dpkg-distaddfile:textdomain('dpkg-dev');
Arquivo binário dpkg-divert coincide com o padrão
dpkg-genchanges:# dpkg-genchanges
dpkg-genchanges:textdomain('dpkg-dev');
dpkg-genchanges:# Scan fields of dpkg-parsechangelog
dpkg-gencontrol:# dpkg-gencontrol
dpkg-gencontrol:textdomain('dpkg-dev');
dpkg-gencontrol:# Scan fields of dpkg-parsechangelog
dpkg-gensymbols:# dpkg-gensymbols
dpkg-gensymbols:textdomain('dpkg-dev');
dpkg-gensymbols: my $before = File::Temp->new(TEMPLATE=>'dpkg-gensymbolsXXXXXX');
dpkg-gensymbols: my $after = File::Temp->new(TEMPLATE=>'dpkg-gensymbolsXXXXXX');
dpkg-maintscript-helper:# Copyright © 2005 Scott James Remnant (original implementation on www.dpkg.org)
dpkg-maintscript-helper:# This script is documented in dpkg-maintscript-helper(1)
dpkg-maintscript-helper: dpkg --compare-versions "$2" le-nl "$LASTVERSION"; then
dpkg-maintscript-helper: dpkg --compare-versions "$2" le-nl "$LASTVERSION"; then
dpkg-maintscript-helper: rm -f "$CONFFILE.dpkg-bak" "$CONFFILE.dpkg-remove" \
dpkg-maintscript-helper: "$CONFFILE.dpkg-backup"
dpkg-maintscript-helper: dpkg --compare-versions "$2" le-nl "$LASTVERSION"; then
dpkg-maintscript-helper: local old_md5sum="$(dpkg-query -W -f='${Conffiles}' $PACKAGE | \
dpkg-maintscript-helper: echo "Saving as $CONFFILE.dpkg-bak ..."
dpkg-maintscript-helper: mv -f "$CONFFILE" "$CONFFILE.dpkg-backup"
dpkg-maintscript-helper: mv -f "$CONFFILE" "$CONFFILE.dpkg-remove"
dpkg-maintscript-helper: if [ -e "$CONFFILE.dpkg-backup" ]; then
dpkg-maintscript-helper: mv -f "$CONFFILE.dpkg-backup" "$CONFFILE.dpkg-bak"
dpkg-maintscript-helper: if [ -e "$CONFFILE.dpkg-remove" ]; then
dpkg-maintscript-helper: rm -f "$CONFFILE.dpkg-remove"
dpkg-maintscript-helper: if [ -e "$CONFFILE.dpkg-remove" ]; then
dpkg-maintscript-helper: mv "$CONFFILE.dpkg-remove" "$CONFFILE"
dpkg-maintscript-helper: if [ -e "$CONFFILE.dpkg-backup" ]; then
dpkg-maintscript-helper: mv "$CONFFILE.dpkg-backup" "$CONFFILE"
dpkg-maintscript-helper: dpkg --compare-versions "$2" le-nl "$LASTVERSION"; then
dpkg-maintscript-helper: dpkg --compare-versions "$2" le-nl "$LASTVERSION"; then
dpkg-maintscript-helper: dpkg --compare-versions "$2" le-nl "$LASTVERSION"; then
dpkg-maintscript-helper: local old_md5sum="$(dpkg-query -W -f='${Conffiles}' $PACKAGE | \
dpkg-maintscript-helper: mv -f "$CONFFILE" "$CONFFILE.dpkg-remove"
dpkg-maintscript-helper: rm -f $OLDCONFFILE.dpkg-remove
dpkg-maintscript-helper: mv -f "$NEWCONFFILE" "$NEWCONFFILE.dpkg-new"
dpkg-maintscript-helper: if [ -e "$CONFFILE.dpkg-remove" ]; then
dpkg-maintscript-helper: mv "$CONFFILE.dpkg-remove" "$CONFFILE"
dpkg-maintscript-helper: dpkg --compare-versions "$2" le-nl "$LASTVERSION"; then
dpkg-maintscript-helper: mv -f "$SYMLINK" "${SYMLINK}.dpkg-backup"
dpkg-maintscript-helper: if [ "$1" = "configure" ] && [ -h "${SYMLINK}.dpkg-backup" ] &&
dpkg-maintscript-helper: [ "$(readlink -f ${SYMLINK}.dpkg-backup)" = "$SYMLINK_TARGET" ]
dpkg-maintscript-helper: rm -f "${SYMLINK}.dpkg-backup"
dpkg-maintscript-helper: if [ "$1" = "purge" ] && [ -h "${SYMLINK}.dpkg-backup" ]; then
dpkg-maintscript-helper: rm -f "${SYMLINK}.dpkg-backup"
dpkg-maintscript-helper: [ ! -e "$SYMLINK" ] && [ -h "${SYMLINK}.dpkg-backup" ] &&
dpkg-maintscript-helper: [ "$(readlink -f ${SYMLINK}.dpkg-backup)" = "$SYMLINK_TARGET" ] &&
dpkg-maintscript-helper: dpkg --compare-versions "$2" le-nl "$LASTVERSION"; then
dpkg-maintscript-helper: mv "${SYMLINK}.dpkg-backup" "$SYMLINK"
dpkg-maintscript-helper: dpkg --compare-versions "$2" le-nl "$LASTVERSION"; then
dpkg-maintscript-helper: [ -d "${PATHNAME}.dpkg-backup" ] &&
dpkg-maintscript-helper: [ -f "$PATHNAME/.dpkg-staging-dir" ]; then
dpkg-maintscript-helper: if [ "$1" = "purge" ] && [ -d "${PATHNAME}.dpkg-backup" ]; then
dpkg-maintscript-helper: rm -rf "${PATHNAME}.dpkg-backup"
dpkg-maintscript-helper: [ -d "${PATHNAME}.dpkg-backup" ] &&
dpkg-maintscript-helper: -f "$PATHNAME/.dpkg-staging-dir" \) -o \
dpkg-maintscript-helper: dpkg --compare-versions "$2" le-nl "$LASTVERSION"; then
dpkg-maintscript-helper: if dpkg-query -W -f='${Conffiles}' "$PACKAGE" | \
dpkg-maintscript-helper: if ! dpkg-query -L "$package" | grep -q -x "$file"; then
dpkg-maintscript-helper: # just yet, because dpkg needs to remove any file present in the old
dpkg-maintscript-helper: # because dpkg will update symlinks to their new target.
dpkg-maintscript-helper: mv -f "$PATHNAME" "${PATHNAME}.dpkg-backup"
dpkg-maintscript-helper: touch "$PATHNAME/.dpkg-staging-dir"
dpkg-maintscript-helper: rm "$PATHNAME/.dpkg-staging-dir"
dpkg-maintscript-helper: rm -rf "${PATHNAME}.dpkg-backup"
dpkg-maintscript-helper: rm -f "$PATHNAME/.dpkg-staging-dir"
dpkg-maintscript-helper: mv "${PATHNAME}.dpkg-backup" "$PATHNAME"
dpkg-maintscript-helper: if ! dpkg-query -L "$PACKAGE" | grep -q -x "$FILE"; then
dpkg-maintscript-helper:Hint: upgrading dpkg to a newer version might help."
dpkg-mergechangelogs:textdomain('dpkg-dev');
dpkg-name:# dpkg-name
dpkg-name:textdomain('dpkg-dev');
dpkg-name: open(my $cdata_fh, '-|', 'dpkg-deb', '-f', '--', $filename)
dpkg-parsechangelog:# dpkg-parsechangelog
dpkg-parsechangelog:textdomain('dpkg-dev');
dpkg-parsechangelog: output formats, defaults to 'dpkg'
dpkg-parsechangelog: for compatibility with dpkg-dev
Arquivo binário dpkg-query coincide com o padrão
dpkg-repack:# dpkg-repack is Copyright (c) 1996-2006 by Joey Hess <[email protected]>
dpkg-repack:Usage: dpkg-repack [options] packagename [packagename ..]
dpkg-repack: print "dpkg-repack: @_\n";
dpkg-repack: print STDERR "dpkg-repack: @_\n";
dpkg-repack:# Get package control file via dpkg -s.
dpkg-repack: my @control=`dpkg --root=$rootdir/ -s $packagename`;
dpkg-repack: # Add something to the Description to mention dpkg-repack.
dpkg-repack: $control[$x-1]=$control[$x-1]." .\n"." (Repackaged on $date by dpkg-repack.)";
dpkg-repack: open (Q, "dpkg-query --admindir=$rootdir/var/lib/dpkg --control-path $packagename 2>/dev/null |") || die "dpkg-query failed: $!";
dpkg-repack: # dpkg-query --control-path does not list the conffiles file.
dpkg-repack: my @filelist=split /\n/,`dpkg --root=$rootdir/ -L $packagename`;
dpkg-repack: # dpkg -L spits out extra lines to report diversions.
dpkg-repack:$build_dir="./dpkg-repack-$$";
dpkg-repack: Info "dpkg-repack: created $build_dir for $packagename";
dpkg-repack: # Let dpkg do its magic.
dpkg-repack: SafeSystem("dpkg","--build",$build_dir,".","");
dpkg-scanpackages:# dpkg-scanpackages
dpkg-scanpackages:textdomain('dpkg-dev');
dpkg-scanpackages: my $pid = spawn(exec => [ 'dpkg-deb', '-I', $fn, 'control' ],
dpkg-scanpackages: warning(_g("\`dpkg-deb -I %s control' exited with %d, skipping package"),
dpkg-scansources:textdomain('dpkg-dev');
dpkg-shlibdeps:# dpkg-shlibdeps
dpkg-shlibdeps:textdomain('dpkg-dev');
dpkg-shlibdeps: "that do not have any shlibs or symbols file.\nTo help dpkg-shlibdeps " .
dpkg-shlibdeps: my $pid = open(my $dpkg_fh, '-|');
dpkg-shlibdeps: syserr(_g('cannot fork for %s'), 'dpkg --search') unless defined($pid);
dpkg-shlibdeps: # Child process running dpkg --search and discarding errors
dpkg-shlibdeps: exec('dpkg', '--search', '--', @files)
dpkg-shlibdeps: or syserr(_g('unable to execute %s'), 'dpkg');
dpkg-shlibdeps: while (defined($_ = <$dpkg_fh>)) {
dpkg-shlibdeps: warning(_g("unknown output from dpkg --search: '%s'"), $_);
dpkg-shlibdeps: close($dpkg_fh);
dpkg-source:# dpkg-source
dpkg-source:textdomain('dpkg-dev');
dpkg-source: # Scan fields of dpkg-parsechangelog
dpkg-source: 'see dpkg-source(1)'), 'debian/source/format')
dpkg-source:See dpkg-source(1) for more info.') . "\n",
Arquivo binário dpkg-split coincide com o padrão
Arquivo binário dpkg-statoverride coincide com o padrão
Arquivo binário dpkg-trigger coincide com o padrão
dpkg-vendor:# dpkg-vendor
dpkg-vendor:textdomain('dpkg-dev');
[email protected]:/usr/bin$


Tenta ai:

sudo rm -rf /var/lib/dpkg/info/*.*

sudo apt-get clean
sudo apt-get -f install

Boa sorte!

T+
Posted on: 11/1 21:24

Blog do Creto | Linux, informática e prosa
>>> Material de estudos e informações sobre o GNU/Linux <<<


Francis #3 Re: Problemas com atualização do Mint 18.1
Depois eu vejo suas dicas Creto, agora tenho que resolver outro problema que aconteceu.

Não esta acessando a internet.
Posted on: 12/1 20:56

_MSC_CLICK_TO_OPEN_IMAGE
_MSC_CLICK_TO_OPEN_IMAGE


Creto #4 Re: Problemas com atualização do Mint 18.1


Francis #5 Re: Problemas com atualização do Mint 18.1
Citando:

Creto wrote:
Posta ai então a saída de

lspci -nnk


T+
Resultado do comando.

Citando:
[email protected] ~ $ lspci -nnk
00:00.0 Host bridge [0600]: Intel Corporation 2nd Generation Core Processor Family DRAM Controller [8086:0100] (rev 09)
Kernel driver in use: snb_uncore
00:02.0 VGA compatible controller [0300]: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller [8086:0102] (rev 09)
Subsystem: Gigabyte Technology Co., Ltd 2nd Generation Core Processor Family Integrated Graphics Controller [1458:d000]
Kernel driver in use: i915
Kernel modules: i915
00:16.0 Communication controller [0780]: Intel Corporation 6 Series/C200 Series Chipset Family MEI Controller #1 [8086:1c3a] (rev 04)
Subsystem: Gigabyte Technology Co., Ltd 6 Series/C200 Series Chipset Family MEI Controller [1458:1c3a]
Kernel driver in use: mei_me
Kernel modules: mei_me
00:1a.0 USB controller [0c03]: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #2 [8086:1c2d] (rev 05)
Subsystem: Gigabyte Technology Co., Ltd 6 Series/C200 Series Chipset Family USB Enhanced Host Controller [1458:5006]
Kernel driver in use: ehci-pci
00:1b.0 Audio device [0403]: Intel Corporation 6 Series/C200 Series Chipset Family High Definition Audio Controller [8086:1c20] (rev 05)
Subsystem: Gigabyte Technology Co., Ltd 6 Series/C200 Series Chipset Family High Definition Audio Controller [1458:a002]
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel
00:1c.0 PCI bridge [0604]: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 1 [8086:1c10] (rev b5)
Kernel driver in use: pcieport
Kernel modules: shpchp
00:1c.4 PCI bridge [0604]: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 5 [8086:1c18] (rev b5)
Kernel driver in use: pcieport
Kernel modules: shpchp
00:1d.0 USB controller [0c03]: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #1 [8086:1c26] (rev 05)
Subsystem: Gigabyte Technology Co., Ltd 6 Series/C200 Series Chipset Family USB Enhanced Host Controller [1458:5006]
Kernel driver in use: ehci-pci
00:1e.0 PCI bridge [0604]: Intel Corporation 82801 PCI Bridge [8086:244e] (rev a5)
00:1f.0 ISA bridge [0601]: Intel Corporation H61 Express Chipset Family LPC Controller [8086:1c5c] (rev 05)
Subsystem: Gigabyte Technology Co., Ltd H61 Express Chipset Family LPC Controller [1458:5001]
Kernel driver in use: lpc_ich
Kernel modules: lpc_ich
00:1f.2 IDE interface [0101]: Intel Corporation 6 Series/C200 Series Chipset Family 4 port SATA IDE Controller [8086:1c00] (rev 05)
Subsystem: Gigabyte Technology Co., Ltd 6 Series/C200 Series Chipset Family 4 port SATA IDE Controller [1458:b002]
Kernel driver in use: ata_piix
Kernel modules: pata_acpi
00:1f.3 SMBus [0c05]: Intel Corporation 6 Series/C200 Series Chipset Family SMBus Controller [8086:1c22] (rev 05)
Subsystem: Gigabyte Technology Co., Ltd 6 Series/C200 Series Chipset Family SMBus Controller [1458:5001]
Kernel modules: i2c_i801
00:1f.5 IDE interface [0101]: Intel Corporation 6 Series/C200 Series Chipset Family 2 port SATA IDE Controller [8086:1c08] (rev 05)
Subsystem: Gigabyte Technology Co., Ltd 6 Series/C200 Series Chipset Family 2 port SATA IDE Controller [1458:b002]
Kernel driver in use: ata_piix
Kernel modules: pata_acpi
02:00.0 Ethernet controller [0200]: Qualcomm Atheros AR8151 v2.0 Gigabit Ethernet [1969:1083] (rev c0)
Subsystem: Gigabyte Technology Co., Ltd AR8151 v2.0 Gigabit Ethernet [1458:e000]
Kernel driver in use: atl1c
Kernel modules: atl1c
[email protected] ~ $

Posted on: 13/1 18:36

_MSC_CLICK_TO_OPEN_IMAGE
_MSC_CLICK_TO_OPEN_IMAGE


Creto #6 Re: Problemas com atualização do Mint 18.1
Francis olá meu amigo, você usa cabo ou wifi ai, porque admito não consegui identificar sua wlan, caso use cabo, mais perguntas:

Funcionava e parou de funcionar, como foi?

Bem tenta subir a conexão cabeada manualmente:

sudo modprobe -r atl1c

Espere alguns segundos..., repita assim:

sudo modprobe atl1c

E tente ir lá no networkmanager ou sei lá o nome dessa versão Xenial que tá um horror

Se caso for Wifi

sudo ifconfig wlan0 up

Boa sorte e qualquer coisa estamos ai

T+
Posted on: 13/1 21:16

Blog do Creto | Linux, informática e prosa
>>> Material de estudos e informações sobre o GNU/Linux <<<


Francis #7 Re: Problemas com atualização do Mint 18.1
Citando:
Creto wrote:
Francis olá meu amigo, você usa cabo ou wifi ai, porque admito não consegui identificar sua wlan, caso use cabo, mais perguntas:
Uso um PC me mesa via cabo.

Citando:
Funcionava e parou de funcionar, como foi?
Sim funcionava, depois de uma atualização parou de funcionar.

Citando:
Bem tenta subir a conexão cabeada manualmente:

sudo modprobe -r atl1c
Depois que usei esse comando nada mais funciona, já configurei manualmente e nem sinal de conectado não aparece mais.

Citando:
Espere alguns segundos..., repita assim:

sudo modprobe atl1c
Depois usei esse comando apareceu a massagem de conectado mas mesmo assim não navega continua como se não tivesse internet.

_MSC_CLICK_TO_OPEN_IMAGE


Ate mais...
Posted on: 14/1 18:32

_MSC_CLICK_TO_OPEN_IMAGE
_MSC_CLICK_TO_OPEN_IMAGE


PRSC #8 Re: Problemas com atualização do Mint 18.1
Atualizou o kernel?
Se eu atualizar aqui para de funcionar a internet, aconteceu duas vezes.
Posted on: 14/1 19:52


Creto #9 Re: Problemas com atualização do Mint 18.1
HUmmm, bem amigo Francis e PRSC, estou confirmando aqui que a essa versão Xenial esta uma bagaçeira só, não só no mint mas toda a familia ubuntu saiu de linha nessa versão.

Bem caro Francis se conectou subindo o seu card manualmente ja é um começo, então agora tenta subir de novo e colocar o opendns ou DNS do google

208.67.222.222
208.67.220.220

ou google

8.8.8.8
8.8.4.4

Ou como o companheiro PRSC comentou loga num kernel mais antigo

T+
Posted on: 15/1 3:24

Blog do Creto | Linux, informática e prosa
>>> Material de estudos e informações sobre o GNU/Linux <<<


Francis #10 Re: Problemas com atualização do Mint 18.1
Citando:

PRSC wrote:
Atualizou o kernel?
Se eu atualizar aqui para de funcionar a internet, aconteceu duas vezes.
Sim foi atualizado, eu tinha pensado nisso e entrei pelo kernel anterior e não deu certo.
Posted on: 15/1 12:15

_MSC_CLICK_TO_OPEN_IMAGE
_MSC_CLICK_TO_OPEN_IMAGE




(1) 2 3 »



You can view topic.
You cannot start a new topic.
You cannot reply to posts.
You cannot edit your posts.
You cannot delete your posts.
You cannot add new polls.
You cannot vote in polls.
You cannot attach files to posts.
You cannot post without approval.
You cannot use topic type.
You cannot use HTML syntax.
You cannot use signature.

[Advanced Search]