Gentoo Archives: gentoo-user

From: Neil Bothwick <neil@××××.net>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Heads Up - glibc-2.27 breaks my system
Date: Sun, 04 Feb 2018 08:40:23
Message-Id: C0E2F004-7D41-426B-8A57-F5A850A0237E@stfw.net
In Reply to: Re: [gentoo-user] Heads Up - glibc-2.27 breaks my system by Helmut Jarausch
1 On 3 February 2018 17:34:11 GMT, Helmut Jarausch <jarausch@××××××.be> wrote:
2 >On 02/03/2018 04:11:33 PM, Marc Joliet wrote:
3 >> Am Samstag, 3. Februar 2018, 10:50:53 CET schrieb Helmut Jarausch:
4 >> > On 02/03/2018 06:54:06 AM, Dale wrote:
5 >> > > While on this topic, I have a question about glibc. I have it
6 >> set in
7 >> > > make.conf to save the binary packages. Generally I use it when I
8 >
9 >> need
10 >> > > to go back shortly after a upgrade, usually Firefox or something.
11 >> > > However, this package is different since going back a version
12 >> isn't a
13 >> > > good idea. My question tho, what if one does go back a version
14 >> using
15 >> > > those saved binary packages? Has anyone ever did it and it work
16 >
17 >> or
18 >> > > did
19 >> > > it and it fail miserably?
20 >> >
21 >> > I've tried to binary emerge my previous version. This didn't
22 >succeed
23 >> > since
24 >> > the ebuild disallows downgrading glibc.
25 >> >
26 >> > Luckily I had backuped my system just 20 hours ago.
27 >>
28 >> Having up-to-date backups is always good :) .
29 >>
30 >> > Does anybody know how to restore ONLY those files which are
31 >> > more recent on the target file system.
32 >> > (My whole back is 124 Gb large which is a lot to copy back)
33 >>
34 >> If you can access the backups like a normal file system, then using
35 >> rsync with
36 >> the --update option looks to me like what you want:
37 >>
38 >> "-u, --update skip files that are newer on the
39 >> receiver".
40 >>
41 >
42 >High Marc,
43 >I think I need the opposite :
44 > only update files which are newer on the receiver
45 >
46 >Thanks,
47 >Helmut
48
49 Run the rsync in the opposite direction with - n as well as - u. That should give you a list of files that are newer on the live system.
50 --
51 Sent from my Android device with K-9 Mail. Please excuse my brevity.