Question:
Can you help me with installation in linux ?
eu_beebee
2010-03-06 13:13:16 UTC
I tried installing octave3.2 , but it doesn't seem to work in the way I do...i don't understand the error ... how can I make it work? can you help me? please!!! i need a quick solution!

bianca@Torvalds:~$ sudo apt-get install octave3.2
Reading package lists... Done
Building dependency tree
Reading state information... Done
octave3.2 is already the newest version.
The following packages were automatically installed and are no longer required:
binutils-static
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
Setting up octave3.2 (3.2.2-2build1) ...
dpkg: error processing octave3.2 (--configure):
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of octave3.2-emacsen:
octave3.2-emacsen depends on octave3.2; however:
Package octave3.2 is not configured yet.
dpkg: error processing octave3.2-emacsen (--configure):
dependency problems - leaving unconfigured
Processing triggers for menu ...
No apport report written because the error message indicates its a followup error from a previous failure.
Errors were encountered while processing:
octave3.2
octave3.2-emacsen
E: Sub-process /usr/bin/dpkg returned an error code (1)
Three answers:
jerry t
2010-03-06 18:34:31 UTC
Explaining the output you posted:



"octave3.2 is already the newest version."

You already have the latest version of octave. If there is a newer version your linux distro has not yet made it available.



"The following packages were automatically installed and are no longer required:

binutils-static

Use 'apt-get autoremove' to remove them."

The package binutils-static was installed and no longer needed on your system. You can remove it by running the command:

apt-get autoremove



"2 not fully installed or removed."

2 packages that are needed were not installed; apparently octave and emacsen.



"dpkg: error processing octave3.2 (--configure):

subprocess installed post-installation script returned error exit status 1

dpkg: dependency problems prevent configuration of octave3.2-emacsen:

octave3.2-emacsen depends on octave3.2; however:

Package octave3.2 is not configured yet.

dpkg: error processing octave3.2-emacsen (--configure):

dependency problems - leaving unconfigured"

In a nutshell this is saying that there was an error when it tried to install octave. A dependent file called emacsen could not be installed because octave is not installed. This is what is called dependency hell; a file can not be installed because it needs to have another program installed but the program cannot be installed until the file is installed.

I am surprised that a solution was not also suggested at the end of that output.



If you run the command;

apt-get -f install

This will try to install any packages that are leftover and not completely installed. After running that run the commands;

sudo apt-get update

sudo apt-get upgrade



And then run apt-get -f install again. You may have to repeat the 3 commands a couple times until apt-get -f install returns the message that all is well.



Using the command line and apt-get is not something recommended for people new to linux. Why not use a graphical way to install software like synaptic. You should have synaptic in your menu.



Good luck
?
2016-10-19 09:17:58 UTC
step a million Insert a sparkling CD into your CD or DVD tension, then burn a disc employing the report you downloaded . in case you lack the flair to burn a CD or DVD, you could request a unfastened CD or purchase a reproduction (see "further components," decrease than). Step 2Backup your documents. verify something on your demanding tension which you do not prefer to lose is copied competently to different media or a information superhighway backup equipment. it extremely is somewhat important; collectively as not likely, loss of documents in the time of a demanding-tension-huge operation like an OS deploy is amazingly a threat. Step 3Prepare your demanding tension for setting up of Ubuntu by ability of making particular there is adequate room on it to place in the working equipment. many times, you will desire to have a minimum of approximately 10GB of demanding tension area for a perfect deploy. Step 4Insert your Ubuntu setting up Disk into the workstation's CD or DVD tension. save on with the easy onscreen activates to place in Ubuntu. the coolest steps would selection based upon your version, yet you will desire to be asked first to decide on your favorite language, and then Ubuntu would desire to immediately hit upon your Ethernet connection. Step 5You would be asked to decide on a close-by of your demanding tension on which to place in Ubuntu. some easy awareness of demanding tension partitions is helpful for this step. in case you would be employing Linux alongside residing house windows or Mac OS X, or in case you have an information partition on your tension, be very careful to not deploy Ubuntu over those. Step 6Ubuntu would be put in on your equipment, alongside with a boot loader which will assist you to compliment between working systems, while you're setting up alongside yet another OS. The installer will apprise you of the setting up progression. whilst complete, Ubuntu will load and you may start up employing your new Linux working equipment.
GibsonEssGee
2010-03-06 13:20:03 UTC
See http://www.linuxquestions.org/questions/debian-26/sub-process-usrbindpkg-returned-an-error-code-1-171107/


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...