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 [b]update[/b] da a seguinte mensagem.
[quote]Lendo listas de pacotes... Pronto
W: Problema ao remover o link do ficheiro * - Clean (21: É um diretório)[/quote]
E quando usa o [b]upgrade[/b] da a seguinte mensagem.
[quote]E: Sub-process /usr/bin/dpkg returned an error code (1)[/quote]
Todas as dicas que eu conheço e as demais encontrada no[b] Google [/b] não ajudaram a resolver esse problema.
Já verifiquei esse caminho [b]/usr/bin/dpkg returned [/b] e não existe esse arquivo [b]dpkg returned[/b].
Desde já obrigado.
Ate mais...
Aqui no meu no terminal ou no Gerenciador de Atualização esta aparecendo a seguinte mensagem.
Quando usa o [b]update[/b] da a seguinte mensagem.
[quote]Lendo listas de pacotes... Pronto
W: Problema ao remover o link do ficheiro * - Clean (21: É um diretório)[/quote]
E quando usa o [b]upgrade[/b] da a seguinte mensagem.
[quote]E: Sub-process /usr/bin/dpkg returned an error code (1)[/quote]
Todas as dicas que eu conheço e as demais encontrada no[b] Google [/b] não ajudaram a resolver esse problema.
Já verifiquei esse caminho [b]/usr/bin/dpkg returned [/b] e não existe esse arquivo [b]dpkg returned[/b].
Desde já obrigado.
Ate mais...
Entre ou Registre-se para fazer um comentário.
Comentários
[b]/usr/bin/dpkg[/b]
O Dpkg esta informando e te retornando o codigo do erro (1)
[b]benedito@benedito-Infoway:/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');
benedito@benedito-Infoway:/usr/bin$
[/b]
Tenta ai:
sudo rm -rf /var/lib/dpkg/info/*.*
sudo apt-get clean
sudo apt-get -f install
Boa sorte!
T+
Se eu atualizar aqui para de funcionar a internet, aconteceu duas vezes.
Tenho 2 dispositivos de rede por usb para testes, um usb/lan e outro usb/wifi, todos param de funcionar se eu atualizar.
Ping para algum site funciona?
A impressão que dava aqui era que o firewall bloqueava, mesmo desabilitando ele nada acontecia.
Ou o NAT da rede não estivesse funcionando, mas neste caso quem se encarrega de fazer NAT é o modem/router, no caso do ipv4.
Em um outro tópico que abri, o gerenciador de rede fez uma bagunça sozinho nas configurações, eu tinha uma LAN com ip fixo para teste, e a automática, ele sumiu com a configurações automática e colocou a numeração de ip da fixa na automática que era uma faixa de ip de outro roteador de testes.
Por sorte o wifi neste caso não foi afetado, podia buscar soluções e atualizar, até descobrir a bagunça.
Depois que veio outros 2 erros referente ao kernel.
Se tiver um adaptador wifi usb para teste seria bom testar e ver se consegue voltar ainda mais o kernel caso esteja acima da minha versão, é uma tentativa.