LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Synaptic Package manager can't run in Ubuntu 11.10 (https://www.linuxquestions.org/questions/linux-newbie-8/synaptic-package-manager-cant-run-in-ubuntu-11-10-a-908691/)

Eu A 10-17-2011 11:26 PM

Synaptic Package manager can't run in Ubuntu 11.10
 
Hello.

Synaptic Package manager can't run in Ubuntu 11.10
This is the terminal output:

********************************
eu@eu-Vostro-330:~$ sudo synaptic

(process:7898): Gtk-WARNING **: Locale not supported by C library.
Using the fallback 'C' locale.
terminate called after throwing an instance of 'std::out_of_range'
what(): vector::_M_range_check
********************

and y used the next command. a sugestion in LinuxQuestions.org

********************

eu@eu-Vostro-330:~$ sudo dpkg-reconfigure locales
[sudo] password for eu:
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = "en_US:en",
LC_ALL = (unset),
LC_MESSAGES = "en_US.UTF-8",
LC_COLLATE = "en_US.UTF-8",
LC_CTYPE = "en_US.UTF-8",
LANG = "es_MX.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_ALL to default locale: No such file or directory
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_ZM.UTF-8... up-to-date
en_ZW.UTF-8... up-to-date
Generation complete.
eu@eu-Vostro-330:~$

**************************

As you can see: Cannot set LC_ALL to default locale: No such file or directory
Generating locales...


How can I install them?
How can I fix my problem?

Tank you for your answers.

Eugenio (Eu A)

linuxwin2 10-18-2011 04:02 AM

You can use the command line apt-get
Code:

$sudo apt-get update synaptic

cynwulf 10-18-2011 04:14 AM

Quote:

Originally Posted by linuxwin2 (Post 4501248)
You can use the command line apt-get
Code:

$sudo apt-get update synaptic

Syntax problem?

Code:

apt-get install synaptic
As root, will install/update the package.

@the OP, try this first:

Code:

gksu synaptic &

Eu A 10-19-2011 07:05 PM

Thanks Linuxwin2 and Caravel for your answers.

After a lot of work I found may be the problem is in the server according to this output when I tried to repair the packages:

**********************************
could not solve "mx.archive.ubuntu.com"

W: Some index files failed to download. They have been ignored or old ones used instead
W: not using locking for read only lockfile /var/lib/dpkg/lock
E: Unable to write to /var/cache/apt
E: the package list or status file coul not be parsed or opened.

Finished please ENTER

****************************************

Since I also tried to run de Update Manager without any results, and changing to the United States server the update was possible, I think all my problems are in the Server for Mexico, and because when I reload Ubuntu 11.10 works for a moment and then after any action as "update" the system or follow your instructions in the terminal, all the problem appear again.

How can I change to the Ubuntu Main server or to the United States server?

In the Ubuntu forum You can read a lot of complains becouse the server for Mexico is not working.

Thank you for your knowledge and help.

Eugenio

Eu A 10-20-2011 01:30 AM

Now I changed to http://mirrors.mit.edu/ubuntu
some things were solved as the repair of the packages and the udate of the system, but Synaptic package manayer does not work yet.

This is the terminal output:

*******************************
eu@eu-Vostro-330:~$ sudo apt-get install synaptic
Reading package lists... Done
Building dependency tree
Reading state information... Done
synaptic is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
eu@eu-Vostro-330:~$ gksudo synaptic

(gksudo:3423): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",
eu@eu-Vostro-330:~$

*****************************************
as you can see Synaptic was installed ok. but it don't ran.

Any idea?

I don't know what to do with:
"Unable to locate theme engine in module_path: "pixmap",[/COLOR]"
Thank you in advance for your answer.

Eugenio

Eu A 10-20-2011 02:40 AM

Hello again
I found elsewere a tip.
sudo apt-get install gtk2-engines-pixbuf
here goes the output:

******************************************
eu@eu-Vostro-330:~$ sudo apt-get install gtk2-engines-pixbuf
[sudo] password for eu:
Sorry, try again.
[sudo] password for eu:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
gtk2-engines-pixbuf
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 127 kB of archives.
After this operation, 1,069 kB of additional disk space will be used.
Get:1 http://mirrors.mit.edu/ubuntu/ oneiric/universe gtk2-engines-pixbuf i386 2.24.6-0ubuntu5 [127 kB]
Fetched 127 kB in 1s (126 kB/s)
Selecting previously deselected package gtk2-engines-pixbuf.
(Reading database ... 226975 files and directories currently installed.)
Unpacking gtk2-engines-pixbuf (from .../gtk2-engines-pixbuf_2.24.6-0ubuntu5_i386.deb) ...
Setting up gtk2-engines-pixbuf (2.24.6-0ubuntu5) ...

************************************************

The error message:
(gksudo:3423): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",

does not appear now, but...

Synaptic only stays an instant in the screen and disappears, only that now ther is not an error message.

This is annoying.

Please any other idea?

Thank you

Eugenio


All times are GMT -5. The time now is 11:07 PM.