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.
I was trying to install some software, and there were some problems with dependencies. To solve that, I usually use "apt-get -f install" because it seems to install the dependencies needed. But this time, I ran that command and it says:
The following packages will be REMOVED:
sudo, cinnamon, gksu, etc.
I think that those are important packages, but the apt wants to remove them in order to install their 32 version I think. In addition to this, I found out another way of installing the software I wanted in a more secure way, but the thing is that I don't want the apt trying to remove this anymore.
How can I cancel this? If in the future I need to run "apt-get -f install" again, will I have to accept this removals?
sudo apt-get -f install
[sudo] password for lyn:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following additional packages will be installed:
libportaudio2:i386
The following packages will be REMOVED:
casper cinnamon gdebi gksu guitarpro6:i386 libgksu2-0 lupin-casper mdm
mint-meta-cinnamon mint-meta-core mintdrivers sudo ubuntu-minimal
The following NEW packages will be installed:
libportaudio2:i386
0 upgraded, 1 newly installed, 13 to remove and 17 not upgraded.
1 not fully installed or removed.
Need to get 66,5 kB of archives.
After this operation, 126 MB disk space will be freed.
Do you want to continue? [Y/n] n
And then, I pressed "n" because I think it could be dangerous to delete sudo. I no longer want to run this command, because I know another way of installing the software, so no problems there. But it seems that the next time I try to run "apt-get -f install" I will have to say yes and remove this packages, because they remain there to be deleted. Can I stop it from trying to remove that packages?
Edit:
I ran "apt-get -s -f install" and everything is right now:
sudo apt-get -s -f install
[sudo] password for lyn:
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 12 not upgraded.
And same for "apt-get -f install", so it is solved. I don't know why this is happening but it is solved. Thanks for your time!
As I said, I no longer have the problem, it seems solved.
as i said?
you edited your previous post after I wrote my reply.
please don't be misleading (i'm sure you didn't do it on purpose).
sometimes it's better to edit an existing post, but usually not anymore after someone replied to it already.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.