package update problem
I was attempting to delete some files using the Synaptic Package Manager when I got this message.
E: Problem parsing dependency Depends E: Error occurred while processing xserver-
Now I can't get updates, using the Synaptic Package Manager or even get anything to load from the Ubuntu software Center.
everything else (internet, e-mail) is unaffected.
Any help offered would be appreciated
I've tried using the "System Restore" menu during boot up and the "repair broken packages" option. I get the same error.
I've also tried from the terminal "sudo apt-get upgrade" and again I get the same results
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Ubuntu synaptic Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- AZtech
- Solved:
- Last query:
- Last reply:
Revision history for this message
|
#1 |
Plase try this:
open a Terminal from the menu Applications-
**Tip: right click with mouse on the top terminal windows title caption and select the menu item "Always on Top"
doing this you will force the terminal window to stay on top of the other windows and you will find very easy
to copy single row from this web page into the terminal...
Something more about using the terminal https:/
Then type or better copy and paste a row a time then press enter:
(Tip: select the single row to copy from this page then right click and select copy then click into the terminal window
and to quick paste click with middle button of mouse )
Copy and paste the rows below, copy and paste one row a time (see the **Tip) then press enter:
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
give your user password when requested, you don't see nothing when you type it, then press enter.
Hope this helps
Revision history for this message
|
#2 |
Revision history for this message
|
#3 |
~
bash: /home/bruce: is a directory
bruce@desktop:~$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_
DISTRIB_
DISTRIB_
bruce@desktop:~$ uname -a
Linux desktop 2.6.32-24-generic #39-Ubuntu SMP Wed Jul 28 06:07:29 UTC 2010 i686 GNU/Linux
bruce@desktop:~$ sudo rm /var/lib/
bruce@desktop:~$ sudo cp -arf /var/lib/dpkg /var/lib/
bruce@desktop:~$ sudo cp /var/lib/
bruce@desktop:~$ sudo cp /var/lib/
bruce@desktop:~$ sudo rm -rf /var/lib/
bruce@desktop:~$ sudo rm -rf /var/lib/apt/lists
bruce@desktop:~$ sudo mkdir /var/lib/apt/lists
bruce@desktop:~$ sudo mkdir /var/lib/
bruce@desktop:~$ sudo rm /var/cache/
bruce@desktop:~$ LANG=C;sudo apt-get clean
bruce@desktop:~$ LANG=C;sudo apt-get autoclean
Reading package lists... Done
Building dependency tree
Reading state information... Done
bruce@desktop:~$ LANG=C;sudo apt-get --purge autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
bruce@desktop:~$ LANG=C;sudo apt-get update -o APT::Cache-
Get:1 http://
Get:2 http://
Get:3 http://
Get:4 http://
Get:5 http://
Get:6 http://
Get:7 http://
Get:8 http://
Get:9 http://
Get:10 http://
Get:11 http://
Get:12 http://
Get:13 http://
Get:14 http://
Get:15 http://
Get:16 http://
Get:17 http://
Get:18 http://
Get:19 http://
Get:20 http://
Get:21 http://
Get:22 http://
Get:23 http://
Get:24 http://
Get:25 http://
Get:26 http://
Get:27 http://
Get:28 http://
Get:29 http://
Get:30 http://
Fetched 11.7MB in 12s (966kB/s)
Reading package lists... Done
bruce@desktop:~$ sudo dpkg --clear-avail
bruce@desktop:~$ sudo dpkg --configure -a
bruce@desktop:~$ LANG=C;sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 19 not upgraded.
bruce@desktop:~$ LANG=C;sudo apt-get update -o APT::Cache-
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following NEW packages will be installed:
ttf-dejavu-extra
The following packages will be upgraded:
icedtea-
language-
libfreetype6-dev libsmbclient libwbclient0 openjdk-6-jdk openjdk-6-jre
openjdk-
smbclient upstart xserver-common xserver-xorg-core
19 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 73.5MB of archives.
After this operation, 6504kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://
Get:2 http://
Get:3 http://
Get:4 http://
Get:5 http://
Get:6 http://
Get:7 http://
Get:8 http://
Get:9 http://
Get:10 http://
Get:11 http://
Get:12 http://
Get:13 http://
Get:14 http://
Get:15 http://
Get:16 http://
Get:17 http://
Get:18 http://
Get:19 http://
Get:20 http://
Fetched 73.5MB in 2min 57s (415kB/s)
Preconfiguring packages ...
(Reading database ... 174953 files and directories currently installed.)
Preparing to replace language-pack-en 1:10.04+20100422 (using .../language-
Unpacking replacement language-pack-en ...
Preparing to replace language-
Unpacking replacement language-
Preparing to replace language-
Unpacking replacement language-
Preparing to replace language-
Unpacking replacement language-
Preparing to replace upstart 0.6.5-6 (using .../upstart_
Unpacking replacement upstart ...
Preparing to replace libfreetype6-dev 2.3.11-1ubuntu2.1 (using .../libfreetype
Unpacking replacement libfreetype6-dev ...
Preparing to replace libfreetype6 2.3.11-1ubuntu2.1 (using .../libfreetype
Unpacking replacement libfreetype6 ...
Preparing to replace libwbclient0 2:3.4.7~
Unpacking replacement libwbclient0 ...
Preparing to replace icedtea-6-jre-cacao 6b18-1.8-4ubuntu3 (using .../icedtea-
Unpacking replacement icedtea-6-jre-cacao ...
Preparing to replace openjdk-6-jre-lib 6b18-1.8-4ubuntu3 (using .../openjdk-
Unpacking replacement openjdk-6-jre-lib ...
Preparing to replace openjdk-
Unpacking replacement openjdk-
Preparing to replace openjdk-6-jre 6b18-1.8-4ubuntu3 (using .../openjdk-
Unpacking replacement openjdk-6-jre ...
Preparing to replace openjdk-6-jdk 6b18-1.8-4ubuntu3 (using .../openjdk-
Unpacking replacement openjdk-6-jdk ...
Preparing to replace smbclient 2:3.4.7~
Unpacking replacement smbclient ...
Preparing to replace samba-common 2:3.4.7~
Unpacking replacement samba-common ...
Preparing to replace samba-common-bin 2:3.4.7~
Unpacking replacement samba-common-bin ...
Selecting previously deselected package ttf-dejavu-extra.
Unpacking ttf-dejavu-extra (from .../ttf-
Preparing to replace xserver-common 2:1.7.6-2ubuntu7.2 (using .../xserver-
Unpacking replacement xserver-common ...
Preparing to replace xserver-xorg-core 2:1.7.6-2ubuntu7.2 (using .../xserver-
Unpacking replacement xserver-xorg-core ...
Preparing to replace libsmbclient 2:3.4.7~
Unpacking replacement libsmbclient ...
Processing triggers for software-center ...
Processing triggers for man-db ...
Processing triggers for ureadahead ...
ureadahead will be reprofiled on next reboot
Processing triggers for doc-base ...
Processing 1 changed doc-base file(s)...
Registering documents with scrollkeeper...
Processing triggers for python-gmenu ...
Rebuilding /usr/share/
Processing triggers for desktop-file-utils ...
Processing triggers for hicolor-icon-theme ...
Processing triggers for fontconfig ...
Processing triggers for python-central ...
Processing triggers for python-support ...
Setting up upstart (0.6.5-7) ...
Setting up libfreetype6 (2.3.11-1ubuntu2.2) ...
Setting up libfreetype6-dev (2.3.11-1ubuntu2.2) ...
Setting up libwbclient0 (2:3.4.
Setting up samba-common (2:3.4.
Setting up smbclient (2:3.4.
Setting up samba-common-bin (2:3.4.
Setting up ttf-dejavu-extra (2.30-2) ...
Setting up xserver-common (2:1.7.
Setting up xserver-xorg-core (2:1.7.
Setting up libsmbclient (2:3.4.
Setting up openjdk-6-jre-lib (6b18-1.
Setting up openjdk-
Setting up icedtea-6-jre-cacao (6b18-1.
Setting up openjdk-6-jre (6b18-1.
Setting up openjdk-6-jdk (6b18-1.
Setting up language-pack-en (1:10.04+20100714) ...
Setting up language-
Generating locales...
en_AG.UTF-8... up-to-date
en_AU.UTF-8... up-to-date
en_BW.UTF-8... up-to-date
en_CA.UTF-8... up-to-date
en_DK.UTF-8... up-to-date
en_GB.UTF-8... up-to-date
en_HK.UTF-8... up-to-date
en_IE.UTF-8... up-to-date
en_IN.UTF-8... up-to-date
en_NG.UTF-8... up-to-date
en_NZ.UTF-8... up-to-date
en_PH.UTF-8... up-to-date
en_SG.UTF-8... up-to-date
en_US.UTF-8... up-to-date
en_ZA.UTF-8... up-to-date
en_ZW.UTF-8... up-to-date
Generation complete.
Processing triggers for python-gmenu ...
Rebuilding /usr/share/
Setting up language-
Setting up language-
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
Processing triggers for python-support ...
Processing triggers for python-gmenu ...
Rebuilding /usr/share/
Processing triggers for python-support ...
bruce@desktop:~$
Revision history for this message
|
#5 |
@AZtech: please create a separate thread/question for the codeblocks package issue using this link:
https:/
I do not answer private Emails. I only handle certain (not all) questions posted at Launchpad....