LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Mounting partition issue.. (https://www.linuxquestions.org/questions/linux-newbie-8/mounting-partition-issue-748002/)

criacuervo 08-16-2009 06:44 PM

Mounting partition issue..
 
2 Attachment(s)
I just installed Debian , and is quite good but i cannot mount the other partition, here is the thing.



Attachment 1248

I have a 400gb hardisk with two partitions one of 100gb(os) and other of 300gb , im trying to mount the 300gb one but i cannot.


AND ANOTHER THING , ( IS TO AVOID THE DOUBLE POSTING)

Im tryng to install the skype but it says:..

Attachment 1249

And that happends when im trying to install frostwire too.
maybe are dependecies, i dont know.


All suggestion will be Welcome,

thx in advence!

chrism01 08-16-2009 06:48 PM

Re qn1, if you did it from the cmd line you can post the error msg, which would help us a lot.
What format is that volume?
Post the results of

fdisk -l

as root from the cmd line

schneidz 08-16-2009 09:25 PM

does apt-get not work ?
Code:

sudo apt-get install skype

lazlow 08-16-2009 09:27 PM

What file system is on that drive?

neonsignal 08-16-2009 09:41 PM

Double posting would have been fine, given that the questions are unrelated.

The skype 'deb' file you have is not an archive, so archive manager is not able to do anything. If you can't just double click on it to install, then you can run 'dpkg -i package-name.deb' from a root terminal.

criacuervo 08-16-2009 09:58 PM

People , thx for the fdisk -l thing, i really fix the problem with the hard disk but with the program installation:

juanchy:/home/criacuervo/programs# ls
frostwire-4.18.1.i586.deb xmms_1.2.10+20061101-1etch1_i386.deb
skype-debian_2.0.0.72-1_i386.deb
juanchy:/home/criacuervo/programs# dpkg -i frostwire-4.18.1.i586.deb
(Reading database ... 94094 files and directories currently installed.)
Preparing to replace frostwire 4.18.0 (using frostwire-4.18.1.i586.deb) ...
Unpacking replacement frostwire ...
dpkg: dependency problems prevent configuration of frostwire:
frostwire depends on sun-java6-bin; however:
Package sun-java6-bin is not installed.
dpkg: error processing frostwire (--install):
dependency problems - leaving unconfigured
Errors were encountered while processing:
frostwire
juanchy:/home/criacuervo/programs#

i think is something of dependecies, so try with sun-java6-bin


juanchy:/home/criacuervo/programs# apt-get install sun-java6-bin
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package sun-java6-bin is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package sun-java6-bin has no installation candidate
juanchy:/home/criacuervo/programs#

what can you do to get all the dependencies in orden not to need to download them?

criacuervo 08-16-2009 10:28 PM

that was trying to install the sun-java6-bin

juanchy:/home/criacuervo# cd Desktop/
juanchy:/home/criacuervo/Desktop# ls
sun-java6-bin_6-15-1_i386.deb sun-java6-jre_6-15-1_all.deb
juanchy:/home/criacuervo/Desktop# dpkg -i sun-java6-bin_6-15-1_i386.deb
(Reading database ... 95009 files and directories currently installed.)
Preparing to replace sun-java6-bin 6-15-1 (using sun-java6-bin_6-15-1_i386.deb) ...
sun-dlj-v1-1 license has already been accepted
Unpacking replacement sun-java6-bin ...
dpkg: dependency problems prevent configuration of sun-java6-bin:
sun-java6-bin depends on sun-java6-jre (= 6-15-1); however:
Package sun-java6-jre is not configured yet.
sun-java6-bin depends on unixodbc; however:
Package unixodbc is not installed.
dpkg: error processing sun-java6-bin (--install):
dependency problems - leaving unconfigured
Processing triggers for menu ...
Errors were encountered while processing:
sun-java6-bin
juanchy:/home/criacuervo/Desktop#

A question, is there a way to have install to the dependencies on your pc.

neonsignal 08-16-2009 10:35 PM

By preference you should use apt rather than directly downloading deb files, because apt-get will take care of the dependencies and do the install for you (whereas dpkg is just the individual package installer).

To get Sun java through apt-get, you will need to add 'non-free' to the lenny repositories in '/etc/apt/sources.list'.

Code:

deb http://mirrors.kernel.org/debian/ lenny main non-free
deb-src http://mirrors.kernel.org/debian/ lenny main non-free

deb http://security.debian.org/ lenny/updates main non-free
deb-src http://security.debian.org/ lenny/updates main non-free

Then run 'apt-get update' before you do the 'apt-get'.

As schneidz pointed out, this will then enable you to also get skype the easy way.

criacuervo 08-17-2009 10:59 PM

I did the non-free thing and this happened and the apt-get update thing and this happened:

juanchy:/home/criacuervo# apt-get install frostwire
Reading package lists... Done
Building dependency tree
Reading state information... Done
frostwire is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
Setting up frostwire (4.18.0) ...
HOSTNAME IS juanchy
Starting FrostWire...
Java exec found in PATH. Verifying...
OOPS, you don't seem to have a valid JRE. FrostWire works best with Sun JRE available at http://www.java.com
OOPS, unable to locate java exec in /usr/lib/ hierarchy
You need to upgrade to JRE 1.5.x or newer from http://www.java.com
ls: cannot access /usr/java/j*: No such file or directory
OOPS, unable to locate java exec in /usr/java/ hierarchy
You need to upgrade to JRE 1.5.x or newer from http://www.java.com
ls: cannot access /opt/j*: No such file or directory
OOPS, unable to locate java exec in /opt/ hierarchy
You need to upgrade to JRE 1.5.x or newer from http://www.java.com
dpkg: error processing frostwire (--configure):
subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
frostwire
E: Sub-process /usr/bin/dpkg returned an error code (1)
juanchy:/home/criacuervo#

and i tried to install from the java page installing the .bin file
but it does no work either. and i actually installed the jre v6 thing but when i try to run or install frostwire is the same error.

criacuervo 08-17-2009 11:16 PM

Thx to everybody, thats great im really enjoying DEAbian

i got it , i have frostwire.THX

i just have to do this:

sudo update-alternatives --config java and then select the option that have sun in it

and thats all!!!
thx!!

neonsignal 08-17-2009 11:22 PM

If you run 'update-alternatives --config java', one of the alternatives should be '/usr/lib/jvm/java-6-sun/jre/bin/java'. If you don't have it, then your installation of Sun's version of java has failed. If it is not set as the default, select it.

If it is already installed and set to default, then the problem lies with frostwire's use of the java engine. Are you running a 64-bit version of Debian?

[edit: you figured it out already!]


All times are GMT -5. The time now is 05:13 AM.