find packages installed from e.g. sid which are newer than those available from e.g. testing when sid is no longer present as a source repo

aptitude search -F '%p %v %V %O' '?narrow(?not(?archive("^[^n][^o].*$")),?version(CURRENT))' | while IFS=' ' read -r pkg ver candidate origin; do if [[ $ver == "$candidate" ]] && [[ $origin == '(installed locally)' ]]; then echo "$pkg"; fi; done
This is useful if you add sid, install some packages, then remove sid and want to work out which packages you installed from sid that should be removed (e.g. before an upgrade to the new stable). Alternatively you can think of this as "find installed packages that can no longer be installed."

0
By: sorpigal
2021-12-26 15:57:15

What Others Think

https://medical-phd.blogspot.com/ https://ma-study.blogspot.com/
medicalphd · 4 weeks and 4 days ago
Most of the p[eople have no idea about the email connector. They are reading bout this connector through this blog. I am also reading about it and visit https://www.builtinnyc.com/event/10-benefits-working-part-time-job-student/129431 the for the very first time. So also going to share bout this blog with my friends to let them know about it.
BeauRabinovitch · 4 weeks and 2 days ago
Thanks for sharing this amazing code. I've been working on the website of
jennkim · 4 weeks and 2 days ago
This is such a very important as well as useful website. From this website we will get lots of information regarding the technical side of programming. If you have any netherlands hosting doubts regarding the programming code that is mentioned on this website just contact the technical team for more update
leonamargret · 4 weeks and 2 days ago
Coaching marketing nn Lorem ipsumnn Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in . marketing coaching firm
hiknigarde · 4 weeks ago
Genyoutube
thecosmostips12 · 3 weeks and 6 days ago
DUNIABET99 - SITUS JUDI ONLINE TERBAIK DAN TERLENGKAP, TERSEDIA BERBAGAI PERMAINAN JUDI ONLINE. DUNIABET99 memiliki permainan judi online terbaik dan . agen IDN Poker terbaik
hiknigarde · 3 weeks and 4 days ago
Superb post but I was wanting to know if you could write a litte more on this subject? I’d be very thankful if you could elaborate a little bit more. Thanks! blowjob
wenilak444 · 3 weeks and 4 days ago
Good Post, I am a big believer in placing comments on weblogs to help the blog writers know that they’ve added something advantageous to the world wide web! ????????
wenilak444 · 3 weeks and 4 days ago
Great articles and great layout. Your blog post deserves all of the positive feedback it’s been getting. ????????
wenilak444 · 3 weeks and 4 days ago
I’m having a small problem. I’m unable to subscribe to your rss feed for some reason. I’m using google reader by the way. ????????
wenilak444 · 3 weeks and 4 days ago
You’ve made various nice points there. I did specific search terms around the matter and found mainly individuals will believe your site ????????
wenilak444 · 3 weeks and 4 days ago
You’ve made various nice points there. I did specific search terms around the matter and found mainly individuals will believe your site ????????
wenilak444 · 3 weeks and 4 days ago
This is a really great post and thanks for sharing this useful information with us.
kundlijyotish · 3 weeks and 2 days ago
happiness is only real when shared. share happiness by clicking this link gainseville cleaners
TamaraYeo · 3 weeks and 2 days ago
[url=https://www.kavya-arora.in/mumbai-escorts.html]Escorts Services in Mumbai[/url] |
sharmaparul7355 · 3 weeks and 2 days ago
I did specific search terms around the matter and found mainly individuals will believe your site slotxo
noctis002 · 3 weeks and 1 day ago
best series
Angela224 · 2 weeks and 6 days ago
Thanks for sharing this code. It will really go a long way. Great work. Basildon Roofing Service
Angela224 · 2 weeks and 6 days ago
A very awesome article post. We are really grateful for your article post. You will find a lot of approaches after visiting your post. I was exactly searching for. Thanks for such post and please keep it up. LiteBlue
Hollywq · 2 weeks and 5 days ago
https://magictruffles-magicmushoorms.com/product/psilocybe-azurescens/ https://magictruffles-magicmushoorms.com/product/thai-mushrooms/ https://magictruffles-magicmushoorms.com/product/psilocybe-cubensis/ https://magictruffles-magicmushoorms.com/product/albino-penis-envy-mushrooms/ https://magictruffles-magicmushoorms.com/product/buy-golden-teacher-mushrooms-online/ https://magictruffles-magicmushoorms.com/product/bulk-truffles/
oxycodonehcl · 2 weeks and 4 days ago
Gotoassignmenthelp is team of leading professional writers for assignment help online Writing Services to students all around the world. Contact us today for Best pay for assignment at very affordable price. Under GotoAssignmentHelp we provide many types of help to the students. We are the most reliable assignment helpers. We have gained our specialization after spending most of our times in making ourselves perfect. We providing 100% plagiarism free Assignment Help. At the point when you pick our java assignment help assistance, our faculty will consider the quality and your evaluation criteria.
annybank2018 · 2 weeks and 2 days ago
Really interesting article, I will follow you more often. Recently I faced the problem of finding a good IT company to develop a website for watching movies, and many friends recommended Chudovo, and they really helped me a lot at all stages of development, so I can safely recommend it to you. https://chudovo.com/web-development/
DenisDev · 2 weeks and 1 day ago
I found your this post while searching for information about blog-related research . It's a good post .. keep posting and updating information. Buy active YouTube Subscriber SMM Bear
SMMBear · 2 weeks and 1 day ago
Buy Psychedelics Online in USA here at your favorite psychedelics shop. Welcome to the BuyPsychedelicsUSA, The place for all your psychedelic drug and herbs. You’re at the right place to receive new experiences, insights, experiences. BuyPsychedelicsUSA has a large collection of products such as DMT, Magic Mushroom ,LSD , kratom, Ayahuasca and more . buy psychedelics online Take the time to see everything and don’t hesitate to contact us if you have questions or for advice. buy legal psychedelics online is usa uk and australia. buy dmt online buy lsd online buy ayahuasca online ibogaine for sale mdma for sale buy kratom online buy mescaline online buy mushroom online buy psychedelics online usa 4 ACO DMT For Sale Buy 5 MEO DMT Online buy dmt online NN DMT Erowid For Sale dmt vape pens for sale Changa DMT buy lsd gel tabs liquid lsd for sale buy lsd online buy psychedelics online Buy dmt online 5 meo dmt for sale 4-aco-dmt for sale dmt dose how to smoke dmt whats dmt making dmt 4aco dmt smooking dmt mushroom edibles magic mushroom chocolate how to make dmt how long does dmt last buy magic mushrooms online stiiizy pods buy magic mushrooms online Psychedelic Magic Mushrooms For Sale Online Where Can I get Psilocybin Mushroom Online What Are Psilocybins Mushroom buy magic mushrooms online shop dry magic mushroom buy mushroom capsules online shop psilocybin magic mushroom buy magic mushroom edibles buy thc carts online buy thc carts online THC Vapes Carts For Sale Buy Prefilled Vape Cartridges THC Vape Pens For Sale Best THC Vape Cartridge buy dmt online buy lsd online buy psychedelics online Buy dmt online 5 meo dmt for sale 4-aco-dmt for sale https://thcbulksupplies.com buy weed online buy stiiizy pods online buy marijuana online with worldwide shipping buy weed online usa buy weed online Weed For Sale Online in USA where to buy weed online Buying Weed Online Where To Buy Weed Online in USA Buy magic mushrooms Buy nembutal Online 4 aco dmt australia 4 aco dmt buy usa 4 aco dmt for sale 4 aco dmt supplier 4 aco dmt uk 5 meo dmt buy 5 meo dmt where to buy acid blotter paper ayahuasca tea canada Ayahuasca tea for sale buy 5 meo dmt Canada buy 5 meo dmt online Buy ayahuasca tea online Buy DMT Buy DMT online Buy DMT online Canada buy dmt online usa buy dmt vape pen buy liquid lsd Buy lsd Buy LSD acid Buy LSD Gel Tabs online buy lsd online buy LSD tabs online buy lysergic acid DMT for sale dmt pen dmt vape DMT Vape Pen DMT vape pen for sale online dmt vape pens DMT Vape Cartridge LSD acid for sale LSD blotter paper for sale LSD blotter sale lsd blotters for sale lsd for sale lsd for sale online lsd gel tabs lsd tabs for sale lysergic acid for sale Order ayahuasca tea online purchase ayahuasca tea Where can I buy 5-MeO-DMT online Where can I buy ayahuasca tea a href="https://thcbulksupplies.com/"rel="dofollow">buy weed online buy stiiizy pods online buy marijuana online with worldwide shipping buy marijuana edibles online smart bud moon rocks for sale buy cbd oil online dank vapes for sale order brass knuckles online stiiizy pod exotic carts moon rocks drugs buying weed online acdc weed granddaddy purple near me buy new york city diesel grape god strain buy 30 cannabis fat burner capsules buy marijuana flowers online buy sun rocks online buy red congolese live resin online buy pre-rolled joints online buy real weed onlin cheape buy sour diesel online mail order weed order marijuana online weed for sale pineapple punch strain backwood preroll where can i buy weed online buy weed online usa tko carts order weed online buy medical weed online buy weed online usa buy legal weed online where can i buy weed online can you buy weed online order marijuana online marathon-og buy psychedelics online in usa buy weed online in usa
snupdablogger · 1 week and 3 days ago
I really enjoyed reading your article. I would like to thank you for the effort you made in writing this article. cheap smm panel
smmpanels · 6 days ago

What do you think?

Any thoughts on this command? Does it work on your machine? Can you do the same thing with only 14 characters?

You must be signed in to comment.

What's this?

commandlinefu.com is the place to record those command-line gems that you return to again and again. That way others can gain from your CLI wisdom and you from theirs too. All commands can be commented on, discussed and voted up or down.

Share Your Commands



Stay in the loop…

Follow the Tweets.

Every new command is wrapped in a tweet and posted to Twitter. Following the stream is a great way of staying abreast of the latest commands. For the more discerning, there are Twitter accounts for commands that get a minimum of 3 and 10 votes - that way only the great commands get tweeted.

» http://twitter.com/commandlinefu
» http://twitter.com/commandlinefu3
» http://twitter.com/commandlinefu10

Subscribe to the feeds.

Use your favourite RSS aggregator to stay in touch with the latest commands. There are feeds mirroring the 3 Twitter streams as well as for virtually every other subset (users, tags, functions,…):

Subscribe to the feed for: