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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
05-05-2012, 10:14 PM
|
#1
|
Member
Registered: May 2012
Posts: 58
Rep: 
|
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).
|
|
|
05-06-2012, 03:44 AM
|
#2
|
Member
Registered: Jun 2005
Location: Kentucky
Distribution: Debian
Posts: 795
Rep:
|
So what happens when you try running "apt-get -f install" like it says?
|
|
|
05-06-2012, 04:37 AM
|
#3
|
Member
Registered: May 2012
Posts: 58
Original Poster
Rep: 
|
Quote:
Originally Posted by dudeman41465
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??
|
|
|
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,311
Rep: 
|
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. 
|
|
|
05-06-2012, 01:52 PM
|
#5
|
LQ 5k Club
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,399
|
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 04:05 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|