Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: Remove packages from deleted repository

  1. #1
    Join Date
    Jan 2005
    Location
    Baltimore, MD, USA
    Beans
    865
    Distro
    Ubuntu Development Release

    Remove packages from deleted repository

    I recently removed the compiz repository in order to clean out the packages before I add it and try again.

    Is there a command that could list all the packages that are now no longer linked to a repository in my sources list? I want to downgrade what was upgraded, and remove what was added.
    Knowledge is half the battle.
    The other half is violence!

  2. #2
    Join Date
    Jun 2006
    Beans
    12

    Re: Remove packages from deleted repository

    *bump*

  3. #3
    Join Date
    Jul 2005
    Location
    Ljubljana, Slovenia
    Beans
    124
    Distro
    Ubuntu 6.06

    Re: Remove packages from deleted repository

    hehe, same here.... Found anything out?


    regards

  4. #4
    Join Date
    Mar 2005
    Location
    Pennsylvania
    Beans
    384
    Distro
    Ubuntu 11.10 Oneiric Ocelot

    Re: Remove packages from deleted repository

    Not a direct answer, but why not just:
    apt-get remove package-name
    apt-get update
    apt-get install package-name
    1. Intel Core 2 Duo E4500, ASUS P5L-VM 1394, GeForce 8600GT (PCI-e), WinTV PVR-150
    2. AMD Athlon 64 3500+, ACER FC51GM/Foxconn 6150K8MA-8EKRS, NVidia GeForce 6100, Netgear WG311T

  5. #5
    Join Date
    May 2006
    Beans
    129
    Distro
    Ubuntu 7.04 Feisty Fawn

    Re: Remove packages from deleted repository

    try gtkorphan. Its a graphic interface to the orphan command, which looks for uneeded packages.

  6. #6
    Join Date
    Jun 2006
    Location
    Houston, TX
    Beans
    366
    Distro
    Ubuntu

    Re: Remove packages from deleted repository

    Quote Originally Posted by mmcmonster View Post
    Not a direct answer, but why not just:
    apt-get remove package-name
    apt-get update
    apt-get install package-name
    the problem is in figuring out what package-names are

  7. #7
    Join Date
    Jun 2006
    Location
    Houston, TX
    Beans
    366
    Distro
    Ubuntu

    Re: Remove packages from deleted repository

    Quote Originally Posted by andb View Post
    try gtkorphan. Its a graphic interface to the orphan command, which looks for uneeded packages.
    This also won't catch everything - some packages are not orphaned, they just upgraded to "newer" versions

  8. #8
    Join Date
    Jan 2005
    Location
    Baltimore, MD, USA
    Beans
    865
    Distro
    Ubuntu Development Release

    Re: Remove packages from deleted repository

    My problem, as VirtuAlex said, is finding out which packages to uninstall. They are not orphans because I manually installed them. Consider the package "compiz". I installed it with "apt-get install compiz", so it will not show up as an orphan. But not that the repository has been removed, there is no available version.

    I was hoping to get a list of all packages that currently have no available version in the repository. I use aptitude always, so I don't have any orphaned packages.
    Knowledge is half the battle.
    The other half is violence!

  9. #9
    Join Date
    Aug 2006
    Location
    stockholm, sweden
    Beans
    2
    Distro
    Ubuntu 6.06

    Re: Remove packages from deleted repository

    Could this be what you are looking for?
    apt-show-versions | grep 'No available'

  10. #10
    Join Date
    Jul 2006
    Beans
    26
    Distro
    Xubuntu

    Re: Remove packages from deleted repository

    Quote Originally Posted by Gathers View Post
    Could this be what you are looking for?
    apt-show-versions | grep 'No available'
    YEEES ! wonderful, thanks a thousand times, this will finally allow me to get rid of the mess in my packages after trying glx.

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •