Minor bug found in removepkg - Slackware

This is a discussion on Minor bug found in removepkg - Slackware ; Hi, if /var/log/packages has only one package (the one we want to remove), removepkg will stay for eternity at the line: cat_except $ADM_DIR/packages $PKGNAME | sort -u > $TMP/required_list$$ ciao. -- On dira ce qu'on voudra, j'閠ais pas un petit ...

+ Reply to Thread
Results 1 to 14 of 14

Thread: Minor bug found in removepkg

  1. Minor bug found in removepkg

    Hi, if /var/log/packages has only one package (the one we want to
    remove), removepkg will stay for eternity at the line:

    cat_except $ADM_DIR/packages $PKGNAME | sort -u > $TMP/required_list$$


    ciao.

    --
    On dira ce qu'on voudra, j'閠ais pas un petit loubard comme les autres.
    (Rocky)

  2. Re: Minor bug found in removepkg

    Grant wrote:
    > On Sun, 20 Jan 2008 16:21:06 +0100, ciol wrote:
    >
    >> Hi, if /var/log/packages has only one package (the one we want to
    >> remove), removepkg will stay for eternity at the line:
    >>
    >> cat_except $ADM_DIR/packages $PKGNAME | sort -u > $TMP/required_list$$

    >
    > How can slackware run at all with only one remaining package?
    >
    > Grant.


    Slackware can't but Gniarf Linux can.


    --
    On dira ce qu'on voudra, j'閠ais pas un petit loubard comme les autres.
    (Rocky)

  3. Re: Minor bug found in removepkg

    On Sun, 20 Jan 2008 16:21:06 +0100, ciol wrote:

    >Hi, if /var/log/packages has only one package (the one we want to
    >remove), removepkg will stay for eternity at the line:
    >
    >cat_except $ADM_DIR/packages $PKGNAME | sort -u > $TMP/required_list$$


    How can slackware run at all with only one remaining package?

    Grant.
    --
    http://bugsplatter.mine.nu/

  4. Re: Minor bug found in removepkg

    In newsgroup alt.os.linux.slackware, ciol wrote:

    >
    > Slackware can't but Gniarf Linux can.
    >


    Is that you?

    ----> Gniarf aka Olivier Souiry
    ----> http://gniarf.nerim.net/colinux/

    Joe

  5. Re: Minor bug found in removepkg

    Joe wrote:
    > In newsgroup alt.os.linux.slackware, ciol wrote:
    >
    >> Slackware can't but Gniarf Linux can.
    >>

    >
    > Is that you?
    >
    > ----> Gniarf aka Olivier Souiry
    > ----> http://gniarf.nerim.net/colinux/
    >
    > Joe


    No.
    Thanks for the link.

    --
    On dira ce qu'on voudra, j'閠ais pas un petit loubard comme les autres.
    (Rocky)

  6. Re: Minor bug found in removepkg

    +Alan Hicks+ wrote:
    > -----BEGIN PGP SIGNED MESSAGE-----
    > Hash: SHA1
    >
    > On 2008-01-20, ciol wrote:
    >> Hi, if /var/log/packages has only one package (the one we want to
    >> remove), removepkg will stay for eternity at the line:
    >>
    >> cat_except $ADM_DIR/packages $PKGNAME | sort -u > $TMP/required_list$$

    >
    > You need to give us moe information. How exactly are you running
    > Slackware with just this one package in place? You mentioned something
    > about an additional Linux distribution, so the waters are exceptionally
    > muddy at the moment. There's no way for u to replicate the bug, since
    > as another poster pointed out, Slackware shouldn't even be running with
    > only a single package installed (that package would have to be pkgtools
    > after all, if you have removepkg installed).
    >
    > - --
    > It is better to hear the rebuke of the wise,
    > Than for a man to hear the song of fools.
    > Ecclesiastes 7:5
    > -----BEGIN PGP SIGNATURE-----
    > Version: GnuPG v1.4.7 (GNU/Linux)
    >
    > iD8DBQFHlPnPrZS6hX/gvjoRAuhRAKC+ctGZdbosyH9OOCT1QbAQoG52kwCfWW8x
    > GrXiWrKJaxffn1n3RXqzLv0=
    > =wB8R
    > -----END PGP SIGNATURE-----


    See the -root option of installpkg.

    --
    On dira ce qu'on voudra, j'閠ais pas un petit loubard comme les autres.
    (Rocky)

  7. Re: Minor bug found in removepkg

    -----BEGIN PGP SIGNED MESSAGE-----
    Hash: SHA1

    On 2008-01-20, ciol wrote:
    > Hi, if /var/log/packages has only one package (the one we want to
    > remove), removepkg will stay for eternity at the line:
    >
    > cat_except $ADM_DIR/packages $PKGNAME | sort -u > $TMP/required_list$$


    You need to give us moe information. How exactly are you running
    Slackware with just this one package in place? You mentioned something
    about an additional Linux distribution, so the waters are exceptionally
    muddy at the moment. There's no way for u to replicate the bug, since
    as another poster pointed out, Slackware shouldn't even be running with
    only a single package installed (that package would have to be pkgtools
    after all, if you have removepkg installed).

    - --
    It is better to hear the rebuke of the wise,
    Than for a man to hear the song of fools.
    Ecclesiastes 7:5
    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.4.7 (GNU/Linux)

    iD8DBQFHlPnPrZS6hX/gvjoRAuhRAKC+ctGZdbosyH9OOCT1QbAQoG52kwCfWW8x
    GrXiWrKJaxffn1n3RXqzLv0=
    =wB8R
    -----END PGP SIGNATURE-----

  8. Re: Minor bug found in removepkg

    On 2008-01-20, ciol wrote:
    > Hi, if /var/log/packages has only one package (the one we want to
    > remove), removepkg will stay for eternity at the line:
    >
    > cat_except $ADM_DIR/packages $PKGNAME | sort -u > $TMP/required_list$$
    >



    Fixed in -current for a few weeks now:

    Fri Dec 21 19:03:54 CST 2007
    a/pkgtools-12.1.0-noarch-2.tgz: Fixed a regex bug in a grep in installpkg that
    could cause packages that do not conform to the FHS (those containing single-
    character top-level directories) to not be removable or upgradeable through
    the pkgtools. Thanks to Johnny Morano for pointing this ancient bug out.
    Made the top-line with -infobox more terse since some of the package names
    have become too long to fit, and were disturbing the infobox's formatting.

    -RW

  9. Re: Minor bug found in removepkg

    -----BEGIN PGP SIGNED MESSAGE-----
    Hash: SHA1

    On 2008-01-21, ciol wrote:
    > See the -root option of installpkg.


    Doh! This is one of those slap your forehead moments. :^)

    - --
    It is better to hear the rebuke of the wise,
    Than for a man to hear the song of fools.
    Ecclesiastes 7:5
    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.4.7 (GNU/Linux)

    iD8DBQFHlhlyrZS6hX/gvjoRAne9AJ0TzGqo0kcri3pbA+qIZVGOLKh2HQCg22eL
    +hhPFHFwc45uDJW6o6bGkFA=
    =T8+y
    -----END PGP SIGNATURE-----

  10. Re: Minor bug found in removepkg

    +Alan Hicks+ wrote:
    > -----BEGIN PGP SIGNED MESSAGE-----
    > Hash: SHA1
    >
    > On 2008-01-21, ciol wrote:
    >> See the -root option of installpkg.

    >
    > Doh! This is one of those slap your forehead moments. :^)



    Sorry, but I am not strong enough in English to understand.

    > - --
    > It is better to hear the rebuke of the wise,
    > Than for a man to hear the song of fools.
    > Ecclesiastes 7:5
    > -----BEGIN PGP SIGNATURE-----
    > Version: GnuPG v1.4.7 (GNU/Linux)
    >
    > iD8DBQFHlhlyrZS6hX/gvjoRAne9AJ0TzGqo0kcri3pbA+qIZVGOLKh2HQCg22eL
    > +hhPFHFwc45uDJW6o6bGkFA=
    > =T8+y
    > -----END PGP SIGNATURE-----



    --
    On dira ce qu'on voudra, j'閠ais pas un petit loubard comme les autres.
    (Rocky)

  11. Re: Minor bug found in removepkg - VF

    loki harfagr wrote:
    > On Tue, 22 Jan 2008 19:17:10 +0100, ciol wrote:
    >
    >> +Alan Hicks+ wrote:
    >>> -----BEGIN PGP SIGNED MESSAGE-----
    >>> Hash: SHA1
    >>>
    >>> On 2008-01-21, ciol wrote:
    >>>> See the -root option of installpkg.
    >>> Doh! This is one of those slap your forehead moments. :^)

    >>
    >> Sorry, but I am not strong enough in English to understand.

    >
    > Here you are:
    >
    >>> Doh! This is one of those slap your forehead moments. :^)

    >
    > "G芒 ! Des fois comme celle-ci je me collerais des claques ...:^)"
    >
    > ou en version mixte Gast茅rix :
    >
    > "Br么么么 ! BLAFFF !!!"
    >
    >
    > Allez, tant qu'on y est, un poil d'Oulipo :
    >
    >>> - --
    >>> It is better to hear the rebuke of the wise, Than for a man to hear the
    >>> song of fools. Ecclesiastes 7:5

    >
    > "
    > C'est du beurre au li猫vre de booker la belette, Dix sur l'homme
    > pendant que le lapin chante le corps 茅lectrique. Sortie le 5 Juillet.
    > "



    Translation tools are very bad. Do not use them.


    --
    On dira ce qu'on voudra, j'茅tais pas un petit loubard comme les autres.
    (Rocky)

  12. Re: Minor bug found in removepkg - VF

    ciol wrote:
    > loki harfagr wrote:
    >> On Tue, 22 Jan 2008 19:17:10 +0100, ciol wrote:
    >>
    >>> +Alan Hicks+ wrote:
    >>>> -----BEGIN PGP SIGNED MESSAGE-----
    >>>> Hash: SHA1
    >>>>
    >>>> On 2008-01-21, ciol wrote:
    >>>>> See the -root option of installpkg.
    >>>> Doh! This is one of those slap your forehead moments. :^)
    >>>
    >>> Sorry, but I am not strong enough in English to understand.

    >>
    >> Here you are:
    >>
    >>>> Doh! This is one of those slap your forehead moments. :^)

    >>
    >> "G芒 ! Des fois comme celle-ci je me collerais des claques ...:^)"
    >>
    >> ou en version mixte Gast茅rix :
    >>
    >> "Br么么么 ! BLAFFF !!!"
    >>
    >>
    >> Allez, tant qu'on y est, un poil d'Oulipo :
    >>
    >>>> - --
    >>>> It is better to hear the rebuke of the wise, Than for a man to hear the
    >>>> song of fools. Ecclesiastes 7:5

    >>
    >> "
    >> C'est du beurre au li猫vre de booker la belette, Dix sur l'homme
    >> pendant que le lapin chante le corps 茅lectrique. Sortie le 5 Juillet.
    >> "

    >
    >
    > Translation tools are very bad. Do not use them.
    >
    >


    Sorry I did not understand your humor.

    --
    On dira ce qu'on voudra, j'茅tais pas un petit loubard comme les autres.
    (Rocky)

  13. Re: Minor bug found in removepkg - VF

    On Tue, 22 Jan 2008 19:17:10 +0100, ciol wrote:

    > +Alan Hicks+ wrote:
    >> -----BEGIN PGP SIGNED MESSAGE-----
    >> Hash: SHA1
    >>
    >> On 2008-01-21, ciol wrote:
    >>> See the -root option of installpkg.

    >>
    >> Doh! This is one of those slap your forehead moments. :^)

    >
    >
    > Sorry, but I am not strong enough in English to understand.


    Here you are:

    >> Doh! This is one of those slap your forehead moments. :^)


    "G芒 ! Des fois comme celle-ci je me collerais des claques ...:^)"

    ou en version mixte Gast茅rix :

    "Br么么么 ! BLAFFF !!!"


    Allez, tant qu'on y est, un poil d'Oulipo :

    >> - --
    >> It is better to hear the rebuke of the wise, Than for a man to hear the
    >> song of fools. Ecclesiastes 7:5


    "
    C'est du beurre au li猫vre de booker la belette, Dix sur l'homme
    pendant que le lapin chante le corps 茅lectrique. Sortie le 5 Juillet.
    "

  14. Re: Minor bug found in removepkg

    -----BEGIN PGP SIGNED MESSAGE-----
    Hash: SHA1

    On 2008-01-22, ciol wrote:
    >> Doh! This is one of those slap your forehead moments. :^)

    >
    > Sorry, but I am not strong enough in English to understand.


    When you do something stupid, or when you don't see something that's
    obvious, you might hit yourself in the forehead as a type of
    self-punishment. That is all.

    - --
    It is better to hear the rebuke of the wise,
    Than for a man to hear the song of fools.
    Ecclesiastes 7:5
    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.4.7 (GNU/Linux)

    iD8DBQFHll2ErZS6hX/gvjoRAvn3AJsHQuJFLCKpe+jyBE9WrzBPfDZtZwCeI+53
    IN61tKLC3B0Jb5wcZ5zM9bk=
    =r1rN
    -----END PGP SIGNATURE-----

+ Reply to Thread