FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

 
 
LinkBack Thread Tools
 
Old 07-16-2011, 11:55 PM
Nuno Magalhães
 
Default Virtually installing a virtual package?

Hi folks,

Keeping it short, i want to install zabbix-frontend-php, which depends
on apache; or httpd. I installed nginx from source (and used
checkinstall a while back i think so) it's listed in the installed
packages but it didn't provide httpd. I can't install httpd because
it's a virtual package.

So, how can i manually mark httpd as installed?

TIA,
Nuno

--
"On the internet, nobody knows you're a dog."


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: CADqA9uaOWn=wBcMPugyjOCO0yo+2wON4bgO7QLRVk1nims+jx g@mail.gmail.com">http://lists.debian.org/CADqA9uaOWn=wBcMPugyjOCO0yo+2wON4bgO7QLRVk1nims+jx g@mail.gmail.com
 
Old 07-17-2011, 10:30 AM
Camaleón
 
Default Virtually installing a virtual package?

On Sun, 17 Jul 2011 00:55:32 +0100, Nuno Magalhães wrote:

> Keeping it short, i want to install zabbix-frontend-php, which depends
> on apache; or httpd. I installed nginx from source (and used
> checkinstall a while back i think so) it's listed in the installed
> packages but it didn't provide httpd. I can't install httpd because it's
> a virtual package.
>
> So, how can i manually mark httpd as installed?

Mmm... if you know what you are doing and you know that zabbix will work,
why not installing the package by instructing apt-get/aptitude to do not
care about dependecies just in this case?

There has to be a switch for that or maybe a better way to achieve it
without needing to lie the whole apt database about apache real status :-?

Greetings,

--
Camaleón


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: pan.2011.07.17.10.30.32@gmail.com">http://lists.debian.org/pan.2011.07.17.10.30.32@gmail.com
 
Old 07-17-2011, 11:48 AM
Claudius Hubig
 
Default Virtually installing a virtual package?

Camaleón <noelamac@gmail.com> wrote:
>On Sun, 17 Jul 2011 00:55:32 +0100, Nuno Magalhães wrote:
>
>> Keeping it short, i want to install zabbix-frontend-php, which depends
>> on apache; or httpd. I installed nginx from source (and used
>> checkinstall a while back i think so) it's listed in the installed
>> packages but it didn't provide httpd. I can't install httpd because it's
>> a virtual package.
>>
>> So, how can i manually mark httpd as installed?
>
>Mmm... if you know what you are doing and you know that zabbix will work,
>why not installing the package by instructing apt-get/aptitude to do not
>care about dependecies just in this case?
>
>There has to be a switch for that or maybe a better way to achieve it
>without needing to lie the whole apt database about apache real status :-?

You might want to have a look at equivs, which basically creates
dummy packages to fulfil dependencies.

See http://eric.lubow.org/2010/system-administration/creating-dummy-packages-on-debian/
or the included documentation for instructions.

Best regards,

Claudius

--
He who hesitates is sometimes saved.
Please use GPG: ECB0C2C7 4A4C4046 446ADF86 C08112E5 D72CDBA4
http://chubig.net/ http://nightfall.org



--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20110717134856.2727b1f3@ares.home.chubig.net">http ://lists.debian.org/20110717134856.2727b1f3@ares.home.chubig.net
 
Old 07-18-2011, 08:46 AM
Nuno Magalhães
 
Default Virtually installing a virtual package?

Hi

>>There has to be a switch for that or maybe a better way to achieve it
>>without needing to lie the whole apt database about apache real status :-?

That was my first guess, but there was nothing (i could find) in the
manpage. Besides, the whole point of a package manager is to *prevent*
you from not installing packages you should in the first place

The think is when i used checkinstall i forgot to set "Provides:
httpd". Thankfully, zabbix depends on apache or httpd.

> You might want to have a look at equivs, which basically creates
> dummy packages to fulfil dependencies.

Had some issues with the syntax at first but worked like a charm. Thanks

--
"On the internet, nobody knows you're a dog."


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: CADqA9ubbcdEqgo1gSwd+t8DNCgYcYRz+xPmLVwSXwGfJOGy+m A@mail.gmail.com">http://lists.debian.org/CADqA9ubbcdEqgo1gSwd+t8DNCgYcYRz+xPmLVwSXwGfJOGy+m A@mail.gmail.com
 

Thread Tools




All times are GMT. The time now is 08:25 AM.

VBulletin, Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org