LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
Search this Thread
Old 06-29-2006, 12:42 AM   #1
Simon Fisher
LQ Newbie
 
Registered: Jun 2006
Posts: 2

Rep: Reputation: 0
Preventing aptitude installing a package that I have built manually


I have apache running on a recently installed Debian system that I have built myself having downloaded an apache.tar.gz archive rather than from a Debian source or binary package. My build configuration for apache is quite site specific.

I now want to install some packages (smokeping is a good example) that typically require apache as a pre-requisite.

How do I use aptitude (or other) to install smokeping and preventing a new packaged copy of apache to be installed?


Thanks for any help.


Simon
 
Old 06-29-2006, 07:12 AM   #2
Dutch Master
Senior Member
 
Registered: Dec 2005
Posts: 1,674

Rep: Reputation: 122Reputation: 122
Update the database with the updatedb command. Open aptitude, select the package you want to hold and press the = key. This tells aptitude to hold that version of the package. Read the aptitude man-pages for more info.
 
Old 06-30-2006, 01:48 AM   #3
Simon Fisher
LQ Newbie
 
Registered: Jun 2006
Posts: 2

Original Poster
Rep: Reputation: 0
I'm not sure I see the relevance of running updatedb - isn't this to update the databases used by the locate command?

I tried using hold (=) ... I first of all indicated that I wished to install smokeping using 'i', proceeded with 'g' then looked at the list of packages selected as being required. As one of them was 'apache' I placed a hold on this with '=' and tried to proceed with the install using 'g'.

aptitude refused to continue to install smokeping as a dependency was missing.
 
Old 06-30-2006, 04:48 AM   #4
Dutch Master
Senior Member
 
Registered: Dec 2005
Posts: 1,674

Rep: Reputation: 122Reputation: 122
Yes I know that the updatedb command updates the database for the locate command, but I'm not sure if aptitude uses the same database. If you're confident it's not related, skip it

The way you described it, it makes sense that aptitude stalls. Aptitude doesn't know about packages build from source, unless you'd build it as a .dep package, installing it with dpkg. So, as far as aptitude is concerned, Apache is not available on your system. A possible work-around is moving your Apache setup out of the way, install the programs with their dependencies including Apache and replace the installed Apache config with your own.
 
  


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
Aptitude wants to uninstall virtually every package?! TheMusicGuy Debian 19 05-25-2006 07:33 PM
Will 'aptitude upgrade or dist-upgrade' downgrade manually installed deb package? Akhran Debian 3 03-14-2006 02:40 PM
[Aptitude] Is it possible to check which package automatically install packageA? Akhran Debian 2 03-13-2006 12:34 PM
Any aptitude command to find out what packages belong to a virtual package? Akhran Debian 9 11-05-2005 09:40 PM
sysv-rc error preventing package installations - help... yekibud Linux - General 2 04-22-2005 01:39 AM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration