Re: duplicate packages after up2date failure

From: Claude Jones (claude_jones_at_levitjames.com)
Date: 10/10/05

  • Next message: Steven Pasternak: "Re: Macintosh Linux?"
    To: For users of Fedora Core releases <fedora-list@redhat.com>
    Date: Sun, 9 Oct 2005 18:18:16 -0400
    
    

    On Sun October 9 2005 5:53 pm, Damian Menscher wrote:
    >
    > We have 164 packages which are duplicated in this fashion. Meanwhile
    > up2date wants to update them (since we have the old version) but can't
    > (because we have the new version). So... I'm looking for advice on how
    > to handle this.
    >
    > My guess is that the cleanest thing to do is remove the newer of each
    > pair from the database and then run up2date, which should upgrade
    > everything (fixing any old files on disk). My proposed script for doing
    > this is:
    >
    > for file in `rpm -qa --queryformat="%{NAME} %{ARCH}\n" | sort | uniq -c |
    > grep -v " 1 " | cut -c 9- | cut -d" " -f1`; do rpm -q --last $file | head
    > -1 | cut -d" " -f1; done | xargs rpm -e --justdb up2date -p
    > up2date
    >
    > Does this look reasonable to everyone, or is there a better way to
    > handle this problem?
    >
    I had this happen a couple of times. It was suggested that I install Synaptic
    and apt - the Synaptic GUI is great for dealing with this exact issue. I
    found it to work as advertised. When you start it up, it will auto-detect a
    lot of these issues. It also offers a great interface for viewing the
    multiple versions and quickly deleting the redundancies. Others will have
    other suggestions, I'm sure.

    -- 
    Claude Jones
    Bluemont, VA, USA
    -- 
    fedora-list mailing list
    fedora-list@redhat.com
    To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
    

  • Next message: Steven Pasternak: "Re: Macintosh Linux?"

    Relevant Pages

    • Re: If you *need* blastwave in your work, PLEASE SAY SO HERE
      ... Sun in any way, and obfuscates the truth into a fantasy which he ... Subject: History of CSW ... > Several discussion took place as to why the community wanted this. ... Some of you might remember the first community packages that Phil had ...
      (comp.unix.solaris)
    • Re: Diff: Boxed vs Free distros of SUSE 9.0
      ... You can install SUSE on as ... some major new releases of the big packages I use (2.6 kernel, KDE 3.2, ... >> is quite blatant appears to be Java. ... You can download it for free from Sun (and that's the obvious ...
      (alt.os.linux.suse)
    • Re: Diff: Boxed vs Free distros of SUSE 9.0
      ... free-of-charge YOU updates. ... ISTR that Sun Microsystems don't allow Java to be included in free packages. ...
      (alt.os.linux.suse)
    • Re: Lenny?
      ... Sun Feb 15 11:35:06 ... Package: debian-archive-keyring ... GnuPG archive keys of the Debian archive ... 990 http://ftp.uk.debian.org testing/main Packages ...
      (Debian-User)
    • Re: Package management
      ... |the SMC* packages to be updated by Sun. Sticking with the SUNWapch* ... Other fixes depend on what Sun's strategy is for the package in ... As the example I'm most familiar with, Solaris 10 x86 includes version ...
      (comp.unix.solaris)