Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 05-05-2012, 10:14 PM   #1
Registered: May 2012
Posts: 58

Rep: Reputation: Disabled
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).
Old 05-06-2012, 03:44 AM   #2
Registered: Jun 2005
Location: Kentucky
Distribution: Debian
Posts: 794

Rep: Reputation: 56
So what happens when you try running "apt-get -f install" like it says?
Old 05-06-2012, 04:37 AM   #3
Registered: May 2012
Posts: 58

Original Poster
Rep: Reputation: Disabled

Originally Posted by dudeman41465 View Post
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:
Suggested packages:
libwxgtk2.8-dev wx-common
The following NEW packages will be installed:
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:
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??
Old 05-06-2012, 07:12 AM   #4
LQ 5k Club
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,298
Blog Entries: 61

Rep: Reputation: Disabled
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.
Old 05-06-2012, 01:52 PM   #5
LQ 5k Club
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,399
Blog Entries: 2

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


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
[NASM] Viewing array values to screen problem gozlemci Programming 1 09-28-2010 10:06 PM
Effective memory addressing problem (NASM) vargadanis Programming 2 02-09-2008 08:26 AM
NASM bootable code problem vargadanis Programming 1 01-11-2008 06:18 PM
problem with NASM - can't execute binaries boz Programming 1 06-30-2005 12:54 AM
NASM problem ChimpFace9000 Programming 0 07-28-2001 01:42 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:43 PM.

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