[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: how to get dpkg to work from scratch?



Thank you guys for the replies. 

I  got what I wanted by doing the following:

create a symlink from /var/lib/dpkg --> /usr/lib/dpkg

create an empty updates directory in /usr/lib/dpkg to get rid of no
updates dir complaint.

type "dpkg --clear-avail" to get rid of complaint for not finding
available packages.

now  with --force-depends I can install packages I want. This is much
better than the way I tried to install things on the host.

Thanks,
Bahadir



On Thu, 13 Jan 2005 16:55:42 -0500, Lennart Sorensen
<lsorense@csclub.uwaterloo.ca> wrote:
> On Thu, Jan 13, 2005 at 04:38:20PM -0500, Chris Gorman wrote:
> >
> > In order to get around the dependencies use the --force-depends switch
> > with dpkg which will turn all dependency errors into warnings.
> >
> > dpkg -i --force-depends somepackage.deb
> >
> > I'm not sure if this will fix the problem with dpkg not finding updates,
> > which is a directory on my system ( /var/lib/dpkg/updates/ ) .
> 
> I have had no problems like that, only that it refused to unpack
> base-files or something due to armv5tel not maching architecture arm
> even though that is what I said I wanted.  Apparently some things
> require the map file be correct in debootstrap.  Once the system is
> installed it never seems to care what the uname -m says.
> 
> Len Sorensen
>



Reply to: