installing and uninstalling not working
I have taken back up of the installed packages in ubuntu 11.04. after formatting the system i again installed the back up packages. but after that the synaptic package manager is not working. while we are trying to install any new thing it shows that there is error in your computer. so correct it and try again
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- Ubuntu synaptic Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Revision history for this message
|
#1 |
"it shows that there is error in your computer" Precisely what error?
As a GENERAL fix, try opening a Terminal, connect to the Internet and issue the following commands ONE AT A TIME:
sudo dpkg --configure -a
sudo apt-get -f install
sudo apt-get --fix-missing install
sudo apt-get update
sudo apt-get dist-upgrade
sudo apt-get clean
sudo apt-get autoremove
sudo apt-get update
Does it work or does it stop? At what point and what does it say?
Revision history for this message
|
#2 |
After typing the first command it shows some process and not ending.
The second command has worked. Since my internet is very slow complete
update is not possible.
Now one new problem. While using ubuntu software centre for updating
the software initially it is showing that applying changes. It is not
showing the amount of package downloaded initially.
On 8/1/11, arochester <email address hidden> wrote:
> Your question #166612 on Ubuntu changed:
> https:/
>
> Status: Open => Answered
>
> arochester proposed the following answer:
> "it shows that there is error in your computer" Precisely what error?
>
> As a GENERAL fix, try opening a Terminal, connect to the Internet and issue
> the following commands ONE AT A TIME:
> sudo dpkg --configure -a
> sudo apt-get -f install
> sudo apt-get --fix-missing install
> sudo apt-get update
> sudo apt-get dist-upgrade
> sudo apt-get clean
> sudo apt-get autoremove
> sudo apt-get update
>
> Does it work or does it stop? At what point and what does it say?
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https:/
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https:/
>
> You received this question notification because you asked the question.
>
Revision history for this message
|
#3 |
Please provide the details, especially the exact text af the error messages.
Please open a termianl (ctrl-alt-t) and issue the commands one by one:
sudo dpkg --configure -a
sudo apt-get -f install
sudo apt-get update
sudo apt-get upgrade
provide your password when asked so (note that you will not see any feedback, no echo, not even '*' placeholders).
Wait for each command to finish (that might take some minutes) before you enter the next one.
Finally select all output in the terminal window (edit - select all), copy it (edit - copy) and paste it into a new message of this question document https:/
Revision history for this message
|
#4 |
1. The result of sudo dpkg --configure -a is:
bright@Home:~$ sudo -i
[sudo] password for bright:
root@Home:~# sudo dpkg --configure -a
Processing triggers for libexempi3 ...
Processing triggers for libfftw3-3 ...
Processing triggers for pitivi ...
Setting up mono-2.0-gac (2.6.7-5ubuntu3) ...
Processing triggers for miro-data ...
Processing triggers for python-aptdaemon ...
Processing triggers for libelf1 ...
Processing triggers for python-boto ...
Processing triggers for mono-runtime ...
Processing triggers for libfreetype6 ...
Setting up mono-csharp-shell (2.6.7-5ubuntu3) ...
Setting up openprinting-ppds (20110317-0ubuntu1) ...
Processing triggers for libclass-
Processing triggers for libcelt0-0 ...
Processing triggers for menu ...
Processing triggers for initramfs-tools ...
update-initramfs: Generating /boot/initrd.
Processing triggers for libdbus-1-3 ...
Processing triggers for libflac8 ...
Setting up module-init-tools (3.12-1ubuntu6) ...
Processing triggers for libgamin0 ...
Processing triggers for libenca0 ...
Processing triggers for libffi5 ...
Processing triggers for myspell-en-au ...
Processing triggers for libcairo2 ...
Setting up pulseaudio-utils (1:0.9.
* PulseAudio configured for per-user sessions
Processing triggers for libgdbm3 ...
Processing triggers for libexif12 ...
Processing triggers for libgcrypt11 ...
Processing triggers for python-dbus ...
Processing triggers for libgd2-xpm ...
Processing triggers for libcurl3-gnutls ...
Processing triggers for metacity ...
Setting up procps (1:3.2.8-10ubuntu3) ...
procps stop/waiting
Processing triggers for miro ...
Processing triggers for mscompress ...
Processing triggers for libdvdread4 ...
Processing triggers for mjpegtools ...
Processing triggers for libfuse2 ...
Processing triggers for nautilus-share ...
Processing triggers for ncurses-base ...
Processing triggers for libebook1.2-10 ...
Processing triggers for libdbusmenu-glib3 ...
Processing triggers for psmisc ...
Processing triggers for perl-modules ...
Processing triggers for mono-gac ...
* Installing 3 assemblies from libappindicator
* Installing 6 assemblies from libart2.0-cil into Mono
* Installing 1 assembly from libavahi1.0-cil into Mono
* Installing 6 assemblies from libgconf2.0-cil into Mono
* Installing 14 assemblies from libgdata1.7-cil into Mono
* Installing 1 assembly from libgkeyfile1.0-cil into Mono
* Installing 1 assembly from libglade2.0-cil into Mono
* Installing 1 assembly from libglib2.0-cil into Mono
* Installing 1 assembly from libgmime2.4-cil into Mono
* Installing 2 assemblies from libgnome2.24-cil into Mono
* Installing 6 assemblies from libgnome-vfs2.0-cil into Mono
* Installing 5 assemblies from libgtk2.0-cil into Mono
* Installing 1 assembly from libgudev1.0-cil into Mono
* Installing 1 assembly from liblaunchpad-
* Installing 7 assemblies from libmono-
* Installing 3 assemblies from libmono-
* Installing 5 assemblies from libmono-
* Installing 1 assembly from libndesk-
* Installing 1 assembly from libndesk-
* Installing 1 assembly from libnotify0.4-cil into Mono
* Installing 2 assemblies from libtaglib2.0-cil into Mono
* Installing 1 assembly from libubuntuone1.0-cil into Mono
* Installing 1 assembly from policy.
* Installing 1 assembly from policy.
* Installing 1 assembly from policy.
* Installing 1 assembly from policy.
* Installing 1 assembly from policy.
* Installing 1 assembly from policy.
* Installing 1 assembly from policy.
* Installing 1 assembly from policy.
* Installing 1 assembly from policy.
* Installing 1 assembly from policy.
* Installing 1 assembly from policy.
* Installing 1 assembly from policy.
* Installing 1 assembly from policy.
* Installing 1 assembly from policy.
* Installing 1 assembly from policy.
* Installing 1 assembly from policy.
* Installing 1 assembly from policy.
* Installing 1 assembly from policy.
* Installing 1 assembly from policy.
* Installing 1 assembly from policy.
* Installing 1 assembly from policy.
* Installing 1 assembly from policy.
* Installing 1 assembly from policy.
* Installing 1 assembly from policy.
* Installing 1 assembly from policy.
* Installing 1 assembly from policy.
* Installing 1 assembly from policy.
* Installing 1 assembly from policy.
Processing triggers for python-defer ...
Processing triggers for libcdaudio1 ...
Processing triggers for libflite1 ...
Processing triggers for libfile-
Processing triggers for libcanberra-
Processing triggers for libc6-dev ...
Processing triggers for python-
Processing triggers for openssl ...
Processing triggers for modemmanager ...
Processing triggers for ncurses-bin ...
Processing triggers for perl-base ...
Processing triggers for libegroupwise1.2-13 ...
Processing triggers for libdconf0 ...
Processing triggers for policykit-
postinst called with unknown argument `triggered'
dpkg: error processing policykit-
subprocess installed post-installation script returned error exit status 1
Processing triggers for libdigest-hmac-perl ...
Processing triggers for python-brlapi ...
Processing triggers for pciutils ...
postinst called with unknown argument `triggered'
dpkg: error processing pciutils (--configure):
subprocess installed post-installation script returned error exit status 1
Processing triggers for libdbus-glib-1-2 ...
Processing triggers for mtools ...
Processing triggers for pxljr ...
postinst called with unknown argument `triggered'
Processing triggers for mtr-tiny ...
Processing triggers for libgdata11 ...
Processing triggers for python-configobj ...
Processing triggers for libdigest-sha1-perl ...
Processing triggers for libdirac-encoder0 ...
Processing triggers for netbase ...
postinst called with unknown argument 'triggered'
dpkg: error processing netbase (--configure):
subprocess installed post-installation script returned error exit status 1
Processing triggers for libdrm2 ...
Processing triggers for libdrm-nouveau1a ...
Processing triggers for ntfs-3g ...
update-initramfs: deferring update (trigger activated)
Processing triggers for libdesktop-
Processing triggers for libelfg0 ...
Processing triggers for python ...
Processing triggers for python-apport ...
Processing triggers for libfontconfig1 ...
Processing triggers for libgconf2-4 ...
Processing triggers for myspell-en-gb ...
Processing triggers for libdpkg-perl ...
Processing triggers for libcolamd2.7.1 ...
Processing triggers for mountall ...
Processing triggers for libgcr0 ...
Processing triggers for libc-dev-bin ...
ldconfig deferred processing now taking place
Processing triggers for overlay-scrollbar ...
Processing triggers for libenchant1c2a ...
postinst called with unknown argument `triggered'
dpkg: error processing libenchant1c2a (--configure):
subprocess installed post-installation script returned error exit status 1
Processing triggers for libecal1.2-8 ...
Processing triggers for libdesktop-
Processing triggers for libfile-
Processing triggers for libg3d0 ...
Processing triggers for python-awn-extras ...
Processing triggers for python-gdbm ...
Processing triggers for libdrm-radeon1 ...
Processing triggers for libfont-afm-perl ...
Processing triggers for libdecoration0 ...
Processing triggers for python-
Processing triggers for nautilus-data ...
Processing triggers for libdns69 ...
Processing triggers for netcat-openbsd ...
Processing triggers for libfribidi0 ...
Processing triggers for libcloog-ppl0 ...
Processing triggers for libespeak1 ...
Processing triggers for os-prober ...
Processing triggers for libcupsmime1 ...
Processing triggers for libedataserver1
Processing triggers for libgconf2.0-cil ...
Processing triggers for python-support ...
Processing triggers for libfolks-
Processing triggers for pppconfig ...
dpkg: error: version '/usr/share/menu' has bad syntax: version number does
not start with digit
Processing triggers for libgcc1 ...
Processing triggers for libck-connector0 ...
Processing triggers for mousetweaks ...
Processing triggers for metacity-common ...
Processing triggers for libdv4 ...
Processing triggers for libebml3 ...
Processing triggers for libcddb2 ...
Processing triggers for libcdio-cdda0 ...
Processing triggers for mount ...
Processing triggers for pcmciautils ...
Processing triggers for libcupsdriver1 ...
Processing triggers for libcdio10 ...
Processing triggers for libcairo-gobject2 ...
Processing triggers for libcups2 ...
Processing triggers for libgdata-common ...
Processing triggers for mysql-common ...
Processing triggers for libfreezethaw-perl ...
Processing triggers for python-appindicator ...
Processing triggers for libevdocument3 ...
Setting up ppp (2.4.5-5ubuntu1) ...
Processing triggers for python-cairo ...
Processing triggers for parted ...
Processing triggers for libedata-cal1.2-10 ...
Processing triggers for libexpat1 ...
Processing triggers for libdirectfb-1.2-9 ...
Processing triggers for libevview3 ...
Processing triggers for python-evolution ...
Processing triggers for patch ...
Processing triggers for initramfs-tools-bin ...
update-initramfs: Generating /boot/initrd.
Processing triggers for libdca0 ...
Processing triggers for python-gdata ...
Processing triggers for libevent-1.4-2 ...
Processing triggers for libcairomm-1.0-1 ...
Processing triggers for libdevmapper1.02.1 ...
Processing triggers for libdaemon0 ...
Processing triggers for libfltk1.1 ...
Processing triggers for ntfsprogs ...
Processing triggers for ntfs-config ...
Processing triggers for libdevmapper-
Processing triggers for libcdio-paranoia0 ...
Processing triggers for python-bzrlib ...
Processing triggers for nautilus-
Processing triggers for libcrypt-
Processing triggers for libcomerr2 ...
Processing triggers for plymouth-
/var/lib/
argument `triggered'
dpkg: error processing plymouth-
subprocess installed post-installation script returned error exit status 1
Processing triggers for libcryptui0 ...
Processing triggers for libdb4.8 ...
Processing triggers for libgail18 ...
Processing triggers for net-tools ...
Processing triggers for python-glade2 ...
Processing triggers for libcanberra-pulse ...
Processing triggers for myspell-en-za ...
Processing triggers for libfs6 ...
Processing triggers for libcutter0 ...
Processing triggers for mono-gmcs ...
dpkg: ../../.
failed.
root@Home:~#
2. Result of sudo apt-get -f install is
root@Home:~# sudo apt-get -f install
E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to
correct the problem.
root@Home:~#
The result of sudo apt-get upgrade is
root@Home:~# sudo apt-get upgrade
E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to
correct the problem.
root@Home:~#
Revision history for this message
|
#5 |
ok, that shows already some progress.
please try again with the same commands as before:
sudo dpkg --configure -a
sudo apt-get -f install
sudo apt-get update
sudo apt-get upgrade
and then copy/paste all output as done before.
Revision history for this message
|
#6 |
This question was expired because it remained in the 'Needs information' state without activity for the last 15 days.
Revision history for this message
|
#7 |
now i formatted my system. now ubuntu is not updating any software
from ubuntu software centre. it shows error that there are some
dependencies.
On 23/08/2011, Launchpad Janitor <email address hidden> wrote:
> Your question #166612 on synaptic in Ubuntu changed:
> https:/
>
> Status: Needs information => Expired
>
> Launchpad Janitor expired the question:
> This question was expired because it remained in the 'Needs information'
> state without activity for the last 15 days.
>
> --
> If you're still having this problem, you can reopen your question either
> by replying to this email or by going to the following page and
> entering more information about your problem:
> https:/
>
> You received this question notification because you asked the question.
>
Revision history for this message
|
#8 |
yes
On 23/08/2011, brittomail.com <email address hidden> wrote:
> Your question #166612 on synaptic in Ubuntu changed:
> https:/
>
> Status: Expired => Open
>
> You are still having a problem:
> now i formatted my system. now ubuntu is not updating any software
> from ubuntu software centre. it shows error that there are some
> dependencies.
>
> On 23/08/2011, Launchpad Janitor <email address hidden>
> wrote:
>> Your question #166612 on synaptic in Ubuntu changed:
>> https:/
>>
>> Status: Needs information => Expired
>>
>> Launchpad Janitor expired the question:
>> This question was expired because it remained in the 'Needs information'
>> state without activity for the last 15 days.
>>
>> --
>> If you're still having this problem, you can reopen your question either
>> by replying to this email or by going to the following page and
>> entering more information about your problem:
>> https:/
>>
>> You received this question notification because you asked the question.
>>
>
> --
> You received this question notification because you asked the question.
>
Revision history for this message
|
#9 |
Please provide the full output of the commands
lsb_release -a
sudo apt-get update
sudo apt-get dist-upgrade
Revision history for this message
|
#10 |
root@Benz:~# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 11.04
Release: 11.04
Codename: natty
root@Benz:~# sudo apt-get update
Ign http://
Hit http://
Ign http://
Ign http://
Hit http://
Hit http://
Hit http://
Ign http://
Hit http://
Get:1 http://
Hit http://
Hit http://
Ign http://
Hit http://
Ign http://
Ign http://
Hit http://
Hit http://
Hit http://
Ign http://
Hit http://
Ign http://
Ign http://
Hit http://
Ign http://
Hit http://
Hit http://
Hit http://
Get:2 http://
Hit http://
Hit http://
Ign http://
Ign http://
Ign http://
Ign http://
Hit http://
Hit http://
Hit http://
Ign http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Ign http://
Ign http://
Ign http://
Ign http://
Hit http://
Ign http://
Get:3 http://
Hit http://
Hit http://
Hit http://
Ign http://
Ign http://
Ign http://
Ign http://
Hit http://
Hit http://
Ign http://
Hit http://
Hit http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Get:4 http://
Hit http://
Hit http://
Hit http://
Ign http://
Hit http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Translation-en_IN
Ign http://
Ign http://
Translation-en_IN
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Fetched 2,741 B in 42s (65 B/s)
W: Failed to fetch
gzip:/var/
Hash Sum mismatch
E: Some index files failed to download. They have been ignored, or old ones
used instead.
root@Benz:~# sudo apt-get dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages will be REMOVED:
banshee-
libubuntuone-1.0-1
libubuntuone1
ubuntuone-
The following NEW packages will be installed:
firefox-locale-en linux-headers-
linux-
The following packages have been kept back:
tomboy
The following packages will be upgraded:
adobe-
apt-transport
apturl-common
bamfdaemon banshee banshee-
bluez-alsa bluez-cups bluez-gstreamer compiz compiz-core compiz-gnome
compiz-plugins compiz-plugins-main cups cups-bsd cups-client cups-common
cups-ppdc dbus dbus-x11 dnsutils dpkg-dev empathy empathy-common evince
evince-common file-roller firefox firefox-globalmenu firefox-
foo2zjs foomatic-filters gdm geoclue gir1.2-
gir1.2-soup-2.4
glib-networking gnome-keyring gnome-nettool gnome-panel gnome-panel-bonobo
gnome-panel-data gnome-power-manager gnome-session gnome-session-bin
gnome-
grub-
gwibber gwibber-service gwibber-
gwibber-
isc-dhcp-client
isc-dhcp-common language-pack-en language-
language-
language-
language-
libcupscgi1 libcupsdriver1 libcupsimage2 libcupsmime1 libcupsppdc1
libcurl3-gnutls libdbus-1-3 libdbusmenu-glib3 libdbusmenu-gtk3
libdecoration0 libdns69 libdpkg-perl libevdocument3 libevview3
libfreetype6
libgcr0 libgeoclue0 libgl1-mesa-dri libgl1-mesa-glx libglu1-mesa libgp11-0
libgpod-common libgpod4 libgstreamer0.10-0 libgvfscommon0 libisc62
libisccc60 libisccfg62 liblircclient0 liblwres60 libnux-0.9-0
libnux-0.9-common liboverlay-
libpam-modules libpam-modules-bin libpam-runtime libpam0g
libpanel-
libpulse-browse0 libpulse-
libreoffice-calc libreoffice-common libreoffice-core libreoffice-draw
libreoffice-
libreoffice-
libreoffice-
libsoup-
libwxbase2.8-0 libwxgtk2.8-0 libxfont1 libxi6 libxml2 libxml2-utils
light-themes lintian linux-firmware linux-generic linux-headers-
linux-
nautilus-
perl perl-base perl-modules plymouth plymouth-label
plymouth-
pulseaudio-
pulseaudio-
pulseaudio-
python-apt-common python-aptdaemon python-
python-
python-cupshelpers
python-glade2 python-gobject python-
python-libxml2
python-papyon python-
python-
rdesktop samba-common samba-common-bin shotwell smbclient software-center
sudo system-
system-
ubuntu-docs ubuntu-sso-client udisks unattended-upgrades unity
unity-common
unity-
update-
whois x11-common xorg xserver-common xserver-xorg xserver-xorg-core
xserver-
xserver-
xul-ext-ubufox youtube-dl
244 upgraded, 4 newly installed, 8 to remove and 1 not upgraded.
Need to get 270 MB of archives.
After this operation, 232 MB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://
google-
Get:2 http://
adobe-flash-
Get:3 http://
all 2011.08.
Get:4 http://
all 5.10.1-17ubuntu4.1 [3,442 kB]
0% [4 perl-modules 114 kB/3,442 kB 3%] [1 google-
MB 1^Z
My internet connection is not good. so i stopped in that last step.
Revision history for this message
|
#11 |
I have the suspicion that either your router equipment or your provider interferes in the processing of 404 (file not found) messages.
Please provide the output of
head /var/lib/
and please tell what the result is of opening this URL in your internet explorer:
http://
Please tell exactly what kind of error or search message or... you see!
Revision history for this message
|
#12 |
root@Benz:~# head
> /var/lib/
> BZh91AY&
> ���x��
�{=��
> 7�t{�]�
�[�@���
> ��g���;
>
> ��^�'�
�2@t5rĤ-
�(P�oz�
������x�
�H*R���
�r/m2Z�
> ]`4 H
> ��k��SNx
> /�����v��
��Cp@
> �Lpvp/
> ��T�5�(;y���*|d ;����5�
> 6���n�
�3٫�'�
> ��p����
> ف
�6�k�>�[
{��
> |�QZ��6
> �n�I�8��|p�}j��6 ��v�x��_
l���ٮ
> �Z��P��
>
> X>���{�φ����k�;�Y�Ʈ>�v
��W�����p0
��6���
>
> ���,@'
> %�Yvղ��
> (���ٶ��%j�l�m5�+5� kE�[Z,�
> (�)�h\��.
4���M�
> [��WZ��9�xct���%}�kGls�
�q����7e������
> )cl��t�
> ��(
> root@Benz:~# head
> /var/lib/
> BZh91AY&
> ���x��
�{=��
> 7�t{�]�
�[�@���
> ��g���;
>
> ��^�'�
�2@t5rĤ-
�(P�oz�
������x�
�H*R���
�r/m2Z�
> ]`4 H
> ��k��SNx
> /�����v��
��Cp@
> �Lpvp/
> ��T�5�(;y���*|d ;����5�
> 6���n�
�3٫�'�
> ��p����
> ف
�6�k�>�[
{��
> |�QZ��6
> �n�I�8��|p�}j��6 ��v�x��_
l���ٮ
> �Z��P��
>
> X>���{�φ����k�;�Y�Ʈ>�v
��W�����p0
��6���
>
> ���,@'
> %�Yvղ��
> (���ٶ��%j�l�m5�+5� kE�[Z,�
> (�)�h\��.
4���M�
> [��WZ��9�xct���%}�kGls�
�q����7e������
> )cl��t�
> ��(
> and
>
in browser
Not Found
The requested URL /ubuntu/
found on this server.
-------
Apache/2.2.14 (Ubuntu) Server at in.archive.
Revision history for this message
|
#13 |
Fom your last output I conclude that you do not have the issue with wrong
404 handling.
Now we have to find out where the "W: Failed to fetch ... Hash Sum mismatch"
message comes from, and how it can be solved.
Please open a terminal and issue the following commands:
sudo rm var/lib/
sudo apt-get update
and again copy/paste all output.
For further processing there is the question how you want to download the
data for the software updates, if your internet connection is very
slow/unreliable
The updates for your system currently waiting to be downloaded and installed
are about 270 MB (see "Need to get 270 MB of archives" message in the
output).
There are some possibilities to use a different computer and/or a different
internet connection for downloading the .deb packages. You have to make up
your mind how you want to go on.
Can you help with this problem?
Provide an answer of your own, or ask brittomail.com for more information if necessary.