LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   Apt-get update and apt-get upgrade (https://www.linuxquestions.org/questions/debian-26/apt-get-update-and-apt-get-upgrade-613722/)

rapattack 01-15-2008 09:54 AM

Apt-get update and apt-get upgrade
 
I don't know why but I can't seem to get any upgrades for weeks now. This what I get when I do apt-get update/upgrade.


carla:/home/carla# apt-get update
Get:1 http://www.debian-multimedia.org etch Release.gpg [189B]
Get:2 http://www.debian-multimedia.org etch Release [5535B]
Get:3 http://ftp.au.debian.org etch Release.gpg [378B]
Hit http://ftp.au.debian.org etch Release
Ign http://ftp.au.debian.org etch/main Packages/DiffIndex
Ign http://ftp.au.debian.org etch/main Sources/DiffIndex
Hit http://ftp.au.debian.org etch/main Packages
Hit http://ftp.au.debian.org etch/main Sources
Ign http://www.debian-multimedia.org etch/main Packages/DiffIndex
Hit http://www.debian-multimedia.org etch/main Packages
Get:4 http://security.debian.org etch/updates Release.gpg [189B]
Hit http://security.debian.org etch/updates Release
Ign http://security.debian.org etch/updates/main Packages/DiffIndex
Ign http://security.debian.org etch/updates/non-free Packages/DiffIndex
Ign http://security.debian.org etch/updates/main Sources/DiffIndex
Ign http://security.debian.org etch/updates/non-free Sources/DiffIndex
Hit http://security.debian.org etch/updates/main Packages
Hit http://security.debian.org etch/updates/non-free Packages
Hit http://security.debian.org etch/updates/main Sources
Hit http://security.debian.org etch/updates/non-free Sources
Fetched 5726B in 5s (1004B/s)
Reading package lists... Done
carla:/home/carla# apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages have been kept back:
linux-image-2.6-486
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
carla:/home/carla#

HappyTux 01-15-2008 12:01 PM

Your running stable so you will only get upgrades/updates once a security problem has been found and a fixed package has been uploaded. If you wish to have newer versions of the packages you have installed then your either have to go to www.backports.org to see if they have newer versions built for Etch or upgrade your install to the testing or unstable branches.

war1025 01-15-2008 12:24 PM

switch the etch to lenny or testing if you want the latest updates. It's not the rock solid system that is etch, but I have never had a major problem with the testing branch and the minor problems are usually fixed within a day or two.

Telemachos 01-15-2008 12:51 PM

You can also add repos that will upgrade you whenever Stable gets "point" upgrades (Etch has already had two). Add these lines to your /etc/apt/sources.list and you will probably be offered lots of upgrades:
Code:

deb http://ftp.au.debian.org/debian/ proposed-updates main contrib non-free
deb-src http://ftp.au.debian.org/debian/ proposed-updates main contrib non-free

Then try
Code:

apt-get update
apt-get dist-upgrade

That said, you are already getting whatever security updates are needed, so if it ain't broke, why change it?

rapattack 01-16-2008 04:30 AM

Ah
 
Thanks that answers a lot. Yeah it ain'st broke and I am not that good with Linux yet to take any real risks. I already had to reinstal everything on two machines a month ago and reinstall all the apps. That was time consuming a stressful. I am only having one problems with browsing and that might just be Yahoo and another Linux forum that I can't seem to post on. Does very weird things. So when I posted here afterwards I thought 'ah it is those other sites and not the browser'.
Thanks so much for the advice!:cool:

Telemachos 01-16-2008 06:54 AM

Browser problems are often (not always) Java or Flash related, so you might also check around for HOWTOs that talk about installing Java and Flash plugins for your browser.

rapattack 01-17-2008 02:07 AM

Yes
 
Yep that makes sense actually as the Yahoo site depends on those and I think I saw at the bottom of the browser something about Java. I didn't understand it though. As far as I know I installed all of that but I will take a 2nd look now that you mention it as it keeps happening especially with the same websites.

farslayer 01-17-2008 09:55 AM

Could be that you installed the sun-java5-jre, but you forgot to install the plugin, sun-java5-plugin


Code:

it-etch:~# update-alternatives --config java

There are 2 alternatives which provide `java'.

  Selection    Alternative
-----------------------------------------------
          1    /usr/bin/gij-wrapper-4.1
*+        2    /usr/lib/jvm/java-1.5.0-sun/jre/bin/java

Press enter to keep the default[*], or type selection number:

Make sure you have also installed the java plugin aptitude install sun-java5-plugin

restart firefox/iceape and type about:plugins to view your installed plugins Java should be listed.

You can test java in your browser by going to http://www.java.com/en/download/help/testvm.xml

[edit]
Edited to correct mistyped about:config command.. DOH !!
[/edit]

eerok 01-17-2008 11:47 AM

Actually that's "about: plugins" ...

makuyl 01-17-2008 02:15 PM

... and just to annoy people, it's
Code:

about:plugins
without the space;)

eerok 01-17-2008 05:22 PM

Quote:

Originally Posted by makuyl (Post 3026185)
... and just to annoy people, it's
Code:

about:plugins
without the space;)

The old typing fingers want the space after the colon, even when it's wrong :)

rapattack 01-18-2008 02:45 AM

I get this when I try to install the plugin:
carla:/home/carla# apt-get install sun-java5-plugin
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package sun-java5-plugin

farslayer-I can't quite understand the code. Sorry I am pretty much a beginner.

I did the about:plugin in the browser and there are many plugins. I can't see anything about Java but this is the flash stuff:
Shockwave Flash

File name: libflash-mozplugin.so
Flash Movie player Version 0.4.12 compatible with Shockwave Flash 4.0

Shockwave is a trademark of MacromediaŽ

GPLFLash homepage : gplflash.sf.net

MIME Type Description Suffixes Enabled
application/x-shockwave-flash Flash Plugin swf Yes
application/futuresplash Future Splash spl Yes
Shockwave Flash

File name: libflashplayer.so
Shockwave Flash 9.0 r48

MIME Type Description Suffixes Enabled
application/x-shockwave-flash Shockwave Flash swf Yes
application/futuresplash FutureSplash Player spl Yes


Yep I tried that page http://www.java.com/en/download/help/testvm.xml last night and it shows java is not installed as that green jigsaw symbol is present.

All the above is using the browser Iceweasel. Now I am having a look at what Konqueror gives me.
about:plugins
ava Plug-in Java Plug-in KJAS for Konqueror kjavaappletviewer.so
application/x-java-applet - Java Applet (class)
application/x-java-bean - JavaBeans (jar)

Shockwave Flash Shockwave Flash 9.0 r48 libflashplayer.so
application/x-shockwave-flash - Shockwave Flash (swf)
application/futuresplash - FutureSplash Player (spl)
Shockwave Flash Flash Movie player Version 0.4.12 compatible with Shockwave Flash 4.0
Shockwave is a trademark of MacromediaŽ
GPLFLash homepage : gplflash.sf.net
libflash-mozplugin.so
application/x-shockwave-flash - Flash Plugin (swf)
application/futuresplash - Future Splash (spl)

Using http://www.java.com/en/download/help/testvm.xml
It says JRE is installed.

So maybe I should just use Konqueror but the only thing is I have always had trouble with Konqueror when using Ebay. When listing and editing listings. Specifically uploading pictures to the site. That is why I have been using Iceweasel because it worked for that.

Telemachos 01-18-2008 06:16 AM

Quote:

Originally Posted by rapattack (Post 3026799)
I get this when I try to install the plugin:
carla:/home/carla# apt-get install sun-java5-plugin
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package sun-java5-plugin

In your /etc/apt/sources.list - from what you posted above - I think that you need to add "contrib and non-free" to your main sources lines. Assuming you have something like this:
Code:

deb http://ftp.au.debian.org/debian/ etch main
Add "contrib non-free" on the same line so it looks like this:
Code:

deb http//ftp.au.debian.org/debian/ etch main contrib non-free
Then do "apt-get update" and then try to install sun-java5-plugin again. You always have to do "apt-get update" after you change your sources list. (I think that you will need sun-java5-bin too and maybe sun-java5-jre as well, but apt should drag in whatever else you need as dependencies, so don't worry about that too much now.)

eerok 01-18-2008 12:55 PM

Yes, fixing /etc/apt/sources.list is likely the solution, but here's a handy thing to know when looking for packages in general:

Code:

# apt-cache search whatever
will find all packages that include whatever in its name or description.

Or, if the list you get is huge:

Code:

# apt-cache search whatever | less
will give you a pageable list.

Or to find all whatever containing the string gizmo:

Code:

# apt-cache search whatever | grep gizmo
This is a good way to make sure you're naming a package correctly, or to see what related packages are available.

rapattack 01-19-2008 01:59 AM

Telemachos-so is that line supposed to be
deb http://ftp.au.debian.org/debian/ etch main contrib non-free
or
deb http//ftp.au.debian.org/ etch main contrib non-free

it's just that one has the second 'debian' missing.

Sorry I know I have done it but how do I edit the repositories? Should I do it in Synaptic or via a terminal. I just don't remember how.

eerok-Thanks for those extra tips as I am mostly usisng the package manager. It's good to know more than one way of doing things and apt seems to be more powerful?!

Telemachos 01-19-2008 06:01 AM

Quote:

Originally Posted by rapattack (Post 3027862)
Telemachos-so is that line supposed to be
deb http://ftp.au.debian.org/debian/ etch main contrib non-free
or
deb http//ftp.au.debian.org/ etch main contrib non-free

it's just that one has the second 'debian' missing.

Sorry, but it was a typo. You do want the second Debian. (That part of the line you can probably leave as is. Just add "contrib non-free" after "main".)

If you changed it last time through Synaptic and you find that way manageable, that's fine. I don't use Synaptic though, so I don't know any details about it. If you do it through the command line, then you need to become root (enter "su", you will get prompted for your root password; enter that and you should be root - the end of the prompt will change from a "$" to "#"). Next you can do this:
Code:

cd /etc/apt/
cp sources.list sources.list.backup-01192007
nano sources.list

The first command takes you to the right directory. The second makes a copy of the file you are about to edit, with today's date in the name, for safety. If something goes wrong, you can always copy that file back to at least be back to where you started.

Nano is a relatively user-friendly terminal editor. When you have a file open with Nano, you will see the text and at the bottom a "menu" of commands. Each command looks like "^R" or "^O" or whatever. That means "Control key and that letter at the same time". So to save your file, you enter "Control key and the letter O at the same time" (write out = save). Use the arrow keys to move to the line(s) you are changing and then add "contrib non-free"; then save and quit. Then "apt-get update" and try again.

rapattack 01-20-2008 07:29 AM

Ah yes that all looks familiar:

Oops this happened:
carla:/etc/apt# cp sources.list.backup-01192007
cp: missing destination file operand after `sources.list.backup-01192007'
Try `cp --help' for more information.
carla:/etc/apt#

Telemachos 01-20-2008 09:03 AM

Quote:

Originally Posted by rapattack (Post 3029026)
Ah yes that all looks familiar:

Oops this happened:
carla:/etc/apt# cp sources.list.backup-01192007
cp: missing destination file operand after `sources.list.backup-01192007'
Try `cp --help' for more information.
carla:/etc/apt#

Right, the error message is telling you that you need two items (operands) after the "cp" command, but you only have one. Check the difference between what you have here and what I suggested (it's just above your last post). You need this syntax:
Quote:

cp <file_you_are_copying> <new_file_name>
You wrote instead
Quote:

cp <new_file_name>
The first item after "cp" should be the name of the file you want to copy; that item must already exist since you cannot copy what isn't there. The second item after "cp" should be the name you want to give to the newly created copy. That item should not yet exist. If you put the name there of a file that already exists, you will overwrite the already existing file with a new copy of whatever you are copying. You might want to do that, but often you don't, so be careful. (If you use "cp -i", the command will warn you if it is about to overwrite something. So then the command becomes "cp -i <file_you_are_copying> <new_file_name>")

rapattack 01-21-2008 04:57 AM

Hi I hope I did this right?

carla:/home/carla# cd /etc/apt/
carla:/etc/apt# cp sources.list sources.list.backup-01192007
carla:/etc/apt# nano sources.list
carla:/etc/apt# nano sources.list
carla:/etc/apt# exit
exit
carla@carla:~$ su root
Password:
carla:/home/carla# apt-get update
Get:1 http://ftp.au.debian.org etch Release.gpg [378B]
Hit http://ftp.au.debian.org etch Release
Ign http://ftp.au.debian.org etch/main Packages/DiffIndex
Get:2 http://ftp.au.debian.org etch/contrib Packages [59.6kB]
Get:3 http://ftp.au.debian.org etch/non-free Packages [83.4kB]
Ign http://ftp.au.debian.org etch/main Sources/DiffIndex
Hit http://ftp.au.debian.org etch/main Packages
Hit http://ftp.au.debian.org etch/main Sources
Get:4 http://security.debian.org etch/updates Release.gpg [189B]
Get:5 http://www.debian-multimedia.org etch Release.gpg [189B]
Get:6 http://security.debian.org etch/updates Release [37.6kB]
Get:7 http://www.debian-multimedia.org etch Release [5535B]
Ign http://www.debian-multimedia.org etch/main Packages/DiffIndex
Get:8 http://www.debian-multimedia.org etch/main Packages [42.4kB]
Ign http://security.debian.org etch/updates/main Packages/DiffIndex
Ign http://security.debian.org etch/updates/non-free Packages/DiffIndex
Ign http://security.debian.org etch/updates/main Sources/DiffIndex
Ign http://security.debian.org etch/updates/non-free Sources/DiffIndex
Get:9 http://security.debian.org etch/updates/main Packages [216kB]
Hit http://security.debian.org etch/updates/non-free Packages
Get:10 http://security.debian.org etch/updates/main Sources [30.1kB]
Hit http://security.debian.org etch/updates/non-free Sources
Fetched 475kB in 6s (75.2kB/s)
Reading package lists... Done
carla:/home/carla# apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages have been kept back:
linux-image-2.6-486
The following packages will be upgraded:
libflac++5 libflac7 liboggflac3 xserver-xorg-core
4 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
Need to get 3855kB of archives.
After unpacking 0B of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://security.debian.org etch/updates/main libflac7 1.1.2-8 [124kB]
Get:2 http://security.debian.org etch/updates/main libflac++5 1.1.2-8 [43.5kB]
Get:3 http://security.debian.org etch/updates/main liboggflac3 1.1.2-8 [33.0kB]
Get:4 http://security.debian.org etch/updates/main xserver-xorg-core 2:1.1.1-21e tch3 [3655kB]
Fetched 3855kB in 12s (320kB/s)
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = "en_AU.UTF-8"
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 ... 150567 files and directories currently installed.)
Preparing to replace libflac7 1.1.2-6 (using .../libflac7_1.1.2-8_i386.deb) ...
Unpacking replacement libflac7 ...
Preparing to replace libflac++5 1.1.2-6 (using .../libflac++5_1.1.2-8_i386.deb) ...
Unpacking replacement libflac++5 ...
Preparing to replace liboggflac3 1.1.2-6 (using .../liboggflac3_1.1.2-8_i386.deb) ...
Unpacking replacement liboggflac3 ...
Preparing to replace xserver-xorg-core 2:1.1.1-21etch1 (using .../xserver-xorg-core_2%3a1.1.1-21etch3_i386.deb) ...
Unpacking replacement xserver-xorg-core ...
Setting up libflac7 (1.1.2-8) ...
Setting up libflac++5 (1.1.2-8) ...
Setting up liboggflac3 (1.1.2-8) ...
Setting up xserver-xorg-core (2:1.1.1-21etch3) ...
carla:/home/carla#

Telemachos 01-21-2008 07:51 AM

That all looks fine to me. Notice that all of the upgrades you received are security upgrades. That makes sense since you are in Stable/Etch. If you want to get that kernel upgrade (which is also a security upgrade, as I recall), you can enter (again as root) "apt-get dist-upgrade". One small point:
Quote:

Originally Posted by Rapattack
carla:/etc/apt# exit
exit
carla@carla:~$ su root
Password:

It's unnecessary to exit and then log back into root there. You were already root. You can tell because the final character on your prompt will change: "$"=regular user and "#"=root.

I've now half lost track of what the original goal was though. Is there some larger thing that you are trying to do?

eerok 01-21-2008 11:49 AM

I understood that the goal was to add non-free and contrib to the sources.list in order to get sun java to solve some browser problems.

Should be good to go now.

Telemachos 01-21-2008 12:55 PM

Quote:

Originally Posted by eerok (Post 3030355)
I understood that the goal was to add non-free and contrib to the sources.list in order to get sun java to solve some browser problems.

Should be good to go now.

Right, what you said.

@ Rapattack - try again to search for sun-java5 -
Quote:

apt-cache search sun-java5

rapattack 01-22-2008 04:32 AM

Telemachos-Thanks! I decided against the kernal upgrade as that is an unstable upgrade. I am too inexperienced and I can't take the risk and time out. I had all my pc's offline for over a month in 2007 and it caused kaos. I am not in business but I often sell stuff on ebay plus I am into music production and I am still not in full swing yet. I still have to get my audio problems fixed in Debian too. There is a thing called Jack that I haven't worked out yet. I have read all the howto's and it is just not working for me.
Ah yeah I did the exit thing because I wasn't sure of .....well being in apt....I dunno////well now youv'e told me how that works thanks!

OK this is what I got about java:
carla:/home/carla# apt-cache search sun-java
sun-java5-bin - Sun Java(TM) Runtime Environment (JRE) 5.0 (architecture dependent files)
sun-java5-demo - Sun Java(TM) Development Kit (JDK) 5.0 demos and examples
sun-java5-doc - Sun JDK(TM) Documention -- integration installer
sun-java5-fonts - Lucida TrueType fonts (from the Sun JRE)
sun-java5-jdk - Sun Java(TM) Development Kit (JDK) 5.0
sun-java5-jre - Sun Java(TM) Runtime Environment (JRE) 5.0 (architecture independent files)
sun-java5-plugin - The Java(TM) Plug-in, Java SE 5.0
sun-java5-source - Sun Java(TM) Development Kit (JDK) 5.0 source files
openoffice.org - OpenOffice.org Office suite

Telemachos 01-22-2008 10:31 AM

Quote:

Originally Posted by rapattack (Post 3031142)
I decided against the kernal upgrade as that is an unstable upgrade.

That isn't true. Or at least it shouldn't be true. You would only get an offer for "unstable" upgrades if you have "sid" or "unstable" in your sources list, and you don't - do you? If your sources list is what I saw last, the only reason you will get a kernel upgrade is if it's a security upgrade. You don't have to take it right away, but I suggest you read up and see what exactly the upgrade is.

Quote:

Originally Posted by rapattack
OK this is what I got about java:
carla:/home/carla# apt-cache search sun-java
sun-java5-bin - Sun Java(TM) Runtime Environment (JRE) 5.0 (architecture dependent files)
sun-java5-demo - Sun Java(TM) Development Kit (JDK) 5.0 demos and examples
sun-java5-doc - Sun JDK(TM) Documention -- integration installer
sun-java5-fonts - Lucida TrueType fonts (from the Sun JRE)
sun-java5-jdk - Sun Java(TM) Development Kit (JDK) 5.0
sun-java5-jre - Sun Java(TM) Runtime Environment (JRE) 5.0 (architecture independent files)
sun-java5-plugin - The Java(TM) Plug-in, Java SE 5.0
sun-java5-source - Sun Java(TM) Development Kit (JDK) 5.0 source files
openoffice.org - OpenOffice.org Office suite

Ok, for the browser, I believe you need to install sun-java5-bin sun-java5-jre and sun-java5-plugin. You will be prompted to "agree" to the license and that should be it. (To "agree" in the terminal, you hit the "tab" key to move to the "<OK>" field and then click return to say "yes", as I recall.)

rapattack 01-23-2008 05:44 AM

Oh ok it is just that someone said that thing was unstable. I don't quite understand. Ok will try and read up.


Does this look like it is ok?
carla@carla:~$ su root
Password:
carla:/home/carla# apt-get install sun-java-bin
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package sun-java-bin
carla:/home/carla# apt-get install sun-java5-bin
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.

Since you only requested a single operation it is extremely likely that
the package is simply not installable and a bug report against
that package should be filed.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
sun-java5-bin: Depends: sun-java5-jre (= 1.5.0-10-3) but it is not going to be installed
E: Broken packages
carla:/home/carla# apt-get install sun-java5-jre
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
libquicktime1
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
belocs-locales-bin belocs-locales-data gsfonts-x11 odbcinst1debian1
sun-java5-bin unixodbc
Suggested packages:
sun-java5-plugin ia32-sun-java5-plugin sun-java5-fonts ttf-baekmuk
ttf-sazanami-gothic ttf-sazanami-mincho ttf-arphic-bsmi00lp libmyodbc
odbc-postgresql libct1
The following NEW packages will be installed:
belocs-locales-bin belocs-locales-data gsfonts-x11 odbcinst1debian1
sun-java5-bin sun-java5-jre unixodbc
0 upgraded, 7 newly installed, 0 to remove and 1 not upgraded.
Need to get 34.3MB of archives.
After unpacking 95.3MB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://ftp.au.debian.org etch/main belocs-locales-bin 2.4-2.1 [190kB]
Get:2 http://ftp.au.debian.org etch/main belocs-locales-data 2.4-5 [4007kB]
Get:3 http://ftp.au.debian.org etch/main odbcinst1debian1 2.2.11-13 [66.4kB]
Get:4 http://ftp.au.debian.org etch/main unixodbc 2.2.11-13 [288kB]
Get:5 http://ftp.au.debian.org etch/non-free sun-java5-bin 1.5.0-10-3 [22.3MB]
Get:6 http://ftp.au.debian.org etch/non-free sun-java5-jre 1.5.0-10-3 [7463kB]
Get:7 http://ftp.au.debian.org etch/main gsfonts-x11 0.20 [10.4kB]
Fetched 34.3MB in 22s (1499kB/s)
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = "en_AU.UTF-8"
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
Preconfiguring packages ...
Selecting previously deselected package belocs-locales-bin.
(Reading database ... 150567 files and directories currently installed.)
Unpacking belocs-locales-bin (from .../belocs-locales-bin_2.4-2.1_i386.deb) ...
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = "en_AU.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
Adding `diversion of /usr/bin/locale to /usr/bin/locale.glibc by belocs-locales-bin'
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = "en_AU.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
Adding `diversion of /usr/share/man/man1/locale.1.gz to /usr/share/man/man1/locale.glibc.1.gz by belocs-locales-bin'
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = "en_AU.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
Adding `diversion of /usr/bin/localedef to /usr/bin/localedef.glibc by belocs-locales-bin'
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = "en_AU.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
Adding `diversion of /usr/share/man/man1/localedef.1.gz to /usr/share/man/man1/localedef.glibc.1.gz by belocs-locales-bin'
Selecting previously deselected package belocs-locales-data.
Unpacking belocs-locales-data (from .../belocs-locales-data_2.4-5_all.deb) ...
Selecting previously deselected package odbcinst1debian1.
Unpacking odbcinst1debian1 (from .../odbcinst1debian1_2.2.11-13_i386.deb) ...
Selecting previously deselected package unixodbc.
Unpacking unixodbc (from .../unixodbc_2.2.11-13_i386.deb) ...
Selecting previously deselected package sun-java5-bin.
Unpacking sun-java5-bin (from .../sun-java5-bin_1.5.0-10-3_i386.deb) ...
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = "en_AU.UTF-8"
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
/usr/bin/locale: Cannot set LC_CTYPE to default locale: No such file or directory
/usr/bin/locale: Cannot set LC_MESSAGES to default locale: No such file or directory
/usr/bin/locale: Cannot set LC_ALL to default locale: No such file or directory
Selecting previously deselected package sun-java5-jre.
Unpacking sun-java5-jre (from .../sun-java5-jre_1.5.0-10-3_all.deb) ...
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = "en_AU.UTF-8"
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
sun-dlj-v1-1 license has already been accepted
Selecting previously deselected package gsfonts-x11.
Unpacking gsfonts-x11 (from .../gsfonts-x11_0.20_all.deb) ...
Setting up odbcinst1debian1 (2.2.11-13) ...
Setting up unixodbc (2.2.11-13) ...
Setting up gsfonts-x11 (0.20) ...
Setting up belocs-locales-data (2.4-5) ...
Setting up belocs-locales-bin (2.4-2.1) ...
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = "en_AU.UTF-8"
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
Generating locales...
en_AU.UTF-8... done
Generation complete.
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = "en_AU.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = "en_AU.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
*** update-locale: Error: invalid locale settings: LANG=en_AU.UTF-8
dpkg: error processing belocs-locales-bin (--configure):
subprocess post-installation script returned error exit status 9
Setting up sun-java5-jre (1.5.0-10-3) ...
Setting up sun-java5-bin (1.5.0-10-3) ...
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = "en_AU.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = "en_AU.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = "en_AU.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = "en_AU.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = "en_AU.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = "en_AU.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = "en_AU.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = "en_AU.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = "en_AU.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = "en_AU.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = "en_AU.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = "en_AU.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = "en_AU.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = "en_AU.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
Errors were encountered while processing:
belocs-locales-bin
E: Sub-process /usr/bin/dpkg returned an error code (1)
carla:/home/carla# apt-get install sun-java5-plugin
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
libquicktime1
Use 'apt-get autoremove' to remove them.
The following NEW packages will be installed:
sun-java5-plugin
0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded.
1 not fully installed or removed.
Need to get 1392B of archives.
After unpacking 73.7kB of additional disk space will be used.
Get:1 http://ftp.au.debian.org etch/non-free sun-java5-plugin 1.5.0-10-3 [1392B]
Fetched 1392B in 0s (1896B/s)
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = "en_AU.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
Selecting previously deselected package sun-java5-plugin.
(Reading database ... 152024 files and directories currently installed.)
Unpacking sun-java5-plugin (from .../sun-java5-plugin_1.5.0-10-3_i386.deb) ...
Setting up belocs-locales-bin (2.4-2.1) ...
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = "en_AU.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_AU.UTF-8... up-to-date
Generation complete.
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = "en_AU.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = "en_AU.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
*** update-locale: Error: invalid locale settings: LANG=en_AU.UTF-8
dpkg: error processing belocs-locales-bin (--configure):
subprocess post-installation script returned error exit status 9
Setting up sun-java5-plugin (1.5.0-10-3) ...
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = "en_AU.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = "en_AU.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = "en_AU.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = "en_AU.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
Errors were encountered while processing:
belocs-locales-bin
E: Sub-process /usr/bin/dpkg returned an error code (1)
carla:/home/carla#

Gee now I can't seem to get the flashplayer-mozilla so I can use you tube. This is odd. I got into synaptic and tried to install flash player and something went wrong so I did 'reinstallation' and got this :
An error occured

The following details are provided:
E: belocs-locales-bin: subprocess post-installation script returned
error exit status 9

Was I supposed to get flashplugin-nonfree instead? It seemed to be an either or situation as when I tried to install the flashplugin-nonfree straight afterwards it was going to remove flashplayer-mozilla . Which is which?

OK well I tried anyway and got this:
E: belocs-locales-bin: subprocess post-installation script returned error exit status 9

Telemachos 01-23-2008 07:13 AM

Please don't post such very long console sessions. Only post the parts that are relevant to whatever is going on or you are asking about.

I'm not sure why you need belocs-locales-bin, but whatever it is, it's not installing properly. One thought is to try to remove it, frankly. I don't think that Java requires it:
Code:

apt-get remove belocs-locales-bin

rapattack 01-24-2008 03:23 AM

Sorry
 
Hi sorry I never really know what is relevent I am afraid that is why I posted the lot.
I don't know what that whole thing is. I asked on another forum and they said don't worry about it but it happens everytime I install something:

Here is what happened with some of it:
carla:/home/carla# apt-get remove belocs-locales-bin
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
libquicktime1
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
belocs-locales-bin belocs-locales-data sun-java5-bin sun-java5-jre
sun-java5-plugin
0 upgraded, 0 newly installed, 5 to remove and 1 not upgraded.
1 not fully installed or removed.
Need to get 0B of archives.
After unpacking 94.2MB disk space will be freed.
Do you want to continue [Y/n]? y
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),

did you want the rest? It is pretty long. And it removed what I just installed?!

Telemachos 01-24-2008 07:42 AM

Quote:

Originally Posted by rapattack (Post 3033510)
did you want the rest? It is pretty long. And it removed what I just installed?!

Yeah, I see that it removed java. My instinct now is to say that you should try to reinstall the java packages. Let's hope that the problem with that package was a fluke or the result of an incomplete download of some kind. (I'm grasping at straws here frankly.)

rapattack 01-25-2008 04:37 AM

Oops belocs is back:

carla:/home/carla# apt-get install sun-java5-bin
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.

Since you only requested a single operation it is extremely likely that
the package is simply not installable and a bug report against
that package should be filed.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
sun-java5-bin: Depends: sun-java5-jre (= 1.5.0-10-3) but it is not going to be
installed
E: Broken packages
carla:/home/carla# apt-get install sun-hava5-jre
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package sun-hava5-jre
carla:/home/carla# apt-get install sun-java5-jre
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
libquicktime1
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
belocs-locales-bin belocs-locales-data sun-java5-bin
Suggested packages:
sun-java5-plugin ia32-sun-java5-plugin sun-java5-fonts ttf-baekmuk
ttf-sazanami-gothic ttf-sazanami-mincho ttf-arphic-bsmi00lp
The following NEW packages will be installed:
belocs-locales-bin belocs-locales-data sun-java5-bin sun-java5-jre
0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/34.0MB of archives.
After unpacking 94.1MB of additional disk space will be used.
Do you want to continue [Y/n]? y

Telemachos 01-25-2008 07:02 AM

Quote:

Originally Posted by rapattack (Post 3034755)
Oops belocs is back:

That makes sense, but did it install ok this time? That is, were there any error messages from dpkg about belocs?

rapattack 01-26-2008 07:26 AM

Sorry now I don't remember. I didn't keep all of that saved. There is an icon in the menu 'Sun java5 webstart'. I looked at it but I do not understand anything. I opened it I should say or ran at.

Telemachos 01-26-2008 09:13 AM

Ok, if you don't remember, it's probably fine. If you run "apt-get update" now, does it have any errors? As for the Sun-java5 icon, you shouldn't need to ever mess with that directly. Open a browser and enter "about:plugins" into the address bar. You should see a bunch of listings for Java. You can also try this to check the package more directly
Code:

dpkg -l belocs-locales-bin

rapattack 01-28-2008 09:04 AM

Ok there are no errors when I do apt-get update.

OK I won't mess with the sun-java thingy.

After doing the about:plugins there is whole bunch of stuff and a heading that says:
Java(TM) Plug-in 1.5.0_10-b03

File name: libjavaplugin_oji.so
Java(TM) Plug-in 1.5.0_10

with a bunch of stuff under that heading.

Was I suppoed to do this as root or user?
$ dpkg -l belocs-locales-bin
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name Version Description
+++-==============-==============-============================================
iF belocs-locales 2.4-2.1 tools for compiling locale data files


All times are GMT -5. The time now is 10:46 AM.