FAQ Search Today's Posts Mark Forums Read

» Linux Archive
Home
New Posts
Search
FAQ


Go Back   Linux Archive > Debian > Debian dpkg

 
 
LinkBack Thread Tools
 
Old 06-27-2008, 03:42 PM
Raphael Hertzog
 
Default New Multi-Arch field, architectures conffile and syntax questions

On Fri, 27 Jun 2008, Goswin von Brederlow wrote:
> > Given that, the best is probably to add a configuration variable in
> > /etc/apt/apt.conf.
>
> Dpkg already checks for the right architecture. I just extended
> that. Removing the check is also an option.

Or only accept default architecture by default and have APT use
--force-architecture ?

> >> dir = /var/lib/dpkg/info/
> >> filename = libfoo.type for all and primary architecture
> >> filename = libfoo.arch.type for other architectures
> >>
> >> Since '.' is allowed in package names I suggest using '_' as
> >> sperarator at a minimum.
> >
> > I agree that the current implementation does not work for package with a
> > dot in their name. If we switch to ':' to specify the architecture in
> > an apt line, I suggest to also use it here.
>
> Aren't there some filesystems that have problems with : in names? hint,
> hint

Well, apt stores files with ":" inside, so it's not a real problem.
And for the structure, I would suggest
/var/lib/dpkg/info/<arch>/libfoo.type, you're still compatible with
what's existing (the default arch should still use /var/lib/dpkg/info
directly) and you can store your new files.

Cheers,
--
Raphaël Hertzog

Le best-seller français mis à jour pour Debian Etch :
http://www.ouaza.com/livre/admin-debian/


--
To UNSUBSCRIBE, email to debian-dpkg-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 

Thread Tools




All times are GMT. The time now is 05:35 AM.

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