LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   problem with nasm (https://www.linuxquestions.org/questions/linux-newbie-8/problem-with-nasm-943469/)

mr.cracker 05-05-2012 10:14 PM

problem with nasm
 
when i try to install nasm using,
"sudo apt-get install nasm"
the error is given below. what is the solution.i tried "apt-get -f install" but doesn't work"


Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
codeblocks-dbg : Depends: codeblocks (= 10.05-1) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

dudeman41465 05-06-2012 03:44 AM

So what happens when you try running "apt-get -f install" like it says?

mr.cracker 05-06-2012 04:37 AM

Quote:

Originally Posted by dudeman41465 (Post 4671478)
So what happens when you try running "apt-get -f install" like it says?

when i do this the msg is,

Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
codeblocks
Suggested packages:
libwxgtk2.8-dev wx-common
The following NEW packages will be installed:
codeblocks
0 upgraded, 1 newly installed, 0 to remove and 292 not upgraded.
1 not fully installed or removed.
Need to get 0 B/1,679 kB of archives.
After this operation, 4,866 kB of additional disk space will be used.

Do you want to continue [Y/n]? y

(Reading database ... 130748 files and directories currently installed.)
Unpacking codeblocks (from .../codeblocks_10.05-1_i386.deb) ...
dpkg: error processing /var/cache/apt/archives/codeblocks_10.05-1_i386.deb (--unpack):
trying to overwrite '/usr/share/mime/packages/codeblocks.xml', which is also in package codeblocks-common 10.05-1
Processing triggers for shared-mime-info ...
Errors were encountered while processing:
/var/cache/apt/archives/codeblocks_10.05-1_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)



i tried to install codeblock ,,but failed,,is the problem because of that,,how can i overcome this problem??

brianL 05-06-2012 07:12 AM

They've got some weird ideas at Ubuntu if they think codeblocks is needed for nasm. Codeblocks is an IDE, a glorified text editor. Nasm is mostly run from the CLI. Don't know how you're going to solve that problem, except change to a sensible distro. :scratch:

theNbomr 05-06-2012 01:52 PM

It should be simple enough to get a nasm source tarball, and build nasm from that.
--- rod.


All times are GMT -5. The time now is 06:59 PM.