You are not logged in.
I migrated to btrfs and wanted to test it a little.
So, I created snapshot of /, after I run pacman -Syu to update all packages. 360Mb was downloaded and I found that linux kernel was bumped to 4.3.
Without reboot, I ran snapper undochange and rolled back all alterations.
After reboot, I wanted to repeat package upgrade. pacman didn't found new packages! On repo update sequence it reported that it'is up to date.
So, I have old system and pacman refusing to update repos (it's definitely old as I see lunux kernel 4.2 there).
I have 2 btrfs volumes, one is /, another is /home, so I'm pretty sure /var was rolled back. I don't understand what's happend. Any suggestions? Maybe something left in /home ?
Last edited by abi (2016-01-10 20:28:07)
Offline
Do you have any subvolumes?
Offline
Yes, I do.
[root@darkstar ~]# btrfs subvolume list /
ID 278 gen 14192 top level 5 path snapshots
ID 307 gen 14226 top level 5 path system
ID 308 gen 14092 top level 307 path var/lib/machines
ID 314 gen 14111 top level 278 path snapshots/1/snapshot
UUID=46653793-24b2-4aab-a8ee-de472ff9b2d9 / btrfs rw,nodev,relatime,compress=lzo,ssd,discard,space_cache,subvol=/system 0 0
UUID=46653793-24b2-4aab-a8ee-de472ff9b2d9 /.snapshots btrfs rw,nodev,relatime,compress=lzo,ssd,discard,space_cache,subvol=/snapshots 0 0
I want pacman to force package database sync. Is it possible?
Last edited by abi (2016-01-10 18:01:58)
Offline
None of those should affect this, AFAIK. A subvol for /var would explain it, but that doesn't seem to be the case.
Does /var/log/pacman.log show the update? Does pacman -Q <updated package> show the new version or the old?
Offline
1. /var/log/pacman.log doesn't show update. The last entry is snapper install and my attempts to pacman -Suy
2. pacman -Q shows old version of package
[root@darkstar ~]# pacman -Q |grep 'linux 4'
linux 4.2.5-1
Offline
OK, so it seems that things were rolled back correctly. Try pacman -Syyu, that forces it to re-download the package databases. It could be a timestamp issue.
Offline
OK, so it seems that things were rolled back correctly. Try pacman -Syyu, that forces it to re-download the package databases. It could be a timestamp issue.
Ouch. Yes, now it offers new packages and I miss additional y option in man when read it. I was in panic So, file rollback just left timestamps untouched ?
Offline
The rollback probably put a timestamp on it of the time it was restored. Pacman determines whether it needs to update the databases by the timestamp on them. Old database + new timestamp
Don't forget to mark the thread [Solved]
Last edited by Scimmia (2016-01-10 18:19:42)
Offline