Linux - NewbieThis 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.
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.
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).
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??
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.