LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 01-19-2008, 06:01 AM   #16
Telemachos
Member
 
Registered: May 2007
Distribution: Debian
Posts: 754

Rep: Reputation: 60

Quote:
Originally Posted by rapattack View Post
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.
 
Old 01-20-2008, 07:29 AM   #17
rapattack
Member
 
Registered: Jan 2008
Posts: 109

Original Poster
Rep: Reputation: 15
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#
 
Old 01-20-2008, 09:03 AM   #18
Telemachos
Member
 
Registered: May 2007
Distribution: Debian
Posts: 754

Rep: Reputation: 60
Quote:
Originally Posted by rapattack View Post
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>")
 
Old 01-21-2008, 04:57 AM   #19
rapattack
Member
 
Registered: Jan 2008
Posts: 109

Original Poster
Rep: Reputation: 15
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#
 
Old 01-21-2008, 07:51 AM   #20
Telemachos
Member
 
Registered: May 2007
Distribution: Debian
Posts: 754

Rep: Reputation: 60
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?
 
Old 01-21-2008, 11:49 AM   #21
eerok
Member
 
Registered: Nov 2005
Location: Canada
Distribution: Mint, Debian
Posts: 168

Rep: Reputation: 32
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.
 
Old 01-21-2008, 12:55 PM   #22
Telemachos
Member
 
Registered: May 2007
Distribution: Debian
Posts: 754

Rep: Reputation: 60
Quote:
Originally Posted by eerok View Post
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
 
Old 01-22-2008, 04:32 AM   #23
rapattack
Member
 
Registered: Jan 2008
Posts: 109

Original Poster
Rep: Reputation: 15
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
 
Old 01-22-2008, 10:31 AM   #24
Telemachos
Member
 
Registered: May 2007
Distribution: Debian
Posts: 754

Rep: Reputation: 60
Quote:
Originally Posted by rapattack View Post
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.)
 
Old 01-23-2008, 05:44 AM   #25
rapattack
Member
 
Registered: Jan 2008
Posts: 109

Original Poster
Rep: Reputation: 15
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

Last edited by rapattack; 01-23-2008 at 06:17 AM. Reason: more info again
 
Old 01-23-2008, 07:13 AM   #26
Telemachos
Member
 
Registered: May 2007
Distribution: Debian
Posts: 754

Rep: Reputation: 60
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
 
Old 01-24-2008, 03:23 AM   #27
rapattack
Member
 
Registered: Jan 2008
Posts: 109

Original Poster
Rep: Reputation: 15
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?!
 
Old 01-24-2008, 07:42 AM   #28
Telemachos
Member
 
Registered: May 2007
Distribution: Debian
Posts: 754

Rep: Reputation: 60
Quote:
Originally Posted by rapattack View Post
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.)
 
Old 01-25-2008, 04:37 AM   #29
rapattack
Member
 
Registered: Jan 2008
Posts: 109

Original Poster
Rep: Reputation: 15
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
 
Old 01-25-2008, 07:02 AM   #30
Telemachos
Member
 
Registered: May 2007
Distribution: Debian
Posts: 754

Rep: Reputation: 60
Quote:
Originally Posted by rapattack View Post
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?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
cannot update,upgrade using apt-get...errors vineet7kumar Debian 3 11-10-2007 01:18 PM
KDE applet for apt-get update/upgrade rolsch Debian 4 02-06-2006 12:04 AM
apt-get update/upgrade Red Squirrel Linux - Software 26 07-11-2005 11:14 PM
apt-get update errors since Debian released ( bad /etc/apt/sources.list ?) forgox Debian 10 06-13-2005 12:28 PM
Apt-get update problem after upgrade and others satimis Fedora 0 07-26-2004 05:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 08:22 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration