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

Re: apt-get -o's



On Sun, Sep 15, 2002 at 01:58:29PM -0600, Jason Gunthorpe wrote:
> 
> On Sun, 15 Sep 2002, Marc Singer wrote:
> 
> > I'm trying to get the -o options to work so that I can pass dpkg
> > options along.  I was told by someone that
> > 
> > apt-get \
> >  -o Dpkg::Options::=--force-confmiss \
> >  -o Dpkg::Options::=--force-somethingelse \
> >  ....
> 
> Seems to work:
> 
> wakko{root}~#apt-get install navigator -o debug::pkgdpkgpm=true -o dpkg::options::=--badcow

Interesting.  Using strace, I can tell that the update command is
spawning something, I assume it is dpkg.  I still get nothing when I
add the debug message:

elf@cerise ~...coastal/debdist > apt-get update -o debug::pkgdpkgpm=true -o DIR=root -o Dpkg::Options::=-root=root
Hit http://debian.buici.com unstable/main Packages
Hit http://debian.buici.com unstable/main Release
Hit http://debian.buici.com unstable/contrib Packages
Hit http://debian.buici.com unstable/contrib Release
Hit http://debian.buici.com unstable/non-free Packages
Hit http://debian.buici.com unstable/non-free Release
Hit http://debian.buici.com unstable/non-US/main Packages
Hit http://debian.buici.com unstable/non-US/main Release
Hit http://debian.buici.com unstable/non-US/contrib Packages
Hit http://debian.buici.com unstable/non-US/contrib Release
Hit http://debian.buici.com unstable/non-US/non-free Packages
Hit http://debian.buici.com unstable/non-US/non-free Release
E: Could not open lock file /var/lib/dpkg/lock - open (13 Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?



Reply to: