Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

automatically unmerge older package release?

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
3 posts • Page 1 of 1
Author
Message
plm
n00b
n00b
Posts: 11
Joined: Sun Apr 14, 2002 5:45 am

automatically unmerge older package release?

  • Quote

Post by plm » Sun Apr 14, 2002 5:53 am

When I merge, say some-pkg-1.1-r3, the previous release remains installed too. Even using pkg-clean, supposed to find all doubly merged packages, doesn't find it (it only finds and unmerges double major releases).

Is there some flag to emerge that unmerges all older releases automatically after it has merged a newer version (--update)?
Top
fghellar
Bodhisattva
Bodhisattva
User avatar
Posts: 856
Joined: Wed Apr 10, 2002 1:04 am
Location: Porto Alegre, BR

  • Quote

Post by fghellar » Sun Apr 14, 2002 6:19 am

I don't know if it can currently be done automatically, but, after installing the newer version, you can remove all previous versions by doing

Code: Select all

emerge unmerge \<some-pkg-1.1-r3
This will unmerge all versions of some-pkg previous to 1.1-r3. That \ is required to escape the <.
| www.gentoo.org | www.tldp.org | www.google.com |
Top
tkdack
n00b
n00b
User avatar
Posts: 44
Joined: Fri Apr 12, 2002 4:22 am
Location: Sydney, Australia
Contact:
Contact tkdack
Website

  • Quote

Post by tkdack » Tue Apr 16, 2002 4:19 am

IIRC with the new versions of portage you can do:

Code: Select all

emerge --clean package
or

Code: Select all

emerge --clean --update world
There is also the pkg-clean app that is part of the gentoolkit package.
Troy
http://linux.tkdack.com

Former Gentoo contributor TaD
Top
Post Reply

3 posts • Page 1 of 1

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic