Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
equery & Co - Option Slot Pakete anzeigen
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
Neo_0815
l33t
l33t


Joined: 24 Feb 2003
Posts: 815
Location: Leipzig

PostPosted: Mon Oct 17, 2005 11:10 am    Post subject: equery & Co - Option Slot Pakete anzeigen Reply with quote

Hallo,

gibt ein Tool oder n Option aus den gentoolkit Tools, womit ich mir alle Pakete anzeigen kann die Slot Versionen aufweisen.

Ich habe bestimmt einige "Altlasten" noch dabei, die durch neue Versionen im Slot ersetzt wurden - nun würd ich gern alle alten Versionen "entfernen", gibts einen einfachen Weg dies zu tun?

Gruß
_________________
[img:76661e22b8]http://www.biersekte.de/biersektebanner.gif[/img:76661e22b8]
Back to top
View user's profile Send private message
smg
Veteran
Veteran


Joined: 13 Aug 2004
Posts: 1402
Location: /home/stephan

PostPosted: Mon Oct 17, 2005 1:58 pm    Post subject: Reply with quote

Hy!
Es gibt bestimmt ein Tool das dies kann!
Ich kenne leider kein Tool das es kann..
Ich würde mir einfach von meinen installieren Sachen die slotteten Items anzeigen lassen und dann entscheiden welche ich unmergen will! ;-)
So z.B..
Code:

find /var/db/pkg/ -iname "SLOT" -exec grep -Hir [^0] {} \; | sed 's/^\/var\/db\/pkg\///'


Cheers.
_________________
GnuPG-Key-ID: 0xF8C275D4
Fingerprint: 5B6F 134A 189B A24D 342B 0961 8D4B 0230 F8C2 75D4
Code:
perl -WTe '($")=$/;print qq(@{[reverse('0'..'100')]}$/BOOM!$/);'
Back to top
View user's profile Send private message
STiGMaTa_ch
Veteran
Veteran


Joined: 28 Dec 2004
Posts: 1686
Location: Rüti ZH / Schweiz

PostPosted: Mon Oct 17, 2005 2:04 pm    Post subject: Reply with quote

Aehmm....

Code:
qpkg --help
[...]
Duplicate Locating:
  -d,  --dups           print packages that have multiple versions installed
  -s,  --slot           make -d SLOT only print dups of the same SLOT
[...]

ergibt bei mir
Code:
dev-libs/glib
media-libs/freetype
sys-devel/autoconf
sys-devel/automake
sys-libs/db
x11-libs/gtk+


Oder meintest du was anderes?

Lieber Gruss
STiGMaTa
Back to top
View user's profile Send private message
smg
Veteran
Veteran


Joined: 13 Aug 2004
Posts: 1402
Location: /home/stephan

PostPosted: Mon Oct 17, 2005 2:07 pm    Post subject: Reply with quote

STiGMaTa_ch wrote:
Aehmm....

Code:
qpkg --help
[...]
Duplicate Locating:
  -d,  --dups           print packages that have multiple versions installed
  -s,  --slot           make -d SLOT only print dups of the same SLOT
[...]

ergibt bei mir
Code:
dev-libs/glib
media-libs/freetype
sys-devel/autoconf
sys-devel/automake
sys-libs/db
x11-libs/gtk+



Oder meintest du was anderes?

Lieber Gruss
STiGMaTa


Dies ist perfekt. ;-)

Cheers.
_________________
GnuPG-Key-ID: 0xF8C275D4
Fingerprint: 5B6F 134A 189B A24D 342B 0961 8D4B 0230 F8C2 75D4
Code:
perl -WTe '($")=$/;print qq(@{[reverse('0'..'100')]}$/BOOM!$/);'
Back to top
View user's profile Send private message
Neo_0815
l33t
l33t


Joined: 24 Feb 2003
Posts: 815
Location: Leipzig

PostPosted: Mon Oct 17, 2005 4:42 pm    Post subject: Reply with quote

STiGMaTa_ch wrote:
Aehmm....

Code:
qpkg --help
[...]
Duplicate Locating:
  -d,  --dups           print packages that have multiple versions installed
  -s,  --slot           make -d SLOT only print dups of the same SLOT
[...]

ergibt bei mir
Code:
dev-libs/glib
media-libs/freetype
sys-devel/autoconf
sys-devel/automake
sys-libs/db
x11-libs/gtk+



Oder meintest du was anderes?

Lieber Gruss
STiGMaTa


Da qpkg deprecated ist, hab ich nur bei equery geschaut und nichts gefunden :(.

Gibts die Option auch bei den aktuellen Tools?

Gruß
_________________
[img:76661e22b8]http://www.biersekte.de/biersektebanner.gif[/img:76661e22b8]
Back to top
View user's profile Send private message
_hephaistos_
Advocate
Advocate


Joined: 07 Apr 2004
Posts: 2694
Location: salzburg, austria

PostPosted: Mon Oct 17, 2005 6:14 pm    Post subject: Reply with quote

qpkg gibts seit dem neuen gentoolkit gar nicht mehr ;-(
prlock funktioniert daher auch nimma *schnieeeef*
_________________
-l: signature: command not found
Back to top
View user's profile Send private message
reyneke
Guru
Guru


Joined: 09 Jan 2004
Posts: 542
Location: Augsburg / Germany

PostPosted: Mon Oct 17, 2005 6:30 pm    Post subject: Reply with quote

qpkg ist schon noch mit dabei, bloß etwas versteckt in /usr/lib/gentoolkit/bin.
HTH.
_________________
I like to wait to see how things turn out
If You Apply Some Pressure
WHAT HAPPENS when you lose EVERYTHING?
You start again.
You start all over again.

Maximo Park - Apply Some Pressure
Back to top
View user's profile Send private message
gentop
l33t
l33t


Joined: 29 Nov 2004
Posts: 639

PostPosted: Mon Oct 17, 2005 6:37 pm    Post subject: Reply with quote

_hephaistos_ wrote:
qpkg gibts seit dem neuen gentoolkit gar nicht mehr ;-(
prlock funktioniert daher auch nimma *schnieeeef*


Kannst das Skript ja einfach anpassen. Alle installierten Packete sind doch in /var/db/pkg/ gelistet (oder sehe ich da was grundlegend falsch?).

//gentop
Back to top
View user's profile Send private message
Neo_0815
l33t
l33t


Joined: 24 Feb 2003
Posts: 815
Location: Leipzig

PostPosted: Mon Oct 17, 2005 7:23 pm    Post subject: Reply with quote

Naja aber wenn man ein Tool als deprecated markiert, sollte man doch erwarten können als User, das das favoured Tool diesselbe Funktionalität bietet oder nicht?

Gruß
_________________
[img:76661e22b8]http://www.biersekte.de/biersektebanner.gif[/img:76661e22b8]
Back to top
View user's profile Send private message
chrib
Guru
Guru


Joined: 27 Sep 2003
Posts: 558
Location: Berlin, Germany

PostPosted: Mon Oct 17, 2005 7:54 pm    Post subject: Reply with quote

Neo_0815 wrote:
Naja aber wenn man ein Tool als deprecated markiert, sollte man doch erwarten können als User, das das favoured Tool diesselbe Funktionalität bietet oder nicht?

Theoretisch ja, ABER bisher hat halt noch niemand die entsprechende Funktionalität in equery eingebaut. Also, setze Dich dran und behebe den Missstand, reiche den Patch ein und er wird eventuell akzeptiert. Unterstütze die Distribution Deiner Wahl. :)
_________________
Der Mensch kämpft um zu überleben, und nicht, um zu Grunde zu gehen. - Paulo Coelho
It is the end of all hope. To lose the child, the faith. To end all the innocence. To be someone like me. - Nightwish - End of all hope
Back to top
View user's profile Send private message
Neo_0815
l33t
l33t


Joined: 24 Feb 2003
Posts: 815
Location: Leipzig

PostPosted: Mon Oct 17, 2005 8:01 pm    Post subject: Reply with quote

chrib wrote:
Neo_0815 wrote:
Naja aber wenn man ein Tool als deprecated markiert, sollte man doch erwarten können als User, das das favoured Tool diesselbe Funktionalität bietet oder nicht?

Theoretisch ja, ABER bisher hat halt noch niemand die entsprechende Funktionalität in equery eingebaut. Also, setze Dich dran und behebe den Missstand, reiche den Patch ein und er wird eventuell akzeptiert. Unterstütze die Distribution Deiner Wahl. :)


Gerne doch - aber ich lern grad Perl, da hab ich genug zu tun mit - da bleibt für Python nix über ;) - das muss also warten.

Gruß
_________________
[img:76661e22b8]http://www.biersekte.de/biersektebanner.gif[/img:76661e22b8]
Back to top
View user's profile Send private message
gentop
l33t
l33t


Joined: 29 Nov 2004
Posts: 639

PostPosted: Tue Oct 18, 2005 9:55 am    Post subject: Reply with quote

gentop wrote:
Kannst das Skript ja einfach anpassen. Alle installierten Packete sind doch in /var/db/pkg/ gelistet


Hab da mal was geändert... Bei mir funktioniert es jetzt wieder wunderbar. Sagt mir bitte bei Fehlern bescheid.

//gentop
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum