Manjaro Linux Forum

Technical Issues and Assistance => Package Management => Topic started by: Strandvaskeren on 21. April 2016, 08:55:27

Title: Roll back feature, an automatic downgrade option?
Post by: Strandvaskeren on 21. April 2016, 08:55:27
It's been a while since I had to downgrade anything, normally everything works just fine. Last time were a year ago or so, some intel graphics driver issue where I had to roll back to an older driver a couple of times after doing general upgrades.

It's awesome that the system keeps a cache of older versions and allowing you to downgrade at all, all thumbs up - however it's not always easy to figure out which package to downgrade if your system gets messed up.

Once in a while pamac tells me it has 52 new upgrades. I prefer using yaourt for the job but that's besides the point. I do the upgrade and as I said, normally everything keeps working just fine. But in those rare cases where it doesn't it would be awesome to have a function to roll back those 52 new upgrades.

Now I could just do a ls -ltr on /var/cache/pacman/pkg and start using yaourt -U on everything from today but it can be quite a lot of work.

Ideally I should dig into which package is the culprit and do a bug report, but that isn't always in the cards time wise.

Is there any sneaky command that lets me just roll back all "todays" upgrades, getting me back to "yesterdays" version that worked?
Title: Re: Roll back feature, an automatic downgrade option?
Post by: handy on 21. April 2016, 13:43:59
Surely some smart script writer must have created a script where you can enter a date/time & have pacman/yaourt downgrade all of the packages since that date & time. Someone could even stick a GUI in front of such a script & make it fancy too.

Hasn't this been done yet?

I personally don't know as I usually go beyond a year between ever having to downgrade a package or packages. So such a tool is of no value to me.
Title: Re: Roll back feature, an automatic downgrade option?
Post by: excalibur1234 on 21. April 2016, 13:50:59
Is there any sneaky command that lets me just roll back all "todays" upgrades, getting me back to "yesterdays" version that worked?
i do not know about something like that.


i always downgrade using the following commands. in most cases, i have a rough idea which packages could be the cause for a system breakage and which packages are harmless:


"tail -2000 /var/log/pacman.log"
This command displays the last 2000 lines of your Pacman Log.
The Pacman Log contains all updates, installations, and removals (also in the AUR) you have done. Whenever something breaks on your system (e.g. after an udpate), but you do not remember anymore which packages were changed recently (e.g. during the update), take a look at your Pacman Log and find out. Then, DOWNGRADE PACKAGES, which you think might be broken.
Navigate the list with your Mouse Wheel or SHIFT + PageUp.


"downgrade <PACKAGE NAME>"
Manjaro uses a rolling release development model. This means ALL packages on your system continuously get updated to the latest version. If the latest version of a packages does not work on your system, you can downgrade that package to an earlier, working version.
This command downgrades <PACKAGE NAME> and offers you a list of old <PACKAGE NAME> versions to choose from. This list includes all old <PACKAGE NAME> versions from your package cache and online sources (if you have a working internet connection).

After a successful downgrade, you can add <PACKAGE NAME> to your ignore list. This will prevent Pacman from showing any available updates for <PACKAGE NAME>. Remove <PACKAGE NAME> from your ignore list with CONFIGURE PACMAN.
Alternatively, you can run future updates with the command "sudo pacman -Syu --ignore <PACKAGE NAME>" until a fixed version of <PACKAGE NAME> gets released.


"sudo $EDITOR /etc/pacman.conf"
This command opens pacman settings file in your terminal text editor. This lets you configure various options, like what command is used to download packages, what repositories are used and what packages are ignored.


source: https://github.com/Manjaro-Pek/pacli/blob/master/pacli.help
Title: Re: Roll back feature, an automatic downgrade option?
Post by: eugen-b on 21. April 2016, 14:35:33
Install on a filesystem which allows making snapshots like btrfs
But all this holding back cannot be a long term solution on a rolling release distro.
I, for instance, would like to keep libreoffice 4.4.7, but I need to hold back icu and harfbuzz-icu, but then I cannot start atril anymore (didn't figure out what package I need to hold back yet, probably poppler and poppler-glib).
Title: Re: Roll back feature, an automatic downgrade option?
Post by: handy on 21. April 2016, 14:41:43
I agree with excalibur  in that when there is a problem the looks like I need to downgrade one or more packages, I try to pick the most likely culprit. If this isn't obvious then looking at the Manjaro forum, asking a question in the forum, &/or having a look at the Arch forum (if appropriate) should provide the information that you need. If you have lost your internet connection due to the problem at hand, that may make it easier to identify the package that needs to be downgraded.

If you can't pick the package out, then downgrade all of them that have arrived since your machine was working correctly.

I use something along these lines (https://wiki.manjaro.org/index.php?title=Maintaining_/var/cache/pacman/pkg_for_System_Safety#How_to_Downgrade_Multiple_Packages:):

The comments in the .bashrc alias section are well worth a read.
Title: Re: Roll back feature, an automatic downgrade option?
Post by: fassil on 21. April 2016, 15:26:29
'LLo,

Maybe, it could be one or two additional buttons "downgrade" & "downgrade all" in the bottom field (Installed packages) of octopi-cachecleaner wihen "keep" is configured at least to 1...
Title: Re: Roll back feature, an automatic downgrade option?
Post by: Strandvaskeren on 23. April 2016, 16:35:26
But all this holding back cannot be a long term solution on a rolling release distro.
I absolutely agree, it's only for those "Poop, I don't have the time to deal with this right now, let me roll back, wait a couple of days for a fix and try upgrading again"-situations.

I agree with excalibur  in that when there is a problem the looks like I need to downgrade one or more packages, I try to pick the most likely culprit. If this isn't obvious then looking at the Manjaro forum, asking a question in the forum, &/or having a look at the Arch forum (if appropriate) should provide the information that you need. If you have lost your internet connection due to the problem at hand, that may make it easier to identify the package that needs to be downgraded.
I do the same. Popping the error message into google and ask it only to show results from the last week or so normally queues you right in on the culprit.

Basically I just need to remember not to upgrade when I've got limited time or I'm tired. I can't go to sleep with a broken system and if I upgrade in the morning my day goes in the crapper if I know that I have to get home and fight the problem after work..
Title: Re: Roll back feature, an automatic downgrade option?
Post by: handy on 24. April 2016, 02:42:14
If you have the desire to, you can make a rolling backup of whatever part of your system that you want to, like the fabled OS/X Time machine (not that they invented such a thing, they just made it famous amongst the plebs).

There is more than one thread on the topic in existence here. I've mentioned a very good GUI application for the job, (there is more than one i.e. grsync is a very good too) called LuckyBackup (http://luckybackup.sourceforge.net/manual.html).

Also, if you want to get your hands dirty with rsync (what most of the sys' admin's use, & what would have inspired the OS/X people to make Time machine), then you will find the fastest most customisable way to organise your system backups.

Here's a simple script to play with: ;)

Code: [Select]
#!/bin/sh

## This does a good job (quicker than GUI rsync based backup app's)
## backs-up in the "time machine" style if one uses cron to have it recur.

date=`date "+%Y-%m-%dT%H:%M:%S"`
rsync -aP --link-dest=/mnt/backup.handy/backups/current /home/handy /mnt/backup.handy/backups/back-$date
rm -f /mnt/backup.handy/backups/current
ln -s back-$date /mnt/backup.handy/backups/current

Copy & paste the above script to your editor, then modify the following two lines to suit your system's directory structure & your desired backup directory(s):

Code: [Select]
rsync -aP --link-dest=/mnt/backup.handy/backups/current /home/handy /mnt/backup.handy/backups/back-$date
& this line:

Code: [Select]
rm -f /mnt/backup.handy/backups/current
Give the file a name, save it & then make it executable.

After that you can test it & play with it so you can get to know what is going on. If it suits your needs you can have multiples of this file being automatically run by cron at hourly, daily, weekly & monthly intervals. Which is quite easily done by dropping the files into the appropriate /etc/cron.* directories (they are VERY obvious when you have a look into the /etc directory.

I've looked into the backup problem from time to time over the years & used grsync for a bit. In my most recent search & study, the best I could come up with (I know others will disagree & that's fine) were rsync & LuckyBackup. rsync wins in speed & configurability, LuckyBackup may(?) win on ease of use. I say may, as once someone gives you a script like I have above for rsync, it gets a whole lot easier.

The above script in combination with cron (or the likes) will supply a rolling backup where you have so much more control than the OS/X Time machine users do. You can choose multiples of what to backup & how often to do it & where to put them.

There is a man page for rsync, & lots of web pages with how-to's & the like. I'm no master of rsync, so if you use the above script you'll have to ferret out the answers to any questions from someone else.

Good luck. ;)
Title: Re: Roll back feature, an automatic downgrade option?
Post by: badbodh on 24. April 2016, 04:02:26
Well. Everybody pretty much covered everything. The only thing left for me to do is point out how people use the word "automatic" when they actually mean "i don;t know how to do it". Just ask mate .

Just kidding. On a more serious note downgrading never works as intended . Ok, you downgrade something. But it breaks dependency of another update, you will have to ignore that update too, and a few others. Days pass by, you decide to install something from the repo - Boom! You can;t, not without catching up with -ALL- those updates you ignored before. And your "downgraded" package needs to be updated too, or you break your system.

Downgrading is dirty business, and "automating" a dirty business is like giving a blind man a grenade launcher. -1 vote from me.
Title: Re: Roll back feature, an automatic downgrade option?
Post by: mandog on 24. April 2016, 05:27:18
So get this right you decide to use a bleeding edge rolling release that you have not got a clue how to manage then, you want someone to make a app to roll it back when you f###k it up because you don't know and don't want to learn how to fix it.
@badboth i Tototally agree with your statement,
Downgrading is dirty business, and "automating" a dirty business is like giving a blind man a grenade launcher. -1 vote from me.
Title: Re: Roll back feature, an automatic downgrade option?
Post by: Strandvaskeren on 25. April 2016, 07:19:41
Mandog, I like how you start your post by writing "So get this right" and then get everything wrong. Nice troll attempt.

Badbodh, excellent point, forgot about the dependency thing.

Thanks to all of you for your input.
Title: Re: Roll back feature, an automatic downgrade option?
Post by: tjanpool on 25. April 2016, 08:06:18
Well, actually I like the idea of being able to jump back after walking against a wall, or in cases in where we have no knowledge at all, because we morons are not that experiences.
It is nice to be able to rewind to the moment you where running of a cliff. Just to see how deep it is.
After a huge rewind with the packages, it maybe is a nice way to fidle arround and to debug how far you can jump before you actually fall back in the cliff again. Keeping downgrading
is indeed not a good idea. It maybe is throwing more dynamite in the cliff. How cares, we learn we reinstall our OS, jump happy of that cliff again with a touch, without the dynamite
of course next time. Just let us stupid dogs slowly figure out what that strange shiny thing is in front of us.
It is not a bug, it's a feature. No wait it's a window, No a mirror. Where is that dam log what tells us what that f*** in front of us is. So +1 vote from this moron.
Didn't know that we had to vote by the way.

That some people like to run in the hamster wheel as it was envisioned,
doesn't mean that hamsters are not allowed to run on top of it or underneath it.
Effect is the same. Hamster have nice exercising and round and round goes the wheel.
Title: Re: Roll back feature, an automatic downgrade option?
Post by: fassil on 25. April 2016, 11:44:03
'LLo,

I thought one of the goal of Manjaro was "user-friendliness" with regard to arch. Then, temporarely & exceptionnaly downgrade a full update which doesn't works fine to keep/refind an operational system in waiting for something else (but without any package ignored durably) sounds obvious, imho...
So, +1 with the moron, too  ;)
Title: Re: Roll back feature, an automatic downgrade option?
Post by: viking on 25. April 2016, 12:17:03
Another +1 for the OP from me.

Surprised at the attitudes of some contributors here, rollback is the obvious, and in my case, first choice to any breakage that I cant fix in the time scale available to me (or can't fix at all maybe ? ) . RPM has had the function for years https://access.redhat.com/solutions/29617 (https://access.redhat.com/solutions/29617)  and note that this page comes from Red Hat, a distro well known for its server presence many installations of which are looked after by qualified sysadmins. So if they aren't scoffing at the idea then I see no reason why Manjaro members should either. Arch Linux - yes of course their members would scoff at it, the 'Arch Way' imho has always meant "If you can't understand what we are saying we don't want to know you" That is why I have tried Arch and rejected it (although I would be the first to admit their wiki is a very good information source). Please don't import their unmpleasant superiority here.

Perhaps because I came very late into the world of computers (I was 40 years old before I even saw one) I can empathize with newcomers to this alien world with its strange incomprehensible language, whereas people brought up with computers since they were born may find difficulty with this, but scoffing at ideas which are simple, safe, sensible and already in use in the mainstream computing world is a sad reflection on the hostility newcomers sometimes face.
Title: Re: Roll back feature, an automatic downgrade option?
Post by: artoo on 25. April 2016, 12:24:39
People who want to rollback need to be aware they are using a rolling distro.
Previous version packages are usually not kept, but on manjaro, this can be and is done with the branches.

So, except for stable, manjaro in fact has already rollback, in form of branches.

Rollback within a branch is not possible or likely, same as on arch linux, since the repo always contains the latest version of a given package.

Info how to get a previous package can be found here:
https://wiki.archlinux.org/index.php/Arch_Linux_Archive
Title: Re: Roll back feature, an automatic downgrade option?
Post by: viking on 25. April 2016, 12:42:29
Don't understand that at all artoo. If you type 'downgrade' plus a package name into your terminal you will get a choice of anything up to a dozen packages to select from. These are remote packages, not locally cached ones. The difference between downgrade and rollback is simply a matter of quantity - ie downgrading multiple packages at the same time instead of singly. So I question your statement that rollback is not possible.

Having said that I use Unstable so maybe it is different in Stable??

And for the benefit of the OP the ultimate in rollback is disk imaging, a technique I use frequently and can't recommend highly enough. I personally use fsarchiver but clonezilla is also available.
Title: Re: Roll back feature, an automatic downgrade option?
Post by: handy on 25. April 2016, 12:45:18
I'll add a link to the Arch Linux Archive (https://wiki.archlinux.org/index.php/Arch_Linux_Archive#How_to_restore_all_my_packages_at_a_specific_date) wiki page, to our Downgrade page (https://wiki.manjaro.org/index.php?title=Downgrade#Related_wiki_pages_on_Downgrading) in the Manjaro wiki. As it certainly may be the right choice under certain circumstances.
Title: Re: Roll back feature, an automatic downgrade option?
Post by: handy on 25. April 2016, 12:58:16
I guess the question that this thread is bringing up is, "I wish that there was an easier way roll back the system than those that currently exist?"

Has anyone mentioned BTRFS (https://www.linux.com/learn/how-create-and-manage-btrfs-snapshots-and-rollbacks-linux-part-2) & ZFS (https://docs.oracle.com/cd/E19253-01/819-5461/gbcxk/) ? These file systems have the ability to be set-up to keep backups (snapshots) of your system that you can restore. Configuring them to do so isn't a simple process though. You need to do some study & most likely test it out some before you commit your data & all to it.
Title: Re: Roll back feature, an automatic downgrade option?
Post by: withjaro on 25. April 2016, 13:09:19
Yes,although it may seem a simple request ... as explained,it can be the thin end of a very wide wedge,

I can think of a distribution that specialises in rollback,upgrade/downgrade options,but that itself is in experimental stage and quite newbie-unfriendly ... and emigration to this solution,would require considerable changes in Manjaro's architecture.
Not saying it cant be done,or other similar solutions exist ... but it not as simple as it sounds,and then .. theres the maintenance.

Id consider it an 'AUR' feature,for those who wish to investigate ... as a default? ... i think its a complexity that would alienate some new users.
Title: Re: Roll back feature, an automatic downgrade option?
Post by: mandog on 25. April 2016, 15:34:19
Mandog, I like how you start your post by writing "So get this right" and then get everything wrong. Nice troll attempt.

Badbodh, excellent point, forgot about the dependency thing.

Thanks to all of you for your input.
I'm sorry if you don't like my style The fact is I have forgotten more than you probably will ever know about the Arch way, that is not a insult to you in any way but old age gets us all,  :-[ no i'm not a troll and get offended by your inaccurate assumption     

You can use a advanced file system with snapshots,
 or do a backup image, but that defeats a rolling release? :-\ as it will still break when you try to upgrade,
 
use  CentOS/RedHat, with a long release cycle, but that is not how Arch works every app has shared dependencies a lot of work goes into making sure that the software system works together, with a rolling release and bleeding edge you the user made a choice for the latest greatest verses stable yes its the users choice nobody forced you. :'(

The last option and its the best option if you want to play with big boys distros is to learn the Arch/gentoo ways that means learn how to fix it Archers/Gentoo users don't reinstall they fix it and the "Wiki Blatently states Arch does not break things you do" >:D
Don't take offence that is how it is and will not change and certainly aimed directly at you :) :) :) :) :) :) :) :) :)
Title: Re: Roll back feature, an automatic downgrade option?
Post by: badbodh on 25. April 2016, 16:39:04
@mandog : one sentence - Please don't baby-proof Manjaro  :P :P :P
Title: Re: Roll back feature, an automatic downgrade option?
Post by: c00ter on 25. April 2016, 17:13:31
Mandog, I like how you start your post by writing "So get this right" and then get everything wrong. Nice troll attempt...

@mandog is not a troll and is not making a troll post. He just an old f@#$er like me and the morning aches probably haven't worn off yet. In truth, he probably said what a few of us thought, but did not put in words. He is that way, he will not mince words. A lot of run ons but a blessed lack of over-commatization, can make his posts a bit difficult to interpret sometimes. What I know of mandog, based on interactions with him for several years here and elsewhere, is that he will help anyone with anything. And will doggedly stick with it until it is done. He has also earned the right to brag a little, having run Arch since before it was a gleam in Phil & Roland's eyes.  >:D

OP, this was an opinion post, as far as I can tell. You got @mandog's. Mine fairly reflects his: You chose an Arch-based rolling/nose-bleed distro. The Arch Way is to fix the problem, not hold it in abeyance. To quote the immortal words of astronaut and first American in space, Alan Shepard from the movie The Right Stuff: "Why don't you fix your little problems and light this candle?(!)"  >:D

Regards

EDIT: I should add, that IMHO having the ability--and acquiring the knowledge--to repair a singular problem by rolling back a package or a problem-causing package group, is a very useful feature. And it is not unique to Arch or Manjaro. I've only ever needed to roll back two updates of a single package in many years; once a kernel and once network manager. The kernel was in Arch/Manjaro, and network manager in Debian Testing. Both times the process was simple and without incident. They both, however, required that I obtain the knowledge to do so. And that, my friends, is not a bad thing to learn when you insist on the freedom that Linux has to offer.
Title: Re: Roll back feature, an automatic downgrade option?
Post by: eugen-b on 25. April 2016, 17:36:32
No, not a troll post definitely. It looks to me like he read my post and elaborated it a bit, that snapshots are not a long term solution on a rolling distro.
However I relly prefer to repair a system from graphical environment and that's where a snapshot brings me.
Title: Re: Roll back feature, an automatic downgrade option?
Post by: mandog on 25. April 2016, 17:38:04
@mandog : one sentence - Please don't baby-proof Manjaro  :P :P :P

Parden Can you please explain the Manjaro part in the baby-proof
Title: Re: Roll back feature, an automatic downgrade option?
Post by: eugen-b on 25. April 2016, 17:59:33
Parden Can you please explain the Manjaro part in the baby-proof
He probably means that Manjaro is for Linux learners, too. Making mistakes is ok when it is part of the learning process.
Title: Re: Roll back feature, an automatic downgrade option?
Post by: mandog on 25. April 2016, 18:16:30
Totally correct but is not explained to new users that Arch does not need to be tamed , Manjaro making it easier does not mean you don't need to learn or put anything back, it it basically means Manjaro has a installer and a few tools to help you in the beggining.
Title: Re: Roll back feature, an automatic downgrade option?
Post by: fassil on 25. April 2016, 19:22:06
Yep, but learn needs such a time that sometime you don't have & also a working Os..!
& an option like this could be a way to prepare to move ahead/put off the inevitable & search after more quietly for the culprit package, in example.
Title: Re: Roll back feature, an automatic downgrade option?
Post by: Strandvaskeren on 26. April 2016, 09:01:47
Okay, seems I need to explain my troll statement.

First Mandog wrote "you decide to use a bleeding edge rolling release that you have not got a clue how to manage".

I might not be as wise in the Manjaro ways as everyone else, but I have actually already managed to keep Manjaro running on my system for a couple of years, so even though my clue might not be as big as someone elses clue, I do have a clue how to manage stuff.

Mandog then continued "you want someone to make a app to roll it back".

Where exactly did I ask for that? All I asked was if such a feature were already available. I didn't ask for anyone to do anything.

At one point I used to weed out the packages in /var/cache/pacman/pkg manually and one day I heard someone mention paccache -rvk3 that did it all in one swift move - awesome. Similarly there might already be a function to save me from doing a roll back by manually using yaourt -U on a bunch of packages. I didn't ask for anyone to invent such a function, I just asked if such a function already exists.

Then we get to Mandogs "when you f###k it up because you don't know".

It makes me wonder how Mandog does his upgrading? Does he know everything about every package before doing an upgrade or will he do like the rest of us: do the upgrade hoping that everything works, fingers crossed, and afterwards deal with issues if that wasn't the case? I really can't see how me upgrading my system constitutes me f####king it up? I might f###k it up by trying to roll back packages or otherwise trying to solve issues, that would be all on me, but just doing a regular upgrade? Really?

We cap it off with Mandogs "and don't want to learn how to fix it".

Again, where exactly did I say that? All I stated was, that some times I don't have the time to dig into stuff.

Rather than reading what I actually wrote, Mandog did a bunch of assumptions on my behalf - incorrect assumptions I might add. It's not in my nature to assume that people are dimwits so instead I assumed that he deliberately misread me to get a reaction - in other words tried to troll me.

TL:DR Stop assuming stuff about me and my motives and I'll stop calling you a troll..  ;)
Title: Re: Roll back feature, an automatic downgrade option?
Post by: handy on 26. April 2016, 10:10:29
Some people make assumptions that are incorrect re. an extremely valid use (my use so its valid to me!) of a snapshot or a Clonezilla type of image of the Manjaro system "/" partition. That being such methods allow you to very quickly & painlessly get back to a working Manjaro (or whatever OS) system, from where you can work to inform yourself about what is broken, & in the case of Manjaro, block such files from being upgraded until the "bug" is fixed. Or until you have made the relevant changes to your system to enable a normal system upgrade.
Title: Re: Roll back feature, an automatic downgrade option?
Post by: Strandvaskeren on 27. April 2016, 15:35:56
Hmm..

Couldn't I just use dd for that?

Boot from a live cd (or dual boot into a small, second linux os besides my manjaro) and then use dd to make an image of my manjaro root into a file.

Boot into Manjaro, do the upgrade and if everything looks fine, I'll delete the image file.

If stuff is messed up, I can either dig into which package messed things up or boot the live cd/second linux os once more and restore my manjaro root from the image file - allowing me to postpone the upgrade until a point where I have the time to dig into what's wrong.
Title: Re: Roll back feature, an automatic downgrade option?
Post by: artoo on 27. April 2016, 16:05:58
Don't understand that at all artoo. If you type 'downgrade' plus a package name into your terminal you will get a choice of anything up to a dozen packages to select from. These are remote packages, not locally cached ones. The difference between downgrade and rollback is simply a matter of quantity - ie downgrading multiple packages at the same time instead of singly. So I question your statement that rollback is not possible.

Having said that I use Unstable so maybe it is different in Stable??

And for the benefit of the OP the ultimate in rollback is disk imaging, a technique I use frequently and can't recommend highly enough. I personally use fsarchiver but clonezilla is also available.

As explained, the repo database always contains only the latest, and thus only one version of a package.

Downgrade only works, no matter the branch, if you have an older package version in your local pacman cache.

If you don't believe me, inspect the repo db and create some repos.
Title: Re: Roll back feature, an automatic downgrade option?
Post by: scachemaille on 27. April 2016, 16:28:28
Don't understand that at all artoo. If you type 'downgrade' plus a package name into your terminal you will get a choice of anything up to a dozen packages to select from. These are remote packages, not locally cached ones. The difference between downgrade and rollback is simply a matter of quantity - ie downgrading multiple packages at the same time instead of singly. So I question your statement that rollback is not possible.

Having said that I use Unstable so maybe it is different in Stable??

And for the benefit of the OP the ultimate in rollback is disk imaging, a technique I use frequently and can't recommend highly enough. I personally use fsarchiver but clonezilla is also available.
the downgrade command if the package are not in cache will search them in the ARCH archive.
manjaro don't have this kind of archive repos.

then...  a clean rollback is possible only if the old version of  all updated package are in cache.
because the ARCH archive don't have the manjaro specific package (kernel, and plenty others) and can even find the package with the same name but that is not the version that manjaro use.

TBP: not all manjaro packages are comming from ARCH
Title: Re: Roll back feature, an automatic downgrade option?
Post by: fassil on 28. April 2016, 08:29:26
'LLo,

Yep & it's why, imho, it's highly recommended to have at least last version of all installed packages in cache before any update & to only use <pacman -Scc> if stricly necessary for a safe "rolling" !
& after a full cleaning or with a fresh install install ? -> it's also possible to (re)create this with following (thanks papajoke for syntax !):
Code: [Select]
sudo pacman -Sw $(pacman -Qn | awk -F' '  '{print $1}')