![]() |
[pkcon] list packages and their repository
Hi hall, I think this is a question for TMO, so I try asking here.
I'd like to know if there's a way to list installed packages, grouped by their (eventual) own repository. I installed a lot of things on my jolla, mainly via WareHouse but also by myself, and a lot of dependencies were installed as well. Now I'd like to tidy things a bit, leaving only what is really needed. So the question: can I understand what channel a package belongs to? Thanks. |
Re: [pkcon] list packages and their repository
afaik you can't get "from" repo package was installed. you only can get "what" repo provide package
|
Re: [pkcon] list packages and their repository
Quote:
|
Re: [pkcon] list packages and their repository
Quote:
Code:
zypper what-provides <package_name> Code:
zypper what-provides <package_name>|tail -1|awk '{print $11}' |
Re: [pkcon] list packages and their repository
I made this script to list "foreign" packages (packages that are not in any repository).
Code:
#!/bin/sh |
All times are GMT. The time now is 20:16. |
vBulletin® Version 3.8.8