LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 05-05-2012, 11:14 PM   #1
mr.cracker
Member
 
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, 04:44 AM   #2
dudeman41465
Member
 
Registered: Jun 2005
Location: Kentucky
Distribution: Ubuntu
Posts: 794

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

Original Poster
Rep: Reputation: Disabled
Question

Quote:
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:
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??
 
Old 05-06-2012, 08:12 AM   #4
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware & Slackware64 14.1
Posts: 7,453
Blog Entries: 55

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, 02:52 PM   #5
theNbomr
LQ 5k Club
 
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,396
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.
 
  


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


All times are GMT -5. The time now is 03:17 PM.

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