rpmbuild and upgrades

From: Mike McGrath (mmcgrath_at_iesabroad.org)
Date: 08/24/05

  • Next message: Christopher K. Johnson: "Re: ftp problem to windows 2000 server"
    Date: Wed, 24 Aug 2005 11:25:31 -0500
    To: "For users of Fedora Core releases" <fedora-list@redhat.com>
    
    

    I'm having difficulty with building an RPM file to upgrade. The issue
    comes when I need to add and delete a user. In the spec file I have it
    creating the user in %pre and removing the user in %postun. I'm using
    useradd and userdel to create and delete the user. When I build and
    install the RPM everything works as expected, same goes when I remove
    it. But when I do an rpm -U for an upgrade for some reason when all is
    said and done the user does not exist. Anyone know what's going on?
             
    -------------------
    Michael P. McGrath
    Senior Systems Engineer

    -- 
    fedora-list mailing list
    fedora-list@redhat.com
    To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
    

  • Next message: Christopher K. Johnson: "Re: ftp problem to windows 2000 server"

    Relevant Pages

    • Re: rpmbuild and upgrades
      ... > I'm having difficulty with building an RPM file to upgrade. ... When I build and install the RPM everything ...
      (Fedora)
    • Re: I am NOT a troll
      ... listen to the track and then when one song ended and one was about ... I -e'd the rpm, re-installed it, same thing. ... couldn't because of gtk - I couldn't upgrade gtk, ...
      (alt.os.linux.suse)
    • RE: Help - Upgrading system libraries
      ... Why does RPM ... When I try to do glibc upgrade, ... Help - Upgrading system libraries ... > I have a RedHat 6.2 installation that I would like to upgrade with the ...
      (RedHat)
    • Re: Glibc 2.3 (Re: New SuSE packages)
      ... I tried upgrading from glibc-2.2 only to hose my rpm system, ... I posted a query to this NG a while back apropos how to upgrade glibc ... > unearths similar glibc upgrade probs for RedHat. ... and install in the same directories as the original RPMs. ...
      (alt.os.linux.suse)
    • Re: Upgrading to Fedora 9 from Fedora 8 fails
      ... This is the first time an upgrade resulted in such a puzzle. ... Make sure that glibc and rpm are upgraded, first, then grub and initrd rpms. ... After rebooting, remount the F9 install disk, go back into the packages subdirectory, then try running rpm -UvhF *.rpm, and see what happens. ... The big clue was that Fedora 9 upgrade process had many problems. ...
      (Fedora)

    Loading