Re: Stupid package installer wanted: uppity robots need not apply

2003-03-16 Thread Karl Hammar
 On Thu, Mar 13, 2003 at 12:09:17PM -0500, Burton Windle wrote:
  dpkg?
  
  dpkg -i filename.deb
 
 Not even close. For instance:
 
   PKGLIST=modutils- another+ another2+
   apt-get -y install $PKGLIST
 
 will fail. If you you do it at the lower level:
 
   PKGLIST1=modutils
   for $pkg in $PKGLIST1; do
 dpkg --purge $pkg  yes
   done
   PKGLIST2=another.deb another2.deb
   for $pkg in $PKGLIST1; do

You probably mean   $PKGLIST2 here, as written it reinstalls modutils.

 dpkg --install $pkg  yes
   done
 
 will also fail to remove modutils.
 
 I've just been chatting with BDale and he suggested
 I talk to people on debian-boot as there actually
 is no current good hands-off option.
 
 -- 
 --
IN MY NAME:Dale Amon, CEO/MD
   No Mushroom clouds over Islandone Society
 London and New York.  www.islandone.org
 --

If you are desperate you could always extract the package yourself and
install it by hand, but that is probably not what you wanted:

 $ ar -t mpage_2.5.3-1_i386.deb 
 debian-binary
 control.tar.gz
 data.tar.gz
 $ ar -x mpage_2.5.3-1_i386.deb
 $ cat debian-binary 
 2.0
 $ tar ztf control.tar.gz 
 ./
 ./md5sums
 ./control
 $ tar zxf control.tar.gz 
 $ cat control
 Package: mpage
 Version: 2.5.3-1
 Section: text
 Priority: optional
 Architecture: i386
...
 $ cat md5sums 
 7892f5b1dd260b1ac7b55ec327ffb6dd  usr/lib/mpage/CP850.PC
...
 f6f1f0f1975ee35e54b4ce0438a8053b  usr/share/doc/mpage/changelog.Debian.gz
 $ tar ztf data.tar.gz 
 ./
 ./usr/
 ./usr/lib/
 ./usr/lib/mpage/
 ./usr/lib/mpage/CP850.PC

...

 ./usr/share/doc/mpage/TODO.gz
 ./usr/share/doc/mpage/changelog.Debian.gz

Dale Amon [EMAIL PROTECTED], Thu, 13 Mar 2003 16:37:08 +:
...
 No add the following 10 switches to force that action.
...

 dpkg -i --force-all $@

One switch to force that action.


Regards,
/Karl

---
Karl HammarAspö Data   [EMAIL PROTECTED]
Lilla Aspö 2340Networks
S-742 94 Östhammar  +46  173 140 57   Computers
Sweden +46  70 511 97 84 Consulting
---



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Stupid package installer wanted: uppity robots need not apply

2003-03-16 Thread Junichi Uekawa
  dpkg?
  
  dpkg -i filename.deb
 
 Not even close. For instance:

You may want to look at anna and udpkg, maybe.


regards,
junichi


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Stupid package installer wanted: uppity robots need not apply

2003-03-16 Thread Karl Hammar
 On Thu, Mar 13, 2003 at 12:09:17PM -0500, Burton Windle wrote:
  dpkg?
  
  dpkg -i filename.deb
 
 Not even close. For instance:
 
   PKGLIST=modutils- another+ another2+
   apt-get -y install $PKGLIST
 
 will fail. If you you do it at the lower level:
 
   PKGLIST1=modutils
   for $pkg in $PKGLIST1; do
 dpkg --purge $pkg  yes
   done
   PKGLIST2=another.deb another2.deb
   for $pkg in $PKGLIST1; do

You probably mean   $PKGLIST2 here, as written it reinstalls modutils.

 dpkg --install $pkg  yes
   done
 
 will also fail to remove modutils.
 
 I've just been chatting with BDale and he suggested
 I talk to people on debian-boot as there actually
 is no current good hands-off option.
 
 -- 
 --
IN MY NAME:Dale Amon, CEO/MD
   No Mushroom clouds over Islandone Society
 London and New York.  www.islandone.org
 --

If you are desperate you could always extract the package yourself and
install it by hand, but that is probably not what you wanted:

 $ ar -t mpage_2.5.3-1_i386.deb 
 debian-binary
 control.tar.gz
 data.tar.gz
 $ ar -x mpage_2.5.3-1_i386.deb
 $ cat debian-binary 
 2.0
 $ tar ztf control.tar.gz 
 ./
 ./md5sums
 ./control
 $ tar zxf control.tar.gz 
 $ cat control
 Package: mpage
 Version: 2.5.3-1
 Section: text
 Priority: optional
 Architecture: i386
...
 $ cat md5sums 
 7892f5b1dd260b1ac7b55ec327ffb6dd  usr/lib/mpage/CP850.PC
...
 f6f1f0f1975ee35e54b4ce0438a8053b  usr/share/doc/mpage/changelog.Debian.gz
 $ tar ztf data.tar.gz 
 ./
 ./usr/
 ./usr/lib/
 ./usr/lib/mpage/
 ./usr/lib/mpage/CP850.PC

...

 ./usr/share/doc/mpage/TODO.gz
 ./usr/share/doc/mpage/changelog.Debian.gz

Dale Amon [EMAIL PROTECTED], Thu, 13 Mar 2003 16:37:08 +:
...
 No add the following 10 switches to force that action.
...

 dpkg -i --force-all $@

One switch to force that action.


Regards,
/Karl

---
Karl HammarAspö Data   [EMAIL PROTECTED]
Lilla Aspö 2340Networks
S-742 94 Östhammar  +46  173 140 57   Computers
Sweden +46  70 511 97 84 Consulting
---




Re: Stupid package installer wanted: uppity robots need not apply

2003-03-16 Thread Junichi Uekawa
  dpkg?
  
  dpkg -i filename.deb
 
 Not even close. For instance:

You may want to look at anna and udpkg, maybe.


regards,
junichi



Re: Stupid package installer wanted: uppity robots need not apply

2003-03-13 Thread Dale Amon
On Thu, Mar 13, 2003 at 12:09:17PM -0500, Burton Windle wrote:
 dpkg?
 
 dpkg -i filename.deb

Not even close. For instance:

PKGLIST=modutils- another+ another2+
apt-get -y install $PKGLIST

will fail. If you you do it at the lower level:

PKGLIST1=modutils
for $pkg in $PKGLIST1; do
  dpkg --purge $pkg  yes
done
PKGLIST2=another.deb another2.deb
for $pkg in $PKGLIST1; do
  dpkg --install $pkg  yes
done

will also fail to remove modutils.

I've just been chatting with BDale and he suggested
I talk to people on debian-boot as there actually
is no current good hands-off option.

-- 
--
   IN MY NAME:Dale Amon, CEO/MD
  No Mushroom clouds over Islandone Society
London and New York.  www.islandone.org
--


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Stupid package installer wanted: uppity robots need not apply

2003-03-13 Thread Christopher Taylor
On Thu, 2003-03-13 at 18:31, Dale Amon wrote:
   PKGLIST2=another.deb another2.deb
   for $pkg in $PKGLIST1; do
  ^ - I think the problem is right there ;)
 dpkg --install $pkg  yes
   done

  --Chris


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Stupid package installer wanted: uppity robots need not apply

2003-03-13 Thread Dale Amon
On Fri, Mar 14, 2003 at 01:11:10AM +0100, Christopher Taylor wrote:
 On Thu, 2003-03-13 at 18:31, Dale Amon wrote:
  PKGLIST2=another.deb another2.deb
  for $pkg in $PKGLIST1; do
   ^ - I think the problem is right there ;)
dpkg --install $pkg  yes
  done

No, that's just metacode I wrote up to explain
what I'm doing. The reality is happening within
X hook scripts in pbuilder. I can also reproduce
the problem manually with specific packages that
are ill behaved wrt to de novo builds of base.tgz
files.

The error above was just a typo when I invented
the above rough explanation of what is going on.

In any case, I'm taking the thread to debian-boot
as that seems to be more appropriate since I got
around the debsigs problem which *was* a relevent
question here.

-- 
--
   IN MY NAME:Dale Amon, CEO/MD
  No Mushroom clouds over Islandone Society
London and New York.  www.islandone.org
--


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Stupid package installer wanted: uppity robots need not apply

2003-03-13 Thread Dale Amon
On Thu, Mar 13, 2003 at 12:09:17PM -0500, Burton Windle wrote:
 dpkg?
 
 dpkg -i filename.deb

Not even close. For instance:

PKGLIST=modutils- another+ another2+
apt-get -y install $PKGLIST

will fail. If you you do it at the lower level:

PKGLIST1=modutils
for $pkg in $PKGLIST1; do
  dpkg --purge $pkg  yes
done
PKGLIST2=another.deb another2.deb
for $pkg in $PKGLIST1; do
  dpkg --install $pkg  yes
done

will also fail to remove modutils.

I've just been chatting with BDale and he suggested
I talk to people on debian-boot as there actually
is no current good hands-off option.

-- 
--
   IN MY NAME:Dale Amon, CEO/MD
  No Mushroom clouds over Islandone Society
London and New York.  www.islandone.org
--



Re: Stupid package installer wanted: uppity robots need not apply

2003-03-13 Thread Christopher Taylor
On Thu, 2003-03-13 at 18:31, Dale Amon wrote:
   PKGLIST2=another.deb another2.deb
   for $pkg in $PKGLIST1; do
  ^ - I think the problem is right there ;)
 dpkg --install $pkg  yes
   done

  --Chris



Re: Stupid package installer wanted: uppity robots need not apply

2003-03-13 Thread Dale Amon
On Fri, Mar 14, 2003 at 01:11:10AM +0100, Christopher Taylor wrote:
 On Thu, 2003-03-13 at 18:31, Dale Amon wrote:
  PKGLIST2=another.deb another2.deb
  for $pkg in $PKGLIST1; do
   ^ - I think the problem is right there ;)
dpkg --install $pkg  yes
  done

No, that's just metacode I wrote up to explain
what I'm doing. The reality is happening within
X hook scripts in pbuilder. I can also reproduce
the problem manually with specific packages that
are ill behaved wrt to de novo builds of base.tgz
files.

The error above was just a typo when I invented
the above rough explanation of what is going on.

In any case, I'm taking the thread to debian-boot
as that seems to be more appropriate since I got
around the debsigs problem which *was* a relevent
question here.

-- 
--
   IN MY NAME:Dale Amon, CEO/MD
  No Mushroom clouds over Islandone Society
London and New York.  www.islandone.org
--