LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 09-03-2008, 12:17 AM   #1
darthaxul
Member
 
Registered: Aug 2008
Distribution: Gentoo; Devuan; Artix; FreeBSD
Posts: 232

Rep: Reputation: 19
stop debian packages automatic


I run aptitude install <somepackage>
20 packages are listed and wants me to comfirm the install
I dont want 5 of those packages
What is the command that prevents those 5 from installing?
 
Old 09-03-2008, 12:39 AM   #2
henry_shadowjet
Member
 
Registered: Oct 2006
Posts: 55

Rep: Reputation: 15
That's a hard situation to deal with, actually.

The reason why those packages are listed is because aptitude believes that those 20 packages (including the 5 that you don't want) are a part of the "dependencies" that are required to run the application you're trying to install.

So basically, to install it without those 5 packages using aptitude, I don't think it's possible. However since I'm not the expert with aptitude, I might be wrong.

In yum, you can use the parameter exclude= in /etc/yum.conf.

My only suggestion is to try and install it manually by grabbing the packages from the repositories and use dpkg
 
Old 09-03-2008, 09:48 AM   #3
rickh
Senior Member
 
Registered: May 2004
Location: Albuquerque, NM USA
Distribution: Debian-Lenny/Sid 32/64 Desktop: Generic AMD64-EVGA 680i Laptop: Generic Intel SIS-AC97
Posts: 4,250

Rep: Reputation: 62
If the packages are "dependencies," you need them. If they are "recommendations," which Aptitude will also install by default, you can avoid them with a -R option.
 
Old 09-03-2008, 04:31 PM   #4
darthaxul
Member
 
Registered: Aug 2008
Distribution: Gentoo; Devuan; Artix; FreeBSD
Posts: 232

Original Poster
Rep: Reputation: 19
misled

To be more specific I manually installed 5 packages which I want kept, and I dont want Debian's version of those packages.
It doesn't say these 20 are recommended, but rather "will automatically be installed."
And the -R option didn't seem to help.
 
Old 09-03-2008, 05:28 PM   #5
rickh
Senior Member
 
Registered: May 2004
Location: Albuquerque, NM USA
Distribution: Debian-Lenny/Sid 32/64 Desktop: Generic AMD64-EVGA 680i Laptop: Generic Intel SIS-AC97
Posts: 4,250

Rep: Reputation: 62
# aptitude hold <packagename>
 
Old 09-04-2008, 12:27 AM   #6
darthaxul
Member
 
Registered: Aug 2008
Distribution: Gentoo; Devuan; Artix; FreeBSD
Posts: 232

Original Poster
Rep: Reputation: 19
phails

aptitude hold works only for packages already installed. You failed. The fact still remains that I dont want to install those 5 unwanted automatically included packages.
 
Old 09-04-2008, 01:55 AM   #7
henry_shadowjet
Member
 
Registered: Oct 2006
Posts: 55

Rep: Reputation: 15
You FAILED! Hahahahahha - I just can't get over how he said it... :P - Please don't take any offence

By the way, darthaxul, you might want to just manually install the rest of the 15 packages manually yourself. I know it's bothersome, but I think it's just the easiest way around this.

Just go to the repository website you should be able to find the packages quite easily. Put it in 1 folder and install it with one fell swoop by dpkg.

I guess I might fail too :P
 
  


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
Need to stop automatic login but no visible option in Yast rm200471 SUSE / openSUSE 7 02-18-2012 02:20 PM
FC-8, how to stop win partitions from automatic mount prabhatsoni Linux - Software 4 04-23-2008 01:15 AM
OpenBSD stop automatic boot check if / wasn't unmounted from a crash taids *BSD 1 04-12-2006 06:55 PM
Automatic Updates of packages jonty_11 Programming 3 09-29-2004 05:11 PM
how to stop automatic system dialing shams Mandriva 0 06-03-2004 10:25 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:47 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
Open Source Consulting | Domain Registration