I can not to update packages

Asked by Simon Brouillard

I have a problem with Ubuntu 11.04
Unity 2D...

I am not able to run
1- update-manager
2- Synaptic
3- Software center

1. Update-manager: Stop during Building dependencies
2. Software-manager: Stop after class/categories of appl.
   displayed
3. Synaptic program: Stop before i can search a package...

I think that theses packages can not write in the ubuntu core...
even if in my user spaces i can download and or edit files...

May I have to reinstall all ubuntu from LiveCD?

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu update-manager Edit question
Assignee:
No assignee Edit question
Solved by:
Simon Brouillard
Solved:
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

Can you give the output of:

lsb_release -a; gksudo software-centre

Thanks

Revision history for this message
Simon Brouillard (simon-brouillard1) said :
#2

simon@simon-desktop:~$
simon@simon-desktop:~$ lsb_release -a; gksudo software-centre
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 11.04
Release: 11.04
Codename: natty
simon@simon-desktop:~$

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#3

Does the software centre ran with gksudo work ok?

Revision history for this message
Simon Brouillard (simon-brouillard1) said :
#4

After i run your command in a terminal...
The message is dislayed, after, the program
request a password and after i enter my password...
the program close and end.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#5

sudo cp -arf /var/lib/dpkg /var/lib/dpkg.backup
sudo cp /var/lib/dpkg/status-old /var/lib/dpkg/status
sudo cp /var/lib/dpkg/available-old /var/lib/dpkg/available
sudo rm -rf /var/lib/dpkg/updates/*; sudo rm -rf /var/lib/apt/lists
sudo mkdir /var/lib/apt/lists; sudo mkdir /var/lib/apt/lists/partial
LANG=C;sudo apt-get clean; LANG=C;sudo apt-get autoclean
LANG=C;sudo apt-get update
sudo dpkg --clear-avail; sudo dpkg --configure -a
LANG=C;sudo apt-get install -f
LANG=C;sudo apt-get update
LANG=C;sudo apt-get dist-upgrade
sudo apt-get -y --reistall install software-enter

Does that help

Revision history for this message
Simon Brouillard (simon-brouillard1) said :
#6

sudo cp -arf /var/lib/dpkg /var/lib/dpkg.backup
sudo cp /var/lib/dpkg/status-old /var/lib/dpkg/status
sudo cp /var/lib/dpkg/available-old /var/lib/dpkg/available
sudo rm -rf /var/lib/dpkg/updates/*; sudo rm -rf /var/lib/apt/lists
sudo mkdir /var/lib/apt/lists; sudo mkdir /var/lib/apt/lists/partial
LANG=C;sudo apt-get clean; LANG=C;sudo apt-get autoclean
LANG=C;sudo apt-get update
sudo dpkg --clear-avail; sudo dpkg --configure -a
LANG=C;sudo apt-get install -f
LANG=C;sudo apt-get update
LANG=C;sudo apt-get dist-upgrade
sudo apt-get -y --reistall install software-enter

====================================================
AT THE PLACE OF your last line i write the following's one

sudo apt-get -y --reinstall install software-center
(First of all I open a terminal and run the
command apt-get -h to know what's meaning...
i don't find the option --reistall... i
supposed that it shall be --reinstall. I close
this terminal before opening a new one and
launch all your commands)

===============================
Report

simon@simon-desktop:~$ sudo cp -arf /var/lib/dpkg /var/lib/dpkg.backup
[sudo] password for simon:
simon@simon-desktop:~$ sudo cp /var/lib/dpkg/status-old /var/lib/dpkg/status
simon@simon-desktop:~$ sudo cp /var/lib/dpkg/available-old /var/lib/dpkg/available
simon@simon-desktop:~$ sudo rm -rf /var/lib/dpkg/updates/*; sudo rm -rf /var/lib/apt/lists
simon@simon-desktop:~$ sudo mkdir /var/lib/apt/lists; sudo mkdir /var/lib/apt/lists/partial
simon@simon-desktop:~$ LANG=C;sudo apt-get clean; LANG=C;sudo apt-get autoclean
Reading package lists... Done
Building dependency tree
Reading state information... Done
simon@simon-desktop:~$ LANG=C;sudo apt-get update
Ign http://extras.ubuntu.com natty InRelease
Ign http://ppa.launchpad.net natty InRelease
Ign http://archive.canonical.com natty InRelease
Ign http://archive.ubuntu.com natty InRelease
Get:1 http://extras.ubuntu.com natty Release.gpg [72 B]
Get:2 http://ppa.launchpad.net natty Release.gpg [316 B]
Get:3 http://archive.canonical.com natty Release.gpg [198 B]
Ign http://archive.ubuntu.com natty-updates InRelease
Ign http://archive.ubuntu.com natty-security InRelease
Get:4 http://extras.ubuntu.com natty Release [9753 B]
Get:5 http://ppa.launchpad.net natty Release [9761 B]
Get:6 http://archive.canonical.com natty Release [5916 B]
Get:7 http://archive.ubuntu.com natty Release.gpg [198 B]
Get:8 http://archive.ubuntu.com natty-updates Release.gpg [198 B]
Get:9 http://archive.ubuntu.com natty-security Release.gpg [198 B]
Get:10 http://archive.ubuntu.com natty Release [39.8 kB]
Get:11 http://ppa.launchpad.net natty/main Sources [2946 B]
Get:12 http://archive.canonical.com natty/partner Sources [4159 B]
Get:13 http://extras.ubuntu.com natty/main Sources [14 B]
Get:14 http://archive.ubuntu.com natty-updates Release [27.2 kB]
Get:15 http://ppa.launchpad.net natty/main i386 Packages [6231 B]
Get:16 http://archive.canonical.com natty/partner i386 Packages [7861 B]
Ign http://ppa.launchpad.net natty/main TranslationIndex
Get:17 http://extras.ubuntu.com natty/main i386 Packages [14 B]
Ign http://extras.ubuntu.com natty/main TranslationIndex
Get:18 http://archive.ubuntu.com natty-security Release [27.2 kB]
Ign http://archive.canonical.com natty/partner TranslationIndex
Get:19 http://archive.ubuntu.com natty/main Sources [862 kB]
Ign http://ppa.launchpad.net natty/main Translation-en
Ign http://extras.ubuntu.com natty/main Translation-en
Ign http://archive.canonical.com natty/partner Translation-en
Get:20 http://archive.ubuntu.com natty/restricted Sources [4104 B]
Get:21 http://archive.ubuntu.com natty/universe Sources [4380 kB]
Get:22 http://archive.ubuntu.com natty/multiverse Sources [155 kB]
Get:23 http://archive.ubuntu.com natty/main i386 Packages [1550 kB]
Get:24 http://archive.ubuntu.com natty/restricted i386 Packages [8986 B]
Get:25 http://archive.ubuntu.com natty/universe i386 Packages [6021 kB]
Get:26 http://archive.ubuntu.com natty/multiverse i386 Packages [183 kB]
Ign http://archive.ubuntu.com natty/main TranslationIndex
Ign http://archive.ubuntu.com natty/multiverse TranslationIndex
Ign http://archive.ubuntu.com natty/restricted TranslationIndex
Ign http://archive.ubuntu.com natty/universe TranslationIndex
Get:27 http://archive.ubuntu.com natty-updates/main Sources [94.7 kB]
Get:28 http://archive.ubuntu.com natty-updates/restricted Sources [14 B]
Get:29 http://archive.ubuntu.com natty-updates/universe Sources [18.5 kB]
Get:30 http://archive.ubuntu.com natty-updates/multiverse Sources [1893 B]
Get:31 http://archive.ubuntu.com natty-updates/main i386 Packages [277 kB]
Get:32 http://archive.ubuntu.com natty-updates/restricted i386 Packages [14 B]
Get:33 http://archive.ubuntu.com natty-updates/universe i386 Packages [70.3 kB]
Get:34 http://archive.ubuntu.com natty-updates/multiverse i386 Packages [4267 B]
Ign http://archive.ubuntu.com natty-updates/main TranslationIndex
Ign http://archive.ubuntu.com natty-updates/multiverse TranslationIndex
Ign http://archive.ubuntu.com natty-updates/restricted TranslationIndex
Ign http://archive.ubuntu.com natty-updates/universe TranslationIndex
Get:35 http://archive.ubuntu.com natty-security/main Sources [59.2 kB]
Get:36 http://archive.ubuntu.com natty-security/restricted Sources [14 B]
Get:37 http://archive.ubuntu.com natty-security/universe Sources [7727 B]
Get:38 http://archive.ubuntu.com natty-security/multiverse Sources [658 B]
Get:39 http://archive.ubuntu.com natty-security/main i386 Packages [153 kB]
Get:40 http://archive.ubuntu.com natty-security/restricted i386 Packages [14 B]
Get:41 http://archive.ubuntu.com natty-security/universe i386 Packages [24.0 kB]
Get:42 http://archive.ubuntu.com natty-security/multiverse i386 Packages [2074 B]
Ign http://archive.ubuntu.com natty-security/main TranslationIndex
Ign http://archive.ubuntu.com natty-security/multiverse TranslationIndex
Ign http://archive.ubuntu.com natty-security/restricted TranslationIndex
Ign http://archive.ubuntu.com natty-security/universe TranslationIndex
Ign http://archive.ubuntu.com natty/main Translation-en
Ign http://archive.ubuntu.com natty/multiverse Translation-en
Ign http://archive.ubuntu.com natty/restricted Translation-en
Ign http://archive.ubuntu.com natty/universe Translation-en
Ign http://archive.ubuntu.com natty-updates/main Translation-en
Ign http://archive.ubuntu.com natty-updates/multiverse Translation-en
Ign http://archive.ubuntu.com natty-updates/restricted Translation-en
Ign http://archive.ubuntu.com natty-updates/universe Translation-en
Ign http://archive.ubuntu.com natty-security/main Translation-en
Ign http://archive.ubuntu.com natty-security/multiverse Translation-en
Ign http://archive.ubuntu.com natty-security/restricted Translation-en
Ign http://archive.ubuntu.com natty-security/universe Translation-en
Fetched 14.0 MB in 36s (386 kB/s)
Reading package lists... Done
simon@simon-desktop:~$ sudo dpkg --clear-avail; sudo dpkg --configure -a
Setting up apt-transport-https (0.8.13.2ubuntu4.1) ...
Setting up libunity-2d-private0 (3.8.12-0ubuntu1~bzr626) ...
Setting up apt-utils (0.8.13.2ubuntu4.1) ...
Setting up unity-2d-panel (3.8.12-0ubuntu1~bzr626) ...
Setting up unity-2d-places (3.8.12-0ubuntu1~bzr626) ...
Setting up unity-2d-launcher (3.8.12-0ubuntu1~bzr626) ...
Setting up unity-2d-spread (3.8.12-0ubuntu1~bzr626) ...
Setting up unity-2d (3.8.12-0ubuntu1~bzr626) ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
simon@simon-desktop:~$ LANG=C;sudo apt-get install -f
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libnet-daemon-perl linux-headers-2.6.38-7 libdbi-perl mysql-client-core-5.1
  libdbd-mysql-perl linux-headers-2.6.38-7-generic mysql-client-5.1
  libplrpc-perl libmath-round-perl
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 9 not upgraded.
simon@simon-desktop:~$ LANG=C;sudo apt-get update
Ign http://archive.canonical.com natty InRelease
Ign http://ppa.launchpad.net natty InRelease
Ign http://archive.ubuntu.com natty InRelease
Ign http://archive.ubuntu.com natty-updates InRelease
Ign http://archive.ubuntu.com natty-security InRelease
Ign http://extras.ubuntu.com natty InRelease
Hit http://archive.canonical.com natty Release.gpg
Hit http://ppa.launchpad.net natty Release.gpg
Hit http://archive.ubuntu.com natty Release.gpg
Hit http://extras.ubuntu.com natty Release.gpg
Hit http://archive.canonical.com natty Release
Hit http://archive.ubuntu.com natty-updates Release.gpg
Hit http://ppa.launchpad.net natty Release
Hit http://extras.ubuntu.com natty Release
Hit http://archive.ubuntu.com natty-security Release.gpg
Hit http://archive.canonical.com natty/partner Sources
Hit http://ppa.launchpad.net natty/main Sources
Hit http://extras.ubuntu.com natty/main Sources
Hit http://archive.ubuntu.com natty Release
Hit http://archive.canonical.com natty/partner i386 Packages
Ign http://archive.canonical.com natty/partner TranslationIndex
Hit http://ppa.launchpad.net natty/main i386 Packages
Ign http://ppa.launchpad.net natty/main TranslationIndex
Hit http://extras.ubuntu.com natty/main i386 Packages
Ign http://extras.ubuntu.com natty/main TranslationIndex
Hit http://archive.ubuntu.com natty-updates Release
Hit http://archive.ubuntu.com natty-security Release
Hit http://archive.ubuntu.com natty/main Sources
Hit http://archive.ubuntu.com natty/restricted Sources
Hit http://archive.ubuntu.com natty/universe Sources
Hit http://archive.ubuntu.com natty/multiverse Sources
Hit http://archive.ubuntu.com natty/main i386 Packages
Hit http://archive.ubuntu.com natty/restricted i386 Packages
Hit http://archive.ubuntu.com natty/universe i386 Packages
Hit http://archive.ubuntu.com natty/multiverse i386 Packages
Ign http://archive.ubuntu.com natty/main TranslationIndex
Ign http://archive.ubuntu.com natty/multiverse TranslationIndex
Ign http://archive.ubuntu.com natty/restricted TranslationIndex
Ign http://archive.ubuntu.com natty/universe TranslationIndex
Hit http://archive.ubuntu.com natty-updates/main Sources
Hit http://archive.ubuntu.com natty-updates/restricted Sources
Hit http://archive.ubuntu.com natty-updates/universe Sources
Hit http://archive.ubuntu.com natty-updates/multiverse Sources
Hit http://archive.ubuntu.com natty-updates/main i386 Packages
Hit http://archive.ubuntu.com natty-updates/restricted i386 Packages
Hit http://archive.ubuntu.com natty-updates/universe i386 Packages
Hit http://archive.ubuntu.com natty-updates/multiverse i386 Packages
Ign http://archive.ubuntu.com natty-updates/main TranslationIndex
Ign http://archive.ubuntu.com natty-updates/multiverse TranslationIndex
Ign http://archive.ubuntu.com natty-updates/restricted TranslationIndex
Ign http://archive.ubuntu.com natty-updates/universe TranslationIndex
Hit http://archive.ubuntu.com natty-security/main Sources
Hit http://archive.ubuntu.com natty-security/restricted Sources
Hit http://archive.ubuntu.com natty-security/universe Sources
Hit http://archive.ubuntu.com natty-security/multiverse Sources
Hit http://archive.ubuntu.com natty-security/main i386 Packages
Hit http://archive.ubuntu.com natty-security/restricted i386 Packages
Hit http://archive.ubuntu.com natty-security/universe i386 Packages
Ign http://archive.canonical.com natty/partner Translation-en
Ign http://ppa.launchpad.net natty/main Translation-en
Hit http://archive.ubuntu.com natty-security/multiverse i386 Packages
Ign http://archive.ubuntu.com natty-security/main TranslationIndex
Ign http://archive.ubuntu.com natty-security/multiverse TranslationIndex
Ign http://extras.ubuntu.com natty/main Translation-en
Ign http://archive.ubuntu.com natty-security/restricted TranslationIndex
Ign http://archive.ubuntu.com natty-security/universe TranslationIndex
Ign http://archive.ubuntu.com natty/main Translation-en
Ign http://archive.ubuntu.com natty/multiverse Translation-en
Ign http://archive.ubuntu.com natty/restricted Translation-en
Ign http://archive.ubuntu.com natty/universe Translation-en
Ign http://archive.ubuntu.com natty-updates/main Translation-en
Ign http://archive.ubuntu.com natty-updates/multiverse Translation-en
Ign http://archive.ubuntu.com natty-updates/restricted Translation-en
Ign http://archive.ubuntu.com natty-updates/universe Translation-en
Ign http://archive.ubuntu.com natty-security/main Translation-en
Ign http://archive.ubuntu.com natty-security/multiverse Translation-en
Ign http://archive.ubuntu.com natty-security/restricted Translation-en
Ign http://archive.ubuntu.com natty-security/universe Translation-en
Reading package lists... Done
simon@simon-desktop:~$ LANG=C;sudo apt-get dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
  gstreamer0.10-tools libgstreamer0.10-0 libqtdee2 libunity-2d-private0
  unity-2d unity-2d-launcher unity-2d-panel unity-2d-places unity-2d-spread
9 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 1363 kB of archives.
After this operation, 12.3 kB of additional disk space will be used.
Do you want to continue [Y/n]? Y
Get:1 http://archive.ubuntu.com/ubuntu/ natty-updates/main libgstreamer0.10-0 i386 0.10.32-3ubuntu3.1 [656 kB]
Get:2 http://ppa.launchpad.net/unity-2d-team/unity-2d-daily/ubuntu/ natty/main libqtdee2 i386 0.2.3~bzr47 [19.9 kB]
Get:3 http://ppa.launchpad.net/unity-2d-team/unity-2d-daily/ubuntu/ natty/main libunity-2d-private0 i386 3.8.12-0ubuntu1~bzr633 [305 kB]
Get:4 http://ppa.launchpad.net/unity-2d-team/unity-2d-daily/ubuntu/ natty/main unity-2d-launcher i386 3.8.12-0ubuntu1~bzr633 [70.4 kB]
Get:5 http://ppa.launchpad.net/unity-2d-team/unity-2d-daily/ubuntu/ natty/main unity-2d-panel i386 3.8.12-0ubuntu1~bzr633 [90.1 kB]
Get:6 http://archive.ubuntu.com/ubuntu/ natty-updates/main gstreamer0.10-tools i386 0.10.32-3ubuntu3.1 [55.7 kB]
Get:7 http://ppa.launchpad.net/unity-2d-team/unity-2d-daily/ubuntu/ natty/main unity-2d-places i386 3.8.12-0ubuntu1~bzr633 [84.7 kB]
Get:8 http://ppa.launchpad.net/unity-2d-team/unity-2d-daily/ubuntu/ natty/main unity-2d-spread i386 3.8.12-0ubuntu1~bzr633 [34.0 kB]
Get:9 http://ppa.launchpad.net/unity-2d-team/unity-2d-daily/ubuntu/ natty/main unity-2d all 3.8.12-0ubuntu1~bzr633 [47.7 kB]
Fetched 1363 kB in 2s (663 kB/s)
simon@simon-desktop:~$ sudo apt-get -y --reinstall install software-center
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libnet-daemon-perl linux-headers-2.6.38-7 libdbi-perl mysql-client-core-5.1
  libdbd-mysql-perl linux-headers-2.6.38-7-generic mysql-client-5.1
  libplrpc-perl libmath-round-perl
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 9 not upgraded.
Need to get 461 kB of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu/ natty-updates/main software-center all 4.0.4 [461 kB]
Fetched 461 kB in 1s (369 kB/s)
simon@simon-desktop:~$
=======================================================

After these commands was completed...
i launch the Update-Manager... and
as all package to update was displayed
i try install and it stop...

I restart the computer
and launch the software-center
I install Last.fm Exit and the
software center stop the installation
process whitout Last.fm Exit.
This new package has not been installed!
=======================================================

Does that help? It does not work yet!

Revision history for this message
Simon Brouillard (simon-brouillard1) said :
#7

the problem shall be resolved
by reinstall ubuntu from the CD...
It's an economics point of view...
it's taking less time to reinstall
that to wait to solve...

Thanks for all your support

Revision history for this message
Simon Brouillard (simon-brouillard1) said :
#8

Just for your information...
When I reinstall from the
CD... the installation failed
and a message told me
that the new version of dpkg
can not support my old hardware and
i shall install older version of Ubuntu...

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#9

Unity needs full 3D accelleration to run. Log in to the classic desktop and get 3D accelleration working and you can use Unity, Alternatively you can use unity 2D on hardware which doesn't support 3D accelleration.

Unfortunately you got bitten by one of the weaknesses in package based distros. If the packages get screwed up you cannot instal or uninstall apps :(