Report message:*
Código de confirmação*
9 - 1 = ?  
Insira o resultado impresso
Maximmo de tentativas: 10
 

Re: Problemas com atualização do Mint 18.1

Subject: Re: Problemas com atualização do Mint 18.1
by Creto on 11/01/2017 21:24:07

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+