incapaz de atualizar ou baixar do centro de software do Ubuntu ou appgrid

0

Eu sou novo no linux. Recentemente eu instalei barry desktop um cliente para blackberry sync.E depois de reiniciar eu encontrei uma notificação de erro no painel de desktop com uma mensagem de erro dizendo

ERROR: BROKEN COUNT>0"[the error notification I get on my desktop][1] 

Quando uso o atualizador para atualizar, recebo a seguinte mensagem de erro:

[updater error message][2]
"The package system is broken:
Check if you are using third party repositories. If so disable them, since they are a common source of problems.
Furthermore run the following command in a Terminal: apt-get install -f"

Também não consigo instalar nada do centro de software ou da Appgrid. Recebo a seguinte mensagem de erro ao abrir o centro de software:

[error message on opening software center][3]

"New software cannot be installed because there is a problem with the software currently installed. Do you want to repair this problem now?".
When I click "repair", the operation fails with another error message as follows:[package operation failed error message][4]

"PACKAGE OPERATION FAILED
The installation or removal of a software package failed
detail:
 installArchives() failed: perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
    LANGUAGE = (unset),
    LC_ALL = (unset),
    LANG = "en_IN.ISO8859-1"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
    LANGUAGE = (unset),
    LC_ALL = (unset),
    LANG = "en_IN.ISO8859-1"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 265674 files and directories currently installed.)
Preparing to unpack .../barry-util_0.18.5-1_i386.deb ...
Unpacking barry-util (0.18.5-1) ...
dpkg: error processing archive /var/cache/apt/archives/barry-util_0.18.5-1_i386.deb (--unpack):
 trying to overwrite '/etc/bash_completion.d/bjavaloader', which is also in package linberry 1.1b1a
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Errors were encountered while processing:
 /var/cache/apt/archives/barry-util_0.18.5-1_i386.deb
Error in function: 
dpkg: dependency problems prevent configuration of barrydesktop:
 barrydesktop depends on barry-util; however:
  Package barry-util is not installed.

dpkg: error processing package barrydesktop (--configure):
 dependency problems - leaving unconfigured

MESMO ERRO ACIMA QUANDO TENTAR INSTALAR A PARTIR DE APPGRID. Eu acredito que comecei a ter este problema desde que eu instalei o BARRY DESKTOP um cliente para sincronização de blackberry. Por favor, me ajude com isso. Obrigado.

    
por gokul6 01.12.2015 / 11:06

1 resposta

0

Eu tive o mesmo problema e essa solução funcionou para mim: link

sudo su
mv  /var/lib/dpkg/status  /var/lib/dpkg/status-bad
cp /var/lib/dpkg/status-old  /var/lib/dpkg/status
mv /var/lib/dpkg/available  /var/lib/dpkg/available-bad
cp /var/lib/dpkg/available-old  /var/lib/dpkg/available
rm -rf /var/lib/dpkg/updates/*
rm -rf /var/lib/apt/lists/*
mkdir /var/lib/apt/lists/partial
rm /var/cache/apt/*.bin
apt-get clean
apt-get autoremove
apt-get update
dpkg --configure -a
apt-get install -f

Espero que também funcione para você.

    
por Laura A Moreno 04.06.2016 / 14:00